/* =========================================================
   SMS Pool · Noir Atelier 视觉系统
   深墨黑 + 香槟金 · 玻璃质感 · 极细描边
   ========================================================= */
:root {
  --bg: #06070a;
  --bg-soft: #0a0c11;
  --panel: rgba(255, 255, 255, 0.038);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(216, 183, 121, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --gold: #d8b779;
  --gold-hi: #f4e3bd;
  --gold-deep: #9c7c42;
  --ink: #eceef1;
  --ink-2: #c3c8cf;
  --muted: #838b95;
  --teal: #66d5c6;
  --rose: #e08a86;
  --ok: #7fd6a6;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", "Songti SC", "Times New Roman", serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 620px at 12% -10%, rgba(216, 183, 121, 0.13), transparent 60%),
    radial-gradient(900px 520px at 92% 0%, rgba(94, 196, 186, 0.09), transparent 62%),
    radial-gradient(700px 700px at 50% 120%, rgba(216, 183, 121, 0.05), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: rgba(216, 183, 121, 0.28); color: #fff; }

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }
.hidden { display: none !important; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.88), rgba(6, 7, 10, 0.55));
  border-bottom: 1px solid var(--line-soft);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-badge {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(216, 183, 121, 0.22), rgba(216, 183, 121, 0.04));
  border: 1px solid rgba(216, 183, 121, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(216, 183, 121, 0.12);
  font-family: var(--font-serif);
  font-size: 21px; color: var(--gold-hi); letter-spacing: 0.02em;
}
.brand-name { font-size: 17px; letter-spacing: 0.14em; font-weight: 600; }
.brand-sub { font-size: 11px; letter-spacing: 0.32em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13.5px; color: var(--ink-2); letter-spacing: 0.06em; transition: color .2s; }
.nav a:hover { color: var(--gold-hi); }
.top-actions { display: flex; align-items: center; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 214, 166, 0.14); animation: breathe 2.6s infinite; }
.dot.warn { background: #e5b96a; box-shadow: 0 0 0 3px rgba(229, 185, 106, .14); }
@keyframes breathe { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

/* ---------------- 通用 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; font-size: 14px; letter-spacing: 0.05em; font-weight: 600;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-gold {
  background: linear-gradient(135deg, #f6e6c2 0%, #d9b97c 42%, #a9853f 100%);
  color: #17120a;
  box-shadow: 0 14px 34px rgba(216, 183, 121, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { box-shadow: 0 18px 44px rgba(216, 183, 121, 0.34), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.035); border-color: var(--line-soft); color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(216, 183, 121, 0.4); color: var(--gold-hi); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--gold); }
.btn-quiet:hover { background: rgba(216, 183, 121, 0.08); }
.btn-danger { background: rgba(224, 138, 134, 0.1); border-color: rgba(224, 138, 134, 0.34); color: #f0b3b0; }
.btn-danger:hover { background: rgba(224, 138, 134, 0.18); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 55%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 10% 0%, rgba(216, 183, 121, 0.07), transparent 70%);
}
.section-title { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* ---------------- 首屏 ---------------- */
.hero { padding: 74px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }
h1.display {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.1; font-weight: 500; letter-spacing: 0.01em;
  margin: 18px 0 0;
  background: linear-gradient(96deg, #ffffff 0%, #f4e6c8 38%, #c9a466 74%, #8e6f38 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1.display em { font-style: italic; }
.hero-lead { color: var(--ink-2); font-size: 16px; max-width: 540px; margin: 20px 0 0; line-height: 1.85; }
.hero-lead b { color: var(--gold-hi); font-weight: 600; }

.redeem-box { margin-top: 34px; }
.redeem-field {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(216, 183, 121, 0.26);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color .25s, box-shadow .25s;
}
.redeem-field:focus-within { border-color: rgba(216, 183, 121, 0.62); box-shadow: 0 26px 70px rgba(216, 183, 121, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.redeem-field input {
  flex: 1; min-width: 0; height: 48px; background: transparent; border: 0; outline: 0;
  font-family: var(--font-mono); font-size: 17px; letter-spacing: 0.14em; color: var(--gold-hi);
  text-transform: uppercase;
}
.redeem-field input::placeholder { color: rgba(216, 183, 121, 0.32); letter-spacing: 0.18em; font-size: 14px; }
.redeem-hint { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.redeem-hint span { display: inline-flex; align-items: center; gap: 7px; }
.redeem-hint i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); }

/* 右侧数据卡 */
.hero-side { position: relative; }
.metric-card { padding: 26px 26px 22px; }
.metric-head { display: flex; justify-content: space-between; align-items: center; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.metric { padding: 14px 14px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.028); border: 1px solid var(--line-soft); }
.metric .v { font-family: var(--font-serif); font-size: 27px; color: var(--gold-hi); line-height: 1.15; }
.metric .k { font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.phone-preview {
  margin-top: 18px; padding: 18px 18px 16px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(216, 183, 121, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(216, 183, 121, 0.2);
}
.pp-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.pp-num { font-family: var(--font-mono); font-size: 22px; letter-spacing: 0.08em; color: #fff; margin-top: 8px; }
.pp-code {
  margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(216, 183, 121, 0.32);
  display: flex; align-items: center; justify-content: space-between;
}
.pp-code span { font-family: var(--font-mono); font-size: 24px; letter-spacing: 0.32em; color: var(--teal); }
.pp-code small { font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); }

/* ---------------- 流程 ---------------- */
.flow { padding: 30px 0 12px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.flow-card { padding: 22px 20px 20px; border-radius: 16px; position: relative; transition: transform .3s, border-color .3s; }
.flow-card:hover { transform: translateY(-3px); border-color: rgba(216, 183, 121, 0.32); }
.flow-num {
  font-family: var(--font-serif); font-size: 44px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(216, 183, 121, 0.42);
  position: absolute; right: 16px; top: 12px;
}
.flow-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(216, 183, 121, 0.1); border: 1px solid rgba(216, 183, 121, 0.22); color: var(--gold); }
.flow-card h3 { font-size: 15px; margin: 14px 0 6px; letter-spacing: 0.04em; }
.flow-card p { color: var(--muted); font-size: 12.5px; margin: 0; line-height: 1.7; }

/* ---------------- 特性条 ---------------- */
.features { padding: 44px 0 20px; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feature-item { padding: 26px 22px; border-right: 1px solid var(--line-soft); }
.feature-item:last-child { border-right: 0; }
.feature-item .t { display: flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: 0.04em; }
.feature-item .t svg { color: var(--gold); }
.feature-item .d { color: var(--muted); font-size: 12.5px; margin-top: 7px; line-height: 1.7; }

.footer { padding: 34px 0 46px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 26px; }
.footer a:hover { color: var(--gold); }

/* ---------------- 工作台 ---------------- */
.work { padding: 30px 0 64px; }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.wallet { display: flex; align-items: center; gap: 26px; padding: 20px 26px; border-radius: var(--radius); }
.wallet .label { font-size: 11px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.wallet .amount { font-family: var(--font-serif); font-size: 38px; line-height: 1.1; color: var(--gold-hi); }
.wallet .amount small { font-size: 15px; color: var(--muted); margin-left: 6px; font-family: var(--font-sans); letter-spacing: 0.05em; }
.wallet .divide { width: 1px; height: 46px; background: var(--line-soft); }
.wallet .meta { font-size: 12px; color: var(--muted); line-height: 1.9; }
.wallet .code { font-family: var(--font-mono); color: var(--gold); letter-spacing: 0.1em; }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab {
  height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025); color: var(--ink-2); font-size: 13px; cursor: pointer;
  letter-spacing: 0.06em; transition: all .2s;
}
.tab:hover { color: var(--gold-hi); border-color: rgba(216,183,121,.3); }
.tab.active { background: rgba(216, 183, 121, 0.12); border-color: rgba(216, 183, 121, 0.42); color: var(--gold-hi); }

.work-grid { display: grid; grid-template-columns: 1.55fr 0.95fr; gap: 22px; align-items: start; }
.panel { padding: 24px; }
.panel + .panel { margin-top: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 15px; margin: 0; letter-spacing: 0.06em; font-weight: 600; }
.panel-head .hint { font-size: 11.5px; color: var(--muted); letter-spacing: 0.05em; }

.searchbar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-soft); background: rgba(0,0,0,.22); margin-bottom: 14px; }
.searchbar input { flex: 1; background: transparent; border: 0; outline: 0; font-size: 13.5px; }
.searchbar svg { color: var(--muted); }

.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 9px; max-height: 296px; overflow: auto; padding-right: 4px; }
.country-item {
  display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 10px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.022); cursor: pointer;
  font-size: 12.5px; transition: all .18s; text-align: left;
}
.country-item:hover { border-color: rgba(216, 183, 121, 0.34); background: rgba(216, 183, 121, 0.06); }
.country-item.on { border-color: rgba(216, 183, 121, 0.66); background: rgba(216, 183, 121, 0.13); box-shadow: inset 0 0 0 1px rgba(216,183,121,.2); }
.country-item .flag { font-size: 17px; line-height: 1; }
.country-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-item .tag { font-size: 10px; color: var(--muted); }

.service-list { display: flex; flex-direction: column; gap: 6px; max-height: 296px; overflow: auto; padding-right: 4px; }
.service-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid transparent; background: rgba(255, 255, 255, 0.02); cursor: pointer; text-align: left;
  transition: all .16s; font-size: 13px;
}
.service-item:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-soft); }
.service-item.on { background: rgba(216, 183, 121, 0.1); border-color: rgba(216, 183, 121, 0.42); }
.svc-avatar {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(216, 183, 121, 0.25), rgba(216, 183, 121, 0.05));
  border: 1px solid rgba(216, 183, 121, 0.22); font-size: 12px; color: var(--gold-hi); font-weight: 600;
}
.service-item .cnt { margin-left: auto; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }

