/* =========================================================
   RoamCat 漫游猫 · 2026 设计系统（原创）
   主题：登机牌 / 行李牌。深墨蓝 + 暖米白交替，紫色品牌色，暖橙点缀，
   等宽数字像机场信息屏。字体全部用设备自带字体（无外部加载）。
   ========================================================= */
:root {
  --ink: #12131f;          /* 深墨蓝：主文字、深色区块 */
  --ink-2: #1b1d2e;
  --ink-3: #26293d;
  --paper: #f5f1e8;        /* 暖米白：页面底色 */
  --paper-2: #ece6d8;
  --card: #fffdf8;
  --line: #e3dccb;
  --line-dark: rgba(255, 255, 255, 0.09);
  --soft: #5f5b6b;
  --dim: #8e889a;
  --brand: #6a4cff;
  --brand-dark: #5233f0;
  --brand-soft: #ece7ff;
  --amber: #ffb547;
  --mint: #2fd39a;
  --bg: var(--paper);
  --surface: #faf7f0;
  --surface-2: var(--paper-2);
  --radius: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); }
::selection { background: var(--amber); color: var(--ink); }
.wrap { max-width: 1180px; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ---------- 小标题：等宽大写 + 小圆点 ---------- */
.eyebrow-mono { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.eyebrow-mono .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.18); }
.eyebrow-mono .sep { opacity: 0.4; }

