/* 瓜皮驾校 — 违章告知单美学
   配色直接取自中国交通标志:警告黄、禁令红、指示绿、标线白。 */

/* 得意黑(SIL OFL),自托管在 Cloudflare —— Google Fonts 在国内被墙,
   外链会让微信里白屏等待。完整字体 2.5MB,按全站实际用到的 1704 个字
   裁到 213KB(见 scripts/subset_font.py,题库更新后要重跑)。
   只用在标题和吐槽这类高冲击位置,正文交给系统字体,省下渲染开销。 */
@font-face {
  font-family: "Smiley Sans";
  src: url("/font/smiley-subset.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap; /* 字体没到之前先用系统字体显示,不留白 */
}

:root {
  --asphalt: #14161a;
  --asphalt-2: #1c1f25;
  --asphalt-3: #262a31;
  --line: #f2efe6;
  --sign-yellow: #ffcc00;
  --sign-red: #e4002b;
  --sign-green: #00a650;
  --sign-blue: #0057b8;
  --ink: #0d0f12;
  --paper: #f4f1e8;
  --paper-2: #e8e3d5;
  --muted: #8b929e;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-display: "Smiley Sans", var(--font-sans);
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --shadow-hard: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--asphalt);
  color: var(--line);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: contain;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  /* 沥青颗粒:两层不同尺度的径向渐变叠出路面质感 */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
}

/* 页面中轴的道路虚线,贯穿整个应用 */
body::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 204, 0, 0.14) 0 26px,
    transparent 26px 60px
  );
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 96px;
}

/* ---------------------------------------------------------------- 顶栏 */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 12px;
  background: linear-gradient(to bottom, var(--asphalt) 72%, transparent);
}

.logo {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}

/* 警告三角,纯 CSS */
.logo-mark {
  width: 26px;
  height: 23px;
  position: relative;
  flex: none;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sign-yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.logo-mark::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 5px;
  color: var(--ink);
  font-weight: 900;
  font-size: 13px;
}

.spacer { flex: 1; }

.nav-btn {
  appearance: none;
  border: 1.5px solid var(--asphalt-3);
  background: var(--asphalt-2);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.nav-btn[aria-current="true"] {
  color: var(--ink);
  background: var(--sign-yellow);
  border-color: var(--sign-yellow);
}
.nav-btn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- 里程表 */

.odometer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.odometer b {
  color: var(--sign-yellow);
  font-size: 15px;
}

.progress-rail {
  height: 5px;
  background: var(--asphalt-3);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 22px;
}
.progress-fill {
  height: 100%;
  background: var(--sign-yellow);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- 题目 */

.q-card {
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: var(--shadow-hard);
  animation: card-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.q-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sign-yellow);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.q-tag.multi { background: var(--sign-blue); color: #fff; }

.q-stem {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.q-media {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
  background: #000;
  display: block;
}

.opts { display: grid; gap: 9px; }

.opt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--line);
  background: var(--asphalt-3);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.08s;
}
.opt:active { transform: scale(0.985); }

.opt-key {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.opt[data-picked="true"] { border-color: var(--sign-yellow); }
.opt[data-picked="true"] .opt-key { background: var(--sign-yellow); color: var(--ink); }

.opt[data-verdict="right"] { border-color: var(--sign-green); background: rgba(0, 166, 80, 0.14); }
.opt[data-verdict="right"] .opt-key { background: var(--sign-green); color: #fff; }
.opt[data-verdict="wrong"] { border-color: var(--sign-red); background: rgba(228, 0, 43, 0.13); }
.opt[data-verdict="wrong"] .opt-key { background: var(--sign-red); color: #fff; }

.opt[disabled] { cursor: default; }

.submit {
  font-family: var(--font-display);
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--sign-yellow);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
}
.submit:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.submit:not(:disabled):active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(0,0,0,0.5); }

/* ------------------------------------------------ 违章告知单(答错时) */

.ticket-veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  animation: veil-in 0.2s ease both;
}
@keyframes veil-in { from { opacity: 0; } to { opacity: 1; } }

.ticket {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  padding: 20px 18px 16px;
  max-height: 86vh;
  overflow-y: auto;
  animation: ticket-slam 0.4s cubic-bezier(0.16, 1.4, 0.5, 1) both;
  /* 纸张纤维感 */
  background-image: repeating-linear-gradient(
    0deg, rgba(0,0,0,0.014) 0 1px, transparent 1px 3px);
}

@keyframes ticket-slam {
  0% { opacity: 0; transform: translateY(60px) scale(0.94) rotate(-1.5deg); }
  70% { transform: translateY(-4px) scale(1.01) rotate(0.4deg); }
  100% { opacity: 1; transform: none; }
}

/* 上下齿孔边,像真的撕下来的单子 */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background-image: radial-gradient(circle at 5px 4px, var(--asphalt) 3.2px, transparent 3.4px);
  background-size: 12px 8px;
}
.ticket::before { top: -4px; }
.ticket::after { bottom: -4px; }

.ticket-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.ticket-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.ticket-no {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #6b6355;
}

/* 红章:斜盖在右上角 */
.stamp {
  font-family: var(--font-display);
  position: absolute;
  top: 52px;
  right: 14px;
  width: 76px;
  height: 76px;
  border: 3px solid var(--sign-red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--sign-red);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  transform: rotate(-14deg);
  opacity: 0.82;
  pointer-events: none;
  animation: stamp-hit 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.18s both;
}
@keyframes stamp-hit {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  100% { opacity: 0.82; transform: rotate(-14deg) scale(1); }
}
.stamp.pass { border-color: var(--sign-green); color: var(--sign-green); }

.ticket-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  padding: 3px 0;
}
.ticket-row dt {
  flex: none;
  width: 58px;
  color: #7a7264;
  font-weight: 700;
}
.ticket-row dd { margin: 0; font-weight: 600; }
.ticket-row dd.bad { color: var(--sign-red); }
.ticket-row dd.good { color: #007a3c; }

.roast-box {
  font-family: var(--font-display);
  margin: 14px 0 10px;
  padding: 13px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.mnemo {
  font-family: var(--font-display);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--paper-2);
  border-left: 4px solid var(--sign-yellow);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.mnemo-tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--sign-yellow);
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
}

