/* ==========================================================================
   星屿代肝 · 前台样式
   风格：藏青星空 × 米色手账纸 × 烫金细节
   ========================================================================== */

:root {
    --night: #232a57;
    --night-deep: #161b38;
    --night-soft: #3a4186;
    --star: #6f86d9;
    --star-soft: #b9c5f2;
    --paper: #f7f0e3;
    --paper-2: #efe4d0;
    --paper-3: #fbf7ee;
    --ink: #2b2940;
    --muted: #7c7486;
    --line: rgba(43, 41, 64, .14);
    --gold: #c9a25a;
    --gold-2: #f2d48a;
    --rose: #e68aa6;
    --leaf: #78a066;
    --danger: #c05656;
    --topbar-h: 66px;
    --radius: 18px;
    --shadow: 0 28px 60px -34px rgba(16, 20, 60, .55);
    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
    --font-sans: "HarmonyOS Sans SC", "PingFang SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
    --font-num: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-h) + 96px);
    -webkit-text-size-adjust: 100%;
}

body.site-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--night-deep);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

body.modal-open { overflow: hidden; }

.starfield {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1100px 640px at 88% -8%, rgba(111, 134, 217, .48), transparent 62%),
        radial-gradient(760px 480px at -8% 18%, rgba(242, 212, 138, .14), transparent 60%),
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(255, 255, 255, .9), transparent 100%),
        radial-gradient(1.2px 1.2px at 28% 64%, rgba(255, 255, 255, .7), transparent 100%),
        radial-gradient(1.8px 1.8px at 47% 12%, rgba(242, 212, 138, .8), transparent 100%),
        radial-gradient(1.2px 1.2px at 66% 42%, rgba(255, 255, 255, .65), transparent 100%),
        radial-gradient(1.6px 1.6px at 82% 74%, rgba(255, 255, 255, .85), transparent 100%),
        radial-gradient(1.2px 1.2px at 92% 18%, rgba(255, 255, 255, .6), transparent 100%),
        radial-gradient(1px 1px at 38% 88%, rgba(255, 255, 255, .55), transparent 100%),
        radial-gradient(1px 1px at 72% 92%, rgba(242, 212, 138, .6), transparent 100%),
        linear-gradient(180deg, #141936 0%, #1b2144 46%, #232a57 100%);
    background-repeat: no-repeat;
}

.starfield::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(680px 380px at 50% 108%, rgba(111, 134, 217, .22), transparent 65%),
        radial-gradient(300px 200px at 8% 96%, rgba(201, 162, 90, .1), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.muted { color: var(--muted); }
.break { word-break: break-all; }

/* ---------- 顶部导航 ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--topbar-h);
    background: rgba(18, 23, 52, .82);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(242, 212, 138, .14);
}

.topbar__inner {
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand { display: flex; align-items: center; gap: 11px; color: #fff; flex: 0 0 auto; }
.brand__logo {
    flex: 0 0 auto;
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .96;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: .08em; }
.brand__text small { font-size: .58rem; letter-spacing: .34em; color: rgba(255, 255, 255, .52); font-family: var(--font-num); }

.topnav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.topnav a {
    position: relative;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.topnav a.is-on { color: var(--gold-2); }
.topnav a.is-on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 16px;
    height: 1px;
    transform: translateX(-50%);
    background: var(--gold-2);
    opacity: .8;
}
.topnav__cta {
    border: 1px solid rgba(242, 212, 138, .45);
    color: var(--gold-2) !important;
}
.nav-dot {
    display: inline-grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    margin-left: 3px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    vertical-align: 1px;
}

.topbar__side { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar__qq {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .7);
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
}
.topbar__qq:hover { color: #fff; border-color: rgba(242, 212, 138, .4); }
.topbar__qq-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6fd39a;
    box-shadow: 0 0 8px rgba(111, 211, 154, .8);
}

.user-chip { display: flex; align-items: center; gap: 10px; color: #fff; }
.user-chip__bell {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .14);
}
.user-chip__bell:hover { color: var(--gold-2); border-color: rgba(242, 212, 138, .4); }
.user-chip__bell i {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-style: normal;
    font-size: .58rem;
    line-height: 15px;
    text-align: center;
}
.user-chip__name { font-size: .82rem; color: rgba(255, 255, 255, .86); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip__name:hover { color: var(--gold-2); }
.linkbtn {
    border: 0;
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, .55);
    font-size: .76rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.linkbtn:hover { color: #fff; }

/* ---------- 纸张主容器 ---------- */
.sheet {
    position: relative;
    max-width: 1180px;
    margin: 24px auto 34px;
    padding: 18px 18px 30px;
    border-radius: 26px;
    background:
        linear-gradient(rgba(247, 240, 227, .97), rgba(247, 240, 227, .97)),
        repeating-linear-gradient(90deg, rgba(43, 41, 64, .045) 0 1px, transparent 1px 7px);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.sheet::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 162, 90, .2);
    border-radius: 20px;
    pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 486px;
    padding: 58px 46px 62px;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(600px 320px at 82% 16%, rgba(242, 212, 138, .2), transparent 60%),
        radial-gradient(760px 420px at 96% 96%, rgba(230, 138, 166, .16), transparent 62%),
        linear-gradient(145deg, #171c3f 0%, #232a57 52%, #3b4288 100%);
    box-shadow: 0 26px 46px -30px rgba(20, 24, 70, .8);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 18% 28%, rgba(255, 255, 255, .85), transparent 100%),
        radial-gradient(1px 1px at 42% 12%, rgba(255, 255, 255, .7), transparent 100%),
        radial-gradient(1.6px 1.6px at 58% 72%, rgba(242, 212, 138, .7), transparent 100%),
        radial-gradient(1px 1px at 76% 32%, rgba(255, 255, 255, .6), transparent 100%),
        radial-gradient(1.2px 1.2px at 88% 58%, rgba(255, 255, 255, .8), transparent 100%),
        radial-gradient(1px 1px at 31% 84%, rgba(255, 255, 255, .5), transparent 100%);
    opacity: .9;
}
.hero::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -96px;
    height: 190px;
    background: radial-gradient(ellipse at 50% 0%, rgba(111, 134, 217, .5), transparent 65%);
    pointer-events: none;
}
.hero__sky {
    position: absolute;
    right: 4%;
    top: 10%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(242, 212, 138, .16);
    background:
        repeating-conic-gradient(from 0deg, rgba(242, 212, 138, .1) 0deg 0.6deg, transparent 0.6deg 15deg);
    mask-image: radial-gradient(circle, transparent 26%, #000 27%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, transparent 26%, #000 27%, transparent 72%);
    opacity: .8;
}
.hero__trail {
    position: absolute;
    left: 26%;
    top: 18%;
    width: 52%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 212, 138, .8), transparent);
    transform: rotate(-13deg);
    filter: blur(.3px);
    opacity: .65;
}
.hero__text { position: relative; z-index: 2; max-width: 590px; }
.hero__tag {
    display: inline-block;
    font-family: var(--font-num);
    font-size: .68rem;
    letter-spacing: .34em;
    color: var(--gold-2);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(242, 212, 138, .35);
}
.hero__title {
    margin: 18px 0 10px;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: .02em;
    text-shadow: 0 10px 36px rgba(10, 14, 40, .55);
}
.hero__title em {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: .34em;
    letter-spacing: .32em;
    color: var(--gold-2);
}
.hero__title em::before,
.hero__title em::after {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    background: currentColor;
    vertical-align: middle;
    opacity: .65;
}
.hero__title em::before { margin-right: 12px; }
.hero__title em::after { margin-left: 8px; }
.hero__launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .74rem;
    letter-spacing: .08em;
    color: var(--gold-2);
    background: rgba(242, 212, 138, .1);
    border: 1px solid rgba(242, 212, 138, .3);
}
.hero__launch::before { content: "✦"; font-size: .7rem; }
.hero__sub {
    margin-top: 18px;
    max-width: 520px;
    font-size: .95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .8);
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .74rem;
    color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
}
.chip b { font-family: var(--font-num); color: var(--gold-2); margin-right: 2px; font-size: .95rem; }
.chip--live { border-color: rgba(230, 138, 166, .4); color: #ffd9e4; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__postcard {
    position: absolute;
    z-index: 2;
    right: 58px;
    top: 50%;
    width: 296px;
    height: 208px;
    padding: 20px;
    transform: translateY(-50%) rotate(3.4deg);
    border-radius: 4px;
    background: linear-gradient(160deg, #f9f3e7, #eadcc3);
    box-shadow: 0 30px 50px -24px rgba(10, 14, 40, .8);
    color: var(--night);
}
.hero__postcard::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(35, 42, 87, .25);
    pointer-events: none;
}

