/* 따자 웹 — Modernist 디자인 토큰과 컴포넌트. 따자.dc.html 시안과 같은 값이다. */

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-900: #2d2b2b;
  --color-accent-100: #fff2ef;
  --color-accent-600: #dd2b0f;
  --color-accent-800: #7c1405;
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
  --font: 'Archivo', 'Noto Sans KR', system-ui, sans-serif;
}

:root[data-theme='dark'] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { color-scheme: dark; }
  :root:not([data-theme='light']) {
    --color-bg: #161413; --color-surface: #201e1d; --color-text: #f3f2f2;
    --color-divider: color-mix(in srgb, #f3f2f2 35%, transparent);
    --color-neutral-200: #2d2b2b; --color-neutral-300: #444141; --color-neutral-600: #bab6b6;
    --color-neutral-700: #d7d3d3; --color-neutral-900: #0c0b0b;
    --color-accent-100: #4d170e; --color-accent-800: #ffc4b8;
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme='dark'] {
  --color-bg: #161413; --color-surface: #201e1d; --color-text: #f3f2f2;
  --color-divider: color-mix(in srgb, #f3f2f2 35%, transparent);
  --color-neutral-200: #2d2b2b; --color-neutral-300: #444141; --color-neutral-600: #bab6b6;
  --color-neutral-700: #d7d3d3; --color-neutral-900: #0c0b0b;
  --color-accent-100: #4d170e; --color-accent-800: #ffc4b8;
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  background: var(--color-bg); color: var(--color-text);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 8px; }
h1 { font-size: 28px; } h2 { font-size: 20px; } h3 { font-size: 18px; }
p { margin: 0 0 12px; }
button { font-family: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px;
  cursor: pointer; text-decoration: none; font-weight: 800; font-size: 14px; line-height: 1.2;
  background: transparent; border: 1px solid transparent; padding: 12px 16px; border-radius: 0;
  min-height: 44px; text-align: left;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: #f3f2f2; }
.btn-primary:hover:not(:disabled) { background: var(--color-accent-600); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover:not(:disabled) { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-ghost { color: var(--color-accent); padding: 6px 4px; min-height: 0; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-sm { padding: 6px 10px; min-height: 0; }

/* ── 입력 ── */
.input {
  width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 15px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.field > label, .field > .label { display: block; font-size: 12px; margin-bottom: 5px; color: var(--color-neutral-700); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--color-divider); }
.seg button {
  padding: 9px 14px; font-size: 13px; border: 0; background: transparent; cursor: pointer; min-height: 40px;
}
.seg button + button { border-left: 1px solid var(--color-divider); }
.seg button[aria-pressed='true'] { background: var(--color-accent); color: #f3f2f2; }
.seg button:not([aria-pressed='true']):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }

.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-fill { background: var(--color-accent); color: #f3f2f2; }
.tag-ink { background: var(--color-text); color: var(--color-bg); }
.tag-outline { border: 1px solid var(--color-divider); }

.kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.kicker.muted { color: var(--color-neutral-600); }
.muted { color: var(--color-neutral-600); }
.small { font-size: 12px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── 쉘 / 레이아웃 ── */
#app { display: flex; min-height: 100vh; }
.sidebar {
  width: 232px; flex: none; border-right: 2px solid var(--color-divider);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: var(--color-bg);
}
.sidebar .brand { padding: 20px 20px 16px; border-bottom: 2px solid var(--color-divider); }
.sidebar .brand b { display: block; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.sidebar .cert { padding: 16px 20px; border-bottom: 1px solid var(--color-divider); }
.sidebar nav { display: flex; flex-direction: column; padding: 8px 0; }
.sidebar nav button, .navbtn {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border: 0; background: transparent;
  font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; border-left: 3px solid transparent;
}
.sidebar nav button:hover { background: var(--color-neutral-200); }
.sidebar nav button[aria-current='page'] { color: var(--color-accent); border-left-color: var(--color-accent); }
.sidebar .foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--color-divider); font-size: 11px; color: var(--color-neutral-600); }

main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.page { max-width: 1040px; width: 100%; margin: 0 auto; padding: 28px 24px 48px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--color-divider); padding-bottom: 16px; }
.page-head h1 { margin: 4px 0 0; }
.page-head .lead { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 36px; border-bottom: 1px solid var(--color-divider); padding-bottom: 8px; }
.sec-head h2 { margin: 0; }

.tabs { display: none; }
@media (min-width: 900px) { .narrow-only { display: none; } }
@media (max-width: 899px) {
  .wide-only-btn { display: none; }
  .sidebar { display: none; }
  .tabs {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
    border-top: 2px solid var(--color-divider); background: var(--color-bg);
  }
  .tabs button {
    min-height: 56px; border: 0; border-top: 3px solid transparent; background: transparent; font-size: 12px; font-weight: 700;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 16px; gap: 2px; cursor: pointer;
  }
  .tabs button[aria-current='page'] { color: var(--color-accent); border-top-color: var(--color-accent); }
  .tabs small { font-size: 10px; font-weight: 400; color: var(--color-neutral-600); }
  main { padding-bottom: 56px; }
  main.in-exam { padding-bottom: 0; }
  .page { padding: 20px 20px 40px; }
}

/* ── 그리드 모듈 ── */
.modules { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--color-divider); }
.module { padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 12px; min-height: 200px; text-align: left; }
.module + .module { padding: 24px 0 24px 24px; border-left: 2px solid var(--color-divider); }
.module .big { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; line-height: 1.1; }
button.module { border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }
button.module:hover { background: var(--color-neutral-200); }
@media (max-width: 899px) {
  .modules { grid-template-columns: 1fr; }
  .module { min-height: 0; padding-right: 0; }
  .module + .module { padding-left: 0; border-left: 0; border-top: 2px solid var(--color-divider); }
}

.ruled { border-bottom: 1px solid var(--color-divider); }
.row {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--color-divider);
  background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.row:hover { background: var(--color-neutral-200); }
.row .grow { flex: 1; min-width: 0; }
.row b { font-weight: 800; }

.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.subject {
  display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 18px 16px 16px;
  border: 0; border-bottom: 1px solid var(--color-divider); border-right: 1px solid var(--color-divider);
  background: transparent; font: inherit; color: inherit; cursor: pointer;
}
.subject:hover { background: var(--color-neutral-200); }
.subject .top { display: flex; align-items: baseline; gap: 10px; }
.subject .name { font-weight: 800; font-size: 17px; flex: 1; }
.bar { height: 4px; background: var(--color-neutral-300); }
.bar > i { display: block; height: 4px; background: var(--color-text); transition: width 0.6s ease; }
.bar.accent > i { background: var(--color-accent); }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cert-btn {
  display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 20px 16px 18px; min-height: 112px; position: relative;
  border: 0; border-bottom: 1px solid var(--color-divider); border-right: 1px solid var(--color-divider);
  background: transparent; font: inherit; color: inherit; cursor: pointer; text-decoration: none;
}
.cert-btn:hover { background: var(--color-neutral-200); }
.cert-btn.on { background: var(--color-accent); color: #f3f2f2; }
.cert-btn .nm { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.cert-btn .mark { position: absolute; right: 16px; top: 18px; font-size: 12px; font-weight: 600; }

/* ── 시험 화면 ── */
.exam { display: flex; flex-direction: column; min-height: 100vh; flex: 1; }
.exam-head {
  display: flex; align-items: center; gap: 16px; padding: 12px 24px; border-bottom: 2px solid var(--color-divider);
  position: sticky; top: 0; background: var(--color-bg); z-index: 2;
}
.exam-head .ttl { flex: 1; min-width: 0; }
.exam-head .ttl b { display: block; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timer { text-align: right; }
.timer b { display: block; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.timer b.low { color: var(--color-accent); }
.exam-progress { height: 4px; background: var(--color-neutral-300); }
.exam-progress > i { display: block; height: 4px; background: var(--color-accent); transition: width 0.3s ease; }
.exam-body { flex: 1; display: grid; grid-template-columns: 1fr; max-width: 1200px; width: 100%; margin: 0 auto; }
.exam-body.with-sheet { grid-template-columns: 1fr 280px; }
.q-area { padding: 28px 24px 120px; min-width: 0; }
.q-no { display: flex; align-items: baseline; gap: 12px; }
.q-no b { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.q-text { font-size: 20px; line-height: 1.4; margin: 16px 0 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: pretty; white-space: pre-line; }
.q-media { margin: 20px 0 0; max-width: 560px; }
.q-media img, .q-media video { width: 100%; border: 1px solid var(--color-divider); background: var(--color-surface); }
.q-media figcaption { font-size: 11px; margin-top: 4px; color: var(--color-neutral-600); }
.options { display: flex; flex-direction: column; margin-top: 28px; border-top: 2px solid var(--color-divider); }
.opt {
  display: flex; align-items: flex-start; gap: 16px; padding: 14px 12px; min-height: 56px; width: 100%;
  border: 0; border-bottom: 1px solid var(--color-divider); background: transparent; text-align: left;
  font: inherit; font-size: 17px; line-height: 1.4; cursor: pointer; color: inherit;
}
.opt:hover:not(:disabled) { background: var(--color-neutral-200); }
.opt:disabled { cursor: default; }
.opt .n {
  flex: none; width: 28px; height: 28px; border: 2px solid var(--color-divider); display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
}
.opt .t { flex: 1; padding-top: 2px; }
.opt .tg { flex: none; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding-top: 6px; }
.opt.sel .n { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.opt.ok { background: var(--color-accent-100); }
.opt.ok .n { background: var(--color-accent); border-color: var(--color-accent); color: #f3f2f2; }
.opt.ok .tg { color: var(--color-accent); }
.opt.no { background: var(--color-neutral-200); }
.opt.no .n { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.opt.compact { font-size: 14px; padding: 9px 8px; min-height: 0; cursor: default; }
.opt.compact .n { width: 22px; height: 22px; font-size: 11px; }
.explain { margin-top: 20px; padding: 16px 16px 14px; background: var(--color-surface); border-left: 3px solid var(--color-accent); animation: rise 0.3s ease both; }
.explain p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.explain img { margin-top: 12px; max-width: 480px; width: 100%; }
.nav-row { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.nav-row .push { margin-left: auto; }
.sheet { border-left: 2px solid var(--color-divider); padding: 24px 20px; position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 76px); overflow: auto; }
.sheet-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; }
.sheet-grid button {
  height: 34px; border: 1px solid var(--color-divider); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.sheet-grid button:hover { border-color: var(--color-text); }
.sheet-grid button.done { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.sheet-grid button.cur { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.exam-bar { display: none; }
@media (max-width: 899px) {
  .exam-body.with-sheet { grid-template-columns: 1fr; }
  .sheet { display: none; }
  .exam-head { padding: 10px 16px; }
  .q-area { padding: 20px 16px 110px; }
  .q-text { font-size: 18px; }
  .nav-row.wide-only { display: none; }
  .exam-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    border-top: 2px solid var(--color-divider); background: var(--color-bg); z-index: 3;
  }
  .exam-bar .btn { min-height: 56px; border: 0; padding-left: 20px; }
  .exam-bar .btn + .btn { border-left: 1px solid var(--color-divider); }
}

/* ── 결과 ── */
.result-grid { display: grid; grid-template-columns: 1.2fr 1fr; border-bottom: 2px solid var(--color-divider); }
.result-main { padding: 8px 24px 28px 0; position: relative; }
.result-side { padding: 8px 0 28px 24px; border-left: 2px solid var(--color-divider); display: flex; flex-direction: column; }
.score { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.score b { font-weight: 800; font-size: 96px; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.score span { font-size: 24px; font-weight: 800; color: var(--color-neutral-600); }
.stamp {
  position: absolute; right: 28px; top: 28px; border: 4px solid var(--color-accent); color: var(--color-accent); font-weight: 800;
  font-size: 28px; padding: 4px 14px; transform: rotate(-8deg); letter-spacing: 0.04em; animation: stamp 0.5s ease both 0.2s;
}
.stamp.fail { border-color: var(--color-text); color: var(--color-text); }
.sub-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.sub-row .bar { grid-column: 1 / -1; }
.cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 4px; margin-top: 12px; }
.cell {
  height: 52px; border: 1px solid var(--color-text); background: transparent; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; padding: 6px; cursor: pointer; font-size: 11px; font-variant-numeric: tabular-nums;
}
.cell:hover { outline: 2px solid var(--color-text); outline-offset: -2px; }
.cell.wrong { background: var(--color-accent); border-color: var(--color-accent); color: #f3f2f2; }
.cell.blank { border-color: var(--color-divider); border-style: dashed; color: var(--color-neutral-600); }
.cell span:last-child { font-weight: 800; }
@media (max-width: 899px) {
  .result-grid { grid-template-columns: 1fr; }
  .result-main { padding-right: 0; }
  .result-side { padding-left: 0; border-left: 0; border-top: 2px solid var(--color-divider); }
  .score b { font-size: 76px; }
  .stamp { right: 0; font-size: 22px; }
}

/* ── 오답노트 ── */
.notes { display: grid; grid-template-columns: 1fr 1fr; }
.note { padding: 20px 20px 16px 0; border-bottom: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.note:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--color-divider); }
.note.checked { opacity: 0.55; }
.note .meta { display: flex; gap: 10px; align-items: baseline; font-size: 11px; letter-spacing: 0.08em; color: var(--color-neutral-600); }
.note .meta .s { color: var(--color-accent); font-weight: 600; }
.note .meta .d { margin-left: auto; }
.note .q { font-weight: 600; font-size: 16px; line-height: 1.4; text-wrap: pretty; white-space: pre-line; }
.note .opts { border-top: 1px solid var(--color-divider); }
.note .why { margin: 0; font-size: 13px; line-height: 1.6; color: var(--color-neutral-700); white-space: pre-line; }
.note img { max-width: 100%; border: 1px solid var(--color-divider); }
.note .foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
@media (max-width: 899px) {
  .notes { grid-template-columns: 1fr; }
  .note:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ── 같이 따기 ── */
.code-big { font-weight: 800; font-size: clamp(40px, 7vw, 72px); letter-spacing: 0.14em; line-height: 1; margin-top: 12px; overflow-wrap: anywhere; }
.people { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-divider); animation: rise 0.3s ease both; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--color-text); color: var(--color-bg); }
.avatar.me { background: var(--color-accent); color: #f3f2f2; }
.blink { display: inline-block; width: 8px; height: 8px; background: var(--color-accent); animation: blink 1.4s infinite; }
.rank-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--color-divider); animation: rise 0.4s ease both; }
.rank-row.me { background: var(--color-accent-100); }
.rank-row .bar { grid-column: 2 / -1; }
.rank-row .no { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
.two-cols > div { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.two-cols > div + div { padding: 24px 0 24px 24px; border-left: 2px solid var(--color-divider); }
.code-input { font-size: 24px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; min-height: 52px; max-width: 280px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 899px) {
  .two-cols { grid-template-columns: 1fr; }
  .two-cols > div, .two-cols > div + div { padding: 24px 0; border-left: 0; }
  .two-cols > div + div { border-top: 2px solid var(--color-divider); }
}

/* ── 대화상자 / 토스트 ── */
.dialog-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent); }
.dialog { width: min(440px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 20px; background: var(--color-surface); box-shadow: var(--shadow-lg); border-top: 4px solid var(--color-accent); max-height: 90vh; overflow: auto; }
.dialog-title { font-weight: 800; font-size: 20px; }
.dialog-body { font-size: 14px; opacity: 0.9; white-space: pre-line; }
.dialog-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
#toast {
  position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 20;
  background: var(--color-text); color: var(--color-bg); padding: 10px 16px; font-size: 14px; transition: all 0.2s; max-width: 90vw; text-align: center; white-space: pre-line;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 64px 0; text-align: center; color: var(--color-neutral-600); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--color-neutral-300); border-top-color: var(--color-accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
.err { padding: 24px; border-left: 3px solid var(--color-accent); background: var(--color-surface); }

@keyframes stamp { 0% { transform: scale(2.4) rotate(-14deg); opacity: 0; } 60% { transform: scale(0.92) rotate(-8deg); opacity: 1; } 100% { transform: scale(1) rotate(-8deg); opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
