/* 246同城代办 · 行业服务版 UI */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

:root {
    --blue: #1d4ed8;
    --blue-dark: #1e3a8a;
    --blue-light: #eff6ff;
    --blue-soft: #dbeafe;
    --orange: #ea580c;
    --orange-soft: #fff7ed;
    --green: #059669;
    --green-soft: #ecfdf5;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --line: #e2e8f0;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.10);
    --r: 12px;
    --r-lg: 16px;
    --font: 'Noto Sans SC', "PingFang SC", "Microsoft YaHei", sans-serif;
    --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button, input, textarea { font-family: var(--font); }

/* ===== 导航 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(15,23,42,0.04);
}
.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 900;
    color: var(--blue-dark);
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--blue), #3b82f6);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-text {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    border-radius: 8px;
    cursor: pointer;
    transition: .15s;
}
.nav-text:hover { color: var(--blue); background: var(--blue-light); }
.nav-btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .15s;
}
.nav-btn-ghost { background: transparent; color: var(--text-2); }
.nav-btn-ghost:hover { color: var(--blue); background: var(--blue-light); }
.nav-btn-fill { background: var(--blue); color: #fff; }
.nav-btn-fill:hover { background: var(--blue-dark); }
.user-info { display: flex; align-items: center; gap: 8px; }
.user-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
#user-name { font-size: 14px; font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 页面容器 ===== */
.page { max-width: 1140px; margin: 0 auto; padding: 0 20px 80px; }

/* ===== 首屏 + 搜索 ===== */
.hero-search { padding: 40px 0 32px; }
.hero-search-panel {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    border-radius: var(--r-lg);
    padding: 36px 32px 28px;
    color: #fff;
    box-shadow: 0 12px 40px rgba(29, 78, 216, 0.22);
    margin-bottom: 18px;
}
.hero-search-top { margin-bottom: 22px; }
.hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 12px;
}
.hero-search h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}
.hero-sub {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
}
.hero-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.hero-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px 12px;
    text-align: center;
}
.hero-step strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 4px;
}
.hero-step span { font-size: 12px; color: var(--text-2); }

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.search-input {
    flex: 1;
    padding: 15px 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    color: var(--text);
    background: #fff;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.search-input::placeholder { color: var(--text-3); }
.search-btn {
    padding: 0 28px;
    border: none;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: .15s;
}
.search-btn:hover { background: #c2410c; }
.search-hot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.search-tag {
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s;
}
.search-tag:hover, .search-tag.active {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}
.search-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}
.search-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--r-lg);
}
.search-empty p { color: var(--text-2); margin-bottom: 16px; font-size: 15px; }
.search-empty .btn-outline { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .15s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(29,78,216,0.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue-soft); }
.btn-outline:hover { background: var(--blue-light); }

/* ===== 痛点场景（已废弃） ===== */
.pain-section {
    margin-bottom: 48px;
    padding: 32px 0;
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.pain-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: .2s;
}
.pain-card:hover { border-color: var(--blue-soft); box-shadow: var(--shadow); }
.pain-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--orange);
    background: var(--orange-soft);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.pain-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.pain-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.pain-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
}
.pain-link:hover { text-decoration: underline; }

/* ===== 区块标题 ===== */
.sec-head { margin-bottom: 24px; }
.sec-head h2 { font-size: 26px; font-weight: 900; color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; }
.sec-head p { font-size: 15px; color: var(--text-2); }
.sec-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.sec-head-row h2 { margin-bottom: 0; }
.sec-head-note { font-size: 14px; color: var(--text-3); font-weight: 500; }