/* 后台上传的首页主视觉 */
.hero__postcard--custom {
    padding: 9px;
    background: linear-gradient(160deg, #f9f3e7, #e6d7bd);
}
.hero__postcard--custom::before { display: none; }
.hero__postcard--custom img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}
.hero__stamp {
    position: absolute;
    right: 17px;
    top: 15px;
    width: 70px;
    height: 78px;
    padding-top: 9px;
    display: grid;
    place-items: center;
    font-family: var(--font-num);
    font-size: .52rem;
    line-height: 1.3;
    letter-spacing: .16em;
    color: var(--gold);
    border: 1px solid rgba(201, 162, 90, .5);
    background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(201, 162, 90, .08) 5px 6px);
    transform: rotate(-4deg);
}
.hero__postmark {
    position: absolute;
    right: 94px;
    top: 30px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(35, 42, 87, .28);
    border-radius: 50%;
    font-family: var(--font-num);
    font-size: .5rem;
    line-height: 1.3;
    letter-spacing: .08em;
    color: rgba(35, 42, 87, .55);
    transform: rotate(-10deg);
}
.hero__compass {
    position: absolute;
    left: 26px;
    bottom: 42px;
    color: rgba(35, 42, 87, .3);
}
.hero__postcard-line {
    position: absolute;
    left: 22px;
    top: 94px;
    width: 170px;
    height: 1px;
    background: rgba(35, 42, 87, .18);
}
.hero__postcard em {
    position: absolute;
    left: 24px;
    bottom: 20px;
    font-family: var(--font-num);
    font-style: normal;
    font-size: .58rem;
    letter-spacing: .3em;
    color: rgba(35, 42, 87, .5);
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #3a2b12;
    box-shadow: 0 14px 26px -14px rgba(201, 162, 90, .8);
}
.btn--gold:hover { box-shadow: 0 18px 30px -14px rgba(201, 162, 90, .9); }
.btn--navy {
    background: var(--night);
    color: #fff;
    box-shadow: 0 14px 26px -16px rgba(35, 42, 87, .7);
}
.btn--navy:hover { background: #2e3670; }
.btn--ghost {
    border-color: rgba(43, 41, 64, .2);
    color: var(--ink);
    background: rgba(255, 255, 255, .35);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--night); background: #fff; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(242, 212, 138, .6); }
.btn--lg { padding: 13px 28px; font-size: .94rem; }
.btn--sm { padding: 7px 14px; font-size: .78rem; }
.btn--block { width: 100%; }

/* ---------- 服务保障条 ---------- */
.guarantee {
    position: relative;
    z-index: 2;
    margin: -18px 20px 0;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 26px;
    border-radius: 14px;
    background: var(--paper-3);
    border: 1px solid rgba(43, 41, 64, .1);
    box-shadow: 0 18px 30px -24px rgba(35, 42, 87, .5);
}
.guarantee__item { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
.guarantee__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(201, 162, 90, .12);
    border: 1px solid rgba(201, 162, 90, .25);
}
.guarantee__item b { display: block; font-size: .84rem; }
.guarantee__item small { display: block; font-size: .72rem; color: var(--muted); }
.guarantee__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .76rem;
    font-weight: 700;
    color: var(--night);
    border-bottom: 1px solid rgba(201, 162, 90, .5);
    padding-bottom: 2px;
}
.guarantee__link:hover { color: var(--gold); }

/* ---------- 区块标题 ---------- */
.section { margin-top: 44px; }
.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 6px 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.section__head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: .04em;
}
.section__head h2 small {
    display: block;
    margin-top: 4px;
    font-family: var(--font-num);
    font-size: .6rem;
    letter-spacing: .32em;
    color: var(--star);
    font-weight: 800;
}
.section__head > span { font-size: .78rem; color: var(--muted); padding-bottom: 4px; }

