 * { margin:0; padding:0; box-sizing:border-box; }
        :root {
            --brand-1:#7C6BF7;
            --brand-2:#A78BFA;
            --brand-soft:#EDE9FE;
            --ink:#2D2B3A;
            --ink-sub:#8E8AA0;
            --line:#ECEAF5;
            --bg:#F6F5FB;
            --card:#FFFFFF;
            --gold:#D4A24E;
            --safe-bottom:env(safe-area-inset-bottom, 0px);
        }
        body {
            font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
            background:var(--bg); color:var(--ink);
            -webkit-tap-highlight-color:transparent;
          padding-bottom:calc(64px + var(--safe-bottom));
        }
        a { color:inherit; text-decoration:none; }
        img { display:block; width:100%; }
        .wrap { max-width:600px; margin:0 auto;  padding-bottom:calc(14px + var(--safe-bottom));}

        /* ===== 顶部 Tab ===== */
        .topbar {
            position:sticky; top:0; z-index:50;
            background:linear-gradient(135deg, var(--brand-1), var(--brand-2));
            padding:calc(12px + env(safe-area-inset-top, 0px)) 16px 0;
            color:#fff;
        }
        .topbar .brand-row { display:flex; align-items:center; gap:10px; padding-bottom:14px; }
        .topbar .logo-i { font-size:24px; }
        .topbar h1 { font-size:19px; font-weight:700; letter-spacing:.5px; }
        .topbar .sub { font-size:11px; opacity:.85; margin-top:2px; font-weight:400; }
        .tabs { display:flex; gap:6px; padding-bottom:12px; overflow-x:auto; scrollbar-width:none; }
        .tabs::-webkit-scrollbar { display:none; }
        .tab {
            flex:1; min-width:70px; text-align:center;
            padding:9px 0; font-size:14px; font-weight:600;
            border-radius:20px; color:rgba(255,255,255,.8);
            background:rgba(255,255,255,.16);
            transition:.25s; white-space:nowrap; cursor:pointer;
            border:none;
        }
        .tab.active { background:#fff; color:var(--brand-1); box-shadow:0 3px 10px rgba(0,0,0,.12); }

        .page { display:none; animation:fade .3s ease; }
        .page.show { display:block; }
        @keyframes fade { from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }

        /* ===== 通用区块 ===== */
        .sec-title {
            display:flex; align-items:center; gap:8px;
            font-size:16px; font-weight:700; margin:18px 16px 12px;
        }
        .sec-title .bar { width:4px; height:15px; border-radius:2px; background:var(--brand-1); }
        .sec-title .more { margin-left:auto; font-size:12px; color:var(--ink-sub); font-weight:500; }

        /* ===== 筛选栏 ===== */
        .filter-bar {
            display:flex; gap:8px; padding:4px 16px 12px;
            overflow-x:auto; scrollbar-width:none;
        }
        .filter-bar::-webkit-scrollbar { display:none; }
        .chip {
            padding:7px 14px; font-size:13px; font-weight:600;
            background:var(--card); color:var(--ink-sub);
            border:1px solid var(--line); border-radius:18px;
            white-space:nowrap; cursor:pointer; flex-shrink:0; transition:.2s;
        }
        .chip.active { background:var(--brand-1); color:#fff; border-color:var(--brand-1); }

        /* ===== 驿站卡片 ===== */
        .station-list { padding:0 16px; display:flex; flex-direction:column; gap:14px; }
        .station-card {
            background:var(--card); border-radius:16px; overflow:hidden;
            box-shadow:0 4px 16px rgba(90,80,140,.07);
            transition:transform .2s; cursor:pointer;
        }
        .station-card:active { transform:scale(.985); }
        .st-cover { position:relative; height:150px; overflow:hidden; }
        .st-cover img { width:100%; height:100%; object-fit:cover; }
        .st-type-tag {
            position:absolute; top:10px; left:10px;
            padding:4px 10px; font-size:11px; font-weight:700;
            background:rgba(255,255,255,.92); color:var(--brand-1);
            border-radius:12px; backdrop-filter:blur(4px);
        }
        .st-dist {
            position:absolute; bottom:10px; right:10px;
            padding:4px 9px; font-size:11px; font-weight:700;
            background:rgba(45,43,58,.72); color:#fff; border-radius:12px;
        }
        .st-body { padding:12px 14px 14px; }
        .st-name { font-size:15px; font-weight:700; margin-bottom:6px; }
        .st-meta { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--ink-sub); margin-bottom:9px; }
        .st-meta .score { color:var(--gold); font-weight:700; }
        .st-benefits { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:11px; }
        .benefit-tag {
            padding:3px 8px; font-size:11px; font-weight:600;
            background:var(--brand-soft); color:var(--brand-1); border-radius:6px;
        }
        .benefit-tag.lock { background:#F2F0F8; color:var(--ink-sub); }
        .btn-detail {
            display:block; width:100%; text-align:center;
            padding:9px 0; font-size:13px; font-weight:700;
            background:linear-gradient(135deg, var(--brand-1), var(--brand-2));
            color:#fff; border:none; border-radius:10px; cursor:pointer;
        }

        /* ===== 地图视图 ===== */
        .map-view { display:none; }
        .map-view.show { display:block; }
        .map-container {
            margin:12px 16px; height:calc(100vh - 200px); min-height:360px;
            border-radius:16px; overflow:hidden; position:relative;
            background:linear-gradient(180deg, #DCEEFB 0%, #EAF6EC 55%, #D7EDD8 100%);
        }
        .map-hint {
            position:absolute; top:12px; left:12px; right:12px;
            padding:9px 12px; font-size:12px; color:var(--ink-sub);
            background:rgba(255,255,255,.95); border-radius:10px;
            box-shadow:0 2px 10px rgba(0,0,0,.08); z-index:5; display:flex; gap:6px; align-items:center;
        }
        .map-marker {
            position:absolute; transform:translate(-50%,-100%);
            font-size:30px; cursor:pointer; filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));
            transition:transform .15s;
        }
        .map-marker:active { transform:translate(-50%,-100%) scale(1.2); }
        .map-marker.active { z-index:10; }
        .map-popup {
            position:absolute; left:12px; right:12px; bottom:12px;
            background:#fff; border-radius:14px; padding:12px;
            box-shadow:0 -4px 20px rgba(0,0,0,.14); z-index:8;
            transform:translateY(120%); transition:transform .3s cubic-bezier(.2,.9,.3,1);
        }
        .map-popup.show { transform:translateY(0); }
        .mp-row { display:flex; gap:10px; }
        .mp-img { width:66px; height:66px; border-radius:10px; object-fit:cover; flex-shrink:0; }
        .mp-info { flex:1; min-width:0; }
        .mp-name { font-size:14px; font-weight:700; margin-bottom:3px; }
        .mp-sub { font-size:11px; color:var(--ink-sub); line-height:1.6; }
        .mp-score { color:var(--gold); font-weight:700; }
        .view-toggle {
            display:flex; gap:6px; padding:0 16px 4px;
        }
        .view-toggle .chip { flex:1; text-align:center; }

        /* ===== 通卡层级 ===== */
        .card-level {
            margin:0 16px; background:var(--card); border-radius:16px;
            box-shadow:0 4px 16px rgba(90,80,140,.07); overflow:hidden;
        }
        .level-current {
            padding:16px; color:#fff; position:relative; overflow:hidden;
        }
        .level-current::after {
            content:""; position:absolute; right:-20px; top:-20px;
            width:110px; height:110px; border-radius:50%;
            background:rgba(255,255,255,.14);
        }
        .lc-name { font-size:13px; opacity:.9; }
        .lc-title { font-size:22px; font-weight:800; margin:2px 0 6px; }
        .lc-desc { font-size:12px; opacity:.9; line-height:1.6; max-width:78%; }
        .lc-expires { font-size:11px; opacity:.85; margin-top:8px; }
        .level-list { padding:6px 12px 12px; display:flex; flex-direction:column; gap:10px; }
        .level-item {
            display:flex; align-items:center; gap:12px;
            padding:12px; border-radius:12px; border:1.5px solid var(--line);
            position:relative; transition:.2s;
        }
        .level-item.owned { border-color:var(--brand-1); background:var(--brand-soft); }
        .level-item.recommended::before {
            content:"推荐"; position:absolute; top:-9px; right:12px;
            font-size:10px; font-weight:700; color:#fff;
            background:linear-gradient(135deg,#FF8A5C,#FFB37A);
            padding:2px 9px; border-radius:9px;
        }
        .li-badge {
            width:46px; height:46px; border-radius:12px; flex-shrink:0;
            display:flex; align-items:center; justify-content:center;
            font-size:20px; color:#fff;
        }
        .li-info { flex:1; min-width:0; }
        .li-name { font-size:14px; font-weight:700; }
        .li-desc { font-size:11px; color:var(--ink-sub); margin-top:2px; line-height:1.4; }
        .li-price { text-align:right; flex-shrink:0; }
        .li-price b { font-size:17px; font-weight:800; color:var(--ink); display:block; }
        .li-price.free b { color:var(--brand-1); }
        .li-price span { font-size:10px; color:var(--ink-sub); }
        .li-buy {
            margin-top:4px; padding:4px 10px; font-size:11px; font-weight:700;
            border:none; border-radius:8px; cursor:pointer;
            background:var(--brand-1); color:#fff; white-space:nowrap;
        }
        .li-buy.owned-btn { background:var(--line); color:var(--ink-sub); }

        /* ===== 权益 ===== */
        .rights-box { margin:0 16px; }
        .rights-tabs { display:flex; gap:8px; margin-bottom:12px; }
        .rights-tabs .chip { flex:1; text-align:center; }
        .right-list { display:flex; flex-direction:column; gap:10px; }
        .right-item {
            display:flex; align-items:center; gap:12px;
            background:var(--card); padding:12px 14px; border-radius:12px;
            box-shadow:0 2px 10px rgba(90,80,140,.05);
        }
        .ri-icon {
            width:40px; height:40px; border-radius:10px; flex-shrink:0;
            background:var(--brand-soft); color:var(--brand-1);
            display:flex; align-items:center; justify-content:center; font-size:17px;
        }
        .ri-info { flex:1; min-width:0; }
        .ri-name { font-size:13px; font-weight:700; }
        .ri-place { font-size:11px; color:var(--ink-sub); margin-top:2px; }
        .ri-status { font-size:11px; font-weight:600; flex-shrink:0; }
        .ri-status.ok { color:#22A06B; }
        .ri-status.used { color:var(--ink-sub); }
        .ri-btn {
            padding:6px 12px; font-size:12px; font-weight:700;
            border:none; border-radius:8px; cursor:pointer;
            background:linear-gradient(135deg, var(--brand-1), var(--brand-2)); color:#fff;
        }

        /* ===== 裂变 ===== */
        .fission { margin:0 16px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
        .fis-card {
            background:var(--card); border-radius:14px; padding:14px 8px;
            text-align:center; box-shadow:0 3px 12px rgba(90,80,140,.06);
        }
        .fis-icon { font-size:24px; margin-bottom:6px; }
        .fis-title { font-size:12px; font-weight:700; }
        .fis-desc { font-size:10px; color:var(--ink-sub); margin-top:3px; line-height:1.4; }
        .guide-list { margin:0 16px; background:var(--card); border-radius:14px; overflow:hidden; }
        .guide-step {
            display:flex; align-items:flex-start; gap:12px;
            padding:13px 16px; border-bottom:1px solid var(--line);
        }
        .guide-step:last-child { border-bottom:none; }
        .gs-num {
            width:24px; height:24px; border-radius:50%; flex-shrink:0;
            background:var(--brand-1); color:#fff; font-size:12px; font-weight:700;
            display:flex; align-items:center; justify-content:center;
        }
        .gs-text { font-size:13px; line-height:1.6; }
        .gs-text small { color:var(--ink-sub); }

        /* ===== 旅修 ===== */
        .travel-list { padding:0 16px; display:flex; flex-direction:column; gap:14px; }
        .travel-card {
            background:var(--card); border-radius:16px; overflow:hidden;
            box-shadow:0 4px 16px rgba(90,80,140,.07); cursor:pointer;
            transition:transform .2s;
        }
        .travel-card:active { transform:scale(.985); }
        .tv-cover { position:relative; height:160px; }
        .tv-cover img { width:100%; height:100%; object-fit:cover; }
        .tv-theme {
            position:absolute; top:10px; left:10px;
            padding:4px 10px; font-size:11px; font-weight:700;
            background:rgba(255,255,255,.92); color:var(--brand-1); border-radius:12px;
        }
        .tv-price-float {
            position:absolute; bottom:10px; right:10px;
            padding:5px 11px; font-size:13px; font-weight:800;
            background:rgba(45,43,58,.78); color:#fff; border-radius:12px;
        }
        .tv-body { padding:12px 14px 14px; }
        .tv-name { font-size:15px; font-weight:700; margin-bottom:7px; }
        .tv-meta { display:flex; flex-wrap:wrap; gap:6px 12px; font-size:11px; color:var(--ink-sub); margin-bottom:9px; }
        .tv-meta span { display:inline-flex; align-items:center; gap:4px; }
        .tv-foot { display:flex; align-items:center; justify-content:space-between; }
        .tv-slots { font-size:12px; }
        .tv-slots .hot { color:#E8554E; font-weight:700; }
        .tv-slots .ok { color:#22A06B; font-weight:600; }
        .tv-go {
            padding:7px 14px; font-size:12px; font-weight:700;
            background:var(--brand-1); color:#fff; border-radius:9px; border:none;
        }

        .load-more {
            margin:16px auto 8px; display:block;
            padding:10px 28px; font-size:13px; font-weight:600;
            background:var(--card); color:var(--brand-1);
            border:1px solid var(--brand-1); border-radius:20px; cursor:pointer;
        }

        /* ===== 旅修详情弹层 ===== */
        .detail-mask {
            position:fixed; inset:0; z-index:100;
            background:rgba(20,18,35,.5); backdrop-filter:blur(2px);
            display:none; opacity:0; transition:opacity .25s;
        }
        .detail-mask.show { display:block; opacity:1; }
        .detail-sheet {
            position:fixed; left:0; right:0; bottom:0; z-index:101;
            background:#fff; border-radius:20px 20px 0 0;
            max-height:88vh; overflow-y:auto;
            transform:translateY(100%); transition:transform .32s cubic-bezier(.2,.9,.3,1);
            padding-bottom:calc(16px + var(--safe-bottom));
        }
        .detail-sheet.show { transform:translateY(0); }
        .ds-handle { width:40px; height:4px; border-radius:2px; background:#DDD; margin:10px auto 4px; }
        .ds-close {
            position:absolute; top:14px; right:16px; width:30px; height:30px;
            border-radius:50%; border:none; background:rgba(0,0,0,.06);
            font-size:15px; color:var(--ink); cursor:pointer; z-index:2;
        }
        .ds-cover { height:200px; }
        .ds-cover img { width:100%; height:100%; object-fit:cover; }
        .ds-body { padding:16px 18px; }
        .ds-title { font-size:19px; font-weight:800; margin-bottom:4px; }
        .ds-route { font-size:12px; color:var(--brand-1); font-weight:600; margin-bottom:12px; }
        .ds-quick { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:16px; }
        .ds-q {
            background:var(--bg); border-radius:10px; padding:10px 4px; text-align:center;
        }
        .ds-q i { font-size:17px; color:var(--brand-1); }
        .ds-q div { font-size:11px; color:var(--ink-sub); margin-top:4px; }
        .ds-q b { font-size:12px; color:var(--ink); display:block; margin-top:2px; }
        .ds-sec { font-size:15px; font-weight:700; margin:16px 0 8px; display:flex; align-items:center; gap:7px; }
        .ds-sec .bar { width:4px; height:14px; border-radius:2px; background:var(--brand-1); }
        .ds-text { font-size:13px; line-height:1.8; color:#4A4758; }
        .day-item { margin-bottom:12px; }
        .day-item h5 { font-size:13px; color:var(--brand-1); margin-bottom:3px; }
        .day-item p { font-size:12px; color:#4A4758; line-height:1.7; }
        .therapist {
            display:flex; gap:12px; align-items:center;
            background:var(--brand-soft); border-radius:12px; padding:12px;
        }
        .therapist img { width:52px; height:52px; border-radius:50%; object-fit:cover; flex-shrink:0; }
        .th-name { font-size:14px; font-weight:700; }
        .th-tag { font-size:11px; color:var(--brand-1); margin-top:1px; }
        .th-intro { font-size:11px; color:#4A4758; margin-top:4px; line-height:1.5; }
        .ds-signup {
            position:sticky; bottom:0;
            display:flex; align-items:center; gap:12px;
            padding:12px 18px; background:#fff;
            border-top:1px solid var(--line);
        }
        .ds-price-big { font-size:20px; font-weight:800; color:var(--brand-1); }
        .ds-price-big small { font-size:11px; color:var(--ink-sub); font-weight:400; }
        .ds-signup-btn {
            flex:1; padding:13px 0; font-size:15px; font-weight:800;
            background:linear-gradient(135deg, var(--brand-1), var(--brand-2));
            color:#fff; border:none; border-radius:12px; cursor:pointer;
        }

        .toast {
            position:fixed; left:50%; bottom:80px; transform:translateX(-50%) translateY(20px);
            background:rgba(45,43,58,.94); color:#fff; font-size:13px;
            padding:10px 20px; border-radius:22px; z-index:200;
            opacity:0; transition:.25s; pointer-events:none; white-space:nowrap;
        }
        .toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

        /* ===== 报名流程弹层 ===== */
        .flow-step { display:none; animation:fade .25s; }
        .flow-step.active { display:block; }
        .pkg-option {
            display:flex; justify-content:space-between; align-items:center;
            padding:13px 14px; border:1.5px solid var(--line); border-radius:12px;
            margin-bottom:10px; cursor:pointer; transition:.2s;
        }
        .pkg-option.selected { border-color:var(--brand-1); background:var(--brand-soft); }
        .pkg-option .po-name { font-size:14px; font-weight:700; }
        .pkg-option .po-desc { font-size:11px; color:var(--ink-sub); margin-top:2px; }
        .pkg-option .po-price { font-size:15px; font-weight:800; color:var(--brand-1); }
        .field { margin-bottom:12px; }
        .field label { font-size:12px; color:var(--ink-sub); display:block; margin-bottom:5px; }
        .field input, .field select {
            width:100%; padding:11px 12px; font-size:14px;
            border:1.5px solid var(--line); border-radius:10px; background:#fff; color:var(--ink);
            font-family:inherit;
        }
        .flow-actions { display:flex; gap:10px; margin-top:8px; }
        .flow-actions button {
            flex:1; padding:13px 0; font-size:14px; font-weight:700;
            border:none; border-radius:12px; cursor:pointer;
        }
        .btn-prev { background:var(--bg); color:var(--ink-sub); }
        .btn-next { background:var(--brand-1); color:#fff; }
        .pay-row { display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--line); font-size:13px; }
        .pay-row.total { font-size:15px; font-weight:800; border:none; margin-top:4px; }
        .pay-row.total b { color:var(--brand-1); }
        .remind-box { background:var(--brand-soft); border-radius:12px; padding:14px; }
        .remind-box li { font-size:12px; line-height:1.9; color:#4A4758; margin-left:16px; }