/* ============================================================
   HVM AuthKey · 商务科技风格 UI
   设计语言：深空底色 + 青/蓝渐变强调 + 玻璃拟态卡片 + HUD 网格
   PC / 平板 / 手机 全适配
   ============================================================ */

:root {
  /* 底色层次 */
  --bg-0: #060a12;
  --bg-1: #0a1120;
  --bg-2: #0e1729;
  --panel: rgba(17, 26, 44, 0.78);
  --panel-solid: #111a2c;
  --panel-2: #16213a;
  --line: rgba(90, 130, 190, 0.18);
  --line-strong: rgba(90, 140, 210, 0.34);

  /* 文本 */
  --tx: #e6edf9;
  --tx-2: #a8b6cf;
  --dim: #6e7e9c;

  /* 强调色（青→蓝科技渐变） */
  --acc: #2f8cff;
  --acc-2: #22d3ee;
  --acc-3: #7c5cff;
  --grad: linear-gradient(120deg, #22d3ee 0%, #2f8cff 48%, #7c5cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.16), rgba(47,140,255,.16) 50%, rgba(124,92,255,.16));

  /* 语义色 */
  --ok: #1fd7a3;
  --warn: #f6b73c;
  --err: #ff5d6c;
  --ok-bg: rgba(31, 215, 163, .12);
  --warn-bg: rgba(246, 183, 60, .12);
  --err-bg: rgba(255, 93, 108, .12);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 0 1px rgba(47,140,255,.28), 0 12px 48px -16px rgba(34,211,238,.42);
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(47,140,255,.20), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(124,92,255,.15), transparent 60%),
    radial-gradient(760px 480px at 50% 110%, rgba(34,211,238,.10), transparent 65%),
    var(--bg-0);
  color: var(--tx);
  font: 14px/1.65 "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .1px;
}

/* HUD 网格纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(90,140,210,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,140,210,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  z-index: 0;
}

a { color: var(--acc-2); text-decoration: none; transition: color .18s; }
a:hover { color: #7fe7ff; }

/* ================= 顶栏 ================= */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 24, .82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px;
}
.logo {
  font-weight: 800; font-size: 19px; letter-spacing: .6px;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.logo::before {
  content: "";
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(34,211,238,.55), inset 0 0 10px rgba(255,255,255,.32);
  flex: none;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nv { display: flex; gap: 4px; flex-wrap: wrap; margin-left: 10px; }
.nv a {
  padding: 7px 14px; border-radius: 9px; color: var(--tx-2);
  font-size: 13.5px; font-weight: 500; position: relative; transition: all .2s;
}
.nv a:hover { background: rgba(90,140,210,.12); color: var(--tx); }
.nv a.on { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(47,140,255,.35); }
.nv a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad); border-radius: 2px;
}

.nvbtn {
  display: none; margin-left: auto;
  background: rgba(90,140,210,.12); border: 1px solid var(--line);
  color: var(--tx); border-radius: 10px; padding: 7px 12px; font-size: 16px; cursor: pointer;
}
.hd-user {
  margin-left: auto; color: var(--dim); font-size: 12.5px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(90,140,210,.07);
  white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
}

/* ================= 主区域 ================= */
.main { max-width: 1240px; margin: 26px auto 56px; padding: 0 20px; position: relative; z-index: 1; }
.ft {
  text-align: center; color: var(--dim); font-size: 12.5px;
  padding: 26px 20px 40px; position: relative; z-index: 1;
  border-top: 1px solid var(--line); margin-top: 10px;
}
.ft b { color: var(--tx-2); font-weight: 600; }

/* ================= 卡片（玻璃拟态） ================= */
.card {
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,140,255,.55), transparent);
  opacity: .55;
}
.card:hover { border-color: var(--line-strong); }
.card h2, .card h3, .card h4 { margin: 0 0 12px; font-weight: 700; letter-spacing: .3px; }
.card h2 { font-size: 21px; }
.card h3 { font-size: 16.5px; }
.card h4 { font-size: 14.5px; color: var(--tx-2); }

.card-hero {
  padding: 34px 30px;
  background: linear-gradient(135deg, rgba(34,211,238,.09), rgba(47,140,255,.10) 45%, rgba(124,92,255,.09)), var(--panel);
  border: 1px solid rgba(47,140,255,.30);
  box-shadow: var(--shadow-glow);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 150px; min-width: 0; }
.row.tight > * { flex: 0 0 auto; }