.ticket-cat {
  display: flex;
  justify-content: center;
  margin: 10px 0 2px;
}
.ticket-cat .cat { filter: none; }

.meme {
  display: block;
  width: 128px;
  max-width: 42%;
  border-radius: 8px;
  margin: 12px auto 4px;
}

.explain {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #c9c2b0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #4a4438;
}

.ticket-actions { display: flex; gap: 8px; margin-top: 14px; }

.tbtn {
  flex: 1;
  padding: 12px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.tbtn.primary { background: var(--sign-yellow); }
.tbtn.icon { flex: none; width: 46px; display: grid; place-items: center; padding: 0; }
.tbtn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- 仪表盘 */

.gauge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 20px;
}

.gauge {
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 12px;
  padding: 15px 14px;
}
.gauge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.gauge-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.gauge-value small { font-size: 14px; opacity: 0.65; margin-left: 2px; }
.gauge-value.hot { color: var(--sign-green); }
.gauge-value.warm { color: var(--sign-yellow); }
.gauge-value.cold { color: var(--sign-red); }
.gauge-note { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; }

.section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 26px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--asphalt-3);
}

.point-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  font-size: 13.5px;
}
.point-bar {
  height: 7px;
  background: var(--asphalt-3);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
}
.point-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.point-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}

/* ---------------------------------------------------------------- 登录 */

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}
.gate-inner { width: 100%; max-width: 340px; }

/* 圆头耄耋(哈基米)。精灵图切成横向条带,用 steps() 逐帧播放——
   比 GIF 可控:能随时换动作、能精确对齐帧数、单张 webp 只有二十几 KB。
   素材来源 github.com/Nothingness-Void/maodie-pet(未声明协议,见 docs)。 */
.hajimi {
  position: relative;
  width: 96px;
  margin: 0 0 4px -4px;
}

.cat {
  display: block;
  width: 96px;
  height: 104px;
  background-repeat: no-repeat;
  background-size: auto 104px;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.4));
}

/* 每条带的宽度 = 帧数 x 96px,steps 数必须与帧数一致,否则会漏帧或抖动 */
.cat-wave {
  background-image: url("/cat/wave.webp");
  animation: cat-wave 0.72s steps(4) infinite;
}
@keyframes cat-wave { to { background-position: -384px 0; } }

.cat-happy {
  background-image: url("/cat/happy.webp");
  animation: cat-happy 0.66s steps(6) infinite;
}
@keyframes cat-happy { to { background-position: -576px 0; } }

/* 连错三次触发:猫直接冲你张嘴哈气。循环播,让人坐不住。 */
.cat-hiss {
  background-image: url("/cat/hiss.webp");
  animation: cat-hiss 0.55s steps(5) infinite;
}
@keyframes cat-hiss { to { background-position: -480px 0; } }

/* 普通答错:一路瘫成一坨。只播一次,停在最后一帧不动。 */
.cat-failed {
  background-image: url("/cat/failed.webp");
  animation: cat-failed 1.1s steps(8) 1 forwards;
}
@keyframes cat-failed { to { background-position: -768px 0; } }

