:root {
  color-scheme: light;
  color: #15233b;
  background: #f5f7fb;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #15233b;
  --muted: #6c778b;
  --line: #dfe4ed;
  --surface: #ffffff;
  --blue: #1667d9;
  --blue-dark: #0f4ca7;
  --blue-soft: #eaf2ff;
  --green: #18855d;
  --green-soft: #e7f7f0;
  --red: #ce4545;
  --red-soft: #fff0f0;
  --orange: #f1a23a;
  --shadow: 0 18px 50px rgba(25, 48, 88, 0.09);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  color: #edf3ff;
  background: #0b1220;
  --ink: #edf3ff;
  --muted: #aab5c8;
  --line: #344158;
  --surface: #172236;
  --blue: #5a9cf2;
  --blue-dark: #c7ddff;
  --blue-soft: #213756;
  --green: #58c99a;
  --green-soft: #153b31;
  --red: #ff8585;
  --red-soft: #44272d;
  --orange: #ffc66e;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% -10%, rgba(69, 139, 235, 0.16), transparent 34rem),
    #f5f7fb;
}

button {
  font: inherit;
}

button:focus-visible {
  outline: 3px solid rgba(22, 103, 217, 0.3);
  outline-offset: 3px;
}

.app {
  min-height: 100dvh;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  border-bottom: 1px solid rgba(217, 224, 235, 0.86);
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(22, 103, 217, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  left: 7px;
  width: 17px;
  height: 6px;
  border-radius: 2px;
  background: #fff;
  content: "";
  transform: skewX(-24deg);
}

.brand-mark::before { top: 8px; }
.brand-mark::after { top: 17px; opacity: 0.72; }

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.test-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 22px 16px calc(126px + env(safe-area-inset-bottom));
}

.progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 24px;
}

.progress-copy {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-copy strong {
  color: var(--ink);
}

.points-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #d8e5fb;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.progress-track {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e7ef;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1667d9, #41a3eb);
  transition: width 280ms ease;
}

.question-card {
  padding: 20px;
  border: 1px solid rgba(219, 225, 234, 0.96);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.question-meta > div {
  display: grid;
  gap: 3px;
}

.category {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.question-code {
  color: #929baa;
  font-size: 0.7rem;
  font-weight: 600;
}

.difficulty-button {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 10px;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: #f6f8fb;
  color: #6c778b;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.difficulty-button span {
  color: #bd7a16;
  font-size: 1.05rem;
  line-height: 1;
}

.difficulty-button.is-active {
  border-color: #efc16f;
  background: #fff5df;
  color: #7d571b;
}

.question-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 5.2vw, 1.78rem);
  font-weight: 750;
  line-height: 1.34;
  letter-spacing: -0.033em;
}

.question-visual {
  display: grid;
  min-height: 186px;
  margin-top: 20px;
  padding: 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  background: linear-gradient(145deg, #f9fafc, #eef3f9);
}

.question-visual svg {
  display: block;
  width: min(100%, 360px);
  max-height: 230px;
}

.question-visual img,
.question-visual video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
}

.question-visual--video {
  padding: 10px;
  background: #0e1728;
}