/* ================= 统计卡 ================= */
.stat {
  background: linear-gradient(160deg, rgba(34,211,238,.07), rgba(47,140,255,.05));
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  position: relative; overflow: hidden; transition: all .22s;
}
.stat:hover { border-color: rgba(47,140,255,.45); transform: translateY(-2px); }
.stat .k { color: var(--dim); font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; }
.stat .v {
  font-size: 30px; font-weight: 800; line-height: 1.25; margin-top: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .u { font-size: 12px; color: var(--dim); margin-left: 4px; -webkit-text-fill-color: var(--dim); }

/* ================= 表格 ================= */
table { width: 100%; border-collapse: collapse; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(10,17,32,.5); }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-size: 13.5px; }
th {
  background: rgba(22,33,58,.85); color: var(--dim);
  font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  position: sticky; top: 0;
}
tbody tr { transition: background .16s; }
tbody tr:hover { background: rgba(47,140,255,.055); }
tr:last-child td { border-bottom: none; }
td.empty { text-align: center; color: var(--dim); padding: 30px; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--grad); color: #fff; border: none; border-radius: 10px;
  padding: 10px 20px; cursor: pointer; font-size: 14px; font-weight: 600;
  letter-spacing: .3px; transition: all .2s; white-space: nowrap;
  box-shadow: 0 6px 22px -8px rgba(47,140,255,.75);
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(34,211,238,.85); filter: brightness(1.06); color: #fff; }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: rgba(90,140,210,.10); color: var(--tx);
  border: 1px solid var(--line-strong); box-shadow: none;
}
.btn.ghost:hover { background: rgba(90,140,210,.20); border-color: rgba(47,140,255,.55); color: #fff; }
.btn.small { padding: 6px 13px; font-size: 12.5px; border-radius: 8px; }
.btn.danger { background: linear-gradient(120deg, #ff5d6c, #d93a4b); box-shadow: 0 6px 22px -8px rgba(255,93,108,.7); }
.btn.ok { background: linear-gradient(120deg, #1fd7a3, #12a37c); box-shadow: 0 6px 22px -8px rgba(31,215,163,.7); }
.btn.warn { background: linear-gradient(120deg, #f6b73c, #e09515); color: #241a02; box-shadow: 0 6px 22px -8px rgba(246,183,60,.7); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.5); }

/* ================= 表单 ================= */
input, select, textarea {
  width: 100%; background: rgba(8,14,26,.85); border: 1px solid var(--line);
  color: var(--tx); border-radius: 10px; padding: 10px 13px; font-size: 14px;
  font-family: inherit; transition: all .18s; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(47,140,255,.7);
  box-shadow: 0 0 0 3px rgba(47,140,255,.14);
  background: rgba(10,18,34,.95);
}
input::placeholder, textarea::placeholder { color: rgba(110,126,156,.65); }
input:disabled, select:disabled { opacity: .5; cursor: not-allowed; }
label {
  display: block; font-size: 12px; color: var(--dim);
  margin: 12px 0 6px; font-weight: 500; letter-spacing: .4px;
}
label:first-child { margin-top: 0; }
textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--acc); }
input[type=file] { padding: 8px 10px; }

/* ================= 标签/徽章 ================= */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .3px; white-space: nowrap; border: 1px solid transparent;
}
.badge.ok  { background: var(--ok-bg);   color: var(--ok);   border-color: rgba(31,215,163,.35); }
.badge.no  { background: var(--err-bg);  color: var(--err);  border-color: rgba(255,93,108,.35); }
.badge.mid { background: var(--warn-bg); color: var(--warn); border-color: rgba(246,183,60,.35); }
.badge.info{ background: rgba(47,140,255,.13); color: #7fb8ff; border-color: rgba(47,140,255,.38); }
.badge.dim { background: rgba(110,126,156,.12); color: var(--dim); border-color: var(--line); }

/* 提示条 */
.flash {
  background: var(--ok-bg); border: 1px solid rgba(31,215,163,.4);
  color: var(--ok); padding: 12px 16px; border-radius: 12px; margin-bottom: 14px;
  font-size: 13.5px; line-height: 1.6; word-break: break-word;
}
.errbox {
  background: var(--err-bg); border: 1px solid rgba(255,93,108,.4);
  color: var(--err); padding: 12px 16px; border-radius: 12px; margin-bottom: 14px;
  font-size: 13.5px; line-height: 1.6; word-break: break-word;
}
.infobox {
  background: rgba(47,140,255,.09); border: 1px solid rgba(47,140,255,.32);
  color: #9cc6ff; padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-size: 13px;
}

/* 键值列表 */
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 13.5px; align-items: center; }
.kv > span:nth-child(odd) { color: var(--dim); }
.kv > span:nth-child(even), .kv > b { color: var(--tx); word-break: break-all; }

/* 代码 */
code, pre, .mono { font-family: var(--mono); }
code {
  background: rgba(47,140,255,.10); color: #8ec5ff;
  padding: 2px 7px; border-radius: 6px; font-size: 12.5px;
  border: 1px solid rgba(47,140,255,.18); word-break: break-all;
}
pre {
  background: rgba(6,10,18,.9); border: 1px solid var(--line);
  padding: 15px 17px; overflow: auto; font-size: 12.5px; line-height: 1.62;
  border-radius: 12px; color: #b9cee8; max-height: 460px;
}
pre::-webkit-scrollbar, .tbl-wrap::-webkit-scrollbar { height: 8px; width: 8px; }
pre::-webkit-scrollbar-thumb, .tbl-wrap::-webkit-scrollbar-thumb { background: rgba(90,140,210,.35); border-radius: 4px; }

/* ================= Tabs ================= */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px;
  padding: 6px; background: rgba(10,17,32,.6);
  border: 1px solid var(--line); border-radius: 14px;
}
.tabs a {
  padding: 8px 16px; border-radius: 10px; color: var(--tx-2);
  font-size: 13.5px; font-weight: 500; transition: all .18s;
}
.tabs a:hover { background: rgba(90,140,210,.14); color: var(--tx); }
.tabs a.on { background: var(--grad); color: #fff; box-shadow: 0 6px 20px -8px rgba(47,140,255,.8); }

/* ================= 后台侧栏布局 ================= */
.shell { display: grid; grid-template-columns: 216px 1fr; gap: 20px; align-items: start; }
.side {
  position: sticky; top: 82px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.side a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border-radius: 10px; color: var(--tx-2);
  font-size: 13.5px; font-weight: 500; margin-bottom: 2px; transition: all .16s;
}
.side a:hover { background: rgba(90,140,210,.13); color: var(--tx); }
.side a.on { background: var(--grad-soft); color: #fff; box-shadow: inset 0 0 0 1px rgba(47,140,255,.34); }
.side .side-title {
  font-size: 11px; color: var(--dim); letter-spacing: 1.1px;
  text-transform: uppercase; padding: 10px 13px 6px; font-weight: 600;
}
.side-sep { height: 1px; background: var(--line); margin: 8px 4px; }

/* ================= Hero（落地页） ================= */
.hero { text-align: center; padding: 56px 20px 34px; position: relative; }
.hero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 5.2vw, 52px); line-height: 1.18;
  font-weight: 800; letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub {
  color: var(--tx-2); max-width: 720px; margin: 0 auto 12px;
  font-size: clamp(14px, 1.6vw, 16.5px); line-height: 1.75;
}
.hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid rgba(47,140,255,.35);
  color: #9fd0ff; font-size: 12.5px; font-weight: 600; letter-spacing: .5px;
}
.hero .hero-tag i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-cta .btn { padding: 12px 28px; font-size: 15px; }

/* 功能卡 */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 16px; }
.feat {
  background: linear-gradient(160deg, rgba(22,33,58,.72), rgba(14,23,41,.62));
  border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: all .24s; position: relative; overflow: hidden;
}
.feat::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: radial-gradient(240px 120px at 88% -10%, rgba(47,140,255,.16), transparent 70%);
  opacity: 0; transition: opacity .24s; pointer-events: none;
}
.feat:hover { border-color: rgba(47,140,255,.44); transform: translateY(-3px); box-shadow: 0 16px 44px -20px rgba(34,211,238,.5); }
.feat:hover::after { opacity: 1; }
.feat .ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); font-size: 19px; margin-bottom: 13px;
  box-shadow: 0 8px 22px -10px rgba(47,140,255,.9);
}
.feat b { display: block; font-size: 15px; margin-bottom: 7px; color: var(--tx); font-weight: 700; }
.feat span { color: var(--tx-2); font-size: 13px; line-height: 1.68; }