.note {
  position: absolute;
  font-size: 16px;
  color: var(--sign-yellow);
  opacity: 0;
  pointer-events: none;
  animation: note-float 2.4s ease-out infinite;
}
.note-1 { left: 80px; top: 18px; }
.note-2 { left: 92px; top: 34px; animation-delay: 1.2s; font-size: 13px; }

@keyframes note-float {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(16px, -32px) rotate(22deg); }
}

.gate-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 6px;
}
.gate-title em {
  font-style: normal;
  color: var(--sign-yellow);
}
.gate-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 26px;
}

.field { margin-bottom: 11px; }
.field input {
  width: 100%;
  padding: 14px 14px;
  font-family: inherit;
  font-size: 16px; /* 低于 16px 时 iOS 会自动放大页面 */
  color: var(--line);
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 10px;
  outline: none;
}
.field input:focus { border-color: var(--sign-yellow); }
.field input::placeholder { color: #5c626d; }

.gate-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.gate-hint a { color: var(--sign-yellow); text-decoration: none; font-weight: 700; }

.err {
  font-size: 13px;
  font-weight: 700;
  color: var(--sign-red);
  padding: 9px 12px;
  background: rgba(228, 0, 43, 0.1);
  border-radius: 8px;
  margin-bottom: 11px;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hidden { display: none !important; }

/* 尊重系统的减少动效设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- 分享卡页 */

.share-wrap { padding-bottom: 60px; }
.share-body .logo { text-decoration: none; color: var(--line); }

/* 分享页的单子是常驻内容,不是弹窗,所以不要弹入动画 */
.share-ticket {
  position: relative;
  animation: none;
  margin-bottom: 26px;
}
/* 分享页比告知单多一段题干,红章要往下挪才不会压住文字 */
.share-ticket .stamp {
  top: auto;
  bottom: 128px;
  right: 10px;
}

.share-stem {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--ink);
}

.share-media {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}

.share-cta {
  display: block;
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

/* 评论 */
.cmt-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.cmt {
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.55;
}
.cmt b {
  color: var(--sign-yellow);
  margin-right: 7px;
  font-size: 13px;
}
.cmt-empty {
  color: var(--muted);
  font-size: 13.5px;
  padding: 14px 2px;
}

.cmt-form { display: grid; grid-template-columns: 96px 1fr 52px; gap: 7px; }
.cmt-form input {
  padding: 11px 11px;
  font-family: inherit;
  font-size: 16px; /* 低于 16px 时 iOS 会自动放大页面 */
  color: var(--line);
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 9px;
  outline: none;
  min-width: 0;
}
.cmt-form input:focus { border-color: var(--sign-yellow); }
.cmt-form input::placeholder { color: #5c626d; }
.cmt-form button {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  background: var(--sign-yellow);
  border: none;
  border-radius: 9px;
  cursor: pointer;
}
.cmt-form button:disabled { opacity: 0.4; }

.cmt-err {
  margin-top: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sign-red);
  background: rgba(228, 0, 43, 0.1);
  border-radius: 8px;
  padding: 8px 11px;
}

/* ---------------------------------------------------------------- 菜鸟排行榜 */

.rank-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 4px 0 16px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 1fr auto 48px;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  margin-bottom: 8px;
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 10px;
}
/* 自己那行高亮,不然在长榜里找不到 */
.rank-row.rank-me {
  border-color: var(--sign-yellow);
  background: rgba(255, 204, 0, 0.07);
}
.rank-no { font-size: 16px; text-align: center; }
.rank-name {
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-stat { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.rank-pct {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--sign-red);
}

/* ---------------------------------------------------------------- 设置 */

.icon-btn { font-size: 15px; padding: 7px 10px; }

.settings-veil {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 9, 11, 0.74);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
}

.settings-panel {
  width: 100%;
  max-width: 420px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--asphalt-2);
  border: 1.5px solid var(--asphalt-3);
  border-radius: 14px;
  padding: 18px;
  animation: card-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 16px;
}
.settings-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--line);
  margin-top: 14px;
}
.field-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 4px 0 7px;
}

.settings-input {
  width: 100%;
  padding: 12px;
  font-family: inherit;
  font-size: 16px; /* 低于 16px 时 iOS 会自动放大页面 */
  color: var(--line);
  background: var(--asphalt-3);
  border: 1.5px solid transparent;
  border-radius: 9px;
  outline: none;
  margin-bottom: 4px;
}
.settings-input:focus { border-color: var(--sign-yellow); }

.settings-msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sign-green);
  text-align: center;
}

.logout-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: 1.5px solid var(--asphalt-3);
  border-radius: 9px;
  cursor: pointer;
}