/* ---------- 开荒首选 ---------- */
.picks__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 30px 24px;
    border: 0;
    border-radius: 16px;
    text-align: left;
    color: #fff;
    background:
        radial-gradient(420px 240px at 88% 12%, rgba(242, 212, 138, .24), transparent 60%),
        linear-gradient(145deg, #1b2144, #2c3470 60%, #42498f);
    box-shadow: 0 24px 40px -28px rgba(35, 42, 87, .85);
    transition: transform .3s, box-shadow .3s;
    overflow: hidden;
}
.pack-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 32px 50px -28px rgba(35, 42, 87, .95); }
.pack-card::after {
    content: "★";
    position: absolute;
    right: 22px;
    bottom: 14px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(242, 212, 138, .1);
}
.pack-card__tape {
    position: absolute;
    left: 50%;
    top: -10px;
    width: 110px;
    height: 22px;
    transform: translateX(-50%) rotate(-2deg);
    background: rgba(242, 212, 138, .4);
    backdrop-filter: blur(1px);
}
.pack-card__tag {
    font-family: var(--font-num);
    font-size: .62rem;
    letter-spacing: .26em;
    color: var(--gold-2);
}
.pack-card__name {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.3;
    letter-spacing: .03em;
}
.pack-card__desc { font-size: .82rem; color: rgba(255, 255, 255, .68); line-height: 1.8; max-width: 92%; }
.pack-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.pack-card__price { font-family: var(--font-num); color: var(--gold-2); font-size: 2.2rem; line-height: 1; font-weight: 800; }
.pack-card__price b { font-size: 1rem; margin-right: 2px; }
.pack-card__price small { font-family: var(--font-sans); font-size: .72rem; color: rgba(255, 255, 255, .6); font-weight: 500; }
.pack-card__cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(242, 212, 138, .5);
    font-size: .78rem;
    color: var(--gold-2);
    background: rgba(242, 212, 138, .08);
}

.picks__side { display: flex; flex-direction: column; gap: 10px; }
.pick-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(43, 41, 64, .1);
    border-radius: 12px;
    background: var(--paper-3);
    text-align: left;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    flex: 1;
}
.pick-row:hover { transform: translateX(4px); border-color: rgba(201, 162, 90, .5); box-shadow: 0 14px 22px -20px rgba(35, 42, 87, .6); }
.pick-row__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pick-row__text b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-row__text small { font-size: .7rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 分类封面 ---------- */
.cover {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    color: #fff;
    background:
        radial-gradient(70% 100% at 88% 12%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(155deg, #1a2044 4%, #232a57 46%, var(--cover, #6f86d9) 138%);
}
.cover__glow {
    position: absolute;
    right: -18%;
    bottom: -40%;
    width: 70%;
    height: 100%;
    border-radius: 50%;
    background: var(--cover, #6f86d9);
    filter: blur(38px);
    opacity: .4;
}
.cover__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.2px 1.2px at 16% 22%, rgba(255, 255, 255, .9), transparent 100%),
        radial-gradient(1px 1px at 34% 68%, rgba(255, 255, 255, .7), transparent 100%),
        radial-gradient(1.4px 1.4px at 58% 18%, rgba(242, 212, 138, .8), transparent 100%),
        radial-gradient(1px 1px at 82% 44%, rgba(255, 255, 255, .6), transparent 100%),
        radial-gradient(1px 1px at 72% 82%, rgba(255, 255, 255, .5), transparent 100%);
}

/* 后台上传的封面图片：铺满卡片，保留底部渐变与文字 */
.cover__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cover--image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 16, 40, .16) 0%, rgba(12, 16, 40, 0) 42%, rgba(12, 16, 40, .62) 100%);
}

.cover--image .cover__glow,
.cover--image .cover__stars,
.cover--image .cover__icon { display: none; }

.cover--image .cover__num,
.cover--image .cover__en,
.cover--image .cover__name,
.cover--image .cover__line,
.cover--image .cover__foot { z-index: 2; }

.cover--image .cover__name { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.cover__num {
    position: absolute;
    left: 12px;
    top: 2px;
    font-family: var(--font-num);
    font-size: 5.4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, .08);
}
.cover__icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-58%);
    color: rgba(242, 212, 138, .92);
    opacity: .9;
}
.cover__en {
    position: absolute;
    left: 18px;
    bottom: 34px;
    font-family: var(--font-num);
    font-size: .6rem;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .55);
}
.cover__name {
    position: absolute;
    left: 17px;
    bottom: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    letter-spacing: .12em;
}
.cover__line {
    position: absolute;
    left: 18px;
    bottom: 29px;
    width: 46px;
    height: 1px;
    background: rgba(242, 212, 138, .7);
}
.cover__foot {
    position: absolute;
    right: 14px;
    bottom: 8px;
    font-family: var(--font-num);
    font-size: .42rem;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .35);
}
.cover--mini { width: 54px; height: 54px; aspect-ratio: 1; border-radius: 9px; flex: 0 0 auto; }
.cover--mini .cover__num,
.cover--mini .cover__en,
.cover--mini .cover__name,
.cover--mini .cover__line,
.cover--mini .cover__foot,
.cover--mini .cover__glow { display: none; }
.cover--mini .cover__icon { right: 50%; top: 50%; transform: translate(50%, -50%); }
.cover--mini .cover__icon svg { width: 26px; height: 26px; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; padding-top: 4px; }
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 14px;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 1px 0 rgba(43, 41, 64, .08), 0 20px 32px -26px rgba(35, 42, 87, .7);
    transform: rotate(var(--tilt, 0deg));
    transition: transform .35s cubic-bezier(.32, .72, 0, 1), box-shadow .35s;
}
.cat-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -11px;
    width: 88px;
    height: 22px;
    transform: translateX(-50%) rotate(-2.4deg);
    background: rgba(201, 162, 90, .38);
    z-index: 2;
}
.cat-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 0 rgba(43, 41, 64, .08), 0 30px 42px -26px rgba(35, 42, 87, .8); }
.cat-card__cover { display: block; border-radius: 5px; overflow: hidden; }
.cat-card__cover .cover { transition: transform .6s cubic-bezier(.32, .72, 0, 1); }
.cat-card:hover .cat-card__cover .cover { transform: scale(1.04); }
.cat-card__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 4px 4px; }
.cat-card__cap h3 { font-family: var(--font-serif); font-size: 1.38rem; letter-spacing: .06em; }
.cat-card__cap h3 a:hover { color: var(--gold); }
.cat-card__cap span { font-size: .72rem; font-weight: 700; color: var(--cat, var(--gold)); white-space: nowrap; }
.cat-card__desc { padding: 0 4px 8px; font-size: .8rem; color: var(--muted); line-height: 1.7; flex: 1; }
.cat-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 4px 0;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    color: var(--ink);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background .25s, color .25s;
}
.cat-card__more:hover { background: var(--cat, var(--night)); color: #fff; }

/* ---------- 价目工具栏 ---------- */
.price-toolbar {
    position: sticky;
    top: calc(var(--topbar-h) + 10px);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(251, 247, 238, .94);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px var(--line), 0 18px 30px -26px rgba(35, 42, 87, .6);
}
.price-toolbar__nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.price-toolbar__nav::-webkit-scrollbar { display: none; }
.price-toolbar__nav a {
    flex: 0 0 auto;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    color: var(--muted);
    transition: background .2s, color .2s;
}
.price-toolbar__nav a:hover { color: var(--ink); background: var(--paper-2); }
.price-toolbar__nav a.is-on { background: var(--night); color: #fff; }
.price-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 300px;
    padding: 6px 8px 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}
.price-search__icon { color: var(--muted); display: flex; }
.price-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: .82rem;
    padding: 4px 0;
}
.price-search input::placeholder { color: #aaa2b2; }
.price-search__count { flex: 0 0 auto; font-size: .7rem; color: var(--muted); padding-right: 6px; white-space: nowrap; }

.price-sec { padding: 18px 0 6px; }
.price-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.price-sec__head h3 { font-family: var(--font-serif); font-size: 1.18rem; letter-spacing: .06em; }
.price-sec__head h3 small { margin-left: 10px; font-family: var(--font-sans); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-sec__head a { font-size: .74rem; font-weight: 700; color: var(--gold); }
.price-sec__head a:hover { color: var(--night); }
.price-sec__empty { padding: 22px 8px; color: var(--muted); font-size: .82rem; }
.price-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.price-rows--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; padding-top: 10px; }
.price-rows--page > div { border-bottom: 1px dashed var(--line); }

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 12px 10px;
    margin: 0 -10px;
    border: 0;
    border-bottom: 1px dashed var(--line);
    border-radius: 10px;
    background: transparent;
    text-align: left;
    transition: background .2s;
}
.price-rows--page .price-row { margin: 0; border-bottom: 0; }
.price-row:hover { background: rgba(111, 134, 217, .07); }
.price-row__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.price-row__name { font-size: .9rem; font-weight: 700; line-height: 1.5; }
.price-row__remark { font-size: .72rem; color: var(--muted); line-height: 1.5; }
.price-row__side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.price { font-family: var(--font-num); font-size: 1.26rem; font-weight: 800; color: var(--night); white-space: nowrap; line-height: 1; }
.price small { font-family: var(--font-sans); font-size: .7rem; font-weight: 700; margin-right: 1px; }
.price em { font-family: var(--font-sans); font-style: normal; font-size: .64rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.price--sm { font-size: 1.02rem; }
.price-row__go {
    opacity: 0;
    transform: translateX(-4px);
    font-size: .72rem;
    font-weight: 800;
    color: var(--gold);
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}
.price-row:hover .price-row__go { opacity: 1; transform: none; }
.tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: .58rem;
    font-style: normal;
    font-weight: 700;
    vertical-align: 2px;
    color: #8a6420;
    background: rgba(242, 212, 138, .5);
    letter-spacing: .04em;
}