/* ---------- 顶栏：深色 ---------- */
.topbar { background: rgba(18, 19, 31, 0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-dark); }
header.top { height: 64px; }
.topbar .logo { color: #fff; font-weight: 760; letter-spacing: -0.02em; }
.topbar .logo small { color: rgba(255, 255, 255, 0.5); }
.topbar .nav a { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 520; }
.topbar .nav a:hover { color: #fff; }
.topbar .acct-link { background: var(--amber) !important; color: var(--ink) !important; box-shadow: none !important; border: 0 !important; font-weight: 700 !important; }
.topbar .acct-link:hover { filter: brightness(1.05); }
.topbar .lang { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.topbar .lang option { color: var(--ink); }
.topbar .lang:hover { border-color: rgba(255, 255, 255, 0.4); }

/* ---------- 首屏（深色） ---------- */
.hero.hero-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; border: 0; }
.hero.hero-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(106, 76, 255, 0.35), transparent 65%),
    radial-gradient(520px 360px at 5% 100%, rgba(255, 181, 71, 0.12), transparent 70%);
}
/* 细网格，像航图 */
.hero.hero-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-dark .hero-in { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-dark .eyebrow-mono { color: rgba(255, 255, 255, 0.62); }
.hero-dark h1 { font: 820 clamp(44px, 7.2vw, 88px)/0.98 var(--sans); letter-spacing: -0.045em; margin: 0 0 22px; max-width: 11ch; color: #fff; }
.hero-dark p.lead { color: rgba(255, 255, 255, 0.7); font-size: 18px; line-height: 1.6; max-width: 44ch; margin-bottom: 30px; }
.hero-dark .searchbox { background: #fff; border: 0; border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); max-width: 520px; }
.hero-dark .searchbox input { font-size: 16px; }
.hero-dark .searchbox button { border-radius: 999px; background: var(--ink); padding: 13px 24px; font-weight: 680; }
.hero-dark .searchbox button:hover { background: var(--brand); }
.hero-dark .trust { margin-top: 26px; gap: 10px; }
.hero-dark .trust li { color: rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 13px 7px 11px; font-size: 13px; }
.hero-dark .trust li svg, .hero-dark .trust li::before { color: var(--mint) !important; }
@media (max-width: 860px) {
  .hero-dark .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero-dark .hero-in .hero-art { display: block !important; }
}

/* ---------- 首屏右侧：eSIM 登机牌 ---------- */
.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.pass { --notch: 14px; position: relative; width: min(100%, 400px); background: var(--card); color: var(--ink); border-radius: 22px; padding: 22px 24px 18px; transform: rotate(-3deg); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.hero-art:hover .pass { transform: rotate(-1deg) translateY(-4px); }
.pass > * { transition: opacity 0.22s ease, transform 0.22s ease; }
.pass.flip .pass-route b, .pass.flip .pass-grid b { opacity: 0; transform: translateY(4px); }
.pass-route b, .pass-grid b { display: inline-block; transition: opacity 0.22s ease, transform 0.22s ease; }
.pass-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pass-brand { display: flex; align-items: center; gap: 8px; font: 760 16px/1 var(--sans); letter-spacing: -0.02em; }
.pass-brand img { width: 26px; height: 26px; }
.pass-kind { font: 700 11px/1 var(--mono); letter-spacing: 0.16em; color: var(--brand); background: var(--brand-soft); padding: 6px 9px; border-radius: 6px; }
.pass small { display: block; font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; color: var(--dim); margin-bottom: 7px; }
.pass b { font: 750 15px/1.1 var(--mono); letter-spacing: 0.02em; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; padding: 18px 0; }
.pass-route .to { text-align: right; }
.pass-route .to b { font-size: 30px; letter-spacing: -0.01em; font-family: var(--sans); font-weight: 830; }
.pass-route .plane { color: var(--brand); margin-bottom: 4px; transform: rotate(0deg); }
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0 4px; }
.pass-grid > div { background: var(--paper); border-radius: 10px; padding: 11px 12px; }
.pass-perf { position: relative; height: 26px; margin: 10px -24px 4px; }
.pass-perf::before { content: ""; position: absolute; left: var(--notch); right: var(--notch); top: 50%; border-top: 2px dashed var(--line); }
.pass-perf::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 0 50%, var(--ink) var(--notch), transparent calc(var(--notch) + 0.5px)),
  radial-gradient(circle at 100% 50%, var(--ink) var(--notch), transparent calc(var(--notch) + 0.5px)); }
.pass-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pass-status { display: flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--mono); letter-spacing: 0.12em; color: #0e8a5f; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47, 211, 154, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 211, 154, 0); } }
.bars { width: 120px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: 0.85; border-radius: 2px; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(27, 29, 46, 0.92); color: #fff; border: 1px solid var(--line-dark); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); white-space: nowrap; }
.chip .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 900; }
.chip-b .ck { background: var(--amber); }
.chip-a { right: -6px; bottom: 34px; transform: rotate(2deg); }
.chip-b { left: -10px; top: 26px; transform: rotate(-2deg); }
@media (max-width: 860px) { .chip-a { right: 4px; bottom: 6px; } .chip-b { left: 4px; top: 4px; } .hero-art { min-height: 0; padding: 30px 0 20px; } }
@media (prefers-reduced-motion: reduce) { .live { animation: none; } .pass { transition: none; } }

/* ---------- 区块 ---------- */
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 60px 0; } }
.section h2 { font: 800 clamp(30px, 4.4vw, 48px)/1.05 var(--sans); letter-spacing: -0.035em; margin: 0 0 28px; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow-mono { color: rgba(255, 255, 255, 0.55); }
.section-dark .lede { color: rgba(255, 255, 255, 0.6); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* 分类切换 */
.tabs { background: var(--paper-2); border: 0; border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 26px; }
.tabs button { border-radius: 999px; font-weight: 640; color: var(--soft); padding: 9px 18px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- 目的地：小登机牌 ---------- */
.dest-grid { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.dest.tix { --n: 9px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 rgba(18, 19, 31, 0.03); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; overflow: visible; }
.dest.tix:hover { transform: translateY(-3px); border-color: #d4cbb5; box-shadow: 0 14px 34px rgba(18, 19, 31, 0.1); }
.tix-main { padding: 16px 16px 16px 18px; min-width: 0; }
.tix-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.tix-top .flag { box-shadow: 0 0 0 1px rgba(18, 19, 31, 0.08); }
.tix-top .code { font: 700 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--dim); }
.tix .nm { font: 720 18px/1.2 var(--sans); letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tix .sub { font-size: 13px; color: var(--soft); margin-top: 3px; }
/* 票根：虚线 + 上下两个半圆缺口 */
.tix-stub { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; padding: 14px 18px 14px 20px; min-width: 104px; border-left: 2px dashed var(--line); }
.tix-stub::before, .tix-stub::after { content: ""; position: absolute; left: calc(-1 * var(--n) - 1px); width: calc(var(--n) * 2); height: var(--n); background: var(--paper); border: 1px solid var(--line); }
.tix-stub::before { top: -1px; border-top: 0; border-radius: 0 0 99px 99px; }
.tix-stub::after { bottom: -1px; border-bottom: 0; border-radius: 99px 99px 0 0; }
.tix-stub .lbl { font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.tix-stub .pr { font: 760 19px/1 var(--mono); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.tix-stub .pr.sm { font-size: 13px; font-family: var(--sans); }
.dest.tix:hover .tix-stub .pr { color: var(--brand); }
.more .btn.ghost { border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-weight: 680; }
.more .btn.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- 邀请横幅 ---------- */
.promo { position: relative; overflow: hidden; background: var(--brand) !important; color: #fff; border-radius: 26px !important; padding: 44px 48px !important; box-shadow: none !important; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, 0.08); }
.promo h2 { font: 800 clamp(26px, 3.4vw, 38px)/1.1 var(--sans) !important; letter-spacing: -0.03em; margin: 6px 0 10px !important; color: #fff; }
.promo p { color: rgba(255, 255, 255, 0.82) !important; max-width: 56ch; }
.promo .eyebrow { font: 600 12px/1 var(--mono) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber) !important; }
.promo .btn.white { background: var(--amber) !important; color: var(--ink) !important; border-radius: 999px !important; font-weight: 760; position: relative; z-index: 1; }
@media (max-width: 640px) { .promo { padding: 30px 24px !important; } }

/* ---------- 三步（深色） ---------- */
.section-dark .steps3 { gap: 14px; margin-top: 6px; }
.section-dark .steps3 li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px 24px 28px; color: rgba(255, 255, 255, 0.66); }
.section-dark .steps3 li::before { display: none !important; }
.section-dark .steps3 li:last-child { background: var(--card); color: var(--soft); }
.section-dark .steps3 li:last-child b { color: var(--ink); }
.section-dark .steps3 li:last-child i { color: var(--brand); }
.steps3 li i { display: block; font: 700 40px/1 var(--mono); font-style: normal; letter-spacing: -0.04em; color: var(--amber); margin-bottom: 22px; }
.steps3 li b { display: block; font: 720 19px/1.25 var(--sans); letter-spacing: -0.015em; color: #fff; margin-bottom: 8px; }
.steps3 li span { font-size: 14.5px; line-height: 1.6; }
.note-line { margin-top: 26px; font-size: 14px; max-width: 80ch; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ---------- 常见问题 ---------- */
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; margin: 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 44px 22px 0; font: 680 18px/1.35 var(--sans); letter-spacing: -0.01em; position: relative; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--mono); color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--soft); line-height: 1.7; max-width: 70ch; }

/* ---------- 通用按钮 / 卡片 ---------- */
.btn { border-radius: 999px; font-weight: 680; letter-spacing: -0.005em; }
.btn:not(.ghost):not(.white) { background: var(--ink); color: #fff; }
.btn:not(.ghost):not(.white):hover { background: var(--brand); }
.btn.block { border-radius: 14px; }
input, select, textarea { border-radius: 12px; }

/* ---------- 页脚 ---------- */
footer.foot { background: var(--ink) !important; border-top: 1px solid var(--line-dark); }
footer.foot .logo { color: #fff; }
footer.foot a, footer.foot span { color: rgba(255, 255, 255, 0.6) !important; }
footer.foot a:hover { color: #fff !important; }

/* ---- 细节修正 ---- */
.tix-top .code { background: none !important; border: 0 !important; padding: 0 !important; }
.dest.tix { grid-template-columns: minmax(0, 1fr) 128px; }
.tix-stub { min-width: 0; }
.chip-b { left: -18px; top: auto; bottom: 120px; }
@media (max-width: 860px) { .chip-b { left: 2px; bottom: auto; top: 8px; } }
.tix-stub::before, .tix-stub::after { border-color: var(--line); }
@media (min-width: 861px) { .hero-art { padding-top: 34px; } .chip-b { left: 0; top: 0; bottom: auto; } }
.err:empty { display: none; }

/* =========================================================
   套餐页
   ========================================================= */
.crumbs { padding-top: 26px; font: 600 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--dim); }
.crumbs a { color: var(--soft); text-decoration: none; }
.country { gap: 28px; padding-top: 18px; padding-bottom: 80px; }
/* 左侧：深色“登机牌”信息卡 */
.c-info { position: sticky; top: 88px; background: var(--ink) !important; color: #fff; border: 0 !important; border-radius: 24px !important; padding: 30px 28px 26px !important; box-shadow: 0 30px 60px rgba(18, 19, 31, 0.18) !important; overflow: hidden; }
.c-info::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 76, 255, 0.45), transparent 70%); pointer-events: none; }
.c-title { position: relative; gap: 14px; margin-bottom: 22px; }
.c-title .flag { width: 46px !important; height: 46px !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.c-info h1 { font: 820 clamp(30px, 3.4vw, 40px)/1.05 var(--sans); letter-spacing: -0.035em; color: #fff; margin: 0; }
.c-info .facts div { border-top: 1px solid var(--line-dark) !important; grid-template-columns: 96px 1fr; }
.c-info .facts dt { font: 600 11px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.c-info .facts dd { color: #fff; font-weight: 600; }
.c-info .compat { color: var(--amber); font-weight: 600; }
@media (max-width: 900px) { .c-info { position: relative; top: 0; } }

/* 套餐卡片 */
.plan-grid { gap: 12px; }
.plan { background: var(--card) !important; border: 1.5px solid var(--line) !important; border-radius: 18px !important; padding: 18px 16px 14px !important; box-shadow: none !important; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; text-align: left; }
.plan:hover { transform: translateY(-2px); border-color: #cfc5ad !important; }
.plan[aria-checked="true"] { border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.18), 0 14px 30px rgba(18, 19, 31, 0.12) !important; }
.plan .gb { font: 820 24px/1.05 var(--sans) !important; letter-spacing: -0.03em; }
.plan .dd { font: 600 12px/1.6 var(--mono); letter-spacing: 0.06em; color: var(--dim); margin-top: 2px; }
.plan .pp { font: 760 20px/1.1 var(--mono) !important; letter-spacing: -0.02em; color: var(--ink) !important; margin-top: 14px !important; }
.plan[aria-checked="true"] .pp { color: var(--brand) !important; }
.plan .pg { font: 500 11.5px/1.5 var(--mono); color: var(--dim); }
.plan .ipt { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.plan .badge { background: var(--amber) !important; color: var(--ink) !important; font: 700 11px/1 var(--sans) !important; border-radius: 999px !important; padding: 5px 9px !important; }

/* 结账卡 */
.summary { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 24px !important; padding: 24px !important; box-shadow: 0 24px 60px rgba(18, 19, 31, 0.08) !important; }
.summary .line { font-size: 15px; }
.summary .line b { font: 760 20px/1 var(--mono); letter-spacing: -0.02em; }
.summary #payLine b { color: var(--brand); font-size: 24px; }
.summary #discLine b { color: #0e8a5f; }
.summary input[type=email], .summary input[type=text] { background: #fff; border: 1.5px solid var(--line); padding: 13px 14px; font-size: 16px; }
.summary input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.15); }
.acct-hint { background: var(--paper) !important; border: 1px solid var(--line) !important; color: var(--soft) !important; border-radius: 12px !important; }
.refund-note { background: #fff7e6 !important; border: 1px solid #f4dca8 !important; color: #8a5a00 !important; border-radius: 12px !important; }
#payBtn { background: var(--ink) !important; color: #fff; padding: 16px; font-size: 17px; border-radius: 14px; }
#payBtn:not(:disabled):hover { background: var(--brand) !important; }
#payBtn:disabled { opacity: 0.35; }
.pay-methods span { background: var(--paper) !important; border: 1px solid var(--line); color: var(--soft) !important; font: 600 11.5px/1 var(--sans); border-radius: 8px !important; }
.c-buy .tabs { margin-bottom: 16px; }
.daily-box { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 18px !important; }
.fine { color: var(--dim); }

/* =========================================================
   账号页 / 订单页
   ========================================================= */
.panel, .order-card { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 22px !important; box-shadow: none !important; }
.panel h2, .order-card h1, .order-card h2, main h1 { letter-spacing: -0.03em; }
.btn.ghost { background: transparent !important; border: 1.5px solid var(--line) !important; color: var(--ink) !important; font-size: 15px !important; padding: 10px 18px !important; box-shadow: none !important; }
.btn.ghost:hover { border-color: var(--ink) !important; }
.invite-card { background: var(--ink) !important; color: #fff; border-radius: 24px !important; box-shadow: 0 30px 60px rgba(18, 19, 31, 0.16) !important; position: relative; overflow: hidden; }
.invite-card::before { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 76, 255, 0.5), transparent 70%); pointer-events: none; }
.invite-card > * { position: relative; }
.invite-card h2 { color: #fff; font-weight: 820; letter-spacing: -0.03em; }
.invite-card .invite-sub, .invite-card .invite-steps { color: rgba(255, 255, 255, 0.7) !important; }
.invite-card .code-pill { background: var(--amber) !important; color: var(--ink) !important; border: 0 !important; border-radius: 14px !important; }
.invite-card .code-pill b { font-family: var(--mono) !important; }
.invite-card input { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid var(--line-dark) !important; color: #fff !important; font-family: var(--mono); font-size: 14px; }
.invite-card .btn { background: var(--amber) !important; color: var(--ink) !important; }
.stat { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 18px !important; box-shadow: none !important; }
.stat b, .stat .v { font-family: var(--mono) !important; letter-spacing: -0.02em; }
.code { background: var(--paper) !important; border: 1px dashed var(--line); }
.status { font-family: var(--sans); }
#authTabs { margin-bottom: 18px; }

/* =========================================================
   动效（系统开启“减少动态效果”时全部关闭）
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* 首屏：文字依次浮现 */
  .hero-copy > * { animation: rise 0.8s cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.27s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
  /* 登机牌：飞进来，然后轻轻漂浮 */
  .hero-art .pass { animation: passIn 1s cubic-bezier(.2,.8,.2,1) 0.25s both, floaty 6s ease-in-out 1.3s infinite; }
  .hero-art .chip-a { animation: pop 0.6s cubic-bezier(.3,1.4,.5,1) 0.9s both, bob 5s ease-in-out 1.6s infinite; }
  .hero-art .chip-b { animation: pop 0.6s cubic-bezier(.3,1.4,.5,1) 1.05s both, bob 5.6s ease-in-out 2s infinite reverse; }
  .pass-route .plane { animation: fly 2.8s ease-in-out infinite; }
  /* 目的地小登机牌：一张张翻上来 */
  .dest.tix { animation: rise 0.55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 28ms); }
  .plan-grid.anim .plan { animation: rise 0.45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 40ms); }
  /* 滚动到才出现的区块 */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  /* 按钮按下去的手感 */
  .btn:active, .searchbox button:active, .tabs button:active, .plan:active, .dest.tix:active { transform: scale(0.97); }
  /* 邀请横幅的圆圈慢慢转 */
  .promo::after { animation: spin 18s linear infinite; }
  /* logo 小猫偶尔眨眼（换新 logo 后生效） */
  .logo img { transition: transform 0.3s cubic-bezier(.3,1.6,.5,1); }
  .logo:hover img { transform: rotate(-8deg) scale(1.08); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes passIn { from { opacity: 0; transform: translate(60px, 30px) rotate(6deg) scale(0.92); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes floaty { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes pop { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes fly { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(5px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-art:hover .pass { animation-play-state: paused; }

/* 限时折扣横幅 */
.sale-bar { position: relative; z-index: 15; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: var(--amber); color: var(--ink); font-size: 14px; text-align: center; }
.sale-bar .tag { font: 800 11px/1 var(--mono); letter-spacing: 0.16em; background: var(--ink); color: var(--amber); padding: 5px 8px; border-radius: 6px; }
.sale-bar b { font-weight: 800; letter-spacing: -0.01em; }
.sale-bar .left { font: 700 13px/1 var(--mono); opacity: 0.8; font-variant-numeric: tabular-nums; min-width: 15ch; text-align: left; }
@media (prefers-reduced-motion: no-preference) { .sale-bar { animation: rise 0.6s cubic-bezier(.2,.8,.2,1) both; } }

/* 搜索下拉结果 */
.searchbox { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; background: #fff; color: var(--ink); border-radius: 20px; padding: 6px; box-shadow: 0 24px 60px rgba(10, 8, 30, 0.35); max-height: min(62vh, 440px); overflow-y: auto; text-align: left; }
.suggest.hidden { display: none; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; }
.sg-item:hover, .sg-item.on { background: #f3efff; }
.sg-item .flag { flex: 0 0 auto; border-radius: 50%; overflow: hidden; }
.sg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-txt b { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-txt small { font: 600 11px/1.2 var(--mono); letter-spacing: 0.08em; color: #8a8698; text-transform: uppercase; }
.sg-pr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.sg-pr small { font-size: 11px; color: #8a8698; }
.sg-pr b { font: 800 15px/1 var(--mono); color: var(--brand); }
.sg-empty { padding: 14px 16px; color: #8a8698; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) { .suggest:not(.hidden) { animation: rise 0.22s cubic-bezier(.2,.8,.2,1) both; } }
.hero.hero-dark:has(.suggest:not(.hidden)) { overflow: visible; overflow-x: clip; }
.hero-copy:has(.suggest:not(.hidden)), .searchbox:has(.suggest:not(.hidden)) { position: relative; z-index: 12; }
