/* ============================================
   去水印工具 - 前台样式
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --accent: #764ba2;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text: #1f2937;
    --text-muted: #6b7280;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main { flex: 1; }

/* ============================================
   Header
   ============================================ */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 24px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    padding: 8px 18px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all .2s;
}

.main-nav a:hover { color: var(--primary); background: rgba(102,126,234,0.08); }
.main-nav a.active { color: var(--primary); background: rgba(102,126,234,0.1); }

.user-nav { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    gap: 6px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: none;
}
.btn-ghost:hover { color: var(--primary); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ============================================
   Hero
   ============================================ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 { font-size: 42px; margin-bottom: 16px; font-weight: 700; }
.hero-desc { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.hero-btns .btn-primary { background: #fff; color: var(--primary); }
.hero-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-btns .btn-outline:hover { background: #fff; color: var(--accent); border-color: #fff; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}
.stat strong { display: block; font-size: 28px; font-weight: 700; }
.stat span { font-size: 13px; opacity: 0.8; }

/* ============================================
   Platforms
   ============================================ */
.platforms { padding: 60px 0; }
.platforms h2 { text-align: center; font-size: 28px; margin-bottom: 32px; }
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.platform-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    font-size: 15px;
    font-weight: 500;
    transition: transform .2s;
}
.platform-item:hover { transform: translateY(-4px); }

/* ============================================
   Features
   ============================================ */
.features { padding: 60px 0; background: #fff; }
.features h2 { text-align: center; font-size: 28px; margin-bottom: 40px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-item { text-align: center; padding: 20px; }
.feature-item .icon { font-size: 40px; margin-bottom: 16px; }
.feature-item h3 { margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: 14px; }

/* ============================================
   Auth Pages
   ============================================ */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}
.auth-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 420px;
    max-width: 100%;
}
.auth-box h2 { text-align: center; margin-bottom: 8px; }
.auth-tip { text-align: center; color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.auth-form { margin-top: 24px; }
.auth-link { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.auth-link a { color: var(--primary); text-decoration: none; font-weight: 500; }

/* ============================================
   Forms
   ============================================ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}
.form-group small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.form-group input[readonly] { background: var(--bg); color: var(--text-muted); cursor: default; }

/* ============================================
   Alert
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* 提示消息自动淡出（js 里加 is-fading） */
.alert-flash { transition: opacity .4s ease; }
.alert-flash.is-fading { opacity: 0; }

/* ============================================
   Section Title
   ============================================ */
.section-title { font-size: 28px; text-align: center; margin-bottom: 8px; padding-top: 40px; }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 40px; }

/* 返回首页按钮 */
.page-back { text-align: center; margin-bottom: 28px; }
.auth-back { text-align: center; margin-top: 20px; }

/* ============================================
   Tools Page
   ============================================ */
.tools-section { padding: 40px 0; }
.pkg-info {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}
.pkg-info a { color: var(--primary); font-weight: 500; }
.pkg-warn { background: #fef2f2; border-color: #fecaca; }
.pkg-warn strong { color: var(--danger); }

.tool-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.tab-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
}
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
}

.tool-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.tool-form .btn { flex: 1; }

.result-area { margin-top: 24px; padding: 20px; background: #f9fafb; border-radius: 10px; }
.loading { text-align: center; padding: 20px; color: var(--text-muted); }
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.platform-tips { margin-top: 24px; padding: 20px; background: #f8fafc; border-radius: 10px; }
.platform-tips h4 { margin-bottom: 12px; color: var(--text); }
.platform-tips ol { padding-left: 20px; color: var(--text-muted); font-size: 14px; }
.platform-tips li { margin-bottom: 6px; }

/* ============================================
   Price Page
   ============================================ */
.price-section { padding: 40px 0 60px; }
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.price-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s;
    border: 2px solid transparent;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.price-card h3 { font-size: 20px; margin-bottom: 12px; }
.price-amount { margin-bottom: 16px; }
.price-amount .currency { font-size: 18px; color: var(--primary); }
.price-amount .value { font-size: 42px; font-weight: 700; color: var(--primary); }
.price-meta { display: flex; flex-direction: column; gap: 6px; color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.price-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; padding: 12px; background: var(--bg); border-radius: 8px; }
.price-tip { text-align: center; color: var(--text-muted); }
.price-tip a { color: var(--primary); text-decoration: none; font-weight: 500; }
.empty-box { text-align: center; padding: 40px; color: var(--text-muted); }

/* ============================================
   User Center
   ============================================ */
.user-section { padding: 40px 0; }
.user-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}
/* 允许栅格子项收缩，避免内部宽表格把整列撑开导致横向溢出 */
.user-left, .user-right { min-width: 0; }
.user-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.user-card h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.user-info p { margin-bottom: 8px; font-size: 14px; color: var(--text); }
.user-info p strong { color: var(--text-muted); margin-right: 6px; }
.user-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pkg-detail p { margin-bottom: 8px; font-size: 14px; }

/* 头像 */
.user-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.user-profile .user-info { flex: 1; min-width: 0; }
.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.user-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}
.avatar-edit { display: flex; align-items: flex-start; gap: 14px; }
.avatar-edit-input { flex: 1; min-width: 0; }
.avatar-edit-input input[type=file] {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px dashed var(--border);
    border-radius: 8px;
    background: var(--bg);
    font-size: 13px;
    font-family: inherit;
}
.avatar-edit-input small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12px; line-height: 1.6; }

.text-muted { color: var(--text-muted); }

/* ============================================
   Table
   ============================================ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg); font-weight: 600; color: var(--text-muted); font-size: 13px; }
.table tbody tr:hover { background: #f9fafb; }
.text-center { text-align: center !important; }

/* ============================================
   Badge
   ============================================ */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-muted { background: #f3f4f6; color: #6b7280; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 48px 0 24px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #9ca3af; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.6; }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
    font-size: 13px;
}
.footer-bottom .icp { margin-top: 4px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .menu-toggle { display: block; }
    /* 登录 / 注册等用户操作靠右 */
    .user-nav { margin-left: auto; }
    /* 首页、个人中心、套餐页不显示汉堡键 */
    .no-menu-toggle .menu-toggle { display: none; }

    .hero h1 { font-size: 28px; }
    .hero { padding: 50px 0; }
    .hero-stats { gap: 24px; }

    .tool-box { padding: 20px; }
    .tool-form .form-actions { flex-direction: column; }

    .user-layout { grid-template-columns: 1fr; }
    .user-left, .user-right { width: 100%; }

    .table { font-size: 13px; }
    .table th, .table td { padding: 8px 10px; }

    .auth-box { padding: 28px 20px; }
}

/* ============================================
   首页工作区
   ============================================ */
.workspace {
    background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 50%, #f8fafc 100%);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 64px;
}

.workspace-head { text-align: center; margin-bottom: 26px; }
.workspace-head h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.5px; }
.workspace-head p { color: var(--text-muted); font-size: 16px; margin-top: 10px; }

.pkg-badge {
    max-width: 780px;
    margin: 0 auto 18px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
}
.pkg-badge-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.pkg-badge a { color: inherit; font-weight: 600; }

/* 解析输入区 */
.parse-panel {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.parse-input-row {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.parse-input-row:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.12);
}

.parse-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 16px 50px 16px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    border-radius: 12px;
}