.filter-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 46px 20px;
    margin-top: 18px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .4);
}
.filter-empty b { color: var(--ink); font-size: .94rem; }
.filter-empty span { font-size: .8rem; }
.filter-empty .btn { margin-top: 8px; }

.price-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding: 16px 8px 4px;
    margin-top: 14px;
    border-top: 1px solid var(--line);
    font-size: .72rem;
    color: var(--muted);
}
.price-note span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 分类详情页 ---------- */
.cat-hero {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(520px 300px at 92% 8%, rgba(242, 212, 138, .2), transparent 62%),
        linear-gradient(140deg, #1a2044, #2a3269 62%, #414887);
    overflow: hidden;
}
.cat-hero__cover .cover { box-shadow: 0 20px 34px -22px rgba(10, 14, 40, .9); }
.cat-hero__text { position: relative; min-width: 0; }
.crumbs { display: inline-flex; gap: 7px; font-size: .75rem; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: var(--gold-2); }
.cat-hero__en { display: block; margin-top: 14px; font-family: var(--font-num); font-size: .62rem; letter-spacing: .32em; color: var(--gold-2); }
.cat-hero h1 { margin-top: 8px; font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .06em; }
.cat-hero h1 small { display: block; margin-top: 6px; font-family: var(--font-sans); font-size: .82rem; font-weight: 400; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.cat-hero__text > p { margin-top: 12px; font-size: .86rem; color: rgba(255, 255, 255, .74); max-width: 560px; }
.cat-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cat-hero__meta span {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .72rem;
    color: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .16);
}
.cat-hero__meta b { color: var(--gold-2); font-family: var(--font-num); font-size: .95rem; }

.cat-nav {
    display: flex;
    gap: 2px;
    padding: 6px;
    margin: 18px 0 0;
    overflow-x: auto;
    border-radius: 999px;
    background: rgba(251, 247, 238, .9);
    border: 1px solid var(--line);
    scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.cat-nav a:hover { color: var(--ink); background: var(--paper-2); }
.cat-nav a.is-on { background: var(--night); color: #fff; }

.cat-price { margin-top: 18px; }
.cat-price__bar { display: flex; justify-content: flex-end; padding: 4px 2px 10px; }
.cat-price__bar .price-search { margin-left: 0; width: min(420px, 100%); }
.cat-price__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--paper-3);
    border: 1px solid var(--line);
}
.cat-price__foot b { display: block; font-size: .9rem; }
.cat-price__foot span { font-size: .78rem; color: var(--muted); }

.other-cats { margin-top: 40px; }
.other-cats__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.other-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .82rem;
    font-weight: 700;
    transition: border-color .2s, transform .2s;
}
.other-cat:hover { border-color: var(--cat); transform: translateY(-2px); }
.other-cat__icon { color: var(--cat); display: flex; }
.other-cat svg:last-child { margin-left: auto; color: var(--muted); }

/* ---------- 页面标题 / 通用面板 ---------- */
.page-head { padding: 30px 6px 18px; border-bottom: 1px solid var(--line); }
.page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-head__tag { font-family: var(--font-num); font-size: .62rem; letter-spacing: .32em; color: var(--gold); font-weight: 800; }
.page-head h1 { margin-top: 6px; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: .06em; }
.page-head p { margin-top: 6px; font-size: .84rem; color: var(--muted); }

.panel {
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(43, 41, 64, .08);
    box-shadow: 0 18px 30px -30px rgba(35, 42, 87, .6);
}
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel__head h2, .panel__title { font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: .06em; }
.panel__head a { font-size: .74rem; font-weight: 700; color: var(--gold); }
.panel__title { margin-bottom: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .78rem; font-weight: 700; color: var(--ink); }
.field__hint { font-size: .66rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="number"],
.field input[type="search"],
.field input[type="date"],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(43, 41, 64, .16);
    border-radius: 9px;
    background: var(--paper-3);
    outline: none;
    font-size: .86rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--star);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(111, 134, 217, .14);
}
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkline { display: flex; align-items: flex-start; gap: 8px; font-size: .76rem; color: var(--muted); line-height: 1.6; }
.checkline input { margin-top: 3px; accent-color: var(--night); }
.checkline a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form-tip { font-size: .72rem; color: var(--muted); line-height: 1.7; }

