:root {
  --bg: #eef2f9;
  --card: #ffffff;
  --ink: #0e1a2f;
  --ink2: #36465f;
  --sub: #77869d;
  --line: #e2e8f2;
  --line2: #edf1f8;
  --brand: #1c4fcf;
  --brand-d: #14379b;
  --brand-s: #ecf1fe;
  --ok: #0f9960;
  --warn: #c2740a;
  --danger: #d33a3a;
  --r: 20px;
  --shadow: 0 1px 1px rgba(14, 26, 47, .03), 0 18px 40px -24px rgba(14, 26, 47, .38);
  --shadow-sm: 0 1px 2px rgba(14, 26, 47, .04), 0 6px 18px -12px rgba(14, 26, 47, .3);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(880px 460px at 50% -260px, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(640px 420px at 104% -60px, rgba(28, 79, 207, .07) 0%, rgba(28, 79, 207, 0) 68%),
    var(--bg);
  background-attachment: fixed;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 16px 140px;
}

/* ---------- 顶部品牌（仅管理台使用） */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(150deg, #2f6bff, #17409f);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: .5px;
  box-shadow: 0 6px 14px -6px rgba(34, 88, 214, .7);
}
.brand-txt { font-size: 13px; color: var(--sub); letter-spacing: .3px; white-space: nowrap; }
.brand-txt b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }

/* ---------- 卡片 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 26px 22px 24px;
}
.card + .card { margin-top: 14px; }

h1 {
  font-size: 26px;
  line-height: 1.32;
  margin: 7px 0 9px;
  letter-spacing: -.6px;
  font-weight: 700;
}
.kicker {
  font-size: 10px;
  letter-spacing: 2.6px;
  color: #96a3b8;
  font-weight: 600;
}
.lead { color: var(--sub); font-size: 14px; margin: 0 0 20px; line-height: 1.72; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.chip {
  font-size: 12.5px;
  color: var(--brand-d);
  background: #fff;
  border: 1px solid #dde5f7;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(20, 55, 155, .05);
}
.chip.gray { color: var(--ink2); background: #f7f9fc; border-color: var(--line); box-shadow: none; }

.rules {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13.5px;
  color: var(--ink2);
}
.rules li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.65;
}
.rules li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}

/* ---------- 表单 */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 7px;
}
.field label .req { color: var(--danger); margin-left: 2px; }
input[type="text"], select {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none;
  appearance: none;
}
input[type="text"]::placeholder { color: #a9b4c6; }
input[type="text"]:focus, select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(34, 88, 214, .12);
}
input.err { border-color: var(--danger); box-shadow: 0 0 0 3.5px rgba(211, 58, 58, .1); }