.parse-paste {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s;
}
.parse-paste:hover { background: var(--bg); }

.parse-btn {
    flex-shrink: 0;
    padding: 0 34px;
    font-size: 16px;
    border-radius: 12px;
}

/* 支持平台标签 */
.support-tags {
    max-width: 780px;
    margin: 16px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.support-tags em {
    font-style: normal;
    background: #fff;
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
}

/* 解析结果输出区 */
.result-panel {
    max-width: 780px;
    margin: 22px auto 0;
    min-height: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder { text-align: center; color: var(--text-muted); }
.result-placeholder .ph-icon { font-size: 44px; margin-bottom: 10px; opacity: .5; }
.result-placeholder p { font-size: 15px; }
.result-placeholder small { font-size: 13px; color: #9ca3af; }

.result-loading { text-align: center; color: var(--text-muted); }

.result-content { width: 100%; }

/* ============================================
   使用步骤
   ============================================ */
.steps { background: #fff; padding: 56px 0; }
.steps h2 { text-align: center; font-size: 26px; margin-bottom: 36px; }
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.step-item { text-align: center; padding: 8px 16px; }
.step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}
.step-item h3 { font-size: 17px; margin-bottom: 6px; }
.step-item p { color: var(--text-muted); font-size: 14px; }

/* ============================================
   登录 / 注册弹窗
   ============================================ */
.modal-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .18s ease;
}
.modal-mask[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.modal-box {
    position: relative;
    width: 420px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px 30px 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    animation: popIn .22s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #9ca3af;
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--text); background: var(--bg); }

.modal-head { text-align: center; margin-bottom: 20px; }
.modal-head h3 { font-size: 21px; margin-bottom: 6px; }
.modal-sub { color: var(--text-muted); font-size: 13px; }

.modal-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 22px;
}
.modal-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.modal-tab.active {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.modal-msg {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}
.modal-msg[hidden] { display: none; }

.modal-foot { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.modal-foot a { color: var(--primary); font-weight: 500; text-decoration: none; }

/* 支付二维码 */
.pay-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    margin-bottom: 14px;
}
.pay-qr img, .pay-qr canvas { display: block; }
.pay-qr-fallback {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    word-break: break-all;
    margin-bottom: 14px;
}
.pay-qr-fallback[hidden] { display: none; }
.pay-qr-fallback a { color: var(--primary); }
.pay-amount { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.pay-amount strong { font-size: 22px; color: #ef4444; margin-left: 4px; }
.pay-status { text-align: center; font-size: 14px; color: var(--text); min-height: 20px; }
.pay-status.is-error { color: #ef4444; }

/* 支付方式选择 */
.pay-methods { display: flex; gap: 10px; margin-bottom: 18px; }
.pay-method {
    flex: 1;
    padding: 10px 0;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.pay-method:hover { border-color: var(--primary); color: var(--primary); }
.pay-method.active {
    border-color: var(--primary);
    background: rgba(102,126,234,.08);
    color: var(--primary);
    font-weight: 600;
}

body.modal-open { overflow: hidden; }

/* ============================================
   移动端适配（首页 / 弹窗）
   ============================================ */
@media (max-width: 768px) {
    .workspace { padding: 32px 0 40px; }
    .workspace-head h1 { font-size: 25px; word-break: break-word; }
    .workspace-head p { font-size: 14px; margin-top: 8px; }

    .parse-panel { flex-direction: column; }
    .parse-input { padding: 14px 46px 14px 14px; font-size: 14px; }
    .parse-btn { width: 100%; padding: 13px 0; }

    .support-tags { gap: 6px; }
    .support-tags em { padding: 3px 8px; }

    .result-panel { min-height: 180px; padding: 18px; }

    .steps { padding: 36px 0; }
    .steps h2 { font-size: 22px; margin-bottom: 24px; }

    .step-grid, .feature-grid, .price-grid { grid-template-columns: 1fr; }

    .modal-box { padding: 26px 20px 22px; }
    .modal-head h3 { font-size: 19px; }

    /* 用户中心：表格独立横向滚动，卡片标题保持固定 */
    .user-card { padding: 18px; }
    .user-card .table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .user-actions .btn { flex: 1; }
    .section-title { font-size: 22px; }
}

/* 兜底：防止意外横向滚动条（clip 不影响 sticky header） */
body { overflow-x: clip; }

/* ============================================
   解析结果提示卡片
   ============================================ */
.result-tip { text-align: center; padding: 12px 8px; }
.result-tip .tip-icon { font-size: 42px; margin-bottom: 10px; }
.result-tip h3 { font-size: 17px; margin-bottom: 8px; }
.result-tip p { color: var(--text-muted); font-size: 14px; }
.result-tip .tip-link {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
    word-break: break-all;
}
.result-tip .tip-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}


