:root {
  --navy: #0d2e4b;
  --navy-2: #123d60;
  --ink: #14202b;
  --muted: #6d7b87;
  --soft: #edf2f4;
  --line: #dce4e7;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #1e9b88;
  --teal-soft: #dff2ee;
  --orange: #f2a65a;
  --orange-soft: #fff2e3;
  --red: #d45c5c;
  --red-soft: #fff0ee;
  --shadow: 0 20px 50px rgba(20, 42, 56, 0.08);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 28px 22px 20px;
  color: #dcebf2;
  background: var(--navy);
  scrollbar-width: thin;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 28px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--navy);
  background: var(--orange);
  border-radius: 13px 13px 13px 4px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: rotate(-4deg);
}
.brand-mark span { transform: rotate(4deg); }
.brand-mark.small { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; }
.eyebrow, .section-kicker, .breadcrumb, .mono, .key-hint { font-family: "DM Mono", monospace; }
.eyebrow { margin: 0 0 3px; color: #83a9bd; font-size: 9px; letter-spacing: .13em; }
.brand h1 { margin: 0; font-size: 18px; letter-spacing: .04em; }
.side-intro { display: flex; align-items: center; gap: 8px; margin: 0 8px 20px; color: #8fb0bf; font-size: 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #71d8ae; box-shadow: 0 0 0 4px rgba(113,216,174,.12); }

.sidebar-progress { margin: 0 0 25px; padding: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }
.progress-heading, .test-list-header { display: flex; align-items: center; justify-content: space-between; }
.progress-heading { color: #9fb7c3; font-size: 12px; }
.progress-heading strong { color: #fff; font-family: "DM Mono", monospace; font-size: 12px; font-weight: 500; }
.progress-track { height: 5px; margin: 13px 0 9px; overflow: hidden; background: #34536b; border-radius: 999px; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--teal); border-radius: inherit; transition: width .25s ease; }
.sidebar-progress p { margin: 0; color: #78a0b2; font-size: 11px; }
.test-list-header { margin: 0 8px 11px; color: #84a6b6; font-size: 11px; letter-spacing: .06em; }
.test-list-header .mono { color: #dcebf2; font-size: 10px; }
.test-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.test-button { position: relative; min-height: 36px; color: #95b1be; background: transparent; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; font-family: "DM Mono", monospace; font-size: 11px; transition: .2s ease; }
.test-button:hover { color: #fff; border-color: #5e8094; background: rgba(255,255,255,.06); }
.test-button.active { color: var(--navy); background: var(--orange); border-color: var(--orange); font-weight: 500; }
.test-button.done::after { position: absolute; right: 4px; top: 3px; width: 5px; height: 5px; content: ""; border-radius: 50%; background: #71d8ae; }
.test-button.active.done::after { background: var(--navy); }
.sidebar-footer { display: flex; gap: 9px; margin: 30px 7px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-footer p { margin: 0; color: #7595a6; font-size: 11px; line-height: 1.6; }
.key-hint { flex: 0 0 auto; padding-top: 2px; color: var(--orange); font-size: 9px; letter-spacing: .05em; }

.main-content { min-width: 0; padding: 0 46px 44px; }
.mobile-header { display: none; }
.hero { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; min-height: 270px; margin: 0 auto; padding: 48px 0 38px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 16px; color: var(--teal); font-size: 10px; letter-spacing: .14em; }
.breadcrumb i { color: #adbdc3; font-style: normal; }
.hero h2 { max-width: 680px; margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 49px); line-height: 1.16; letter-spacing: -.045em; font-weight: 900; }
.hero h2 em { color: var(--teal); font-style: normal; }
.hero p { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-badge { display: flex; align-items: center; gap: 19px; margin-right: 8%; }
.badge-ring { display: grid; place-items: center; width: 114px; height: 114px; border: 1px solid #bdced2; border-radius: 50%; box-shadow: inset 0 0 0 12px rgba(223,242,238,.52); color: var(--navy); }
.badge-ring span { margin-top: 5px; font-family: "Manrope", sans-serif; font-size: 37px; font-weight: 800; line-height: .8; }
.badge-ring small { margin-top: -2px; color: var(--teal); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; }
.badge-copy { display: grid; gap: 2px; }
.badge-copy strong { color: var(--navy); font-family: "Manrope", sans-serif; font-size: 26px; }
.badge-copy span { color: var(--muted); font-size: 12px; }

.workspace-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: 1080px; margin: 0 auto; padding: 32px 0 21px; }
.section-kicker { margin: 0 0 5px; color: var(--teal); font-size: 10px; letter-spacing: .12em; }
.workspace-head h3, .score-panel h3 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -.03em; }
.workspace-actions { display: flex; align-items: flex-end; gap: 8px; }
.mode-select { display: grid; gap: 4px; color: var(--muted); font-size: 10px; }
.mode-select select { min-width: 178px; padding: 9px 30px 9px 11px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; outline: none; }
.mode-select select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,155,136,.12); }
.button { border: 0; border-radius: 8px; padding: 10px 13px; font-size: 12px; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 6px 14px rgba(13,46,75,.14); }
.button.primary:hover { background: var(--navy-2); }
.button.ghost { color: var(--navy); background: transparent; border: 1px solid var(--line); }
.button.ghost:hover { background: var(--white); border-color: #bbcbd0; }
.notice { display: flex; align-items: center; gap: 9px; max-width: 1080px; margin: 0 auto 21px; padding: 11px 13px; color: #52717d; background: #eef7f5; border: 1px solid #d9eee9; border-radius: 9px; font-size: 12px; }
.notice-icon { display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--teal); border-radius: 50%; font-family: "Manrope", sans-serif; font-weight: 800; }

.score-panel { display: flex; align-items: center; gap: 14px; max-width: 1080px; margin: 0 auto 20px; padding: 18px 20px; background: var(--orange-soft); border: 1px solid #f6d9b7; border-radius: 12px; }
.score-symbol { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 20px; font-weight: 700; }
.score-panel h3 { font-size: 18px; }
.score-panel p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.score-panel .button { margin-left: auto; }

.question-list { display: grid; gap: 15px; max-width: 1080px; margin: 0 auto; }
.question-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 16px rgba(28,51,65,.025); transition: border-color .2s, box-shadow .2s; }
.question-card:focus-within { border-color: #a5cfc7; box-shadow: 0 5px 24px rgba(30,155,136,.08); }
.question-top { display: flex; gap: 16px; padding: 22px 23px 16px; }
.question-number { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; color: var(--navy); background: var(--orange-soft); border-radius: 9px; font-family: "DM Mono", monospace; font-size: 12px; font-weight: 500; }
.question-prompt { flex: 1; min-width: 0; }
.question-prompt h4 { margin: 2px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; font-weight: 700; }
.question-image { display: block; max-width: min(180px, 100%); max-height: 155px; margin: 0 23px 15px 71px; padding: 10px; object-fit: contain; background: #f5f8f8; border: 1px solid var(--line); border-radius: 10px; }
.options { display: grid; gap: 8px; padding: 0 23px 21px 71px; }
.option { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 12px 13px; color: #40535e; text-align: left; background: #fbfcfc; border: 1px solid #e1e8e9; border-radius: 9px; line-height: 1.5; font-size: 13px; transition: .16s ease; }
.option:hover:not(:disabled) { color: var(--navy); background: #f1f8f6; border-color: #9fcfc5; transform: translateX(2px); }
.option:disabled { cursor: default; }
.option-letter { flex: 0 0 auto; display: grid; place-items: center; width: 21px; height: 21px; color: #758790; border: 1px solid #cbd7da; border-radius: 50%; font-family: "DM Mono", monospace; font-size: 10px; }
.option-text { flex: 1; }
.option.correct { color: #176f62; background: var(--teal-soft); border-color: #8bcabf; }
.option.correct .option-letter { color: #fff; background: var(--teal); border-color: var(--teal); }
.option.wrong { color: #a94343; background: var(--red-soft); border-color: #e9aeaa; }
.option.wrong .option-letter { color: #fff; background: var(--red); border-color: var(--red); }
.option.selected-neutral { color: var(--navy); background: #eef3f7; border-color: #adc1cd; }
.option.selected-neutral .option-letter { color: #fff; background: var(--navy); border-color: var(--navy); }
.explanation { margin: 0 23px 21px 71px; padding: 13px 15px; color: #536872; background: #f6f9f9; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; font-size: 12px; line-height: 1.7; }
.explanation strong { display: block; margin-bottom: 3px; color: var(--teal); font-size: 11px; }
.locked-answer { margin: 0 23px 21px 71px; color: #7c8e96; font-size: 11px; }

.page-footer { display: flex; justify-content: space-between; gap: 30px; max-width: 1080px; margin: 38px auto 0; padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.page-footer strong { color: var(--navy); }
.page-footer p { max-width: 700px; margin: 4px 0 0; }
.page-footer a { flex: 0 0 auto; color: var(--teal); text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }

.mobile-overlay { display: none; }
.mobile-list-toggle-row { display: none; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 235px minmax(0, 1fr); }
  .sidebar { padding-inline: 16px; }
  .main-content { padding-inline: 30px; }
  .hero-badge { margin-right: 0; }
  .workspace-head { align-items: flex-start; flex-direction: column; }
  .workspace-actions { width: 100%; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 20; left: -285px; width: 280px; transition: left .25s ease; box-shadow: 20px 0 60px rgba(0,0,0,.18); }
  body.menu-open .sidebar { left: 0; }
  .mobile-header { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 18px; color: var(--navy); background: var(--white); border-bottom: 1px solid var(--line); }
  .mobile-header strong { font-size: 15px; }
  .icon-button { margin-left: auto; padding: 6px; color: var(--navy); background: transparent; border: 0; font-size: 20px; }
  .mobile-overlay { position: fixed; z-index: 10; inset: 0; display: none; background: rgba(13,46,75,.3); }
  body.menu-open .mobile-overlay { display: block; }
  .main-content { padding: 0 18px 35px; }
  .hero { min-height: 0; padding: 34px 0 28px; }
  .hero h2 { font-size: 34px; }
  .hero p { font-size: 13px; }
  .hero-badge { display: none; }
  .workspace-head { padding-top: 27px; }
  .workspace-head h3 { font-size: 22px; }
  .workspace-actions { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .mode-select { grid-column: 1 / -1; }
  .mode-select select { width: 100%; }
  .button { width: 100%; }
  .question-top { gap: 11px; padding: 17px 15px 13px; }
  .question-number { width: 29px; height: 29px; }
  .question-prompt h4 { font-size: 14px; line-height: 1.65; }
  .question-image { max-width: 145px; max-height: 130px; margin-left: 55px; }
  .options { padding: 0 15px 16px 55px; }
  .option { padding: 10px; font-size: 12px; }
  .explanation { margin: 0 15px 16px 55px; }
  .locked-answer { margin: 0 15px 16px 55px; }
  .score-panel { align-items: flex-start; flex-wrap: wrap; padding: 15px; }
  .score-panel .button { width: auto; margin-left: 52px; }
  .page-footer { display: block; margin-top: 28px; }
  .page-footer a { display: inline-block; margin-top: 9px; }
}

/* 老人友好版：白底、高对比、大字号、少装饰。 */
:root {
  --navy: #111827;
  --navy-2: #0b4f9c;
  --ink: #111111;
  --muted: #374151;
  --soft: #f3f4f6;
  --line: #b8c1cc;
  --paper: #ffffff;
  --white: #ffffff;
  --teal: #1459a6;
  --teal-soft: #eff6ff;
  --orange: #1459a6;
  --orange-soft: #eff6ff;
  --red: #b42318;
  --red-soft: #fff1f0;
  --shadow: none;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 18px;
}

.sidebar {
  padding: 28px 20px 20px;
  color: var(--ink);
  background: #ffffff;
  border-right: 2px solid #d1d5db;
  box-shadow: none;
}

.brand { padding-bottom: 26px; }
.brand-mark {
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 5px;
  transform: none;
  font-size: 15px;
}
.brand-mark span { transform: none; }
.brand-mark.small { width: 38px; height: 38px; border-radius: 4px; }
.eyebrow { display: none; }
.brand h1 { color: var(--ink); font-size: 24px; letter-spacing: 0; }
.side-intro { margin: 0 8px 22px; color: var(--muted); font-size: 16px; }
.live-dot { width: 10px; height: 10px; background: var(--teal); box-shadow: none; }

.sidebar-progress {
  margin-bottom: 26px;
  padding: 17px;
  background: #f8fafc;
  border: 2px solid var(--line);
  border-radius: 4px;
}
.progress-heading { color: var(--ink); font-size: 16px; }
.progress-heading strong { color: var(--ink); font-size: 16px; }
.progress-track { height: 9px; margin: 14px 0 10px; background: #dbe3ec; border-radius: 2px; }
.progress-track span { background: var(--teal); border-radius: 0; }
.sidebar-progress p { color: var(--muted); font-size: 14px; }
.test-list-header { margin-bottom: 12px; color: var(--ink); font-size: 16px; letter-spacing: 0; }
.test-list-header .mono { color: var(--ink); font-size: 15px; }
.test-list { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.test-button {
  min-height: 48px;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  font-size: 16px;
}
.test-button:hover { color: var(--ink); border-color: var(--teal); background: var(--teal-soft); }
.test-button.active { color: #ffffff; background: var(--teal); border-color: var(--teal); }
.test-button.done::after { right: 5px; top: 5px; width: 8px; height: 8px; background: #17803d; }
.test-button.active.done::after { background: #ffffff; }
.sidebar-footer { gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 2px solid #d1d5db; }
.sidebar-footer p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.key-hint { color: var(--teal); font-size: 12px; }

.main-content { padding: 0 42px 46px; }
.hero {
  min-height: 225px;
  padding: 40px 0 32px;
  border-bottom: 2px solid #d1d5db;
}
.breadcrumb, .hero-badge { display: none; }
.hero h2 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.28;
  letter-spacing: 0;
}
.hero h2 em { color: var(--teal); }
.hero p { max-width: 700px; margin-top: 17px; color: var(--muted); font-size: 18px; line-height: 1.8; }

.workspace-head { align-items: center; padding: 30px 0 22px; }
.section-kicker { display: none; }
.workspace-head h3 { color: var(--ink); font-size: 30px; letter-spacing: 0; }
.workspace-actions { align-items: center; gap: 10px; }
.mode-select { color: var(--ink); font-size: 16px; }
.mode-select select { min-width: 245px; padding: 13px 34px 13px 13px; color: var(--ink); border: 2px solid #9ca3af; border-radius: 4px; font-size: 17px; }
.mode-select select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,89,166,.18); }
.button { min-height: 52px; padding: 13px 18px; border-radius: 4px; font-size: 17px; }
.button:hover { transform: none; }
.button.primary { background: var(--teal); box-shadow: none; }
.button.primary:hover { background: var(--navy-2); }
.button.ghost { color: var(--ink); background: #ffffff; border: 2px solid #9ca3af; }
.button.ghost:hover { background: #f8fafc; border-color: var(--teal); }
.notice { gap: 11px; margin-bottom: 24px; padding: 14px 16px; color: var(--ink); background: var(--teal-soft); border: 2px solid #a9c8e9; border-radius: 4px; font-size: 17px; line-height: 1.6; }
.notice-icon { width: 28px; height: 28px; flex: 0 0 auto; background: var(--teal); font-size: 16px; }

.score-panel { gap: 16px; margin-bottom: 24px; padding: 18px 20px; background: #ffffff; border: 2px solid #7bb393; border-radius: 4px; }
.score-symbol { width: 42px; height: 42px; background: #17803d; }
.score-panel h3 { color: var(--ink); font-size: 22px; }
.score-panel p:last-child { color: var(--muted); font-size: 16px; }
.score-panel .button { margin-left: auto; }

.question-list { gap: 20px; }
.question-card { border: 2px solid #c5ccd4; border-radius: 4px; box-shadow: none; }
.question-card:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,89,166,.12); }
.question-top { gap: 18px; padding: 24px 26px 18px; }
.question-number { width: 42px; height: 42px; color: #ffffff; background: var(--teal); border-radius: 4px; font-size: 16px; }
.question-prompt h4 { margin-top: 1px; color: var(--ink); font-size: 21px; line-height: 1.75; font-weight: 700; }
.question-image { max-width: 220px; max-height: 180px; margin: 0 26px 18px 86px; padding: 10px; background: #ffffff; border: 2px solid #c5ccd4; border-radius: 4px; }
.options { gap: 11px; padding: 0 26px 26px 86px; }
.option {
  min-height: 62px;
  gap: 13px;
  padding: 16px 17px;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  font-size: 19px;
  line-height: 1.65;
}
.option:hover:not(:disabled) { color: var(--ink); background: var(--teal-soft); border-color: var(--teal); transform: none; }
.option-letter { width: 29px; height: 29px; color: var(--ink); border: 2px solid #6b7280; font-size: 15px; }
.option.correct { color: #075e2e; background: #ecfdf3; border-color: #17803d; }
.option.correct .option-letter { background: #17803d; border-color: #17803d; }
.option.wrong { color: #8b1e1e; background: var(--red-soft); border-color: var(--red); }
.option.wrong .option-letter { background: var(--red); border-color: var(--red); }
.option.selected-neutral { color: var(--ink); background: #eef4fb; border-color: var(--teal); }
.option.selected-neutral .option-letter { background: var(--teal); border-color: var(--teal); }
.explanation { margin: 0 26px 26px 86px; padding: 16px 18px; color: var(--ink); background: #f8fafc; border-left: 5px solid var(--teal); border-radius: 0 4px 4px 0; font-size: 17px; line-height: 1.8; }
.explanation strong { margin-bottom: 5px; color: var(--teal); font-size: 17px; }
.locked-answer { margin: 0 26px 26px 86px; color: var(--muted); font-size: 16px; }

.page-footer { margin-top: 42px; padding-top: 23px; border-top: 2px solid #d1d5db; color: var(--muted); font-size: 16px; line-height: 1.8; }
.page-footer strong { color: var(--ink); }
.page-footer a { color: var(--teal); }

@media (max-width: 980px) {
  .main-content { padding-inline: 28px; }
  .workspace-head { align-items: flex-start; }
}

@media (max-width: 720px) {
  .sidebar {
    position: static;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 18px 16px 16px;
    border-right: 0;
    border-bottom: 2px solid #d1d5db;
    box-shadow: none;
  }
  .sidebar .brand { padding: 0 0 16px; }
  .sidebar .side-intro { margin: 0 0 16px; }
  .sidebar-progress { margin-bottom: 14px; }
  .mobile-list-toggle-row { display: flex; margin-bottom: 10px; }
  .mobile-list-toggle {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    color: var(--ink);
    text-align: left;
    background: #ffffff;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 700;
  }
  .mobile-list-toggle::after { float: right; content: "⌄"; color: var(--teal); font-size: 22px; line-height: 1; }
  .test-navigation.collapsed { display: none; }
  .sidebar-footer { display: none; }
  .main-content { padding: 0 16px 38px; }
  .hero { padding: 30px 0 26px; }
  .hero h2 { font-size: 34px; line-height: 1.35; }
  .hero p { margin-top: 15px; font-size: 17px; line-height: 1.8; }
  .workspace-head { padding-top: 27px; }
  .workspace-head h3 { font-size: 27px; }
  .workspace-actions { display: flex; width: 100%; }
  .workspace-actions .button { flex: 1; width: auto; }
  .workspace-actions { gap: 9px; }
  .mode-select select { min-height: 56px; font-size: 17px; }
  .button { min-height: 56px; font-size: 17px; }
  .notice { align-items: flex-start; font-size: 16px; }
  .question-top { gap: 12px; padding: 20px 15px 15px; }
  .question-number { width: 40px; height: 40px; }
  .question-prompt h4 { font-size: 20px; line-height: 1.75; }
  .question-image { max-width: calc(100% - 30px); max-height: 170px; margin-left: 15px; }
  .options { gap: 10px; padding: 0 15px 22px; }
  .option { min-height: 62px; padding: 15px 13px; font-size: 18px; line-height: 1.65; }
  .option-letter { width: 28px; height: 28px; }
  .explanation { margin: 0 15px 22px; padding: 14px 15px; font-size: 16px; }
  .locked-answer { margin: 0 15px 22px; font-size: 16px; }
  .score-panel .button { margin-left: 54px; }
  .page-footer { font-size: 15px; }
}

/* 两页版：入口页选择套题，答题页一次显示一道题。 */
.list-page,
.practice-page {
  min-height: 100vh;
  background: #ffffff;
}

.list-main,
.practice-main {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 2px solid #d1d5db;
}

.list-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.list-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.list-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
}

.list-mode {
  color: var(--muted);
  font-size: 16px;
}

.font-size-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 11px;
  color: var(--teal);
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.font-size-button:hover,
.font-size-button:focus-visible {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
  outline: none;
}

.font-size-mark {
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.list-hero {
  padding: 58px 0 46px;
  border-bottom: 2px solid #d1d5db;
}

.list-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.list-hero h1 {
  max-width: 750px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.28;
  font-weight: 900;
}

.list-hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.list-description {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.8;
}

.list-summary {
  display: flex;
  gap: 0;
  margin-top: 36px;
}

.list-summary div {
  display: grid;
  gap: 4px;
  min-width: 165px;
  padding: 0 28px;
  border-left: 2px solid #d1d5db;
}

.list-summary div:first-child {
  padding-left: 0;
  border-left: 0;
}

.list-summary strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.list-summary span {
  color: var(--muted);
  font-size: 16px;
}

.test-section {
  padding: 42px 0 0;
}

.test-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.test-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
}

.overall-progress {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 17px;
  text-align: right;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.test-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  transition: border-color .15s ease, background .15s ease;
}

.test-card:hover,
.test-card:focus-visible {
  background: var(--teal-soft);
  border-color: var(--teal);
  outline: none;
}

.test-card-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 900;
}

.test-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.test-card-copy strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.test-card-copy span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.test-card-arrow {
  margin-left: auto;
  color: var(--teal);
  font-size: 25px;
  line-height: 1;
}

.test-card.complete .test-card-number {
  background: #17803d;
}

.list-footer {
  margin-top: 48px;
  padding-bottom: 30px;
  font-size: 16px;
}

.practice-main {
  padding-bottom: 40px;
}

.practice-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 110px;
  border-bottom: 2px solid #d1d5db;
}

.back-link {
  color: var(--teal);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.practice-heading {
  text-align: center;
}

.practice-heading .list-kicker { margin-bottom: 5px; }

.practice-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.reset-button {
  justify-self: end;
  min-height: 52px;
  font-size: 17px;
}

.practice-progress {
  max-width: 900px;
  margin: 30px auto 22px;
}

.practice-progress .progress-heading {
  color: var(--ink);
  font-size: 18px;
}

.practice-progress .progress-heading strong {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.practice-progress .progress-track {
  height: 11px;
  margin-top: 12px;
  background: #dbe3ec;
}

.practice-progress .progress-track span {
  background: var(--teal);
}

.practice-question-card {
  max-width: 900px;
  min-height: 390px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #c5ccd4;
  border-radius: 4px;
}

.practice-question-card:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 89, 166, .12);
}

.practice-question-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 30px 20px;
}

.practice-question-top h2 {
  margin: 1px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.7;
}

.practice-question-top .question-number {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.practice-question-image {
  display: block;
  max-width: calc(100% - 60px);
  max-height: 190px;
  margin: 0 30px 20px 96px;
  padding: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 2px solid #c5ccd4;
  border-radius: 4px;
}

.practice-options {
  display: grid;
  gap: 11px;
  padding: 0 30px 26px 96px;
}

.practice-option {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  min-height: 62px;
  padding: 16px 17px;
  color: var(--ink);
  text-align: left;
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  font-size: 19px;
  line-height: 1.65;
}

.practice-option:hover:not(:disabled) {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.practice-option:disabled { cursor: default; }

.practice-option.correct {
  color: #075e2e;
  background: #ecfdf3;
  border-color: #17803d;
}

.practice-option.correct .option-letter {
  color: #ffffff;
  background: #17803d;
  border-color: #17803d;
}

.practice-option.wrong {
  color: #8b1e1e;
  background: var(--red-soft);
  border-color: var(--red);
}

.practice-option.wrong .option-letter {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.practice-explanation {
  display: grid;
  gap: 5px;
  margin: 0 30px 28px 96px;
  padding: 16px 18px;
  color: var(--ink);
  background: #f8fafc;
  border-left: 5px solid var(--teal);
  border-radius: 0 4px 4px 0;
  font-size: 18px;
  line-height: 1.8;
}

.practice-explanation strong {
  color: var(--teal);
  font-size: 18px;
}

.practice-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: 900px;
  margin: 22px auto 0;
}

.practice-nav .button {
  min-width: 150px;
  min-height: 58px;
  font-size: 18px;
}

.practice-score {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .list-main,
  .practice-main {
    width: calc(100% - 32px);
  }

  .list-header {
    min-height: 68px;
  }

  .list-header-actions {
    gap: 8px;
  }

  .list-brand {
    font-size: 19px;
  }

  .list-brand-mark {
    width: 40px;
    height: 40px;
  }

  .list-mode {
    display: none;
  }

  .font-size-button {
    min-height: 42px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .list-hero {
    padding: 36px 0 30px;
  }

  .list-kicker {
    font-size: 13px;
  }

  .list-hero h1 {
    font-size: 38px;
    line-height: 1.38;
  }

  .list-description {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.8;
  }

  .list-summary {
    margin-top: 28px;
  }

  .list-summary div {
    min-width: 0;
    padding: 0 12px;
  }

  .list-summary strong {
    font-size: 24px;
  }

  .list-summary span {
    font-size: 13px;
  }

  .test-section {
    padding-top: 30px;
  }

  .test-section-heading {
    display: block;
    margin-bottom: 16px;
  }

  .test-section-heading h2 {
    font-size: 25px;
  }

  .overall-progress {
    margin-top: 9px;
    font-size: 16px;
    text-align: left;
  }

  .test-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .test-card {
    min-height: 82px;
    padding: 13px 14px;
  }

  .test-card-number {
    width: 46px;
    height: 46px;
  }

  .test-card-copy strong {
    font-size: 18px;
  }

  .test-card-copy span {
    font-size: 15px;
  }

  .practice-main {
    padding-bottom: 28px;
  }

  .practice-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    min-height: 0;
    padding: 17px 0 18px;
  }

  .back-link {
    width: 100%;
    font-size: 17px;
  }

  .practice-heading {
    flex: 1;
    min-width: 0;
    text-align: left;
  }

  .practice-heading .list-kicker {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .practice-heading h1 {
    font-size: 24px;
  }

  .reset-button {
    min-height: 50px;
    padding-inline: 13px;
    font-size: 16px;
  }

  .practice-progress {
    margin: 21px auto 16px;
  }

  .practice-progress .progress-heading {
    font-size: 17px;
  }

  .practice-progress .progress-heading strong {
    font-size: 15px;
  }

  .practice-question-card {
    min-height: 0;
  }

  .practice-question-top {
    gap: 12px;
    padding: 20px 15px 15px;
  }

  .practice-question-top .question-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .practice-question-top h2 {
    font-size: 20px;
    line-height: 1.75;
  }

  .practice-question-image {
    max-width: calc(100% - 30px);
    max-height: 170px;
    margin: 0 15px 18px;
  }

  .practice-options {
    gap: 10px;
    padding: 0 15px 22px;
  }

  .practice-option {
    min-height: 62px;
    padding: 15px 13px;
    font-size: 18px;
    line-height: 1.65;
  }

  .practice-explanation {
    margin: 0 15px 22px;
    padding: 14px 15px;
    font-size: 17px;
  }

  .practice-explanation strong {
    font-size: 17px;
  }

  .practice-nav {
    gap: 10px;
    margin-top: 16px;
  }

  .practice-nav .button {
    min-width: 0;
    flex: 1;
    min-height: 58px;
    padding-inline: 8px;
    font-size: 17px;
  }

  .practice-score {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 15px;
  }

  .practice-score .button {
    width: 100%;
    margin-left: 0;
  }
}

/* 答题页顶部保持一行、只保留必要导航。 */
.practice-header {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 82px;
}

.practice-heading .list-kicker {
  display: none;
}

.back-link {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  color: var(--teal);
  font-size: 32px;
  line-height: 1;
  text-align: left;
}

.practice-heading h1 {
  font-size: 28px;
}

.practice-progress .progress-heading {
  justify-content: flex-start;
}

.practice-header .reset-button {
  position: absolute;
  top: 50%;
  right: 0;
  min-height: 50px;
  transform: translateY(-50%);
  font-size: 16px;
}

.reset-icon {
  display: none;
}

@media (max-width: 720px) {
  .practice-header {
    display: flex;
    flex-wrap: nowrap;
    min-height: 68px;
    padding: 0;
  }

  .back-link {
    left: 0;
    width: 36px;
    font-size: 30px;
  }

  .practice-heading {
    width: 100%;
    text-align: center;
  }

  .practice-heading h1 {
    font-size: 23px;
  }

  .practice-header .reset-button {
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 15px;
  }

  .reset-label {
    display: none;
  }

  .reset-icon {
    display: block;
    font-size: 27px;
    line-height: 1;
  }
}

/* 题目导航固定在屏幕底部，滚动时始终可用。 */
.practice-main {
  padding-bottom: 124px;
}

.practice-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px max(16px, calc((100% - 900px) / 2)) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .98);
  border-top: 2px solid #d1d5db;
  box-shadow: 0 -5px 18px rgba(17, 24, 39, .08);
}

@media (max-width: 720px) {
  .practice-main {
    padding-bottom: 116px;
  }

  .practice-nav {
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* 顶部导航固定悬浮，进度条紧跟在导航下方。 */
.practice-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .06);
}

.practice-progress {
  margin-top: 0;
}

.practice-progress .progress-heading {
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .practice-progress {
    margin-top: 0;
  }
}

.practice-progress-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
}

.practice-progress-line .progress-track {
  margin: 0;
}

.practice-progress-number {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.practice-progress-number.total {
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 720px) {
  .practice-progress-line {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 8px;
  }

  .practice-progress-number {
    font-size: 17px;
  }
}

/* 导航行和进度条合并为一个固定顶部区域。 */
.practice-header {
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom: 2px solid #d1d5db;
}

.practice-header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  min-height: 82px;
}

.practice-header-row .back-link {
  left: 0;
}

.practice-header-row .reset-button {
  top: 50%;
  right: 0;
}

.practice-header .practice-progress {
  width: calc(100% - 32px);
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0 12px;
}

@media (max-width: 720px) {
  .practice-header {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-right: 16px;
    padding-left: 16px;
  }

  .practice-header-row {
    min-height: 68px;
  }

  .practice-header-row .back-link {
    left: 0;
  }

  .practice-header-row .reset-button {
    right: 0;
  }

  .practice-header .practice-progress {
    padding-top: 9px;
    padding-bottom: 11px;
  }
}

/* 每次只显示一道题，不再用卡片边框包住题目。 */
.practice-question-card,
.practice-question-card:focus-within {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 720px) {
  .practice-question-card {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

@media (max-width: 720px) {
  .practice-header-row .reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .practice-header-row .reset-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    transform: translateY(-1px);
  }
}

/* 顶部栏和底部栏铺满屏幕，内部内容仍保持居中宽度。 */
body.practice-page {
  overflow-x: hidden;
}

.practice-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.practice-header-row {
  width: calc(100% - 32px);
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

/* 题图按题目区域水平居中。 */
.practice-question-image {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 720px) {
  .practice-header-row {
    width: calc(100% - 32px);
    max-width: none;
  }

  .practice-header .practice-progress {
    width: calc(100% - 32px);
  }

  .practice-question-image {
    margin-right: auto;
    margin-left: auto;
  }
}

/* 大屏幕返回项与底部“上一题”对齐；手机端保留箭头。 */
.practice-header-row .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 50px;
  padding: 13px 18px;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.back-arrow {
  display: none;
}

.back-label {
  display: inline;
}

.practice-header-row .back-link:hover {
  color: var(--ink);
  background: #f8fafc;
  border-color: var(--teal);
  text-decoration: none;
}

@media (max-width: 720px) {
  .practice-header {
    padding-right: 0;
    padding-left: 0;
  }

  .practice-header-row {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  .practice-header .practice-progress {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  .practice-header-row .back-link {
    display: flex;
    width: 36px;
    min-height: 42px;
    padding: 0;
    color: var(--teal);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 30px;
  }

  .back-arrow {
    display: inline;
  }

  .back-label {
    display: none;
  }

  .practice-header-row .back-link:hover {
    color: var(--teal);
    background: transparent;
    border-color: transparent;
  }

  .practice-header-row .reset-button {
    color: var(--teal);
    background: transparent;
    border: 0;
  }

  .practice-header-row .reset-button:hover {
    color: var(--teal);
    background: transparent;
    border-color: transparent;
  }
}

/* 让进度条更靠近顶部导航内容。 */
.practice-header .practice-progress {
  padding-top: 2px;
}

/* 保留滚动功能，但隐藏右侧滚动条指示器。 */
html {
  scrollbar-width: none;
}

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

.practice-question-top {
  display: block;
}

.practice-options {
  padding-left: 30px;
}

.practice-explanation {
  margin-left: 30px;
}

@media (max-width: 720px) {
  .practice-options {
    padding-left: 15px;
  }

  .practice-explanation {
    margin-left: 15px;
  }
}

/* 首页字体大小：标准 → 大 → 特大。 */
body.list-page.font-size-large .list-brand { font-size: 33px; }
body.list-page.font-size-large .font-size-button { font-size: 24px; }
body.list-page.font-size-large .font-size-mark { font-size: 31px; }
body.list-page.font-size-large .test-section-heading h2 { font-size: 45px; }
body.list-page.font-size-large .overall-progress { font-size: 26px; }
body.list-page.font-size-large .test-card-number { font-size: 27px; }
body.list-page.font-size-large .test-card-copy strong { font-size: 29px; }
body.list-page.font-size-large .test-card-copy span { font-size: 23px; }
body.list-page.font-size-large .list-footer { font-size: 24px; }

body.list-page.font-size-xlarge .list-brand { font-size: 44px; }
body.list-page.font-size-xlarge .font-size-button { font-size: 32px; }
body.list-page.font-size-xlarge .font-size-mark { font-size: 42px; }
body.list-page.font-size-xlarge .test-section-heading h2 { font-size: 60px; }
body.list-page.font-size-xlarge .overall-progress { font-size: 34px; }
body.list-page.font-size-xlarge .test-card-number { font-size: 36px; }
body.list-page.font-size-xlarge .test-card-copy strong { font-size: 38px; }
body.list-page.font-size-xlarge .test-card-copy span { font-size: 30px; }
body.list-page.font-size-xlarge .list-footer { font-size: 32px; }

@media (max-width: 720px) {
  body.list-page.font-size-large .list-brand { font-size: 29px; }
  body.list-page.font-size-large .font-size-button { font-size: 21px; }
  body.list-page.font-size-large .font-size-mark { font-size: 31px; }
  body.list-page.font-size-large .test-section-heading h2 { font-size: 38px; }
  body.list-page.font-size-large .overall-progress { font-size: 24px; }
  body.list-page.font-size-large .test-card-number { font-size: 27px; }
  body.list-page.font-size-large .test-card-copy strong { font-size: 27px; }
  body.list-page.font-size-large .test-card-copy span { font-size: 23px; }
  body.list-page.font-size-large .list-footer { font-size: 24px; }

  body.list-page.font-size-xlarge .list-brand { font-size: 38px; }
  body.list-page.font-size-xlarge .font-size-button { font-size: 28px; }
  body.list-page.font-size-xlarge .font-size-mark { font-size: 42px; }
  body.list-page.font-size-xlarge .test-section-heading h2 { font-size: 50px; }
  body.list-page.font-size-xlarge .overall-progress { font-size: 32px; }
  body.list-page.font-size-xlarge .test-card-number { font-size: 36px; }
  body.list-page.font-size-xlarge .test-card-copy strong { font-size: 36px; }
  body.list-page.font-size-xlarge .test-card-copy span { font-size: 30px; }
  body.list-page.font-size-xlarge .list-footer { font-size: 32px; }
}

/* 答题页沿用首页字号设置；特大字号为标准字号的 2 倍。 */
body.practice-page.font-size-large .back-label { font-size: 26px; }
body.practice-page.font-size-large .practice-heading h1 { font-size: 42px; }
body.practice-page.font-size-large .reset-button { font-size: 24px; }
body.practice-page.font-size-large .practice-progress-number { font-size: 27px; }
body.practice-page.font-size-large .practice-question-top h2 { font-size: 38px; }
body.practice-page.font-size-large .practice-question-top .question-number { font-size: 27px; }
body.practice-page.font-size-large .practice-option { font-size: 29px; }
body.practice-page.font-size-large .practice-option .option-letter {
  width: 44px;
  height: 44px;
  font-size: 23px;
}
body.practice-page.font-size-large .practice-progress-line {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 12px;
}
body.practice-page.font-size-large .practice-explanation,
body.practice-page.font-size-large .practice-explanation strong { font-size: 27px; }
body.practice-page.font-size-large .practice-nav .button { font-size: 27px; }
body.practice-page.font-size-large .practice-score h3 { font-size: 33px; }
body.practice-page.font-size-large .practice-score p { font-size: 24px; }

body.practice-page.font-size-xlarge .back-label { font-size: 34px; }
body.practice-page.font-size-xlarge .practice-heading h1 { font-size: 56px; }
body.practice-page.font-size-xlarge .reset-button { font-size: 32px; }
body.practice-page.font-size-xlarge .practice-progress-number { font-size: 36px; }
body.practice-page.font-size-xlarge .practice-question-top h2 { font-size: 50px; }
body.practice-page.font-size-xlarge .practice-question-top .question-number { font-size: 36px; }
body.practice-page.font-size-xlarge .practice-option { font-size: 38px; }
body.practice-page.font-size-xlarge .practice-option .option-letter {
  width: 58px;
  height: 58px;
  font-size: 30px;
}
body.practice-page.font-size-xlarge .practice-progress-line {
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 14px;
}
body.practice-page.font-size-xlarge .practice-explanation,
body.practice-page.font-size-xlarge .practice-explanation strong { font-size: 36px; }
body.practice-page.font-size-xlarge .practice-nav .button { font-size: 36px; }
body.practice-page.font-size-xlarge .practice-score h3 { font-size: 44px; }
body.practice-page.font-size-xlarge .practice-score p { font-size: 32px; }

@media (max-width: 720px) {
  body.practice-page.font-size-large .practice-heading h1 { font-size: 35px; }
  body.practice-page.font-size-large .practice-progress-number { font-size: 26px; }
  body.practice-page.font-size-large .practice-progress-line {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  body.practice-page.font-size-large .practice-question-top h2 { font-size: 30px; }
  body.practice-page.font-size-large .practice-question-top .question-number { font-size: 24px; }
  body.practice-page.font-size-large .practice-option { font-size: 27px; }
  body.practice-page.font-size-large .practice-option .option-letter {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }
  body.practice-page.font-size-large .practice-explanation,
  body.practice-page.font-size-large .practice-explanation strong { font-size: 26px; }
  body.practice-page.font-size-large .practice-nav .button { font-size: 26px; }

  body.practice-page.font-size-xlarge .practice-heading h1 { font-size: 46px; }
  body.practice-page.font-size-xlarge .practice-progress-number { font-size: 34px; }
  body.practice-page.font-size-xlarge .practice-progress-line {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }
  body.practice-page.font-size-xlarge .practice-question-top h2 { font-size: 40px; }
  body.practice-page.font-size-xlarge .practice-question-top .question-number { font-size: 32px; }
  body.practice-page.font-size-xlarge .practice-option { font-size: 36px; }
  body.practice-page.font-size-xlarge .practice-option .option-letter {
    width: 56px;
    height: 56px;
    font-size: 30px;
  }
  body.practice-page.font-size-xlarge .practice-explanation,
  body.practice-page.font-size-xlarge .practice-explanation strong { font-size: 34px; }
  body.practice-page.font-size-xlarge .practice-nav .button { font-size: 34px; }
}