.road-scene {
  position: relative;
  width: 100%;
  height: 178px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(#a9daf7 0 54%, #afcf83 54% 100%);
}

.road-scene::before {
  position: absolute;
  right: -28px;
  bottom: -40px;
  left: -28px;
  height: 126px;
  background: #69727d;
  content: "";
  transform: perspective(140px) rotateX(19deg);
}

.road-scene::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 92px;
  background: repeating-linear-gradient(to bottom, #fff 0 23px, transparent 23px 40px);
  content: "";
  transform: translateX(-50%) perspective(120px) rotateX(17deg);
}

.road-sign {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 27px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 7px solid #d63434;
  border-radius: 50%;
  background: #fff;
  color: #1d2939;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(0,0,0,0.08);
}

.road-sign::after {
  position: absolute;
  top: 64px;
  width: 6px;
  height: 78px;
  background: #65717b;
  content: "";
}

.answers {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.answers legend {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.answer {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 12px 14px 12px 12px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.answer:hover {
  border-color: #b7c6dd;
  transform: translateY(-1px);
}

.answer-letter {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: #f0f3f8;
  color: #425069;
  font-size: 0.9rem;
  font-weight: 800;
}

.answer-text {
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.48;
}

.answer-indicator {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #c6cfdd;
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
  font-weight: 800;
}

.answer.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 103, 217, 0.1);
}

.answer.is-selected .answer-letter {
  background: var(--blue);
  color: #fff;
}

.answer.is-selected .answer-indicator {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.answer.is-correct {
  border-color: var(--green);
  background: var(--green-soft);
}

.answer.is-correct .answer-letter,
.answer.is-correct .answer-indicator {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.answer.is-wrong {
  border-color: var(--red);
  background: var(--red-soft);
}

.answer.is-wrong .answer-letter,
.answer.is-wrong .answer-indicator {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.feedback {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--green-soft);
  color: #185e48;
}

.feedback.is-wrong {
  background: #fff5e7;
  color: #76521e;
}

.feedback-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,0.72);
  font-weight: 800;
}

.feedback strong,
.feedback p { margin: 0; }
.feedback strong { font-size: 0.88rem; }
.feedback p { margin-top: 3px; font-size: 0.78rem; line-height: 1.5; }

.action-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217, 224, 235, 0.96);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.action-inner {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  width: min(100%, 728px);
  margin: 0 auto;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(22, 103, 217, 0.25);
}

.primary-button:disabled {
  background: #c8d0dd;
  box-shadow: none;
  cursor: not-allowed;
}

.secondary-button {
  display: grid;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.secondary-button svg,
.primary-button svg {
  width: 20px;
  height: 20px;
}

.result-shell {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 26px 16px 48px;
}

.result-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.result-hero {
  padding: 32px 24px 26px;
  background:
    radial-gradient(circle at 80% 0, rgba(255,255,255,0.2), transparent 11rem),
    linear-gradient(145deg, #165fc8, #0e469b);
  color: #fff;
  text-align: center;
}

.result-ring {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  place-items: center;
  border: 9px solid rgba(255,255,255,0.22);
  border-top-color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 800;
}

.result-hero h1 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.result-hero p {
  max-width: 420px;
  margin: 8px auto 0;
  color: rgba(255,255,255,0.77);
  font-size: 0.9rem;
  line-height: 1.5;
}

.result-body { padding: 22px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat {
  padding: 14px 8px;
  border-radius: 15px;
  background: #f3f6fa;
  text-align: center;
}

.stat strong { display: block; font-size: 1.16rem; }
.stat span { color: var(--muted); font-size: 0.68rem; font-weight: 700; }

.review-title {
  margin: 24px 0 10px;
  font-size: 0.92rem;
}

.review-list { display: grid; gap: 8px; }

.review-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.review-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #f0f3f8;
  font-size: 0.78rem;
  font-weight: 800;
}

.review-copy { font-size: 0.75rem; font-weight: 650; line-height: 1.35; }
.review-status { font-size: 1rem; font-weight: 800; }
.review-status.ok { color: var(--green); }
.review-status.bad { color: var(--red); }

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.result-actions .secondary-button { padding: 0 14px; }

.toast {
  position: fixed;
  z-index: 50;
  top: calc(78px + env(safe-area-inset-top));
  left: 50%;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1d2939;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateX(-50%);
  animation: toast-in 180ms ease-out;
}

.loading-shell {
  display: grid;
  width: min(100% - 32px, 520px);
  min-height: calc(100dvh - 68px);
  margin: 0 auto;
  padding: 40px 20px;
  place-content: center;
  justify-items: center;
  color: var(--ink);
  text-align: center;
}

.loading-shell strong {
  margin-top: 16px;
  font-size: 1.2rem;
}

.loading-shell p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #dbe5f5;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.retry-button {
  margin-top: 18px;
  padding: 0 22px;
}

.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 80px;
  background: rgba(14, 24, 41, 0.52);
  backdrop-filter: blur(4px);
}

.test-menu {
  width: min(100%, 560px);
  max-height: calc(100dvh - 72px);
  overflow: auto;
  padding: 10px 20px max(24px, env(safe-area-inset-bottom));
  border-radius: 25px 25px 0 0;
  background: #fff;
  box-shadow: 0 -24px 70px rgba(15, 35, 70, 0.24);
}

.menu-handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #d5dbe5;
}