.suggests { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.suggests button {
  font-size: 12.5px;
  color: var(--ink2);
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.suggests button:active { background: var(--brand-s); border-color: #cfdcfb; color: var(--brand-d); }

/* ---------- 按钮 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2px;
  font-family: var(--font);
  color: #fff;
  background: linear-gradient(180deg, #2a63e6, #1a4bc6);
  box-shadow: 0 10px 22px -12px rgba(26, 75, 198, .95), inset 0 1px 0 rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -8px rgba(34, 88, 214, .9); }
.btn:disabled { background: #c3cddf; box-shadow: none; cursor: not-allowed; }
.btn.ghost {
  background: #fff;
  color: var(--ink2);
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 500;
}
.btn.sm { height: 40px; font-size: 14px; border-radius: 10px; }

.hint {
  font-size: 12px;
  color: var(--sub);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.7;
}

/* ---------- 答题页 */
.step[hidden] { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 242, 249, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  margin: 0 -16px 14px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line2);
}
.topbar-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--sub);
  margin-bottom: 8px;
}
.topbar-row b { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.timer { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.timer.over { color: var(--warn); font-weight: 600; }

.progress {
  height: 6px;
  background: #e7ecf5;
  border-radius: 99px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b74f0, #2258d6);
  transition: width .32s cubic-bezier(.4, 0, .2, 1);
}

.qpage { animation: slideIn .26s cubic-bezier(.4, 0, .2, 1); }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.qitem {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  margin-bottom: 11px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.qitem.answered { border-color: #cfdcfb; }
.qitem.miss { border-color: #f0b8b8; box-shadow: 0 0 0 3px rgba(211, 58, 58, .08); }
.qhead { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; }
.qno {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f0f4fb;
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.qtext { font-size: 15px; line-height: 1.6; color: var(--ink); }

.opts { display: flex; gap: 7px; }
.opt {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--ink2);
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.opt:active { transform: scale(.98); }
.opt.on {
  background: linear-gradient(180deg, #2a63e6, #1a4bc6);
  border-color: #1a4bc6;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 7px 16px -9px rgba(26, 75, 198, .95);
}

.bottombar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
}
.bottombar-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.bottombar .btn { flex: 1; }
.bottombar .btn.ghost { flex: 0 0 96px; }

.notice {
  font-size: 12px;
  color: var(--danger);
  text-align: center;
  margin: 0 0 9px;
  min-height: 0;
  display: none;
}
.notice.show { display: block; animation: shake .3s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ---------- 结果页 */
.done-wrap { text-align: center; padding: 12px 0 4px; }
.done-icon {
  width: 62px; height: 62px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: #e9f8f0;
  color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.done-wrap h2 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.done-wrap p { color: var(--sub); font-size: 14px; margin: 0 0 4px; }

.spinner {
  width: 44px; height: 44px;
  margin: 6px auto 18px;
  border: 3px solid #e3eaf6;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.recap {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 20px 0 6px;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  padding: 14px 0;
}
.recap div { flex: 1; text-align: center; }
.recap div + div { border-left: 1px solid var(--line2); }
.recap b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.recap span { font-size: 12px; color: var(--sub); }

/* ---------- 管理台 */
.admin-wrap { max-width: 980px; }
.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.admin-head .btn { white-space: nowrap; width: auto; padding: 0 16px; }
.grid2 { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

.qrbox { text-align: center; }
#qrcode {
  display: inline-flex;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin: 8px auto 14px;
}
#qrcode img, #qrcode canvas { display: block; }
.urlbox {
  font-size: 12px;
  color: var(--ink2);
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 10px;
  word-break: break-all;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 10px;
}
#in-url { font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}
.stat::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--brand);
}
.stat:nth-child(2)::before { background: #1f8a63; }
.stat:nth-child(3)::before { background: #2f5ea8; }
.stat:nth-child(4)::before { background: #b8860b; }
.stat b {
  display: block;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.16;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 12.5px; color: var(--sub); }

.toolbar { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.toolbar input { height: 38px; flex: 1; min-width: 140px; font-size: 14px; }
.toolbar .btn { width: auto; padding: 0 14px; height: 38px; font-size: 13.5px; }

table.rec { width: 100%; border-collapse: collapse; font-size: 13px; }
table.rec th {
  text-align: left;
  font-weight: 600;
  color: var(--sub);
  font-size: 12px;
  letter-spacing: .3px;
  padding: 9px 9px;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.rec th:first-child { border-radius: 10px 0 0 10px; }
table.rec th:last-child { border-radius: 0 10px 10px 0; }
table.rec td { padding: 11px 9px; border-bottom: 1px solid var(--line2); vertical-align: middle; white-space: nowrap; }
table.rec tr:hover td { background: #fafbff; }
table.rec td.name { font-weight: 600; }
.mono { font-variant-numeric: tabular-nums; }

.badge {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 500;
  white-space: nowrap;
}
.badge.g { background: #e9f8f0; color: #0b7d4e; }
.badge.b { background: var(--brand-s); color: var(--brand-d); }
.badge.o { background: #fdf3e4; color: #a5620a; }
.badge.r { background: #fdecec; color: #b52d2d; }
.badge.n { background: #f2f5f9; color: var(--sub); }

.link { color: var(--brand); cursor: pointer; font-size: 13px; }
.link:hover { text-decoration: underline; }
.link + .link { margin-left: 10px; }

/* 报告抽屉 */
.drawer-mask {
  position: fixed; inset: 0;
  background: rgba(15, 25, 40, .38);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.drawer-mask.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(760px, 100%);
  background: #fff;
  z-index: 61;
  transform: translateX(102%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -30px rgba(16, 28, 48, .5);
}
.drawer.on { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.drawer-head h3 { margin: 0; font-size: 16px; }
.drawer-head .btn { white-space: nowrap; flex: 0 0 auto; }
.drawer-body { overflow-y: auto; padding: 18px; -webkit-overflow-scrolling: touch; }
.close-x {
  border: 0; background: #f2f5f9; width: 32px; height: 32px; border-radius: 8px;
  font-size: 18px; color: var(--sub); cursor: pointer; line-height: 1;
}

/* 报告排版 */
.rp h2 { font-size: 17px; margin: 22px 0 8px; padding-top: 4px; }
.rp h2:first-child { margin-top: 0; }
.rp h4 { font-size: 14px; margin: 14px 0 6px; color: var(--ink2); }
.rp p { margin: 0 0 10px; font-size: 14px; color: var(--ink2); line-height: 1.75; }
.rp .hl {
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  background: var(--brand-s); border-left: 3px solid var(--brand);
  padding: 10px 12px; border-radius: 0 8px 8px 0; margin-bottom: 12px;
}
.rp ul { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: var(--ink2); }
.rp li { margin-bottom: 6px; line-height: 1.7; }
.rp .barrow { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.rp .barrow .nm { width: 52px; color: var(--ink2); flex: 0 0 auto; }
.rp .barrow .bar { flex: 1; height: 7px; background: #eef2f8; border-radius: 99px; overflow: hidden; }
.rp .barrow .bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.rp .barrow .vl { width: 34px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.rp .kv { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; font-size: 13.5px; margin-bottom: 14px; }
.rp .kv dt { color: var(--sub); }
.rp .kv dd { margin: 0; color: var(--ink2); }
.rp .note { font-size: 12.5px; color: var(--sub); background: #f8fafd; border: 1px dashed var(--line); border-radius: 9px; padding: 10px 12px; }
.rp .toast-ok { color: var(--ok); font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(10px);
  background: rgba(16, 29, 49, .92); color: #fff;
  font-size: 13.5px; padding: 9px 16px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: all .22s; z-index: 99;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty { text-align: center; color: var(--sub); font-size: 13.5px; padding: 30px 0; }

/* ---------- 报告内新增块 ---------- */
.tags3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.tags3 .tg { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fbfcfe; }
.tags3 .tg span { display: block; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.tags3 .tg b { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mcard { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fbfcfe; }
.mcard > span { display: block; font-size: 12px; font-weight: 700; color: var(--sub); margin-bottom: 5px; letter-spacing: .3px; }
.mcard p { margin: 0; font-size: 13px; color: var(--ink2); line-height: 1.7; }
.mcard .empty-p { color: var(--sub); }
.mcard ul.tight { margin: 0; padding-left: 15px; }
.mcard ul.tight li { font-size: 13px; color: var(--ink2); line-height: 1.7; margin-bottom: 5px; }
.mini-tb { width: 100%; border-collapse: collapse; font-size: 13px; margin: 4px 0 12px; }
.mini-tb th { background: #f4f7fc; color: var(--sub); font-weight: 600; text-align: left;
  padding: 8px 10px; border: 1px solid var(--line2); font-size: 12.5px; }
.mini-tb td { padding: 8px 10px; border: 1px solid var(--line2); color: var(--ink2); vertical-align: top; line-height: 1.65; }
.mini-tb td b { color: var(--ink); }
.mbar { display: block; height: 7px; background: #eef2f8; border-radius: 4px; overflow: hidden; width: 100px; }
.mbar i { display: block; height: 100%; background: linear-gradient(90deg, #2f6bff, #17409f); }
.pb { color: var(--sub); font-size: 12.5px; }
.pb.rf { color: #c0392b; }
@media (max-width: 720px) {
  .tags3, .g2, .g3 { grid-template-columns: 1fr; }
}

.drawer-body .hire-card { display: flex; gap: 14px; border-radius: 14px; padding: 14px 16px; margin: 14px 0 12px; color: #fff; }
.drawer-body .hire-card.g { background: #0f6a44; }
.drawer-body .hire-card.b { background: #1b4c8f; }
.drawer-body .hire-card.o { background: #9a5a06; }
.drawer-body .hire-card.r { background: #942020; }
.drawer-body .hire-card.n { background: #4a5568; }
.drawer-body .hire-card .hc-l { flex: 0 0 104px; border-right: 1px solid rgba(255,255,255,.28); padding-right: 12px; }
.drawer-body .hire-card .hc-l span { display: block; font-size: 11px; letter-spacing: 1.2px; opacity: .82; }
.drawer-body .hire-card .hc-l b { display: block; font-size: 24px; line-height: 1.2; margin-top: 2px; }
.drawer-body .hire-card .hc-l i { display: block; font-size: 11.5px; font-style: normal; opacity: .85; margin-top: 2px; }
.drawer-body .hire-card .hc-r { flex: 1; min-width: 0; }
.drawer-body .hire-card .hc-r p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; font-weight: 600; }
.drawer-body .hire-card .hc-r em { font-style: normal; font-size: 11.5px; opacity: .82; }
.drawer-body .hire-risk { background: #fff8ee; border: 1px solid #f0d9b8; border-radius: 12px; padding: 11px 13px; margin-bottom: 14px; }
.drawer-body .hire-risk b { font-size: 12.5px; color: #8a5300; }
.drawer-body .hire-risk ul { margin: 7px 0 0; padding-left: 16px; }
.drawer-body .hire-risk li { font-size: 12.8px; line-height: 1.72; color: #4a3a22; margin-bottom: 3px; }
.drawer-body .hire-risk li b { color: #7a4a00; }

/* ---------------- 管理台登录 ---------------- */
.gate-card { max-width: 402px; margin: 7vh auto 0; padding: 30px 30px 24px; text-align: left; }
.gate-card h1 { margin: 16px 0 6px; }
.gate-card .lead { font-size: 13px; color: var(--sub); margin: 0 0 20px; line-height: 1.65; }
.gate-badge {
  width: 48px; height: 48px; border-radius: 15px;
  background: linear-gradient(140deg, #2a5cd6, #1c4fcf 55%, #14379b);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 10px 24px -8px rgba(28, 79, 207, .6);
}
.gate-card .field { margin-bottom: 15px; }
.gate-card .lab {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .6px;
  color: var(--ink2); margin: 0 0 7px 2px;
}
.gate-card .field input { width: 100%; height: 46px; font-size: 15px; border-radius: 12px; }
.gate-card .field input:focus {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(28, 79, 207, .1); outline: none;
}
.gate-card .btn { height: 46px; font-size: 15px; letter-spacing: 3px; border-radius: 12px; }
.gate-card .btn[disabled] { opacity: .62; letter-spacing: 1px; }
#gate-msg { font-size: 12px; color: var(--sub); text-align: center; }
.who {
  font-size: 12.5px; color: var(--brand-d); font-weight: 600;
  padding: 5px 11px; border-radius: 8px; background: var(--brand-s);
  border: 1px solid #dbe6fd;
}
@media (max-width: 640px) {
  .gate-card { margin: 3vh auto 0; padding: 24px 20px 20px; border-radius: 16px; }
}