/* ===== 分类 ===== */
.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cat-tab {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: .15s;
}
.cat-tab:hover { border-color: var(--blue-soft); color: var(--blue); }
.cat-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ===== 服务卡片 ===== */
.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}
.product-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.svc-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    align-self: flex-start;
}
.svc-cat.cat-2 { color: #b45309; background: var(--orange-soft); }
.svc-cat.cat-3 { color: var(--green); background: var(--green-soft); }
.svc-body { flex: 1; }
.svc-body h3 { font-size: 17px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; color: var(--text); }
.product-subtitle { font-size: 13px; color: var(--text-3); line-height: 1.55; margin-bottom: 16px; }
.svc-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.price-current { font-size: 28px; font-weight: 900; color: var(--orange); letter-spacing: -0.03em; }
.price-current small { font-size: 14px; }
.price-original { display: block; font-size: 12px; color: var(--text-3); text-decoration: line-through; margin-top: 2px; }
.product-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.badge-hot { background: #fee2e2; color: #dc2626; }
.badge-recommend { background: var(--green-soft); color: var(--green); }
.badge-urgent { background: var(--orange-soft); color: var(--orange); }
.pay-note { font-size: 11px; color: var(--green); font-weight: 700; margin-top: 4px; }
.btn-order { display: none; }
.svc-icon { display: none; }
.svc-right { display: none; }

/* ===== 页脚 ===== */
.footer {
    text-align: center;
    padding: 32px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--text-3);
    font-size: 13px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}
.footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

/* ===== 底部栏 ===== */
.tabbar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(15,23,42,0.06);
}
.tabbar-inner { display: flex; justify-content: space-around; align-items: center; }
.tabbar-btn {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    cursor: pointer;
    padding: 6px 16px;
}
.tabbar-btn.on { color: var(--blue); }
.tabbar-btn-main {
    background: var(--blue);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(29,78,216,0.35);
}