/* 数字展示条 */
.metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; margin: 28px 0;
}
.metrics > div { background: rgba(10,17,32,.78); padding: 20px 14px; text-align: center; }
.metrics .m-v {
  font-size: 26px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metrics .m-k { color: var(--dim); font-size: 12px; margin-top: 3px; letter-spacing: .4px; }

/* 语言徽章墙 */
.langwall { display: flex; flex-wrap: wrap; gap: 8px; }
.langwall span {
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px;
  background: rgba(90,140,210,.09); border: 1px solid var(--line);
  color: var(--tx-2); transition: all .18s; font-weight: 500;
}
.langwall span:hover { border-color: rgba(47,140,255,.55); color: #fff; background: rgba(47,140,255,.14); }

/* 防护项 */
.sec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.sec-item {
  display: flex; gap: 13px; padding: 15px 17px; align-items: flex-start;
  background: rgba(14,23,41,.62); border: 1px solid var(--line); border-radius: 12px;
  transition: all .2s;
}
.sec-item:hover { border-color: rgba(31,215,163,.42); background: rgba(31,215,163,.045); }
.sec-item .chk {
  width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center;
  background: rgba(31,215,163,.15); color: var(--ok); font-size: 12px; font-weight: 800;
  border: 1px solid rgba(31,215,163,.35); margin-top: 1px;
}
.sec-item b { display: block; font-size: 13.5px; color: var(--tx); margin-bottom: 3px; }
.sec-item span { color: var(--tx-2); font-size: 12.5px; line-height: 1.62; }

/* 表单卡片最大宽度 */
.formmax { max-width: 440px; margin-left: auto; margin-right: auto; }

/* 认证页 */
.auth-wrap { min-height: calc(100vh - 190px); display: grid; place-items: center; padding: 20px 0; }
.auth-card {
  width: 100%; max-width: 420px; padding: 30px 28px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 20px; box-shadow: var(--shadow-glow);
  backdrop-filter: blur(18px) saturate(150%);
}
.auth-card h2 { text-align: center; margin: 0 0 6px; font-size: 22px; }
.auth-card .auth-sub { text-align: center; color: var(--dim); font-size: 12.5px; margin-bottom: 22px; }
.auth-card .auth-foot { text-align: center; margin-top: 16px; font-size: 12.5px; color: var(--dim); }

/* sections */
.section { margin: 44px 0 0; }
.section-hd { text-align: center; margin-bottom: 24px; }
.section-hd h2 { font-size: clamp(21px, 3vw, 28px); margin: 0 0 8px; font-weight: 800; letter-spacing: -.4px; }
.section-hd p { color: var(--dim); margin: 0; font-size: 13.5px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); margin: 26px 0; border: 0; }

/* details */
details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; margin: 10px 0; background: rgba(10,17,32,.42); }
details summary { cursor: pointer; color: var(--tx); font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸"; color: var(--acc-2); transition: transform .2s; font-size: 11px; }
details[open] summary::before { transform: rotate(90deg); }

p.empty { color: var(--dim); text-align: center; padding: 24px; margin: 0; }

/* 进度条 */
.bar { height: 7px; border-radius: 999px; background: rgba(90,140,210,.14); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(90,140,210,.28); border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(90,140,210,.5); background-clip: content-box; }

/* ================= 响应式：平板 ================= */
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .side .side-title, .side-sep { display: none; }
  .side a { margin: 0; padding: 7px 12px; font-size: 12.5px; }
}

/* ================= 响应式：手机 ================= */
@media (max-width: 768px) {
  .nvbtn { display: block; }
  .nv {
    display: none; width: 100%; flex-direction: column;
    gap: 2px; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--line);
  }
  .nv.open { display: flex; }
  .nv a { padding: 11px 14px; }
  .nv a.on::after { display: none; }
  .hd-in { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .hd-user { display: none; }
  .main { margin: 16px auto 40px; padding: 0 13px; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv > span:nth-child(odd) { margin-top: 10px; font-size: 11.5px; }
  th, td { white-space: normal; padding: 9px 11px; font-size: 12.5px; }
  .card { padding: 15px; border-radius: 14px; }
  .card-hero { padding: 24px 18px; }
  .hero { padding: 34px 10px 24px; }
  .hero-cta .btn { width: 100%; }
  .row > * { flex: 1 1 100%; }
  .stat .v { font-size: 25px; }
  .tabs { gap: 4px; padding: 5px; }
  .tabs a { padding: 7px 12px; font-size: 12.5px; }
  .auth-card { padding: 24px 20px; }
  .feat-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 27px; }
  .metrics { grid-template-columns: 1fr; }
}
