/* ============================================================
 * 安全消防学堂 · 移动端样式
 * ============================================================ */
:root {
  --bg: #f4f6fa;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #1c2333;
  --text-2: #5a6478;
  --text-3: #98a1b3;
  --line: #e8ebf2;
  --brand: #2b6cf6;
  --brand-soft: #eaf1ff;
  --ok: #12b76a;
  --ok-soft: #e6f8ef;
  --no: #f04438;
  --no-soft: #feecea;
  --warn: #f79009;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 2px 10px rgba(23, 35, 66, .06);
  --shadow-lg: 0 12px 34px rgba(23, 35, 66, .16);
}
html[data-theme="dark"] {
  --bg: #0f1420;
  --bg-soft: #151b29;
  --card: #171e2e;
  --text: #eaeef7;
  --text-2: #9aa5bb;
  --text-3: #6b7691;
  --line: #232c40;
  --brand: #5b8dff;
  --brand-soft: #1b2a4a;
  --ok: #2fd18b;
  --ok-soft: #12301f;
  --no: #ff6b5e;
  --no-soft: #3a1a18;
  --shadow: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow-lg: 0 12px 34px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #0f1420; --bg-soft: #151b29; --card: #171e2e;
    --text: #eaeef7; --text-2: #9aa5bb; --text-3: #6b7691; --line: #232c40;
    --brand: #5b8dff; --brand-soft: #1b2a4a;
    --ok: #2fd18b; --ok-soft: #12301f; --no: #ff6b5e; --no-soft: #3a1a18;
    --shadow: 0 2px 10px rgba(0,0,0,.3); --shadow-lg: 0 12px 34px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", sans-serif;
  background: #dfe4ee;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) { body { background: #05070c; } }

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ---------------- 外壳 ---------------- */
.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  max-height: 940px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(20, 30, 60, .28);
  border-radius: 26px;
}
@media (max-width: 520px) {
  .app-shell { max-height: none; border-radius: 0; box-shadow: none; }
}
.statusbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 4px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: .3px;
}
.sb-brand { font-weight: 600; color: var(--text-3); }
.sb-dots { width: 34px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--text-3) 0 60%, transparent 60%); opacity: .5; }
.app-main { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.page { padding: 4px 16px 24px; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.boot { padding: 120px 24px; text-align: center; color: var(--text-3); }
.boot-logo { font-size: 44px; margin-bottom: 12px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  flex: none;
  display: flex;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 0;
  color: var(--text-3);
  font-size: 11px;
  transition: color .15s;
}
.tab.active { color: var(--brand); }
.tab .ico { display: block; }

/* ---------------- 通用 ---------------- */
.ico { display: block; }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.center { text-align: center; }
.page-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0 12px; position: sticky; top: 0; z-index: 5;
  background: linear-gradient(var(--bg) 72%, rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}
.page-head h1 { font-size: 19px; margin: 0; flex: 1; font-weight: 700; letter-spacing: .2px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  background: var(--card); box-shadow: var(--shadow); flex: none;
  transition: transform .12s, background .15s;
}
.icon-btn:active { transform: scale(.93); }
.icon-btn.sm { width: 28px; height: 28px; box-shadow: none; background: transparent; }
.icon-btn.light { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; position: absolute; top: 14px; left: 14px; }
.icon-btn.on { color: var(--warn); }
.icon-btn.on .ico { fill: currentColor; stroke: none; }
.star-on { color: var(--warn); display: block; }
.star-on .ico { fill: currentColor; stroke: none; }

.block { margin-top: 16px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.block-head h3 { font-size: 15.5px; margin: 0; font-weight: 700; }
.block-head a, .block-head > span { font-size: 12.5px; color: var(--brand); }
.block-head > span.muted { color: var(--text-3); }

.btn {
  border-radius: 12px; padding: 12px 16px; font-size: 14.5px; font-weight: 600;
  transition: transform .12s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(43,108,246,.28); }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.btn.danger { background: var(--no); color: #fff; }
.btn.block { display: block; width: 100%; }
.btn:disabled { opacity: .45; }
.link-btn { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.link-btn.danger { color: var(--no); }
.stack { display: flex; flex-direction: column; gap: 10px; }

.tag { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 6px; font-weight: 600; line-height: 1.5; }
.tag-blue { background: var(--brand-soft); color: var(--brand); }
.tag-purple { background: #f1e9ff; color: #7b4dff; }
.tag-green { background: var(--ok-soft); color: var(--ok); }
.tag-red { background: var(--no-soft); color: var(--no); }
html[data-theme="dark"] .tag-purple { background: #2a2350; color: #b39bff; }

.chip {
  display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--text-2);
}
.chip.hot { background: #fff3e8; color: #e8590c; border-color: #ffd9b8; }
html[data-theme="dark"] .chip.hot { background: #38220f; color: #ffa94d; border-color: #4a2c12; }
.chip.tappable { cursor: pointer; }
.chip-row { display: flex; gap: 7px; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; }
.chip-row.wrap { flex-wrap: wrap; overflow: visible; }

.empty { text-align: center; padding: 46px 20px; color: var(--text-3); }
.empty .ico { margin: 0 auto 10px; opacity: .5; }
.empty p { margin: 0 0 4px; font-weight: 600; color: var(--text-2); }
.empty span { font-size: 12.5px; }

/* ---------------- 首页 ---------------- */
.home-hero {
  margin-top: 6px; border-radius: 20px; padding: 18px;
  background: linear-gradient(140deg, #2b6cf6, #1b3fb8 62%, #6b3df0);
  color: #fff; box-shadow: 0 14px 30px rgba(31, 76, 190, .3);
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hero-date { margin: 0 0 4px; font-size: 12px; opacity: .78; }
.home-hero h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.streak { text-align: center; background: rgba(255,255,255,.16); border-radius: 13px; padding: 6px 12px; flex: none; }
.streak strong { display: block; font-size: 20px; line-height: 1.1; }
.streak span { font-size: 10.5px; opacity: .85; }
.hero-stats { display: flex; margin-top: 16px; background: rgba(255,255,255,.13); border-radius: 13px; padding: 10px 0; }
.hero-stats > div { flex: 1; text-align: center; }
.hero-stats strong { display: block; font-size: 17px; }
.hero-stats span { font-size: 11px; opacity: .82; }

.quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--card); border-radius: var(--radius-sm); padding: 12px 4px; box-shadow: var(--shadow); font-size: 11.5px; color: var(--text-2); }
.quick:active { transform: scale(.96); }
.qi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.qi-1 { background: #e7f0ff; color: #2b6cf6; }
.qi-2 { background: #e6f8ef; color: #12b76a; }
.qi-3 { background: #fff0e8; color: #f76707; }
.qi-4 { background: #fdf0ff; color: #ae3ec9; }
html[data-theme="dark"] .qi-1 { background: #1b2a4a; }
html[data-theme="dark"] .qi-2 { background: #12301f; }
html[data-theme="dark"] .qi-3 { background: #3a2416; }
html[data-theme="dark"] .qi-4 { background: #33203a; }

.continue { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.c-main { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.c-main strong { font-size: 14.5px; }
.c-main em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.c-tag { font-size: 10.5px; color: var(--brand); font-weight: 600; }

.exam-card {
  display: block; width: 100%; text-align: left; color: #fff;
  border-radius: 18px; padding: 15px; margin-bottom: 10px;
  box-shadow: 0 10px 22px rgba(23, 35, 66, .18);
  transition: transform .14s;
}
.exam-card:active { transform: scale(.98); }
.ec-top { display: flex; align-items: center; gap: 10px; }
.ec-icon { font-size: 24px; width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.ec-top strong { display: block; font-size: 16px; }
.ec-top em { font-style: normal; font-size: 11.5px; opacity: .82; }
.ec-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11.5px; opacity: .9; }
.ec-go { display: flex; align-items: center; gap: 2px; font-weight: 600; }

.chart { display: flex; gap: 6px; align-items: flex-end; justify-content: space-between; background: var(--card); border-radius: var(--radius); padding: 14px 12px 8px; box-shadow: var(--shadow); }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar { width: 100%; max-width: 22px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #6f9dff, #2b6cf6); }
.bar-wrap span { font-size: 10px; color: var(--text-3); }

.tip-card { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.tip-label { font-size: 10.5px; color: var(--brand); font-weight: 700; letter-spacing: .5px; }
.tip-card strong { display: block; margin: 4px 0 4px; font-size: 14.5px; }
.tip-card p { margin: 0; font-size: 13px; color: var(--text-2); }

/* ---------------- 课程 ---------------- */
.course-row, .bank-row { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 13px; margin-bottom: 10px; box-shadow: var(--shadow); width: 100%; text-align: left; }
.course-row:active, .bank-row:active { transform: scale(.99); }
.cr-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; flex: none; }
.cr-icon.sm { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
.cr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cr-main strong { font-size: 14.5px; }
.cr-main em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.mini-bar { height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 4px 0 1px; }
.mini-bar i { display: block; height: 100%; border-radius: 3px; }

.course-hero { position: relative; border-radius: 20px; padding: 46px 18px 18px; color: #fff; margin-top: 6px; box-shadow: 0 14px 30px rgba(23,35,66,.22); }
.ch-title { display: flex; align-items: center; gap: 10px; }
.ch-icon { font-size: 26px; }
.ch-title h2 { margin: 0; font-size: 19px; }
.ch-title em { font-style: normal; font-size: 11.5px; opacity: .85; display: block; }
.ch-intro { font-size: 12.5px; opacity: .92; margin: 10px 0 0; line-height: 1.65; }
.ch-nums { display: flex; margin-top: 14px; background: rgba(255,255,255,.16); border-radius: 13px; padding: 9px 0; }
.ch-nums > div { flex: 1; text-align: center; }
.ch-nums strong { display: block; font-size: 16px; }
.ch-nums span { font-size: 10.5px; opacity: .85; }

.subject-card { background: var(--card); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow); }
.sc-head { display: flex; align-items: center; justify-content: space-between; padding: 13px; gap: 10px; }
.sc-head strong { font-size: 14.5px; display: block; }
.sc-head em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.sc-prog { position: relative; display: grid; place-items: center; flex: none; }
.sc-prog b { position: absolute; font-size: 10px; font-weight: 700; }
.ring { display: block; }
.sc-chapters { border-top: 1px solid var(--line); }
.sc-chapters.collapsed { display: none; }
.chapter-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.chapter-row:last-child { border-bottom: 0; }
.chapter-row:active { background: var(--bg); }
.chapter-row > div { flex: 1; min-width: 0; }
.chapter-row strong { display: block; font-size: 13.5px; font-weight: 600; }
.chapter-row em { font-style: normal; font-size: 11px; color: var(--text-3); }
.ch-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; flex: none; }
.ch-dot.done { background: var(--ok); border-color: var(--ok); }
.q-count { font-size: 11.5px; color: var(--text-3); }

.info-card { background: var(--card); border-radius: var(--radius); padding: 4px 14px; box-shadow: var(--shadow); margin-bottom: 10px; }
.ic-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ic-row:last-child { border-bottom: 0; }
.ic-row span { color: var(--text-3); }
.ic-row b { font-weight: 600; text-align: right; }
.hl-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); padding: 6px 2px; }
.hl-row .ico { color: var(--ok); flex: none; }

.sticky-actions {
  position: sticky; bottom: 0; display: flex; gap: 10px;
  padding: 12px 0 8px; margin-top: 16px;
  background: linear-gradient(rgba(0,0,0,0), var(--bg) 34%);
}
.sticky-actions .btn { flex: 1; }

/* ---------------- 考点卡 ---------------- */
.point-card { background: var(--card); border-radius: var(--radius); padding: 14px; margin-bottom: 11px; box-shadow: var(--shadow); border-left: 3px solid transparent; }
.point-card.mastered { border-left-color: var(--ok); }
.pc-head { display: flex; align-items: flex-start; gap: 9px; }
.pc-no { width: 21px; height: 21px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; flex: none; margin-top: 2px; }
.pc-head h4 { flex: 1; margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.pc-acts { display: flex; gap: 2px; flex: none; }
.pc-body { margin: 9px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.mnemonic { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; background: #fff8ed; border-radius: 10px; padding: 9px 11px; font-size: 12.5px; color: #b25c00; }
.mnemonic .ico { flex: none; margin-top: 2px; }
html[data-theme="dark"] .mnemonic { background: #38260f; color: #ffc078; }
.pc-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--line); }
.note-text { font-size: 12px; color: var(--text-3); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chapter-nav { display: flex; gap: 10px; margin-top: 14px; }
.chapter-nav .btn { flex: 1; }

/* ---------------- 题库 ---------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 16px; text-align: left; box-shadow: var(--shadow); }
.tile strong { display: block; font-size: 21px; color: var(--brand); }
.tile span { font-size: 12px; color: var(--text-3); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.mode-card { background: var(--card); border-radius: var(--radius); padding: 14px; text-align: left; box-shadow: var(--shadow); }
.mode-card b { display: block; font-size: 14px; margin-bottom: 3px; }
.mode-card span { font-size: 11.5px; color: var(--text-3); }
.mode-card:active { transform: scale(.97); }

/* ---------------- 答题 ---------------- */
.quiz-page { padding-top: 0; }
.quiz-head { display: flex; align-items: center; gap: 10px; padding: 10px 0 8px; position: sticky; top: 0; background: var(--bg); z-index: 6; }
.qh-mid { flex: 1; min-width: 0; text-align: center; }
.qh-mid strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qh-mid span { font-size: 11.5px; color: var(--text-3); }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 9px; }
.timer.warn { color: var(--no); background: var(--no-soft); }
.q-progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.q-progress i { display: block; height: 100%; background: var(--brand); transition: width .25s; }
.q-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; margin-bottom: 10px; flex-wrap: wrap; }
.q-stem { font-size: 16px; font-weight: 600; line-height: 1.7; margin: 0 0 12px; }
.q-hint { font-size: 12px; color: var(--text-3); margin: -6px 0 10px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 13px;
  padding: 12px 13px; font-size: 14px; line-height: 1.65;
  transition: border-color .15s, background .15s, transform .12s;
}
.opt:active { transform: scale(.99); }
.opt-key { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); color: var(--text-2); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; flex: none; }
.opt-text { flex: 1; }
.opt.selected { border-color: var(--brand); background: var(--brand-soft); }
.opt.selected .opt-key { background: var(--brand); color: #fff; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.right .opt-key { background: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--no); background: var(--no-soft); }
.opt.wrong .opt-key { background: var(--no); color: #fff; }
.mk { width: 20px; height: 20px; display: grid; place-items: center; flex: none; border-radius: 50%; }
.mk.ok { background: var(--ok); color: #fff; }
.mk.no { background: var(--no); color: #fff; }

.analysis { margin-top: 16px; border-radius: var(--radius); padding: 14px; background: var(--card); box-shadow: var(--shadow); border-top: 3px solid var(--ok); }
.analysis.no { border-top-color: var(--no); }
.an-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ok); flex-wrap: wrap; }
.analysis.no .an-head { color: var(--no); }
.an-head span { font-size: 12px; font-weight: 500; color: var(--text-2); }
.analysis p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.an-src { margin-top: 9px; font-size: 11.5px; color: var(--text-3); }
.q-note-row { margin-top: 12px; }
.quiz-foot { display: flex; gap: 10px; padding: 14px 0 6px; }
.quiz-foot .btn { flex: 1; }
.exam-foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 10px; }

.card-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--text-3); margin-bottom: 12px; flex-wrap: wrap; }
.card-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.dot.done { background: var(--brand); }
.dot.cur { background: var(--warn); }
.dot.ok { background: var(--ok); }
.dot.no { background: var(--no); }
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.card-cell { aspect-ratio: 1; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.card-cell.done { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.card-cell.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.card-cell.no { background: var(--no-soft); border-color: var(--no); color: var(--no); }
.card-cell.cur { outline: 2px solid var(--warn); outline-offset: 1px; }

/* ---------------- 报告 ---------------- */
.report-hero { display: flex; align-items: center; gap: 16px; border-radius: 20px; padding: 18px; color: #fff; margin-top: 6px; }
.report-hero.pass { background: linear-gradient(135deg, #16b364, #0a7a45); box-shadow: 0 14px 30px rgba(12,140,80,.28); }
.report-hero.fail { background: linear-gradient(135deg, #ff8a4c, #e0483a); box-shadow: 0 14px 30px rgba(200,60,50,.28); }
.rh-score { display: flex; align-items: baseline; gap: 2px; }
.rh-score strong { font-size: 42px; line-height: 1; }
.rh-score span { font-size: 13px; opacity: .9; }
.rh-text h3 { margin: 0 0 4px; font-size: 15.5px; }
.rh-text p { margin: 0; font-size: 12px; opacity: .9; }
.rh-text p.muted { color: rgba(255,255,255,.78); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; box-shadow: var(--shadow); }
.stat-grid.small { grid-template-columns: repeat(3, 1fr); }
.stat-grid > div { background: var(--card); padding: 13px 6px; text-align: center; }
.stat-grid strong { display: block; font-size: 17px; }
.stat-grid span { font-size: 11px; color: var(--text-3); }
.review-row { display: flex; gap: 10px; background: var(--card); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 9px; box-shadow: var(--shadow); border-left: 3px solid var(--ok); }
.review-row.no { border-left-color: var(--no); }
.review-row.part { border-left-color: var(--warn); }
.rv-no { width: 20px; height: 20px; border-radius: 6px; background: var(--bg); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; color: var(--text-3); flex: none; }
.rv-main { flex: 1; min-width: 0; }
.rv-main strong { display: block; font-size: 13.5px; line-height: 1.6; font-weight: 600; }
.rv-main em { font-style: normal; display: block; font-size: 11.5px; color: var(--text-3); margin: 4px 0; }
.rv-main p { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

/* ---------------- 列表页 ---------------- */
.wrong-row, .note-row { background: var(--card); border-radius: var(--radius); padding: 13px; margin-bottom: 10px; box-shadow: var(--shadow); }
.wr-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.wr-head .link-btn { margin-left: auto; }
.wr-stem { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; font-weight: 600; }
.wr-ans { font-size: 12px; color: var(--ok); font-weight: 600; margin-bottom: 5px; }
.wr-an { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.nr-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.nr-head .link-btn { margin-left: auto; }
.note-row > strong { display: block; font-size: 13.5px; margin-bottom: 5px; }
.nr-note { margin: 0 0 6px; font-size: 13px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; }
.point-mini { background: var(--card); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 9px; box-shadow: var(--shadow); }
.point-mini strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.point-mini p { margin: 0 0 6px; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.point-mini em { font-style: normal; font-size: 11px; color: var(--text-3); }
.exam-log { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 13px; margin-bottom: 10px; box-shadow: var(--shadow); }
.el-left { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; align-content: center; flex: none; color: #fff; }
.el-left.pass { background: linear-gradient(135deg, #16b364, #0a7a45); }
.el-left.fail { background: linear-gradient(135deg, #ff8a4c, #e0483a); }
.el-left strong { font-size: 18px; line-height: 1.1; }
.el-left span { font-size: 9.5px; opacity: .92; }
.el-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.el-main strong { font-size: 14px; }
.el-main em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.el-idx { font-size: 11px; color: var(--text-3); }

.list { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 15px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.list-row:last-child { border-bottom: 0; }
.list-row > span { display: flex; align-items: center; gap: 10px; }
.list-row .ico { color: var(--text-3); }
.list-row.danger, .list-row.danger .ico { color: var(--no); }
.list-row:active { background: var(--bg); }

/* ---------------- 我的 ---------------- */
.me-hero { display: flex; align-items: center; gap: 13px; background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-top: 6px; }
.avatar { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #6f9dff, #2b6cf6); color: #fff; display: grid; place-items: center; flex: none; }
.me-hero > div:nth-child(2) { flex: 1; min-width: 0; }
.me-hero strong { display: block; font-size: 16px; }
.me-hero em { font-style: normal; font-size: 12px; color: var(--text-3); }
.seg { display: flex; background: var(--card); border-radius: 12px; padding: 4px; box-shadow: var(--shadow); }
.seg-btn { flex: 1; padding: 9px 0; border-radius: 9px; font-size: 13px; color: var(--text-2); }
.seg-btn.on { background: var(--brand); color: #fff; font-weight: 600; }

/* ---------------- 搜索 ---------------- */
.search-box { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 13px; padding: 10px 12px; box-shadow: var(--shadow); color: var(--text-3); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; }

/* ---------------- 弹层 ---------------- */
.sheet-mask { position: fixed; inset: 0; background: rgba(12, 18, 34, .48); display: flex; align-items: flex-end; justify-content: center; z-index: 100; opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); }
.sheet-mask.in { opacity: 1; }
.sheet { width: 100%; max-width: 480px; background: var(--bg-soft); border-radius: 22px 22px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.3,1); max-height: 82vh; overflow-y: auto; }
.sheet-mask.in .sheet { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head strong { font-size: 16px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 14px; }
.sheet-actions .btn { flex: 1; }
.dialog { width: calc(100% - 56px); max-width: 340px; margin: auto; background: var(--bg-soft); border-radius: 18px; padding: 20px; transform: scale(.9); transition: transform .2s; box-shadow: var(--shadow-lg); }
.sheet-mask.in .dialog { transform: none; }
.sheet-mask:has(.dialog) { align-items: center; }
.dialog h3 { margin: 0 0 8px; font-size: 16px; }
.dialog p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.dialog-actions { display: flex; gap: 10px; margin-top: 18px; }
.dialog-actions .btn { flex: 1; }

.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.field input, .field select, .note-input {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--card); outline: 0; font-size: 14px;
}
.field input:focus, .field select:focus, .note-input:focus { border-color: var(--brand); }
.note-input { min-height: 120px; resize: vertical; line-height: 1.7; }

.about p { font-size: 13.5px; color: var(--text-2); line-height: 1.8; margin: 0 0 12px; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.about-grid > div { background: var(--card); border-radius: 12px; padding: 10px 4px; text-align: center; }
.about-grid strong { display: block; font-size: 17px; color: var(--brand); }
.about-grid span { font-size: 10.5px; color: var(--text-3); }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: rgba(18, 24, 40, .92); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; opacity: 0; transition: all .22s; z-index: 200; pointer-events: none; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
 * 视频精讲
 * ============================================================ */
.feature-row { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.feature {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: var(--card); border-radius: var(--radius); padding: 12px 13px; box-shadow: var(--shadow);
}
.feature:active { transform: scale(.985); }
.feature .ico:last-child { color: var(--text-3); flex: none; }
.feature > div { flex: 1; min-width: 0; }
.feature strong { display: block; font-size: 14px; }
.feature em { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.f-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.f-video { background: #ffe9e0; color: #f04b23; }
.f-ai { background: #e7f0ff; color: #2b6cf6; }
html[data-theme="dark"] .f-video { background: #3a2116; }
html[data-theme="dark"] .f-ai { background: #1b2a4a; }

.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.video-card {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: var(--card); border-radius: var(--radius); padding: 10px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.video-card:active { transform: scale(.99); }
.video-card.compact { padding: 8px; margin-bottom: 8px; }
.vc-thumb {
  position: relative; width: 108px; height: 66px; border-radius: 11px; flex: none;
  display: grid; place-items: center; overflow: hidden;
}
.video-card.compact .vc-thumb { width: 92px; height: 56px; }
.vc-play {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center; color: #2b2f3a; padding-left: 2px;
}
.vc-dur {
  position: absolute; right: 5px; bottom: 4px; font-style: normal; font-size: 10px;
  color: #fff; background: rgba(0,0,0,.55); border-radius: 5px; padding: 1px 5px;
}
.vc-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.25); }
.vc-prog b { display: block; height: 100%; background: #ffd43b; }
.vc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vc-main strong { font-size: 13.5px; line-height: 1.5; }
.vc-main em { font-style: normal; font-size: 11px; color: var(--text-3); }
.vc-meta { display: flex; align-items: center; gap: 6px; }

.video-wrap { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-el { width: 100%; height: 100%; display: block; background: #000; }
.video-frame { width: 100%; height: 100%; display: block; border: 0; }
.video-wrap.fallback {
  background: var(--card); color: var(--text-2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
}
.video-wrap.fallback p { margin: 0; font-size: 13px; }

.local-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.local-row:last-child { border-bottom: 0; }
.local-row strong { display: block; font-size: 13.5px; }
.local-row em { font-style: normal; font-size: 11.5px; color: var(--text-3); }

/* ============================================================
 * AI 学情评估
 * ============================================================ */
.card-box { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.ai-hero {
  display: flex; align-items: center; gap: 14px; margin-top: 6px;
  background: linear-gradient(140deg, #2b6cf6, #1b3fb8 60%, #6b3df0);
  border-radius: 20px; padding: 16px; color: #fff; box-shadow: 0 14px 30px rgba(31, 76, 190, .3);
}
.ai-ring { position: relative; flex: none; display: grid; place-items: center; color: #fff !important; }
.ai-ring .ring circle:first-child { stroke: rgba(255,255,255,.28); }
.ai-ring .ring circle:last-child { stroke: #fff; }
.ai-ring-num { position: absolute; text-align: center; line-height: 1.1; }
.ai-ring-num strong { display: block; font-size: 24px; }
.ai-ring-num span { font-size: 10px; opacity: .85; }
.ai-hero-text { flex: 1; min-width: 0; }
.ai-hero-text h3 { margin: 0 0 4px; font-size: 15.5px; }
.ai-hero-text p { margin: 0 0 3px; font-size: 12px; opacity: .92; }
.ai-hero-text p.muted { color: rgba(255,255,255,.72); }

.radar { display: block; width: 100%; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.radar-legend span { font-size: 11.5px; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.radar-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.radar-legend b { color: var(--text); }

.pred-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 13px; }
.pred-row span { color: var(--text-3); }
.pred-row b { font-size: 14px; }
.pred-bar { position: relative; height: 10px; border-radius: 6px; background: var(--line); margin: 8px 0 12px; }
.pred-bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6f9dff, #2b6cf6); }
.pred-line { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--no); border-radius: 2px; }
.pred-line em {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 10px; color: var(--no); white-space: nowrap;
}

.weak-row {
  background: var(--card); border-radius: var(--radius); padding: 12px 13px;
  margin-bottom: 9px; box-shadow: var(--shadow);
}
.weak-row:active { transform: scale(.99); }
.wr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.wr-top strong { font-size: 13.5px; }
.weak-row em { font-style: normal; display: block; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.meter-bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter-bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ffc078, #f76707); }
.forget-row {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border-radius: var(--radius); padding: 12px 13px; margin-bottom: 9px; box-shadow: var(--shadow);
}
.fr-days {
  width: 44px; height: 44px; border-radius: 13px; background: #fff3e8; color: #e8590c;
  display: grid; place-items: center; align-content: center; font-size: 16px; font-weight: 700; flex: none;
}
html[data-theme="dark"] .fr-days { background: #38220f; color: #ffa94d; }
.fr-days em { font-style: normal; font-size: 9px; font-weight: 500; }
.forget-row > div { flex: 1; min-width: 0; }
.forget-row strong { display: block; font-size: 13.5px; }
.forget-row em { font-style: normal; font-size: 11px; color: var(--text-3); }
.fr-go { font-size: 12px; color: var(--brand); font-weight: 600; flex: none; }

.sug-list { background: var(--card); border-radius: var(--radius); padding: 4px 13px; box-shadow: var(--shadow); }
.sug-row { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.7; }
.sug-row:last-child { border-bottom: 0; }
.sug-row .ico { color: var(--brand); flex: none; margin-top: 3px; }

.ai-box {
  background: var(--card); border-radius: var(--radius); padding: 14px; margin-top: 10px;
  font-size: 13.5px; line-height: 1.85; color: var(--text-2); box-shadow: var(--shadow);
  border-left: 3px solid var(--brand); white-space: pre-wrap; word-break: break-word;
}
.ai-box.loading { display: flex; align-items: center; gap: 10px; border-left-color: var(--warn); }
.ai-box.loading .ico { animation: spin 1.4s linear infinite; }
.ai-box.loading p { margin: 0; }
.ai-box.error { border-left-color: var(--no); }
.ai-box.error p { margin: 0 0 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.ex-stem { font-size: 13.5px; font-weight: 600; line-height: 1.7; margin: 6px 0 4px; }

.meter { margin-bottom: 10px; }
.meter-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-bottom: 5px; }
.meter em { font-style: normal; font-size: 11px; color: var(--text-3); }

/* ============================================================
 * 账号 / 登录 / 云同步
 * ============================================================ */
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }

.account-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--card); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow); margin-top: 6px; margin-bottom: 12px;
}
.account-card.guest { border: 1px dashed var(--brand); }
.account-card:active { transform: scale(.99); }
.ac-icon {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--bg); color: var(--text-3);
}
.ac-icon.on { background: linear-gradient(135deg, #6f9dff, #2b6cf6); color: #fff; }
.ac-main { flex: 1; min-width: 0; }
.ac-main strong { display: block; font-size: 15px; }
.ac-main em {
  font-style: normal; font-size: 11.5px; color: var(--text-3);
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ac-acts { display: flex; gap: 6px; flex: none; }
.account-card > .ico { color: var(--text-3); flex: none; }

.login-hero { text-align: center; padding: 10px 8px 18px; }
.lh-icon {
  width: 62px; height: 62px; border-radius: 20px; margin: 0 auto 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #6f9dff, #2b6cf6);
  box-shadow: 0 10px 24px rgba(43, 108, 246, .28);
}
.login-hero h2 { margin: 0 0 8px; font-size: 18px; }
.login-hero p { margin: 0 0 6px; font-size: 13px; color: var(--text-2); line-height: 1.7; }

.login-form { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.code-row { display: flex; gap: 8px; align-items: stretch; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { flex: none; white-space: nowrap; }
.field input { width: 100%; }
.login-form .field input {
  padding: 12px 13px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg-soft); outline: 0; font-size: 15px;
}
.login-form .field input:focus { border-color: var(--brand); }
.agree-row { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 14px; font-size: 11.5px; color: var(--text-3); line-height: 1.6; }
.agree-row input { margin-top: 2px; flex: none; width: 15px; height: 15px; accent-color: var(--brand); }
.login-msg { margin-top: 12px; font-size: 12.5px; min-height: 18px; color: var(--text-3); line-height: 1.6; }
.login-msg.error { color: var(--no); }
.login-msg.ok { color: var(--ok); }
.login-msg.dev { color: var(--warn); font-weight: 600; }
.inline-input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg-soft); outline: 0; font-size: 13px;
}
.inline-input:focus { border-color: var(--brand); }

.warn-box {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px;
  background: #fff8ed; color: #b25c00; border-radius: 12px; padding: 10px 12px;
  font-size: 12.5px; line-height: 1.65;
}
.warn-box .ico { flex: none; margin-top: 2px; }
html[data-theme="dark"] .warn-box { background: #38260f; color: #ffc078; }

/* ============================================================
 * 设备管理 / 注销账号 / 法律条款
 * ============================================================ */
.device-row {
  display: flex; align-items: center; gap: 11px; background: var(--card);
  border-radius: var(--radius); padding: 13px; margin-bottom: 9px; box-shadow: var(--shadow);
  border-left: 3px solid transparent;
}
.device-row.current { border-left-color: var(--ok); }
.dv-icon {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--bg); color: var(--text-3);
}
.device-row.current .dv-icon { background: var(--ok-soft); color: var(--ok); }
.dv-main { flex: 1; min-width: 0; }
.dv-main strong { display: block; font-size: 13.5px; }
.dv-main em {
  font-style: normal; display: block; font-size: 11px; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.device-row .btn { flex: none; }

.danger-card {
  background: var(--card); border-radius: var(--radius); padding: 15px;
  box-shadow: var(--shadow); border-left: 3px solid var(--no); margin-bottom: 16px;
}
.danger-card h3 {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 10px; font-size: 15px; color: var(--no);
}
.danger-card ul { margin: 0 0 10px; padding-left: 18px; }
.danger-card li { font-size: 13px; color: var(--text-2); line-height: 1.85; }
.danger-card p { margin: 0; font-size: 12.5px; color: var(--text-3); line-height: 1.75; }

.legal-page .legal-meta {
  font-size: 12px; color: var(--text-3); padding: 2px 0 12px;
  border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.legal-sec { margin-top: 18px; }
.legal-sec h3 { margin: 0 0 8px; font-size: 15px; }
.legal-sec p {
  margin: 0 0 9px; font-size: 13.5px; color: var(--text-2);
  line-height: 1.9; text-align: justify;
}
.legal-foot {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-3); text-align: center;
}
.agree-row .link-btn { padding: 0 1px; font-size: 11.5px; vertical-align: baseline; }


/* ===== 首页「添加到桌面」卡片（2026-09-26） ===== */
.install-card {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 12px 12px 12px 13px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft), var(--card) 72%);
  box-shadow: var(--shadow);
}
.ins-main {
  display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0;
  text-align: left; background: none; border: 0; padding: 0; color: inherit;
}
.ins-main:active { opacity: .68; }
.ins-ic {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--brand); color: #fff;
}
.ins-txt { flex: 1; min-width: 0; }
.ins-txt strong { display: block; font-size: 14.5px; }
.ins-txt em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--text-3); }
.ins-go {
  flex: none; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft);
  font-size: 12.5px; font-weight: 600; color: var(--brand);
}
.ins-x { flex: none; color: var(--text-3); }
.ins-guide p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.ins-guide b { display: inline-block; width: 22px; color: var(--brand); }
.ins-glyph {
  display: inline-block; padding: 0 6px; border: 1px solid var(--line);
  border-radius: 6px; font-weight: 700; color: var(--text);
}
