/* ================= 車牌王 · 全站樣式 ================= */
:root {
  --ink: #0b1220;
  --ink-2: #121a2b;
  --ink-3: #1c2740;
  --gold: #c9a227;
  --gold-soft: #e6c65a;
  --blue: #1677ff;
  --line: #e8eaf0;
  --text: #1b2333;
  --muted: #6b7488;
  --bg: #f6f7fa;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(16, 26, 45, .07);
  --shadow-lg: 0 18px 50px rgba(11, 18, 32, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans TC", "PingFang TC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 18, 32, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 2px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #8a6d12); color: #fff; font-size: 17px; font-weight: 900;
  box-shadow: 0 4px 14px rgba(201, 162, 39, .35);
}
.logo small { display: block; font-size: 10px; letter-spacing: 3px; color: var(--gold-soft); font-weight: 600; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .78); font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold-soft); border-bottom-color: var(--gold); }
.lang { display: flex; gap: 4px; background: rgba(255, 255, 255, .08); padding: 4px; border-radius: 999px; }
.lang button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .7);
  font-size: 13px; padding: 5px 12px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.lang button.on { background: var(--gold); color: #1b1400; font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 78% 10%, rgba(201, 162, 39, .22), transparent 60%),
    linear-gradient(160deg, #0b1220 0%, #121a2b 55%, #0d1526 100%);
  color: #fff; padding: 96px 0 84px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.eyebrow { color: var(--gold-soft); letter-spacing: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.18; margin: 18px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p { color: rgba(255, 255, 255, .74); max-width: 620px; font-size: 17px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 46px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 30px; color: var(--gold-soft); line-height: 1.2; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Hero 右側微信二維碼 ---------- */
.hero-flex { display: flex; align-items: flex-start; gap: 48px; }
.hero-main { flex: 1 1 auto; min-width: 0; }
.hero-qr {
  flex: 0 0 236px; width: 236px; text-align: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(201, 162, 39, .42);
  border-radius: 18px; padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}
.hero-qr .qr-title { color: var(--gold-soft); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.hero-qr .qr-box {
  margin: 12px 0 10px; padding: 10px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(255, 255, 255, .6);
}
.hero-qr .qr-box img { display: block; width: 100%; height: auto; border-radius: 6px; }
.hero-qr .qr-call { font-size: 13px; color: rgba(255, 255, 255, .68); }
.hero-qr .qr-call a {
  display: block; margin-top: 3px; font-size: 17px; font-weight: 700;
  color: var(--gold-soft); text-decoration: none;
}
.hero-qr .qr-call a:hover { color: #ffdf7a; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: .18s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), #a5811a); color: #fff; box-shadow: 0 8px 22px rgba(201, 162, 39, .3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 39, .42); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--muted); font-size: 15px; }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: 3px; font-weight: 700; margin-bottom: 8px; }

/* ---------- 业务入口卡 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: .22s; position: relative; overflow: hidden;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, .5); }
.tile .ico { font-size: 34px; }
.tile h3 { font-size: 21px; margin: 14px 0 8px; }
.tile p { color: var(--muted); font-size: 14px; }
.tile .go { color: var(--gold); font-weight: 700; font-size: 14px; margin-top: 16px; display: inline-block; }

/* ---------- 兩地牌價值主張（轉化引導） ---------- */
.value-section {
  background:
    radial-gradient(900px 380px at 88% 0%, rgba(201, 162, 39, .12), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; box-shadow: var(--shadow); transition: .22s;
  display: flex; flex-direction: column;
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, .45); }
/* 中間「慳錢」卡做強調 */
.vcard-hl {
  border-color: rgba(201, 162, 39, .55);
  background: linear-gradient(180deg, #fffdf6 0%, #fff 55%);
  box-shadow: 0 10px 30px rgba(201, 162, 39, .18);
}
.vcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vcard-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(201, 162, 39, .18), rgba(201, 162, 39, .06));
}
.vcard-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #8a6d12;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(201, 162, 39, .3);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.vcard h3 { font-size: 20px; line-height: 1.45; margin: 16px 0 10px; font-weight: 800; }
.vcard > p { color: var(--muted); font-size: 14.5px; }
.vcard-points { list-style: none; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.vcard-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); margin-bottom: 7px; }
.vcard-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 900; font-size: 14px;
}
/* 卡內小算式 */
.vcard-math { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.vm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; padding: 5px 0; }
.vm-row span { color: var(--muted); }
.vm-row b { font-size: 15px; }
.vm-row.vm-sum {
  margin-top: 6px; padding: 9px 12px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #a5811a); color: #fff;
}
.vm-row.vm-sum span { color: rgba(255, 255, 255, .92); }
.vm-row.vm-sum b { color: #fff; font-size: 17px; font-weight: 900; }

/* 數字條 */
.value-math {
  margin-top: 26px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(150deg, #0b1220 0%, #16203a 60%, #0d1526 100%); color: #fff;
  box-shadow: var(--shadow-lg);
}
.vm-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px; color: var(--gold-soft); }
.vm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vm-item { text-align: center; padding: 14px 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.vm-item b {
  display: block; font-size: clamp(20px, 2.4vw, 27px); font-weight: 900; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vm-item span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .68); }
.vm-note { margin-top: 16px; font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .5); }

/* 底部行動呼籲 */
.value-cta {
  margin-top: 22px; padding: 22px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.vc-text b { display: block; font-size: 18px; margin-bottom: 4px; }
.vc-text span { color: var(--muted); font-size: 14.5px; }
.vc-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 17px; font-weight: 700; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card-desc { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.price { font-size: 21px; font-weight: 800; color: var(--ink); margin-top: 14px; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.price.gold { color: #9a7b12; }
.card-foot { display: flex; gap: 10px; margin-top: 16px; }

/* ---------- 车牌视觉 ---------- */
.plate-visual {
  height: 148px; display: grid; place-items: center;
  background: linear-gradient(150deg, #f0f2f7, #e3e7f0);
  border-bottom: 1px solid var(--line);
}
.plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #fff, #eceff5);
  border: 3px solid #1b2333; border-radius: 9px; padding: 12px 22px;
  font-weight: 900; font-size: clamp(22px, 3.4vw, 32px); letter-spacing: 3px; color: #111827;
  box-shadow: 0 8px 20px rgba(11, 18, 32, .16);
}
.plate.hk { background: linear-gradient(180deg, #fff9e6, #ffe9a8); border-color: #b58f13; }
.plate-tag { position: absolute; top: 14px; right: 14px; }
.plate-wrap { position: relative; }

/* ---------- 车辆视觉 ---------- */
.car-visual {
  height: 170px; display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, #eceef4 0%, #dfe4ee 100%); border-bottom: 1px solid var(--line);
}
.car-visual svg { width: 76%; height: auto; opacity: .92; }
.car-year { position: absolute; top: 14px; left: 16px; }

/* ---------- 标签 ---------- */
.tag { display: inline-block; font-size: 12px; padding: 4px 11px; border-radius: 999px; background: #eef1f7; color: var(--muted); font-weight: 600; }
.tag-gold { background: rgba(201, 162, 39, .14); color: #9a7b12; }
.tag-blue { background: rgba(22, 119, 255, .12); color: #0f62d6; }
.tag-green { background: rgba(16, 166, 117, .13); color: #0a8a60; }
.tag-gray { background: #f1f2f5; color: #98a0b0; }
.tag-dark { background: var(--ink); color: #fff; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- 筛选条 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chip {
  padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; cursor: pointer; color: var(--muted); transition: .15s; font-family: inherit;
}
.chip:hover { border-color: var(--ink); color: var(--text); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.search {
  flex: 1; min-width: 220px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-family: inherit; outline: none;
}
.search:focus { border-color: var(--gold); }

/* ---------- 表格 / 详情 ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 190px; color: var(--muted); font-weight: 600; background: #fafbfd; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 22px; }
.panel h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.spec-list li { list-style: none; display: flex; gap: 8px; font-size: 14.5px; color: #333c52; }
.spec-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.gallery div {
  height: 88px; border-radius: 10px; background: linear-gradient(150deg, #eceef4, #dbe0ea);
  border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--muted);
}

/* ---------- 优势 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.feature b { display: block; font-size: 16px; margin: 10px 0 6px; }
.feature p { color: var(--muted); font-size: 13.5px; }
.feature .ico { font-size: 26px; }

/* ---------- 後台 · 首頁營銷文案編輯 ---------- */
.ve-row {
  display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.ve-row:first-of-type { border-top: 0; }
.ve-key b { display: block; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12.5px; color: #8a6d12; }
.ve-key span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ve-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ve-in { display: block; }
.ve-in i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.ve-in input, .ve-in textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13.5px; font-family: inherit; background: #fff; outline: none; resize: vertical;
}
.ve-in input:focus, .ve-in textarea:focus { border-color: var(--gold); }
.ve-in input { background: #fffdf6; }

/* ---------- 表单 ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-info { color: #fff; }
.contact-info h2 { font-size: 30px; margin-bottom: 14px; }
.contact-info p { color: rgba(255, 255, 255, .72); }
.contact-list { margin-top: 24px; display: grid; gap: 12px; }
.contact-list div { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
.contact-list span { font-size: 20px; }
.dark-section { background: linear-gradient(160deg, #0b1220, #121a2b); color: #fff; }
.form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }

/* ---------- 页头（内页） ---------- */
.page-head {
  background: linear-gradient(160deg, #0b1220, #16203a); color: #fff; padding: 62px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.page-head h1 { font-size: 36px; margin: 10px 0 10px; font-weight: 800; }
.page-head p { color: rgba(255, 255, 255, .7); max-width: 640px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .5); }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- 弹窗（两地牌/号码详情） ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(11, 18, 32, .62); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: 88vh; overflow: auto;
  box-shadow: var(--shadow-lg); animation: pop .18s ease-out;
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-head { padding: 26px 28px 8px; display: flex; justify-content: space-between; align-items: start; }
.modal-head h3 { font-size: 22px; }
.modal-close { border: 0; background: #f1f2f5; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--muted); }
.modal-body { padding: 12px 28px 28px; }

/* ---------- 悬浮咨询 ---------- */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 80; display: grid; gap: 10px; }
.float-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 21px;
  background: #fff; box-shadow: 0 8px 22px rgba(11, 18, 32, .22); border: 1px solid var(--line);
}
.float-contact a.top { background: var(--ink); font-size: 16px; color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: #080e1a; color: rgba(255, 255, 255, .6); padding: 54px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer li { list-style: none; margin-bottom: 8px; }
.footer li a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.notice { background: rgba(201, 162, 39, .1); border: 1px solid rgba(201, 162, 39, .3); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: #d9c78c; margin-top: 18px; }

/* ---------- 动态筛选列（由后台类目生成） ---------- */
.filter-box { margin-bottom: 24px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }

/* ---------- 后台管理 ---------- */
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .container { display: flex; align-items: center; gap: 16px; height: 60px; flex-wrap: wrap; }
.admin-bar .tag-gold { background: var(--gold); color: #1b1400; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
}
.stat-card b { display: block; font-size: 28px; line-height: 1.1; color: var(--ink); }
.stat-card span { font-size: 13px; color: var(--muted); }
.stat-card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 162, 39, .14); font-size: 20px; flex: none;
}
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tab {
  padding: 11px 20px; border: 0; background: transparent; font-size: 15px; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent; font-family: inherit; margin-bottom: -1px;
}
.tab.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--gold); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .search { flex: none; min-width: 260px; }
.toolbar .spacer { flex: 1; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: auto; box-shadow: var(--shadow); }
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.admin th, table.admin td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.admin th { background: #fafbfd; color: var(--muted); font-weight: 600; font-size: 13px; position: sticky; top: 0; }
table.admin tbody tr:hover { background: #fafbfd; }
table.admin td.ellip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: 8px; }
.link-btn { border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 13.5px; font-family: inherit; padding: 0; }
.link-btn.danger { color: #c0392b; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.chk-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.chk-list label { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #333c52; }
.login-mask {
  position: fixed; inset: 0; background: linear-gradient(160deg, #0b1220, #16203a);
  display: grid; place-items: center; z-index: 120; padding: 20px;
}
.login-card { background: #fff; border-radius: 18px; padding: 34px 32px; width: min(400px, 100%); box-shadow: var(--shadow-lg); }
.login-card h2 { font-size: 22px; margin-bottom: 6px; }
.login-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; z-index: 130; box-shadow: var(--shadow-lg); opacity: 0; transition: .2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }
.meta-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 18px; }
.meta-block h4 { font-size: 16px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.meta-block .hint { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #f6f7fa; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 8px 7px 16px; font-size: 14px;
}
.pill code { font-size: 12px; color: var(--muted); background: #fff; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.pill button {
  width: 24px; height: 24px; border-radius: 50%; border: 0; background: #e9ecf3; color: var(--muted);
  cursor: pointer; font-size: 13px; line-height: 1;
}
.pill button:hover { background: var(--ink); color: #fff; }
.pill .n { font-size: 12px; color: var(--gold); font-weight: 700; }

/* ---------- 精簡號碼卡（首頁精選香港號碼） ---------- */
.grid-num-compact { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.num-compact {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 8px 12px; text-align: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 18, 32, .05); transition: .18s;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.num-compact:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 18px rgba(11, 18, 32, .12); }
.num-compact .plate {
  padding: 5px 10px; border-width: 2px; border-radius: 7px; letter-spacing: 1.5px;
  font-size: clamp(15px, 1.5vw, 20px); box-shadow: 0 3px 8px rgba(11, 18, 32, .12);
}
.num-compact .nc-cat { font-size: 11px; color: var(--muted); font-weight: 600; }
.num-compact .nc-price { font-size: 14px; font-weight: 800; color: var(--ink); }
.num-compact .nc-price.gold { color: #9a7b12; font-size: 13px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-4, .features, .footer-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles, .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-num-compact { grid-template-columns: repeat(4, 1fr); }
  .detail-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-flex { flex-direction: column; gap: 30px; }
  .hero-qr { flex: 0 0 auto; width: 230px; margin: 0 auto; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); padding: 12px 24px 20px; }
  .nav-toggle { display: block; }
  .value-cards { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: repeat(2, 1fr); }
  .value-cta { flex-direction: column; align-items: flex-start; }
  .ve-row { grid-template-columns: 1fr; gap: 10px; }
  .ve-inputs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tiles, .grid, .grid-4, .features, .footer-grid, .form, .spec-list,
  .stat-grid, .form-grid, .chk-list { grid-template-columns: 1fr; }
  .grid-num-compact { grid-template-columns: repeat(2, 1fr); }
  .toolbar .search { min-width: 0; width: 100%; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 54px 0; }
  .spec-table th { width: 130px; }
  .value-math { padding: 20px 18px; }
  .vm-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vcard { padding: 22px 20px; }
  .vc-btns { width: 100%; }
  .vc-btns .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}