.menu-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.menu-heading span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.menu-heading h2 {
  margin: 2px 0 0;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.menu-close {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7f8fb;
  color: var(--ink);
  font-size: 1.45rem;
  cursor: pointer;
}

.menu-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.menu-stats div {
  padding: 13px 6px;
  border-radius: 14px;
  background: #f3f6fa;
  text-align: center;
}

.menu-stats strong,
.menu-stats span {
  display: block;
}

.theme-setting {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.theme-setting > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.theme-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 15px;
  background: #eef2f7;
}

.theme-picker button {
  min-height: 39px;
  padding: 6px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.theme-picker button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 15px rgba(29, 46, 77, 0.1);
}

.menu-stats strong {
  font-size: 1.16rem;
}

.menu-stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.jump-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.jump-field div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.jump-field input {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: inherit;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.jump-field button {
  margin: 5px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.menu-action {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.menu-action:disabled {
  color: #a6aebb;
  background: #f3f5f8;
  cursor: not-allowed;
}

.menu-action--primary {
  border-color: #cbdcf7;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.practice-note {
  margin: 7px 4px 0;
  color: #778398;
  font-size: 0.66rem;
  line-height: 1.45;
  text-align: center;
}

.menu-action--danger {
  color: var(--red);
}

.backup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.file-action {
  display: grid;
  place-items: center;
  text-align: center;
}

.file-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.storage-note {
  margin: 14px 3px 0;
  padding: 11px;
  border-radius: 12px;
  background: #f3f6fa;
  color: #697589;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.menu-source {
  margin: 17px 0 0;
  color: #98a0ae;
  font-size: 0.65rem;
  line-height: 1.45;
  text-align: center;
}

.menu-source strong {
  color: #657085;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 100% -10%, rgba(61, 122, 205, 0.2), transparent 34rem),
    #0b1220;
}

:root[data-theme="dark"] .topbar {
  border-bottom-color: rgba(52, 65, 88, 0.9);
  background: rgba(11, 18, 32, 0.92);
}

:root[data-theme="dark"] .icon-button,
:root[data-theme="dark"] .answer,
:root[data-theme="dark"] .secondary-button,
:root[data-theme="dark"] .result-card,
:root[data-theme="dark"] .review-item,
:root[data-theme="dark"] .test-menu,
:root[data-theme="dark"] .jump-field div,
:root[data-theme="dark"] .jump-field input,
:root[data-theme="dark"] .menu-action {
  background: var(--surface);
  color: var(--ink);
}

:root[data-theme="dark"] .points-pill {
  border-color: #34577f;
}

:root[data-theme="dark"] .progress-track {
  background: #27344a;
}

:root[data-theme="dark"] .question-card {
  border-color: #2f3c53;
}

:root[data-theme="dark"] .question-code,
:root[data-theme="dark"] .menu-source {
  color: #8995a9;
}

:root[data-theme="dark"] .difficulty-button {
  border-color: var(--line);
  background: #202c41;
  color: var(--muted);
}

:root[data-theme="dark"] .difficulty-button.is-active {
  border-color: #80652e;
  background: #3a311f;
  color: #f5d18e;
}

:root[data-theme="dark"] .question-visual {
  border-color: #344158;
  background: linear-gradient(145deg, #202c40, #111a2a);
}

:root[data-theme="dark"] .answer:hover {
  border-color: #5a6d8a;
}

:root[data-theme="dark"] .answer-letter,
:root[data-theme="dark"] .review-number {
  background: #253248;
  color: #c5d0e3;
}

:root[data-theme="dark"] .feedback {
  color: #a6e9d0;
}

:root[data-theme="dark"] .feedback.is-wrong {
  background: #49351e;
  color: #f3cf98;
}

:root[data-theme="dark"] .feedback-icon {
  background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .action-bar {
  border-top-color: var(--line);
  background: rgba(16, 25, 40, 0.94);
}

:root[data-theme="dark"] .primary-button:disabled {
  background: #39465a;
  color: #8e99ab;
}

:root[data-theme="dark"] .stat,
:root[data-theme="dark"] .menu-stats div,
:root[data-theme="dark"] .storage-note {
  background: #202c41;
}

:root[data-theme="dark"] .menu-close {
  background: #202c41;
  color: var(--ink);
}

:root[data-theme="dark"] .menu-handle {
  background: #46536a;
}

:root[data-theme="dark"] .theme-picker {
  background: #111a2a;
}

:root[data-theme="dark"] .theme-picker button.is-active {
  background: #2a3850;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .menu-action:disabled {
  background: #202a3a;
  color: #6f7b8e;
}

:root[data-theme="dark"] .menu-action--primary {
  border-color: #385b87;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

:root[data-theme="dark"] .practice-note,
:root[data-theme="dark"] .storage-note {
  color: #a5b0c2;
}

:root[data-theme="dark"] .menu-source strong {
  color: #aab5c8;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, -8px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 700px) {
  .topbar { padding-right: 28px; padding-left: 28px; }
  .test-shell { padding-top: 32px; }
  .question-card { padding: 28px; border-radius: 28px; }
  .answers { grid-template-columns: 1fr 1fr; }
  .answers legend { grid-column: 1 / -1; }
  .answer:last-child:nth-child(even) { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .question-card { padding: 17px; border-radius: 20px; }
  .answer { grid-template-columns: 42px 1fr 20px; gap: 10px; }
  .answer-letter { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