/* ===== 弹窗 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    animation: modalIn .25s ease;
}
.modal.modal-lg { max-width: 560px; }
.modal.modal-orders-panel {
    max-width: min(760px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}
#modal-orders .modal-body-flush {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-handle { display: none; }
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: none; }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 0;
}
.modal-header h3 { font-size: 19px; font-weight: 800; color: var(--text); flex: 1; }
.modal-close {
    width: 32px; height: 32px;
    border: none;
    background: var(--bg);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-2);
    font-size: 16px;
}
.modal-tabs {
    display: flex;
    margin: 16px 24px 0;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
}
.modal-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-3);
    cursor: pointer;
    border-radius: 8px;
    transition: .15s;
}
.modal-tab.active { background: var(--white); color: var(--blue); box-shadow: var(--shadow); }
.modal-body { padding: 20px 24px 28px; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.required { color: #dc2626; }
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .15s;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,0.1); }
textarea.form-control { resize: vertical; min-height: 80px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row .form-control { flex: 1; }
.captcha-img { height: 44px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 4px;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-tip {
    font-size: 13px;
    color: var(--green);
    background: var(--green-soft);
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0 8px;
    line-height: 1.6;
    border-left: 3px solid var(--green);
}

/* ===== 下单 ===== */
.order-service-info {
    background: var(--blue-light);
    border-radius: var(--r);
    padding: 16px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.order-service-info h4 { font-size: 16px; font-weight: 800; color: var(--text); flex: 1; }
.order-service-price { font-size: 24px; font-weight: 900; color: var(--orange); white-space: nowrap; }
.urgent-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--orange-soft);
    border: 1px solid #fed7aa;
    border-radius: 10px;
    margin-bottom: 16px;
    cursor: pointer;
}
.urgent-option label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.urgent-option input { width: 18px; height: 18px; accent-color: var(--orange); }
.urgent-tag { background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.urgent-price { color: var(--orange); font-weight: 800; }

/* ===== 订单 ===== */
.order-toolbar {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
}
.modal-body-flush { padding-top: 0; }
.order-search-box {
    display: flex;
    gap: 8px;
    padding: 16px 20px 12px;
}
.order-search-input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    background: var(--bg);
}
.order-search-input:focus { outline: none; border-color: var(--blue); }
.order-search-btn {
    border: none;
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.order-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.order-filter-tabs::-webkit-scrollbar { display: none; }
.order-filter-tab {
    flex-shrink: 0;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text-2);
    border-radius: 100px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.order-filter-tab.active {
    background: var(--blue-light);
    border-color: #bfdbfe;
    color: var(--blue);
}
.tab-count {
    display: inline-block;
    min-width: 16px;
    margin-left: 2px;
    opacity: .75;
}
.order-list-wrap {
    max-height: min(68vh, 680px);
    flex: 1;
    min-height: 280px;
    overflow-y: auto;
    padding: 12px 20px 20px;
}
.modal-refresh {
    border: none;
    background: transparent;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-right: auto;
    margin-left: 12px;
}
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    background: var(--bg);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.order-item:hover { border-color: #bfdbfe; box-shadow: var(--shadow); }
.order-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.order-sn { font-size: 12px; color: var(--text-3); font-family: monospace; }
.order-status { padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-pay { background: #ffedd5; color: #c2410c; }
.status-processing { background: var(--blue-light); color: var(--blue); }
.status-review { background: #ede9fe; color: #6d28d9; }
.status-done { background: var(--green-soft); color: var(--green); }
.status-cancel { background: #fee2e2; color: #b91c1c; }
.order-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.order-urgent-badge {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
}
.order-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); gap: 12px; }
.order-meta small { color: var(--text-3); font-weight: 400; }
.order-amount { color: var(--orange); font-weight: 800; white-space: nowrap; }
.order-memo { font-size: 12px; color: var(--text-3); margin-top: 8px; line-height: 1.5; }
.order-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.order-action-btn {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.order-action-btn.danger { color: #b91c1c; border-color: #fecaca; background: #fff5f5; }
.order-action-btn.primary { color: var(--blue); border-color: #bfdbfe; background: var(--blue-light); }
.order-delivery-badge {
    display: inline-block;
    background: #e2e8f0;
    color: var(--text-2);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.order-alert {
    font-size: 12px;
    color: #b45309;
    background: var(--orange-soft);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-weight: 600;
}
.order-alert-pay { color: #c2410c; background: #ffedd5; }
.order-alert-muted { color: var(--text-3); background: #f1f5f9; font-weight: 500; }
.detail-pay-tip {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-3);
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 12px;
}
.detail-pay-tip-ready {
    color: #c2410c;
    background: #ffedd5;
    font-weight: 700;
}

/* 下单：提交方式 */
.delivery-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.delivery-type-tab {
    border: 1.5px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-2);
    cursor: pointer;
    transition: .15s;
}
.delivery-type-tab.active {
    border-color: var(--blue);
    background: var(--blue-light);
    color: var(--blue);
}
.mail-receive-box {
    background: var(--blue-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--r);
    padding: 14px;
    margin-bottom: 14px;
}
.mail-receive-title { font-size: 13px; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.mail-receive-item {
    display: flex;
    gap: 10px;
    font-size: 13px;
    padding: 6px 0;
    line-height: 1.5;
}
.mail-receive-item span { color: var(--text-3); min-width: 48px; flex-shrink: 0; }
.mail-receive-item strong { color: var(--text); font-weight: 700; }
.form-tip-sm { font-size: 12px; color: var(--text-3); line-height: 1.6; margin-top: 8px; }

.btn-link {
    border: none;
    background: none;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

/* 订单详情 */
.detail-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--r);
    margin-bottom: 16px;
}
.detail-status-bar.status-pending { background: #fef3c7; }
.detail-status-bar.status-processing { background: var(--blue-light); }
.detail-status-bar.status-review { background: #ede9fe; }
.detail-status-bar.status-done { background: var(--green-soft); }
.detail-status-bar.status-cancel { background: #fee2e2; }
.detail-status-label { font-size: 16px; font-weight: 900; }
.detail-block-title { font-size: 13px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.detail-block-highlight { background: var(--blue-light); border-color: #bfdbfe; }
.detail-empty-tip { font-size: 13px; color: var(--text-3); padding: 4px 0; }
.detail-files { display: flex; flex-direction: column; gap: 8px; }
.detail-file-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.detail-file-link:hover { border-color: var(--blue); background: var(--blue-light); }
.detail-file-icon { font-size: 18px; }
.detail-block {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg);
}
.detail-title { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.detail-price { font-size: 24px; font-weight: 900; color: var(--orange); }
.detail-price span { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); margin-top: 4px; }
.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row span { color: var(--text-3); flex-shrink: 0; }
.detail-row strong { text-align: right; font-weight: 700; word-break: break-all; }
.detail-row-stack { flex-direction: column; }
.detail-row-stack p { margin: 6px 0 0; color: var(--text); line-height: 1.6; }
.detail-tip {
    font-size: 13px;
    color: var(--text-3);
    background: var(--blue-light);
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-outline {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.btn-outline.danger { color: #b91c1c; border-color: #fecaca; }

/* 用户中心 */
.user-center-card { display: flex; flex-direction: column; gap: 16px; }
.user-center-head { display: flex; align-items: center; gap: 14px; }
.user-center-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
}
.user-center-info h4 { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.user-center-info p { font-size: 13px; color: var(--text-3); }
.user-center-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.uc-stat {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px;
    text-align: center;
}
.uc-stat strong { display: block; font-size: 18px; font-weight: 900; color: var(--blue); margin-bottom: 4px; }
.uc-stat span { font-size: 12px; color: var(--text-3); }
.user-center-menu { display: flex; flex-direction: column; gap: 8px; }
.uc-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}
.uc-menu-item:hover { border-color: #bfdbfe; background: var(--blue-light); }
.uc-menu-danger { color: #b91c1c; }

.empty-state { text-align: center; padding: 40px 16px; color: var(--text-3); }
.empty-icon { display: none; }

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: calc(var(--nav-h) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: var(--text);
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3000;
    opacity: 0;
    transition: .3s;
    pointer-events: none;
    white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: #dc2626; }

/* 支付弹窗 */
.payment-loading, .payment-summary { text-align: center; }
.payment-summary h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.payment-amount { font-size: 32px; font-weight: 800; color: var(--blue); margin: 8px 0 12px; }
.payment-countdown { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.payment-countdown strong { color: #e74c3c; font-weight: 700; }
.payment-order-sn { font-size: 12px; color: var(--muted); margin-bottom: 18px; word-break: break-all; }
.payment-paytypes { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.paytype-option {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    cursor: pointer; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.paytype-option.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.paytype-option img { width: 28px; height: 28px; object-fit: contain; }
.paytype-option span { font-size: 15px; font-weight: 600; color: var(--text); }
.payment-qrcode-panel { text-align: center; }
.payment-tip { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.payment-qrcode img { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
#payment-submit-btn { width: 100%; }

/* 隐藏旧结构 */
.hero-console, .marquee-wrap, .perk-icon { display: none !important; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .hero-steps { grid-template-columns: repeat(2, 1fr); }
    .pain-grid { grid-template-columns: 1fr; }
    .service-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body { padding-bottom: 72px; }
    .nav-text { display: none; }
    #user-name { display: none; }
    .hero-search { padding: 28px 0 24px; }
    .hero-search-panel { padding: 24px 18px 20px; }
    .hero-search h1 { font-size: 26px; }
    .search-box { flex-direction: column; }
    .search-btn { width: 100%; padding: 14px; }
    .service-list { grid-template-columns: 1fr; }
    .sec-head-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .tabbar { display: block; }
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal { max-width: 100%; border-radius: 16px 16px 0 0; max-height: 92vh; }
    .modal.modal-orders-panel { max-height: 88vh; }
    .modal-handle { display: block; width: 36px; height: 4px; background: var(--line); border-radius: 4px; margin: 10px auto 0; }
    .order-list-wrap { max-height: none; min-height: 50vh; flex: 1; }
    .order-search-box { padding: 12px 16px 10px; }
    .order-filter-tabs { padding: 0 16px 4px; }
    .order-list-wrap { padding: 12px 16px 16px; }
}