.pool-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 9px; }
.pool-item { padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); cursor: pointer; transition: all .18s; text-align: left; }
.pool-item:hover { border-color: rgba(216,183,121,.32); }
.pool-item.on { border-color: rgba(216, 183, 121, 0.6); background: rgba(216, 183, 121, 0.1); }
.pool-item .pn { font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.pool-item .pp { font-family: var(--font-serif); color: var(--gold-hi); font-size: 19px; margin-top: 4px; }
.pool-item .pd { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* 报价面板 */
.quote { position: sticky; top: 96px; }
.quote-body { display: flex; flex-direction: column; gap: 12px; }
.quote-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.quote-row .v { color: var(--ink); }
.quote-total { margin-top: 4px; padding: 16px 0 6px; border-top: 1px solid var(--line-soft); display: flex; align-items: flex-end; justify-content: space-between; }
.quote-total .num { font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--gold-hi); }
.quote-total .num small { font-family: var(--font-sans); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.quote-note { font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.stock-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(127, 214, 166, 0.3); color: var(--ok); background: rgba(127, 214, 166, 0.08); }
.stock-chip.low { color: #e5b96a; border-color: rgba(229,185,106,.3); background: rgba(229,185,106,.08); }
.stock-chip.none { color: var(--rose); border-color: rgba(224,138,134,.3); background: rgba(224,138,134,.08); }

.activation { display: flex; gap: 7px; }
.activation button { flex: 1; height: 36px; border-radius: 9px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); font-size: 12px; cursor: pointer; color: var(--ink-2); }
.activation button.on { border-color: rgba(216,183,121,.5); color: var(--gold-hi); background: rgba(216,183,121,.1); }

/* 订单卡 */
.order-card { padding: 22px; margin-top: 22px; }
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.order-status { font-size: 11px; letter-spacing: .18em; padding: 5px 11px; border-radius: 999px; border: 1px solid; text-transform: uppercase; }
.st-active { color: var(--teal); border-color: rgba(102,213,198,.32); background: rgba(102,213,198,.08); }
.st-completed { color: var(--ok); border-color: rgba(127,214,166,.32); background: rgba(127,214,166,.08); }
.st-cancelled { color: var(--rose); border-color: rgba(224,138,134,.32); background: rgba(224,138,134,.08); }
.order-main { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 18px; }
.order-phone-label { font-size: 10.5px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.order-phone { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .06em; color: #fff; margin-top: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--gold); cursor: pointer; display: grid; place-items: center; }
.copy-btn:hover { background: rgba(216,183,121,.12); }
.order-sms { margin-top: 16px; padding: 16px 18px; border-radius: 13px; background: rgba(0,0,0,.34); border: 1px dashed rgba(102,213,198,.3); }
.order-sms .lbl { font-size: 10.5px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.order-sms .code { font-family: var(--font-mono); font-size: 30px; letter-spacing: .28em; color: var(--teal); margin-top: 6px; word-break: break-all; }
.order-sms .full { font-size: 12px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; word-break: break-word; }
.timer { text-align: center; }
.timer svg { transform: rotate(-90deg); }
.timer .num { font-family: var(--font-mono); font-size: 15px; color: var(--ink); }
.timer .cap { font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.order-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.order-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 11.5px; color: var(--muted); }
.order-meta b { color: var(--ink-2); font-weight: 500; }

.empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line-soft); border-radius: 14px; }

/* 历史表 */
.table-wrap { overflow: auto; border-radius: 12px; border: 1px solid var(--line-soft); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 640px; }
table.tbl th { text-align: left; padding: 11px 14px; color: var(--muted); font-weight: 500; letter-spacing: .1em; font-size: 10.5px; text-transform: uppercase; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
table.tbl td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--ink-2); white-space: nowrap; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: rgba(255,255,255,.02); }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }

/* 租赁 / 预订单 */
.rental-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.rental-card { padding: 16px; border-radius: 13px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.025); }
.rental-card .rg { font-size: 13px; display: flex; justify-content: space-between; }
.rental-card .price { font-family: var(--font-serif); font-size: 22px; color: var(--gold-hi); margin: 10px 0 2px; }
.rental-card .days { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.days button { padding: 4px 10px; font-size: 11px; border-radius: 7px; border: 1px solid var(--line-soft); background: transparent; color: var(--ink-2); cursor: pointer; }
.days button.on { border-color: rgba(216,183,121,.5); color: var(--gold-hi); background: rgba(216,183,121,.1); }

/* toast */
.toast-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 240px; max-width: 380px; padding: 13px 16px; border-radius: 12px;
  background: rgba(14, 16, 21, 0.94); border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0,0,0,.55); font-size: 13px; color: var(--ink);
  animation: slideIn .26s ease; backdrop-filter: blur(14px);
}
.toast.err { border-color: rgba(224,138,134,.4); }
.toast.ok { border-color: rgba(127,214,166,.4); }
@keyframes slideIn { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }

/* modal */
.modal-mask { position: fixed; inset: 0; background: rgba(3,4,6,.72); backdrop-filter: blur(6px); z-index: 90; display: grid; place-items: center; padding: 24px; }
.modal { width: min(560px, 100%); padding: 26px; border-radius: 18px; }
.modal h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: .04em; }
.modal p { color: var(--muted); font-size: 12.5px; margin: 0 0 18px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* announcement */
.notice { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(216,183,121,.18); background: rgba(216,183,121,.05); font-size: 12.5px; color: var(--ink-2); margin-top: 22px; }
.notice svg { color: var(--gold); flex: none; }
.notice .x { margin-left: auto; cursor: pointer; color: var(--muted); }

/* loading */
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--gold-hi); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 220% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -220% 0 } }

/* reveal */
.reveal { animation: rise .95s cubic-bezier(.2, .7, .2, 1) both; }
.reveal:nth-of-type(2) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr; }
  .quote { position: static; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-in { height: 64px; }
  .hero { padding: 44px 0 20px; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .feature-item:last-child { border-bottom: 0; }
  .wallet { flex-wrap: wrap; gap: 14px; padding: 16px 18px; }
  .wallet .divide { display: none; }
  .panel { padding: 18px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); max-height: 240px; }
  .order-main { grid-template-columns: 1fr; }
  .order-phone { font-size: 24px; }
  .redeem-field { flex-direction: column; align-items: stretch; padding: 14px; gap: 10px; }
  .redeem-field input { height: 42px; }
  .redeem-field .btn { width: 100%; }
  h1.display { font-size: 34px; }
}