/* ---------- 查询 / 登录 / 注册 ---------- */
.query-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 24px; }
.query-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.query-help { padding: 26px; background: var(--paper-3); }
.query-help h2 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 14px; }
.query-help ul { display: flex; flex-direction: column; gap: 14px; }
.query-help li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid rgba(201, 162, 90, .45); }
.query-help li b { font-size: .84rem; }
.query-help li span { font-size: .76rem; color: var(--muted); line-height: 1.7; }
.query-help__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }

.auth-wrap {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 0;
    margin: 34px 0 10px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.auth-side {
    position: relative;
    padding: 44px 38px;
    color: #fff;
    background:
        radial-gradient(420px 260px at 86% 10%, rgba(242, 212, 138, .24), transparent 60%),
        linear-gradient(150deg, #171c3f, #232a57 56%, #3b4288);
    overflow: hidden;
}
.auth-side__tag { font-family: var(--font-num); font-size: .6rem; letter-spacing: .3em; color: var(--gold-2); }
.auth-side h1 { margin-top: 18px; font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.3; letter-spacing: .06em; }
.auth-side p { margin-top: 16px; font-size: .84rem; line-height: 1.9; color: rgba(255, 255, 255, .68); }
.auth-side__list { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.auth-side__list li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .82); }
.auth-side__list svg { color: var(--gold-2); }
.auth-side__deco {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 7rem;
    line-height: 1;
    color: rgba(242, 212, 138, .12);
}
.auth-card { padding: 40px 42px; background: var(--paper-3); }
.auth-card h2 { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: .06em; }
.auth-card__sub { margin-top: 6px; font-size: .78rem; color: var(--muted); }
.auth-card__sub a { color: var(--gold); font-weight: 700; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }

.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-row input { flex: 1; min-width: 0; }
.captcha-row img { border-radius: 9px; flex: 0 0 auto; }
.captcha-row__refresh {
    flex: 0 0 auto;
    border: 0;
    background: none;
    padding: 4px;
    font-size: .7rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.captcha-row__refresh:hover { color: var(--gold); }
.password-row { position: relative; display: flex; }
.password-row input { padding-right: 52px; }
.password-row__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    font-size: .68rem;
    color: var(--muted);
    padding: 4px;
}
.password-row__toggle:hover { color: var(--gold); }

/* ---------- 账号中心 ---------- */
.account-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 30px 6px 22px;
    border-bottom: 1px solid var(--line);
}
.account-head__tag { font-family: var(--font-num); font-size: .6rem; letter-spacing: .32em; color: var(--gold); }
.account-head h1 { margin-top: 6px; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.account-head p { margin-top: 4px; font-size: .78rem; color: var(--muted); }
.account-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.stat-card {
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(43, 41, 64, .08);
    box-shadow: 0 16px 26px -28px rgba(35, 42, 87, .6);
}
.stat-card--star { background: linear-gradient(150deg, #1e2450, #2f3774); color: #fff; border-color: transparent; }
.stat-card__label { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.stat-card--star .stat-card__label { color: rgba(255, 255, 255, .62); }
.stat-card b { display: block; margin-top: 6px; font-family: var(--font-num); font-size: 1.7rem; line-height: 1.2; color: var(--night); }
.stat-card--star b { color: var(--gold-2); }
.stat-card small { display: block; margin-top: 2px; font-size: .68rem; color: var(--muted); }
.stat-card--star small { color: rgba(255, 255, 255, .5); }

.account-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 20px; }
.order-list { display: flex; flex-direction: column; }
.order-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px dashed var(--line);
}
.order-line:last-child { border-bottom: 0; }
.order-line:hover .order-line__main b { color: var(--gold); }
.order-line__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-line__main b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-line__main small { font-size: .7rem; color: var(--muted); }
.order-line__side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.order-line__amount { font-family: var(--font-num); font-weight: 800; color: var(--night); font-size: .94rem; }

.notice-mini { display: flex; flex-direction: column; gap: 12px; }
.notice-mini li { padding-left: 10px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.notice-mini li.is-unread { border-left-color: var(--gold); }
.notice-mini b { font-size: .82rem; }
.notice-mini span { font-size: .74rem; color: var(--muted); line-height: 1.7; }
.notice-mini small { font-size: .66rem; color: #a49cae; }
.account-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.account-help b { font-size: .84rem; }
.account-help span { font-size: .72rem; color: var(--muted); }

.empty-block { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 20px; text-align: center; color: var(--muted); }
.empty-block b { color: var(--ink); font-size: 1rem; font-family: var(--font-serif); }
.empty-block span { font-size: .78rem; }
.empty-block .btn { margin-top: 8px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.filter-chips a {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .4);
}
.filter-chips a:hover { color: var(--ink); border-color: var(--star); }
.filter-chips a.is-on { background: var(--night); color: #fff; border-color: var(--night); }

.order-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.order-card {
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(43, 41, 64, .08);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.order-card:hover { transform: translateY(-2px); border-color: rgba(201, 162, 90, .4); box-shadow: 0 20px 30px -26px rgba(35, 42, 87, .7); }
.order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-card__no { font-family: var(--font-num); font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.order-card__name { display: block; margin-top: 10px; font-size: .94rem; line-height: 1.5; }
.order-card__meta { margin-top: 4px; font-size: .7rem; color: var(--muted); }
.order-card__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.order-card__amount { font-family: var(--font-num); font-size: 1.15rem; font-weight: 800; color: var(--night); }
.order-card__go { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--gold); }

.notice-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(43, 41, 64, .08);
    transition: border-color .2s, transform .2s;
}
.notice-item:hover { border-color: rgba(201, 162, 90, .45); transform: translateX(3px); }
.notice-item__dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--line); flex: 0 0 auto; }
.notice-item.is-unread .notice-item__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 90, .15); }
.notice-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.notice-item__body b { font-size: .86rem; }
.notice-item__body span { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.notice-item__body small { font-size: .66rem; color: #a49cae; }
.notice-item__go { color: var(--muted); align-self: center; }

/* ---------- 订单详情 ---------- */
.order-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 6px 20px;
    border-bottom: 1px solid var(--line);
}
.order-head__main .crumbs { color: var(--muted); }
.order-head__main .crumbs:hover { color: var(--gold); }
.order-head h1 { margin-top: 8px; font-family: var(--font-serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.order-head h1 span { font-family: var(--font-num); font-size: .8em; letter-spacing: .06em; }
.copy-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .5);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: .62rem;
    color: var(--muted);
}
.copy-btn:hover { color: var(--night); border-color: var(--gold); }
.order-head__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: .74rem; }
.order-head__amount { text-align: right; flex: 0 0 auto; }
.order-head__amount small { display: block; font-size: .68rem; color: var(--muted); }
.order-head__amount b { display: block; font-family: var(--font-num); font-size: 2rem; line-height: 1.2; color: var(--night); }
.order-head__amount span { font-size: .68rem; color: var(--muted); }

.pay-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(120deg, #fdf3d9, #f8e8bf);
    border: 1px solid rgba(201, 162, 90, .4);
}
.pay-banner b { display: block; font-size: .9rem; color: #6b4a10; }
.pay-banner span { font-size: .76rem; color: #8a6b2a; }

.order-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(111, 134, 217, .1);
    border: 1px solid rgba(111, 134, 217, .25);
    color: var(--night);
}
.order-alert b { display: block; font-size: .86rem; }
.order-alert span { font-size: .76rem; color: var(--muted); }
.order-alert--warn { background: rgba(192, 86, 86, .08); border-color: rgba(192, 86, 86, .25); color: #8c3030; }
.order-alert svg { flex: 0 0 auto; margin-top: 2px; }

.flow {
    display: flex;
    gap: 0;
    margin: 22px 0 4px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(43, 41, 64, .08);
    overflow-x: auto;
    scrollbar-width: none;
}
.flow::-webkit-scrollbar { display: none; }
.flow li { position: relative; flex: 1 0 96px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.flow li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: -50%;
    width: 100%;
    height: 1px;
    background: var(--line);
    z-index: 0;
}
.flow li:first-child::before { display: none; }
.flow__dot {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    font-family: var(--font-num);
    font-size: .68rem;
    color: var(--muted);
}
.flow li.is-done .flow__dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.flow li.is-done::before { background: var(--gold); opacity: .5; }
.flow li.is-now .flow__dot { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 0 0 4px rgba(35, 42, 87, .12); }
.flow__label { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.flow li.is-now .flow__label { color: var(--night); font-weight: 800; }
.flow li.is-done .flow__label { color: var(--ink); }

.order-cols { display: grid; grid-template-columns: 1.42fr .58fr; gap: 18px; margin-top: 18px; }
.order-main { display: flex; flex-direction: column; gap: 16px; }
.order-side { display: flex; flex-direction: column; gap: 16px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; }
.kv-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv-grid span, .kv-list span { font-size: .7rem; color: var(--muted); }
.kv-grid b { font-size: .84rem; font-weight: 600; word-break: break-word; }
.kv-block { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.kv-block > span { font-size: .7rem; color: var(--muted); }
.kv-block p { margin-top: 6px; font-size: .82rem; line-height: 1.8; }
.kv-tip { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .68rem; color: var(--muted); }
.kv-list { display: flex; flex-direction: column; gap: 10px; }
.kv-list > div { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; }
.kv-list b { font-weight: 600; text-align: right; }

.booster-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--paper-3); border: 1px solid var(--line); }
.booster-card__avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--night);
    color: var(--gold-2);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}
.booster-card b { display: block; font-size: .86rem; }
.booster-card span { display: block; font-size: .7rem; color: var(--muted); }

.timeline { display: flex; flex-direction: column; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 20px 2px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline__dot { width: 11px; height: 11px; margin-top: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 90, .12); }
.timeline__body { flex: 1; min-width: 0; }
.timeline__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.timeline__head b { font-size: .84rem; }
.timeline__head time { font-size: .66rem; color: #a49cae; flex: 0 0 auto; }
.timeline__body p { margin-top: 4px; font-size: .78rem; color: var(--muted); line-height: 1.75; }
.timeline__body small { display: block; margin-top: 3px; font-size: .66rem; color: #a49cae; }
.order-notices { margin-top: 18px; }

/* ---------- 徽标 ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}
.badge--amber { color: #8a6420; background: rgba(242, 212, 138, .38); }
.badge--blue { color: #33518f; background: rgba(111, 134, 217, .16); }
.badge--indigo { color: #454190; background: rgba(139, 123, 216, .18); }
.badge--cyan { color: #1f6b73; background: rgba(94, 190, 200, .18); }
.badge--violet { color: #6a4590; background: rgba(190, 140, 220, .2); }
.badge--green { color: #3d6b34; background: rgba(120, 160, 102, .2); }
.badge--rose { color: #983f5c; background: rgba(230, 138, 166, .2); }
.badge--gray { color: #6f6a7a; background: rgba(43, 41, 64, .08); }

/* ---------- 服务说明 ---------- */
.rules-panel { margin-top: 22px; padding: 30px 34px; }
.rules-panel h2 { font-family: var(--font-serif); font-size: 1.12rem; margin: 22px 0 8px; letter-spacing: .04em; }
.rules-panel h2:first-child { margin-top: 0; }
.rules-panel p { font-size: .84rem; line-height: 1.95; color: #514d60; }
.rules-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------- 在线客服 ---------- */
.support-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.support-side { padding: 22px; }
.support-side__title { margin: 0 0 14px; font-family: var(--font-serif); font-size: 1rem; letter-spacing: .04em; }
.agent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agent { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-3); }
.agent__avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold-2); font-family: var(--font-serif); font-weight: 700; }
.agent__info { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.agent__info b { font-size: .85rem; }
.agent__info small { color: var(--muted); font-size: .7rem; }
.agent__dot { width: 8px; height: 8px; border-radius: 50%; background: #5d9e5a; box-shadow: 0 0 0 3px rgba(93, 158, 90, .18); }
.agent-list__empty { padding: 6px 2px; font-size: .78rem; line-height: 1.8; color: var(--muted); }
.support-side__meta { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); }
.support-side__meta b { font-family: var(--font-num); font-size: .98rem; letter-spacing: .04em; color: var(--ink); }
.support-side > .text-link { display: inline-block; margin-top: 14px; font-size: .78rem; }
.support-chat { position: relative; display: flex; flex-direction: column; min-height: 600px; max-height: calc(100vh - 170px); padding: 0; overflow: hidden; }
.support-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper-3); }
.support-chat__head h2 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 1.05rem; }
.support-chat__head p { margin: 0; font-size: .75rem; color: var(--muted); }
.support-chat__badge { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(201, 162, 90, .35); background: rgba(201, 162, 90, .16); color: var(--gold-ink, #8a6a25); font-size: .68rem; white-space: nowrap; }
.support-chat__tools { display: flex; align-items: center; gap: 10px; }
.chat-msg__bubble a { color: inherit; text-decoration: underline; word-break: break-all; }
.chat-messages { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(247, 240, 227, .35)); }
.chat-msg { display: flex; flex-direction: column; gap: 5px; max-width: 78%; }
.chat-msg--visitor { align-self: flex-end; align-items: flex-end; }
.chat-msg--admin { align-self: flex-start; }
.chat-msg__who { font-size: .68rem; color: var(--muted); }
.chat-msg__bubble { padding: 11px 14px; border-radius: 14px; font-size: .84rem; line-height: 1.75; word-break: break-word; }
.chat-msg--visitor .chat-msg__bubble { background: var(--night); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--admin .chat-msg__bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg time { font-size: .64rem; color: var(--muted); }
.chat-msg--system { align-self: center; max-width: 90%; align-items: center; }
.chat-msg--system span { padding: 4px 12px; border-radius: 999px; background: rgba(43, 41, 64, .06); font-size: .7rem; color: var(--muted); }
.chat-welcome { margin: auto; max-width: 430px; padding: 30px 10px; text-align: center; }
.chat-welcome__star { font-size: 1.6rem; color: var(--gold); }
.chat-welcome h3 { margin: 10px 0 8px; font-family: var(--font-serif); font-size: 1.1rem; }
.chat-welcome p { margin: 0; font-size: .8rem; line-height: 1.9; color: var(--muted); }
.chat-start { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; border-top: 1px solid var(--line); background: var(--paper-3); }
.chat-start h3 { margin: 0; font-family: var(--font-serif); font-size: .98rem; }
.chat-start > p { margin: 0; font-size: .76rem; color: var(--muted); }
.chat-start label { display: flex; flex-direction: column; gap: 6px; font-size: .76rem; color: var(--muted); }
.chat-start input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: .86rem; }
.chat-start input:focus { outline: none; border-color: var(--gold); }
.chat-start .btn { align-self: flex-start; }
.chat-start__error { margin: 0; font-size: .76rem; color: var(--danger); }
.chat-input { display: flex; align-items: flex-end; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper-3); }
.chat-input textarea { flex: 1; resize: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: .86rem; line-height: 1.6; }
.chat-input textarea:focus { outline: none; border-color: var(--gold); }
.chat-watermark { position: absolute; top: 64px; right: 0; bottom: 76px; left: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 18px; padding: 18px; overflow: hidden; pointer-events: none; opacity: .055; transform: rotate(-16deg) scale(1.15); }
.chat-watermark span { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--night); white-space: nowrap; }
.support-chat__head, .chat-start, .chat-input { position: relative; z-index: 5; }
.chat-messages { position: relative; z-index: 2; }
.chat-msg__image { display: block; max-width: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.chat-msg__image img { display: block; width: 100%; height: auto; }
.chat-file-hint { max-width: 110px; overflow: hidden; font-size: .68rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 空状态 / 404 ---------- */
.error-page { padding: 90px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.error-page__code { font-family: var(--font-num); font-size: 5.2rem; line-height: 1; color: rgba(201, 162, 90, .55); }
.error-page h1 { font-family: var(--font-serif); font-size: 1.7rem; }
.error-page p { font-size: .84rem; color: var(--muted); max-width: 420px; }
.error-page__actions { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- 下单弹窗 ---------- */
.order-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 22px; }
.order-modal[hidden] { display: none; }
.order-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 14, 34, .66); backdrop-filter: blur(5px); }
.order-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(660px, 100%);
    max-height: 92vh;
    border-radius: 18px;
    background: var(--paper-3);
    box-shadow: 0 40px 80px -30px rgba(5, 8, 25, .8);
    animation: modal-in .28s cubic-bezier(.2, .8, .3, 1);
    overflow: hidden;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.order-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px 14px;
    background: linear-gradient(150deg, #1b2144, #2c3470);
    color: #fff;
}
.order-modal__head small { font-family: var(--font-num); font-size: .56rem; letter-spacing: .3em; color: var(--gold-2); }
.order-modal__head h2 { margin-top: 2px; font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: .06em; }
.order-modal__close { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; line-height: 1; }
.order-modal__close:hover { background: rgba(255, 255, 255, .2); }
.order-modal__body { overflow-y: auto; padding: 18px 24px 6px; }
.order-picked {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    margin-bottom: 16px;
}
.order-picked__cat { font-size: .64rem; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.order-picked b { font-size: .86rem; flex: 1; min-width: 180px; }
.order-picked__price { font-family: var(--font-num); font-weight: 800; color: var(--night); font-size: 1rem; }
.order-form { display: flex; flex-direction: column; gap: 13px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qty { display: flex; align-items: center; border: 1px solid rgba(43, 41, 64, .16); border-radius: 9px; overflow: hidden; background: #fff; }
.qty__btn { width: 40px; height: 40px; border: 0; background: var(--paper-3); color: var(--ink); font-size: 1.05rem; }
.qty__btn:hover { background: var(--paper-2); }
.qty input { flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font-family: var(--font-num); font-weight: 700; outline: none; background: #fff; }
.field--check { justify-content: flex-end; padding-bottom: 8px; }
.order-form__error {
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(192, 86, 86, .1);
    color: #a13a3a;
    font-size: .76rem;
    border: 1px solid rgba(192, 86, 86, .25);
}
.order-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
}
.order-total small { display: block; font-size: .64rem; color: var(--muted); }
.order-total span { display: flex; align-items: baseline; color: var(--night); font-family: var(--font-num); }
.order-total b { font-size: .9rem; margin-right: 2px; }
.order-total em { font-style: normal; font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.order-total i { font-style: normal; font-family: var(--font-sans); font-size: .66rem; color: var(--muted); margin-left: 3px; }

.order-modal__success { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 28px; text-align: center; overflow-y: auto; }
.order-success__stamp {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px dashed var(--gold);
    color: var(--gold);
    font-family: var(--font-num);
    font-size: .6rem;
    letter-spacing: .16em;
    transform: rotate(-8deg);
    line-height: 1.3;
}
.order-modal__success h3 { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: .1em; }
.order-success__no { font-size: .78rem; color: var(--muted); }
.order-success__no b { font-family: var(--font-num); color: var(--night); font-size: 1rem; letter-spacing: .04em; margin: 0 4px; }
.order-success__no .linkbtn { color: var(--gold); text-decoration: none; font-size: .72rem; }
.order-success__meta { display: flex; gap: 18px; font-size: .76rem; color: var(--muted); }
.order-success__meta b { color: var(--ink); }
.order-success__tip { font-size: .76rem; color: var(--muted); max-width: 400px; line-height: 1.8; }
.order-success__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.order-success__contact { font-size: .72rem; color: var(--muted); }
.order-success__contact a { color: var(--gold); font-weight: 700; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; z-index: 200; right: 22px; top: calc(var(--topbar-h) + 14px); display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: .8rem;
    line-height: 1.6;
    box-shadow: 0 20px 36px -20px rgba(10, 14, 40, .55);
    border-left: 3px solid var(--star);
    animation: toast-in .3s ease;
}
.toast--success { border-left-color: var(--leaf); }
.toast--error { border-left-color: var(--danger); }
.toast__close { border: 0; background: none; color: var(--muted); margin-left: auto; font-size: 1rem; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 页脚 ---------- */
.page-footer { max-width: 1180px; margin: 0 auto 40px; padding: 0 26px; color: rgba(255, 255, 255, .55); }
.page-footer__inner { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.page-footer__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.page-footer__logo { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .88; }
.page-footer__brand span { font-size: .72rem; }
.page-footer__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: .72rem; }
.page-footer__links a:hover { color: var(--gold-2); }
.page-footer__note { font-size: .7rem; color: rgba(255, 255, 255, .38); line-height: 1.7; }
.page-footer__copy { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .66rem; color: rgba(255, 255, 255, .34); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 22px; }
.pager a, .pager span {
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .5);
    font-size: .76rem;
    text-align: center;
}
.pager a:hover { border-color: var(--star); }
.pager a.is-active { background: var(--night); border-color: var(--night); color: #fff; }
.pager__gap { border: 0; background: none; color: var(--muted); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__postcard { right: 26px; width: 250px; height: 180px; }
    .hero__stamp { width: 58px; height: 66px; font-size: .46rem; }
    .hero__postmark { display: none; }
    .hero__compass svg { width: 64px; height: 64px; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .other-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guarantee { gap: 16px; padding: 14px 16px; }
    .guarantee__link { display: none; }
}

@media (max-width: 860px) {
    :root { --topbar-h: 106px; }
    .topbar { height: var(--topbar-h); }
    .topbar__inner { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px; align-content: center; }
    .brand__logo { height: 26px; }
    .brand__text small { display: none; }
    .topnav { order: 3; width: 100%; margin: 4px 0 0; overflow-x: auto; scrollbar-width: none; }
    .topnav::-webkit-scrollbar { display: none; }
    .topbar__side { margin-left: auto; }
    .topbar__qq { display: none; }
    .order-modal { padding: 0; align-items: flex-end; }
    .order-modal__panel { max-height: 94vh; border-radius: 18px 18px 0 0; width: 100%; }
    .order-modal__body { padding: 16px 18px 4px; }
    .order-modal__head, .order-modal__foot { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 760px) {
    .sheet { margin: 12px 10px 26px; padding: 12px 12px 24px; border-radius: 18px; }
    .sheet::before { inset: 5px; border-radius: 14px; }
    .hero { padding: 38px 22px 46px; min-height: 0; border-radius: 14px; }
    .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
    .hero__title em { font-size: .32em; letter-spacing: .22em; }
    .hero__sub { font-size: .85rem; }
    .hero__postcard { display: none; }
    .hero__sky { width: 240px; height: 240px; right: -40px; top: 8%; opacity: .6; }
    .hero__actions .btn { flex: 1 1 auto; }
    .guarantee { display: grid; grid-template-columns: 1fr 1fr; margin: -14px 8px 0; gap: 12px; padding: 14px; }
    .guarantee__item:nth-child(3) { grid-column: 1 / -1; }
    .section { margin-top: 34px; }
    .section__head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .section__head > span { padding-bottom: 0; }
    .picks__grid { grid-template-columns: 1fr; }
    .pack-card { padding: 26px 22px 22px; }
    .cat-grid { grid-template-columns: 1fr; gap: 24px; }
    .cat-card, .cat-card:hover { transform: none; }
    .cat-card__cap h3 { font-size: 1.3rem; }
    .price-toolbar { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 14px; top: calc(var(--topbar-h) + 6px); }
    .price-toolbar__nav { padding: 2px; }
    .price-search { margin-left: 0; min-width: 0; width: 100%; }
    .price-rows { grid-template-columns: 1fr; gap: 0; }
    .price-rows--page { grid-template-columns: 1fr; padding-top: 0; }
    .price-row__go { opacity: 1; transform: none; }
    .price-sec__head { flex-wrap: wrap; gap: 4px; }
    .cat-hero { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
    .cat-hero__cover { max-width: 100%; }
    .cat-hero__text > p { font-size: .8rem; }
    .cat-nav { border-radius: 12px; }
    .other-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-head { padding: 24px 4px 14px; }
    .page-head--row, .account-head, .order-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .order-head__amount { text-align: left; }
    .query-wrap { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: 1fr; margin: 18px 0 0; }
    .auth-side { padding: 30px 26px; }
    .auth-side h1 { font-size: 1.9rem; }
    .auth-card { padding: 26px 22px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 14px 16px; }
    .account-grid { grid-template-columns: 1fr; }
    .order-cards { grid-template-columns: 1fr; }
    .order-cols { grid-template-columns: 1fr; }
    .kv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .flow { padding: 16px 12px; }
    .flow li { flex-basis: 84px; }
    .pay-banner { flex-direction: column; align-items: flex-start; }
    .cat-price__foot { flex-direction: column; align-items: flex-start; }
    .rules-panel { padding: 22px 18px; }
    .support-shell { grid-template-columns: 1fr; }
    .support-chat { min-height: 540px; max-height: none; }
    .chat-msg { max-width: 88%; }
    .support-side { padding: 18px; }
    .page-footer { padding: 0 20px; }
    .toast-stack { left: 16px; right: 16px; top: auto; bottom: 18px; max-width: none; }
    .order-grid { grid-template-columns: 1fr; }
    .order-modal__success { padding: 30px 20px; }
    .order-modal__foot { padding: 12px 18px; }
    .order-modal__foot .btn { flex: 0 0 auto; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-row input { min-width: 90px; }
}

@media (max-width: 420px) {
    .hero__chips .chip:nth-child(n+4) { display: none; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .kv-grid { grid-template-columns: 1fr; }
    .order-head__amount b { font-size: 1.7rem; }
    .order-success__actions .btn { flex: 1 1 100%; }
}
