:root {
  --bg: #12100e;
  --bg-2: #1b1714;
  --bg-3: #26211c;
  --line: rgba(232, 214, 186, 0.14);
  --brass: #d4b483;
  --brass-dim: rgba(212, 180, 131, 0.55);
  --seal: #8f2d36;
  --seal-2: #c4564a;
  --paper: #f6f1e7;
  --paper-2: #efe4d2;
  --ink: #1e1914;
  --ink-soft: #5e564c;
  --teal: #0f6e68;
  --ok: #1f6b45;
  --bad: #8f2d36;
  --notebook: #f3eadb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --serif: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  --display: "Cormorant Garamond", Palatino, Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body, #app { height: 100%; }
.start, .verdict { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #e7c9a4; color: #1e1914; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.case-no {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brass);
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--seal-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.fine, .fine-folder { color: var(--ink-soft); font-size: 13px; }
.btn-main, .btn-seal, .btn-ghost, .btn-line {
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
}
.btn-main { background: var(--brass); color: #1a140f; font-weight: 700; }
.btn-seal { background: var(--seal); color: #fff8f4; font-weight: 700; }
.btn-ghost, .btn-line { background: transparent; border-color: var(--line); color: var(--paper); }
.btn-line { border-color: rgba(143, 45, 54, 0.35); color: var(--ink); background: transparent; }
.btn-ghost.tiny { padding: 8px 12px; font-size: 13px; }
.btn-back {
  display: inline-flex; flex: none; align-items: center;
  border-radius: 999px; padding: 8px 12px; border: 1px solid var(--line);
  background: transparent; color: var(--paper); font-size: 13px; font-weight: 700;
}
.full { width: 100%; }
.finish-pair { display: flex; gap: 6px; align-items: center; }
.notebook .btn-ghost.full { color: var(--ink); border-color: rgba(143, 45, 54, 0.35); }
.letter-note { border-style: solid; }

.start {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}
.start-brand {
  padding: 64px 56px;
  background:
    radial-gradient(circle at 20% 20%, rgba(143, 45, 54, 0.28), transparent 32%),
    linear-gradient(160deg, #1a1411, #0d0b0a 70%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.start-brand h1, .verdict h1, .folder-cover h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.88;
  margin: 18px 0 8px;
}
.start-en { margin: 0; color: var(--brass-dim); letter-spacing: 0.08em; }
.start-lead { max-width: 360px; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.wax, .mini-wax {
  width: 92px;
  height: 92px;
  border: 2px solid var(--seal-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--brass);
  margin: 28px 0 8px;
  box-shadow: inset 0 0 0 5px rgba(143, 45, 54, 0.45);
}
.wax span { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.wax strong { font-family: var(--display); font-size: 28px; line-height: 1; }
.mini-wax {
  width: 42px; height: 42px; margin: 0;
  font-family: var(--display); font-size: 16px; box-shadow: inset 0 0 0 3px rgba(143, 45, 54, 0.45);
}
.start-panel {
  margin: 0;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.start-panel h2 { font-family: var(--display); font-size: 48px; line-height: 0.95; margin: 0; font-weight: 600; }
.start-copy { margin: 0; max-width: 62ch; color: rgba(246, 241, 231, 0.84); }
fieldset { border: 0; margin: 8px 0; padding: 0; }
legend { padding: 0; margin-bottom: 8px; color: var(--brass-dim); font-size: 13px; }
.mode-switch, .levels { display: grid; gap: 8px; }
.mode-switch { grid-template-columns: 1fr 1fr; }
.mode-option, .level-card {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,0.02);
}
.level-card span, .mode-option { display: flex; flex-direction: column; }
.level-card small { color: var(--brass-dim); }
.level-card:has(input:checked), .mode-option:has(input:checked) {
  border-color: var(--brass); background: rgba(212, 180, 131, 0.08);
}
.field { font-size: 13px; color: var(--brass); }
#student-name, #group-select, .member-list input, .modal input, .modal select, .modal textarea, .search-form input, .fake-form input {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #0e0c0b; color: var(--paper); padding: 12px 14px;
}
.form-error { color: #ffb4a8; margin: 0; }
.start-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; align-items: center; }
.answer-link { font-weight: 700; color: inherit; }
.lesson-list { display: grid; gap: 10px; }
.lesson-card {
  display: grid; gap: 8px; text-align: left; color: var(--paper);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.lesson-card strong { font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 600; }
.lesson-card span { color: rgba(246,241,231,.78); }
.lesson-card em { color: var(--brass); font-style: normal; font-size: 13px; }
#members { display: grid; gap: 14px; }
#members[hidden] { display: none; }
.member-list { display: grid; gap: 10px; }
.member-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.member-add { margin-top: 8px; justify-self: start; }
.member-remove { padding: 10px 14px; white-space: nowrap; }

.app-shell { height: 100vh; height: 100dvh; display: grid; grid-template-rows: 64px 1fr; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(18, 16, 14, 0.92);
}
.brand-lockup, .top-meta, .top-actions { display: flex; align-items: center; gap: 10px; }
.brand-lockup strong { font-family: var(--display); font-size: 22px; font-weight: 600; }
.top-meta { color: var(--brass-dim); font-size: 13px; }
.review-pill { border: 1px solid var(--ok); color: #b7e2c8; border-radius: 999px; padding: 2px 8px; }
.workspace { min-height: 0; display: grid; grid-template-columns: 272px minmax(0, 1fr) 340px; }
.nav, .stage, .notebook { min-height: 0; overflow: auto; }
.nav { background: #161310; border-right: 1px solid var(--line); padding: 18px 14px 28px; }
.nav-head { margin-bottom: 16px; }
.nav-label { margin: 16px 8px 6px; color: var(--brass-dim); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-note { margin: 0 8px; color: rgba(246,241,231,0.55); font-size: 13px; }
.nav-btn {
  width: 100%; text-align: left; background: transparent; border: 0; color: rgba(246,241,231,0.86);
  padding: 8px 10px; border-radius: 10px; display: flex; justify-content: space-between;
}
.nav-btn.seen span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--brass-dim); }
.nav-btn.active { background: rgba(212, 180, 131, 0.12); color: white; }
.stage { background:
  linear-gradient(180deg, rgba(255,255,255,0.02), transparent 90px),
  #1a1613; }
.icon-btn { display: none; }

.notebook {
  background: var(--notebook); color: var(--ink);
  border-left: 10px solid var(--seal);
  display: flex; flex-direction: column;
}
.nb-head, .role-list, .nb-actions { padding-left: 16px; padding-right: 16px; }
.nb-head { padding-top: 16px; }
.notebook h2, .notebook h3 { font-family: var(--display); font-weight: 600; margin: 0; }
.notebook h2 { font-size: 28px; line-height: 1; }
.notebook h2 span { color: var(--seal); white-space: nowrap; }
.notebook h3 { font-size: 22px; margin: 16px 0 8px; display: flex; justify-content: space-between; }
.nb-hint { color: var(--ink-soft); font-size: 13px; }
.role-list { list-style: none; padding: 0 16px 8px; margin: 8px 0; display: grid; gap: 6px; font-size: 13px; }
.role-list li { color: #8a8176; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.role-list em { font-style: normal; white-space: nowrap; }
.role-list .is-found { color: var(--ok); font-weight: 700; }
.nb-scroll { padding: 0 16px 12px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-list li, .conclusion {
  background: rgba(255,255,255,0.46); border-radius: 12px; padding: 10px 12px;
}
.ev-list blockquote, .conclusion p { margin: 0 0 6px; font-family: var(--serif); }
.ev-list p, .source-line { margin: 0; color: var(--ink-soft); font-size: 12px; font-family: var(--sans); }
.ev-list button, .conclusion button {
  border: 0; background: transparent; color: var(--seal); padding: 0; font-size: 12px;
}
.ev-list .is-trap { outline: 1px dashed var(--seal); }
.empty, .empty-note { color: var(--ink-soft); font-size: 13px; }
.conclusion { margin-bottom: 8px; }
.conclusion header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.conclusion h3 { margin: 0 0 4px; font-size: 18px; }
.status-line { color: var(--seal); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.nb-actions { margin-top: auto; display: grid; gap: 8px; padding-bottom: 16px; background: linear-gradient(transparent, var(--notebook) 12px); position: sticky; bottom: 0; }

.review-banner {
  position: sticky; top: 0; z-index: 4;
  background: #1f6b45; color: white; padding: 10px 16px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.review-banner button { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 4px 10px; }
body[data-review="1"] .ev:not(.trap) { background: rgba(31, 107, 69, 0.16); box-shadow: inset 0 -2px 0 var(--ok); }
body[data-review="1"] .trap { background: rgba(143, 45, 54, 0.12); box-shadow: inset 0 -2px 0 var(--seal); }
body[data-level="1"] .ev:not(.trap) { background: rgba(212, 180, 131, 0.45); box-shadow: inset 0 -1px 0 rgba(143, 45, 54, 0.7); }
body[data-level="2"] .ev:not(.trap):hover { background: rgba(212, 180, 131, 0.28); }

.browser, .folder, .tech-file { width: min(980px, calc(100% - 36px)); margin: 22px auto 40px; }
.chrome {
  background: #2a2622; color: rgba(246,241,231,0.8); border-radius: 14px 14px 0 0;
  display: flex; gap: 10px; align-items: center; padding: 10px 12px;
}
.chrome-admin { background: #243044; }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; background: #6d645c; display: block; }
.omnibox {
  flex: 1; background: rgba(0,0,0,0.25); border-radius: 999px; padding: 4px 12px; font-size: 12px;
}
.viewport { border-radius: 0 0 14px 14px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.site-view { background: #f7f6f3; color: #1c1916; }
.mh, .mh-nav, .mh-actions, .hero-actions, .pub-actions { display: flex; align-items: center; gap: 8px; }
.mh { justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #e6e1d8; background: white; }
.logo, .mh button, .feed-card button, .profile-posts button, .hub-hit button {
  background: transparent; border: 0; color: #1c1916; padding: 6px 8px;
}
.logo { font-weight: 800; letter-spacing: -0.04em; font-size: 20px; color: var(--teal); }
.mh-primary { background: var(--teal) !important; color: white !important; border-radius: 999px; padding: 8px 14px !important; }
.site-main { padding: 8px 22px 28px; }
.mh-foot {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px 22px;
  border-top: 1px solid #e6e1d8; color: #5c564e; font-size: 13px; background: white;
}
.mh-foot p { margin: 4px 0 0; }
.mh-foot-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.site-view .ghost-sep { color: #fff; }
.site-view.is-dark .ghost-sep { color: #b7b1a6; }
.site-view .ghost-terms {
  color: #fff; background: transparent; text-decoration: none; padding: 0; font: inherit;
}
.site-view .ghost-terms:focus { outline: 1px solid #fff; }
.site-view .ghost-terms::selection { background: #fff; color: #fff; }
.theme-toggle { border: 1px solid #ddd6cb !important; border-radius: 999px; }
.site-view.is-dark { background: #14161c; color: #f3f0ea; }
.site-view.is-dark .mh,
.site-view.is-dark .mh-foot { background: #101218; color: #d9d3c8; border-color: #2a2e38; }
.site-view.is-dark .mh button,
.site-view.is-dark .logo,
.site-view.is-dark .feed-card button,
.site-view.is-dark .profile-posts button,
.site-view.is-dark .hub-hit button { color: #f3f0ea; }
.site-view.is-dark .mh-primary { color: #fff !important; }
.site-view.is-dark .theme-toggle { border-color: #3a404c !important; }
.site-view.is-dark .ghost-terms { color: #fff; text-decoration: underline; }
.site-view.is-dark .ghost-terms:focus { outline-color: #fff; }
.site-view.is-dark .ghost-terms::selection { background: #e7c9a4; color: #1e1914; }
.site-view.is-dark .feature-card,
.site-view.is-dark .feed-card,
.site-view.is-dark .feature-side,
.site-view.is-dark .comments article,
.site-view.is-dark .paper,
.site-view.is-dark .fake-form { background: #1c2028; color: #f3f0ea; border-color: #2a2e38; }
.site-view.is-dark .byline,
.site-view.is-dark .upload-line,
.site-view.is-dark .paper-kicker,
.site-view.is-dark .paper-meta,
.site-view.is-dark .mh-foot { color: #b7b1a6; }
.site-view.is-dark .hero-actions button,
.site-view.is-dark .pub-actions button { border-color: #3a404c !important; color: #f3f0ea; }
.admin-quote { margin: 16px 0; padding: 12px 14px; border-left: 3px solid var(--seal); background: #fff; color: var(--ink); font-family: var(--serif); }
.lock-screen {
  min-height: 100%; display: grid; align-content: center; justify-items: start; gap: 12px;
  padding: 56px 40px; background: #f4f8fd; color: #303030;
}
.lock-screen .eyebrow { color: #006cdc; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; font-size: 13px; }
.lock-screen h1 { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 800; font-size: 48px; line-height: 1.05; margin: 0; color: #006cdc; }
.lock-reason { margin: 8px 0 0; max-width: 18em; font-size: 32px; line-height: 1.35; font-weight: 700; color: #1a1a1a; }
.lock-time { margin: 0; font-size: 22px; color: #5c6b7a; }
.lock-time strong { color: #006cdc; }
.bsod {
  position: fixed; inset: 0; z-index: 80; overflow: auto;
  background: #0078d4; color: #fff;
  font-family: "Segoe UI", "Segoe UI Variable", sans-serif;
  padding: 11vh 8vw 8vh;
}
.bsod-face { margin: 0 0 18px; font-size: 112px; line-height: 1; font-weight: 300; }
.bsod p { max-width: 34em; margin: 0 0 22px; font-size: 24px; font-weight: 400; line-height: 1.35; }
.bsod-pct { font-size: 24px; }
.bsod-code { margin-top: 36px; font-size: 16px; max-width: 36em; }
.hero { padding: 28px 8px 10px; }
.hero h1, .publication h1, .profile h1, .feed-head h1, .hub-search h1, .paper h1, .admin-head h1, .tech-head h1, .plus-logo {
  font-family: var(--display); font-weight: 600; line-height: 0.96; margin: 0 0 8px;
}
.hero h1 { font-size: 52px; max-width: 16ch; }
.hero-actions { flex-wrap: wrap; margin-top: 14px; }
.hero-actions button, .feed-card button, .pub-actions button { border: 1px solid #ddd6cb !important; border-radius: 999px; }
.home-grid, .feed-list { display: grid; gap: 12px; }
.home-grid { grid-template-columns: 1.4fr 0.8fr; margin: 18px 0; }
.feature-card, .feed-card, .feature-side {
  display: flex; gap: 12px; text-align: left; background: white; border-radius: 16px; padding: 12px;
  border: 1px solid #ece7de;
}
.feature-side { flex-direction: column; }
.feature-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feature-side li, .profile-facts div { display: flex; justify-content: space-between; gap: 8px; }
.mini-shot, .shot { border-radius: 12px; min-height: 92px; width: 120px; position: relative; overflow: hidden; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.shot { width: auto; min-height: 180px; }
.shot img { width: 100%; height: 180px; object-fit: cover; display: block; }
.shot:has(img)::after { display: none; }
.shot figcaption { position: absolute; left: 10px; bottom: 36px; color: white; text-shadow: 0 1px 2px rgba(0,0,0,.45); font-size: 13px; }
.shot-actions { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.shot-actions button { background: rgba(20,16,12,.72); color: white; border: 0; border-radius: 999px; padding: 4px 8px; font-size: 12px; }
.shot-a { background: linear-gradient(#8eafd0 0 42%, #e7d3ae 42% 58%, #6d7d68 58%); }
.shot-b { background: linear-gradient(#c46a4a 0 28%, #d8c3a5 28% 70%, #4d5560 70%); }
.shot-c { background: linear-gradient(#9eb4c8 0 48%, #b9c3ae 48% 62%, #6f88a4 62%); }
.shot-d { background: linear-gradient(#1d2433 0 46%, #c9843f 46% 54%, #2b3038 54%); }
.shot::after, .mini-shot::after {
  content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,244,214,0.85); right: 16px; top: 16px;
}
.publication h1 { font-size: 46px; }
.byline, .upload-line { color: #4e4943; }
.comments { display: grid; gap: 10px; margin-top: 16px; }
.comments article, .fake-form { background: white; border-radius: 12px; padding: 10px 12px; }
.comments h2, .block-title { font-size: 18px; }
.profile { display: flex; gap: 16px; padding-top: 18px; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: #123e3b; color: white; font-weight: 700;
}
.account-chip { display: inline-block; border-radius: 999px; background: #e7f3f1; color: #0f6e68; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.profile-facts { display: grid; gap: 4px; max-width: 420px; }
.profile-posts { list-style: none; padding: 0; }
.profile-posts li { padding: 8px 0; border-top: 1px solid #ece7de; }
.player { width: 100%; text-align: left; background: #161616 !important; color: white !important; border-radius: 12px; padding: 28px 16px !important; margin: 8px 0 12px; }

.paper { background: var(--paper); color: var(--ink); padding: 28px 32px 36px; border-radius: 0 0 14px 14px; }
.site-view .paper { margin: 18px 0; border-radius: 16px; box-shadow: none; }
.paper h1 { font-size: 42px; }
.paper h2 { font-family: var(--serif); font-size: 22px; margin: 22px 0 8px; }
.paper p { font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.paper-kicker, .paper-meta { font-family: var(--sans); color: var(--ink-soft); font-size: 13px; }
.claim {
  margin: 8px 0 16px; padding: 8px 0 8px 16px; border-left: 3px solid var(--teal);
  font-family: var(--display); font-size: 32px; line-height: 1.15; color: #163e3b;
}
.loud { background: #fff6ea; border-radius: 12px; padding: 8px 12px; }
.damaged { margin-top: 16px; padding: 12px; border: 1px dashed #8a8176; color: #5c5348; background: repeating-linear-gradient(-45deg, #efe8dc, #efe8dc 8px, #e7dfd2 8px, #e7dfd2 16px); }
.copyline { color: var(--ink-soft); }

.folder { background: #efe4d2; color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.folder-tab { width: 120px; background: #d7c3a4; padding: 8px 12px; border-radius: 0 0 12px 0; }
.folder-cover { padding: 12px 32px 8px; background: linear-gradient(#1b1714, #2a211c); color: var(--paper); }
.folder-cover h1 { font-size: 72px; }
.folder-sub { font-family: var(--serif); font-size: 22px; margin-top: 0; }
.stamp-line { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--brass); }
.folder-body { padding: 8px 32px 28px; }
.folder-body h2 { font-family: var(--display); font-size: 32px; margin-bottom: 6px; }
.folder-body p { font-family: var(--serif); font-size: 18px; }
.folder-hint { background: rgba(143, 45, 54, 0.08); padding: 10px 12px; border-radius: 12px; }
.sheet-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-list button { width: 100%; text-align: left; background: white; color: var(--ink); border: 0; border-radius: 10px; padding: 10px 12px; }

.admin-view { background: #eef1f4; color: #1b2128; padding-bottom: 20px; }
.admin-head, .tech-head { padding: 20px 22px 0; }
.admin-head h1, .tech-head h1 { font-size: 42px; }
.ticket-list { display: grid; gap: 10px; padding: 12px; }
.ticket { background: white; border-radius: 14px; padding: 12px 14px; border: 1px solid #d5dbe3; }
.ticket header, .ticket-meta div { display: flex; justify-content: space-between; gap: 8px; }
.ticket-hot { outline: 2px solid var(--seal); }
.ticket blockquote, .ticket-result { font-family: var(--serif); }
.ticket-status { color: #526070; font-size: 13px; }
.tech-file { color: var(--paper); }
.mono-block {
  background: #0f1210; color: #d5eccf; border-radius: 12px; padding: 14px 16px; overflow: auto;
  font-family: Consolas, "Courier New", monospace; font-size: 13px;
}
.tech-file .paper { border-radius: 14px; margin-top: 12px; }

.plus-view { background: white; color: #1b1b1b; padding: 18px 22px 28px; }
.plus-logo { color: #1a4fbf; font-size: 48px; }
.search-form { display: flex; gap: 8px; margin: 8px 0 14px; }
.search-form input { background: white; color: #1b1b1b; border-color: #d9d3c8; }
.site-view .search-form input { background: white; }
.search-form button, .in-dialog button { border: 0; background: #1a4fbf; color: white; border-radius: 10px; padding: 10px 14px; }
.site-view .search-form button { background: var(--teal); }
.serp { padding: 8px 0 14px; }
.serp h2 { margin: 0; font-size: 20px; color: #1a3e9c; font-family: var(--sans); font-weight: 500; }
.serp-url { margin: 0; color: #0d7a43; font-size: 13px; }
.plus-about { margin-top: 12px; padding-top: 12px; border-top: 1px solid #ece7de; max-width: 68ch; }
.empty-search { color: #5c564e; }
.hub-hit { padding: 8px 0; }

.in-dialog {
  position: fixed; inset: 0; background: rgba(18, 16, 14, 0.46);
  display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 24px; z-index: 35;
}
.in-dialog-card { background: white; color: #1c1916; border-radius: 16px; padding: 16px; width: min(460px, 100%); height: fit-content; }
.fake-form { display: grid; gap: 8px; }
.fake-form input { background: #f6f4f0; color: #1c1916; }

.modal-back {
  position: fixed; inset: 0; z-index: 40; background: rgba(8, 6, 5, 0.62);
  display: flex; justify-content: center; align-items: flex-start; padding: 48px 16px; overflow: auto;
}
.modal {
  width: min(560px, 100%); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow); display: grid; gap: 8px;
}
.modal-wide { width: min(720px, 100%); }
.modal h2 { font-family: var(--display); font-size: 40px; margin: 0; line-height: 0.95; }
.modal textarea { min-height: 120px; resize: vertical; background: white; color: var(--ink); }
.modal input, .modal select { background: white; color: var(--ink); border-color: #ddd4c6; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.modal .btn-ghost { color: var(--ink); border-color: #d9d0c3; }
.court-list { display: grid; gap: 8px; max-height: 45vh; overflow: auto; }
.court-list article { background: white; border-radius: 12px; padding: 10px 12px; }
.court-list h3 { margin: 0; font-family: var(--display); font-size: 26px; }
.warn { background: #fff1e4; border-radius: 12px; padding: 8px 10px; }

#floater {
  position: fixed; z-index: 60; background: white; color: var(--seal); border: 1px solid rgba(143,45,54,0.3);
  border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow); font-weight: 700; font-size: 13px;
}
#toast {
  position: fixed; z-index: 70; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 10px; align-items: center; background: #1b1714; color: var(--paper);
  border: 1px solid var(--brass); border-radius: 999px; padding: 8px 14px 8px 8px; box-shadow: var(--shadow);
}
.mini-seal {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--brass); color: var(--brass); font-family: var(--display);
}

.verdict { min-height: 100%; padding: 32px 16px 56px; }
.verdict-card {
  width: min(980px, 100%); margin: 0 auto; background: var(--paper); color: var(--ink);
  border-radius: 24px; padding: 28px; box-shadow: var(--shadow);
}
.verdict-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.verdict h1 { font-size: 84px; margin: 0; }
.time-note, .missing { color: var(--ink-soft); }
.ring { width: 140px; height: 140px; flex: none; }
.ring-bg, .ring-fg { fill: none; stroke-width: 10; }
.ring-bg { stroke: #e6dccb; }
.ring-fg { stroke: var(--seal); transform: rotate(-90deg); transform-origin: 70px 70px; }
.breakdown { display: grid; gap: 8px; margin: 8px 0 18px; }
.breakdown div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.breakdown i { grid-column: 1 / -1; display: block; height: 6px; background: #e6dccb; border-radius: 99px; }
.breakdown i span { display: block; height: 100%; background: var(--seal); border-radius: inherit; }
.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.verdict h2 { font-family: var(--display); font-size: 32px; margin: 12px 0 6px; }
.verdict li { margin: 6px 0; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e6dccb; vertical-align: top; }
tr.ok td:last-child { color: var(--ok); font-weight: 700; }
tr.bad td:last-child { color: var(--bad); font-weight: 700; }
.key article { padding: 8px 0; border-top: 1px solid #e6dccb; }
.key h3 { margin: 0; font-size: 18px; }

.btn-tool { background: transparent; color: var(--brass); border: 1px solid var(--brass-dim); border-radius: 999px; padding: 8px 14px; }
.btn-dev { display: none; }
.dev-sheet {
  position: fixed; inset: 0; z-index: 60; background: rgba(8, 6, 5, .72);
  display: flex; padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.dev-sheet[hidden] { display: none !important; }
.dev-card {
  width: min(920px, 100%); max-height: 100%; min-height: 0; margin: 0 auto;
  background: #121614; color: #d7eccf; border: 1px solid #2c4030; border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
}
.dev-card header { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 12px 12px 0; }
.dev-card h2 { font-family: var(--display); font-size: 22px; line-height: 1; margin: 0; color: var(--paper); }
.dev-card header button { background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.dev-tabs { display: flex; gap: 6px; padding: 10px 12px 0; }
.dev-tabs button { flex: 1; border-radius: 999px; border: 1px solid #2c4030; background: transparent; color: #d7eccf; padding: 8px 4px; }
.dev-tabs button.is-on { background: #d7eccf; color: #121614; font-weight: 700; }
#dev-body { min-height: 0; overflow: auto; padding: 8px 12px 12px; }
.dev-find, .dev-net-form { display: flex; gap: 6px; position: sticky; top: 0; background: #121614; padding-bottom: 8px; }
.dev-find input, .dev-net-form input { flex: 1; min-width: 0; border-radius: 10px; border: 1px solid #2c4030; background: #0e1210; color: #d7eccf; padding: 8px 10px; }
.dev-find button, .dev-net-form button { border: 0; border-radius: 10px; background: #d7eccf; color: #121614; padding: 8px 10px; font-weight: 700; }
.dev-note { margin: 0 0 8px; color: #8ea894; font-size: 13px; }
.dev-list { display: grid; gap: 6px; margin-bottom: 10px; }
.dev-list button, .dev-back { text-align: left; word-break: break-word; border: 1px solid #2c4030; background: #0e1210; color: #d7eccf; border-radius: 10px; padding: 8px 10px; }
.dev-code { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.45; }
.dev-code mark { background: #d4b483; color: #1a1208; }
.dev-head-line { margin: 0 0 8px; font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.mobile-dock { display: none; }
.tool-sheet {
  position: fixed; inset: 0; z-index: 45; background: rgba(8,6,5,.62);
  display: flex; align-items: flex-end; justify-content: center; padding: 16px;
}
.tool-sheet-card {
  width: min(720px, 100%); background: #1c1815; color: var(--paper);
  border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
}
.tool-sheet-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tool-sheet-card h2 { font-family: var(--display); font-size: 42px; margin: 0; line-height: .95; }
.tool-sheet-card header button { background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-grid button {
  text-align: left; background: #26211c; color: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px; display: grid; gap: 4px;
}
.tool-grid strong { font-size: 16px; }
.tool-grid span, .sim-note, .tool-top p:not(.tool-brand) { color: var(--brass-dim); }
.tool-app .empty-search { color: var(--brass-dim); }
.tool-app { width: min(1040px, calc(100% - 28px)); margin: 18px auto 32px; }
.tool-top { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 8px; }
.tool-brand { margin: 0; font-family: var(--display); font-size: 36px; color: var(--paper); }
.tool-kicker { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--brass); }
.sim-note { margin: 0 0 12px; font-size: 13px; }
.tool-search, .term-form { display: flex; gap: 8px; align-items: center; }
.tool-search input, .term-form input {
  flex: 1; border-radius: 12px; border: 1px solid var(--line); background: #0e0c0b; color: var(--paper); padding: 10px 12px;
}
.tool-search button { border: 0; border-radius: 12px; background: var(--brass); color: #1a140f; padding: 10px 14px; font-weight: 700; }
.archive-layout, .meta-layout { display: grid; grid-template-columns: 220px 1fr; gap: 12px; }
.archive-layout aside, .file-list { display: grid; gap: 6px; align-content: start; }
.archive-layout button, .file-list button, .vision-pick {
  text-align: left; background: #241f1b; color: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px;
}
.archive-layout button.is-on, .file-list button.is-on, .vision-pick.is-on { border-color: var(--brass); }
.file-list button { display: flex; justify-content: space-between; gap: 8px; }
.file-list small { color: var(--brass-dim); }
.archive-frame, .meta-app article, .vision-hit {
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 16px;
}
.archive-shot { width: min(100%, 420px); border-radius: 12px; display: block; }
.archive-when { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--seal); }
.meta-layout article h1 { font-family: var(--display); font-size: 34px; margin: 8px 0; }
.meta-preview { width: min(100%, 520px); border-radius: 12px; }
.meta-table { display: grid; gap: 6px; }
.meta-table div { display: grid; grid-template-columns: 180px 1fr; gap: 8px; }
.meta-table dt { color: var(--ink-soft); }
.meta-table dd { margin: 0; }
.meta-doc { padding: 16px; background: #f3ecdf; border-radius: 12px; }
.meta-evidence { font-family: var(--serif); }
.vision-picks, .vision-results { display: grid; gap: 10px; }
.vision-picks { grid-template-columns: repeat(4, 1fr); margin-bottom: 12px; }
.vision-pick { color: var(--paper); }
.vision-pick img, .vision-hit img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.vision-hit { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.vision-hit img { width: auto; height: auto; max-height: 160px; }
.vision-hit h2 { margin: 0; font-size: 18px; }
.vision-hit button { border: 1px solid #ddd4c6; background: white; color: var(--ink); border-radius: 999px; padding: 6px 10px; }
.vision-lead, .tech-note { color: var(--paper); }
.tech-note { font-family: var(--serif); font-size: 18px; }
.term-screen {
  min-height: 320px; max-height: 52vh; overflow: auto; background: #121614; color: #d7eccf;
  border-radius: 16px; padding: 14px 16px; font-family: Consolas, "Courier New", monospace; font-size: 13.5px; line-height: 1.45;
}
.term-dim { color: #8ea894; }
.term-form { margin-top: 8px; color: #d7eccf; }
.term-form button { border: 0; border-radius: 12px; background: #d7eccf; color: #121614; padding: 10px 14px; font-weight: 700; }
.term-form span { font-family: Consolas, "Courier New", monospace; }
.term-evidence { margin-top: 12px; padding-top: 8px; border-top: 1px solid #2c4030; color: #f3ecdf; }
.term-evidence p { margin: 6px 0; }

body:has(.campus), body:has(.start), body:has(.arcade), .campus, .start {
  background: #fff;
  color: #303030;
}
.campus { min-height: 100%; display: flex; flex-direction: column; }
.campus-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 40px; border-bottom: 1px solid #e6eef6; background: #fff;
}
.campus-id { display: flex; align-items: center; gap: 14px; }
.campus-id p, .campus-nav { margin: 0; }
.campus-id p {
  font-size: 11px; line-height: 1.25; letter-spacing: .04em;
  text-transform: uppercase; font-weight: 700; color: #303030;
}
.campus-mark {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #006cdc;
  color: #006cdc; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.campus-nav { font-size: 16px; font-weight: 600; color: #303030; }
.campus-main {
  flex: 1; display: grid; grid-template-columns: minmax(280px, 1.05fr) minmax(300px, .95fr);
  gap: 48px; align-items: start; padding: 48px 40px 64px;
}
.campus-lead h1 {
  margin: 0; font-family: Manrope, "Segoe UI", sans-serif; font-weight: 800;
  font-size: clamp(40px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.03em; color: #006cdc;
}
.campus-en { margin: 10px 0 0; color: #8a8a8a; letter-spacing: .04em; font-size: 14px; }
.campus-lead p:last-child { margin: 18px 0 0; max-width: 34em; font-size: 18px; line-height: 1.45; color: #303030; }
.campus .lesson-card, .start .lesson-card {
  background: #fff; color: #303030; border: 2px solid #006cdc; border-radius: 18px; padding: 22px;
}
.campus .lesson-card:hover, .start .lesson-card:hover { background: #f4f9ff; }
.campus .lesson-card strong, .start .lesson-card strong {
  font-family: Manrope, "Segoe UI", sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25; color: #1a1a1a;
}
.campus .lesson-card span, .start .lesson-card span { color: #4a4a4a; }
.campus .lesson-card em, .start .lesson-card em { color: #006cdc; font-weight: 700; }
.start-brand {
  background: #fff;
  border-right: 1px solid #e6eef6;
}
.start .start-brand h1 {
  font-family: Manrope, "Segoe UI", sans-serif; font-weight: 800;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.1; letter-spacing: -.03em; color: #006cdc;
}
.start .case-no { color: #6a6a6a; }
.start .start-en { color: #8a8a8a; }
.start .start-lead { font-family: Manrope, "Segoe UI", sans-serif; font-size: 18px; color: #303030; }
.start .wax { display: none; }
.start-panel h2 { font-family: Manrope, "Segoe UI", sans-serif; color: #1a1a1a; font-weight: 800; font-size: 36px; }
.start .eyebrow, .start legend, .start .field { color: #006cdc; }
.start .btn-main { background: #006cdc; color: #fff; }
.start .btn-main:hover { background: #0057b3; }
.start .btn-main:disabled { opacity: .45; }
.start .btn-ghost { color: #006cdc; border-color: #b9d4f5; background: #fff; }
.start .mode-option, .start .level-card { background: #fff; border: 2px solid #d5e6f8; color: #303030; }
.start .level-card small { color: #5c5c5c; }
.start .level-card:has(input:checked), .start .mode-option:has(input:checked) {
  border-color: #006cdc; background: #f4f9ff;
}
.start #student-name, .start #group-select, .start .member-list input {
  background: #fff; color: #303030; border: 1px solid #c5d7ea;
}
.start .form-error { color: #b42318; }
.start .fine { color: #6a6a6a; }

@media (max-width: 1100px) {
  .start, .workspace, .home-grid, .verdict-cols, .sheet-list, .archive-layout, .meta-layout, .vision-picks, .tool-grid, .campus-main { grid-template-columns: 1fr; }
  .start-brand { padding: 32px 22px; }
  .start-panel { padding: 22px; }
  .campus-bar, .campus-main { padding-left: 20px; padding-right: 20px; }
  .campus-main { padding-top: 28px; gap: 24px; }
  .campus-bar { align-items: flex-start; flex-wrap: wrap; }
  .app-shell { grid-template-rows: auto 1fr auto; }
  .topbar { height: auto; padding: 8px 10px; }
  .brand-lockup strong, .brand-lockup .case-no, .top-actions > .btn-ghost.tiny, .top-actions .btn-tool, .icon-btn { display: none; }
  .btn-back { display: inline-flex; }
  .btn-dev {
    display: inline-flex; flex: none; align-items: center;
    border: 1px solid var(--brass-dim); color: var(--brass); background: transparent;
    border-radius: 999px; padding: 8px 10px; font-size: 13px; font-weight: 700;
  }
  .top-actions { margin-left: auto; }
  .btn-seal, .finish-pair .btn-ghost { padding: 8px 10px; font-size: 13px; }
  .topbar { flex-wrap: wrap; }
  .mobile-dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: #161310; border-top: 1px solid var(--line);
  }
  .mobile-dock button { background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 8px; }
  .nav, .notebook {
    display: none; position: fixed; z-index: 30; top: 56px; bottom: 62px; width: min(420px, 100%);
  }
  .nav { left: 0; background: #161310; }
  .notebook { right: 0; left: auto; background: var(--notebook); color: var(--ink); }
  body.nav-open .nav { display: block; }
  body.note-open .notebook { display: flex; }
  .top-meta { display: none; }
  .hero h1, .verdict h1, .start-brand h1, .folder-cover h1 { font-size: 48px; }
  .workspace { grid-template-columns: 1fr; }
  .browser, .folder, .tech-file, .tool-app { width: min(100% - 16px, 980px); }
  .vision-hit { grid-template-columns: 1fr; }
  .meta-table div { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .tool-sheet { align-items: stretch; padding: 8px; }
}
.arcade { position: fixed; inset: 0; z-index: 90; height: 100%; min-height: 100%; display: flex; flex-direction: column; background: #f4f8fd; color: #303030; }
.arcade-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 28px; border-bottom: 1px solid #e6eef6; }
.arcade-bar p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.arcade-bar button { border: 2px solid #006cdc; background: #fff; color: #006cdc; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.arcade-stage { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; padding: 12px 16px 20px; }
.arcade-pick { width: min(860px, 100%); margin: auto; }
.arcade-pick h1 { margin: 0 0 8px; color: #006cdc; font-family: Manrope, "Segoe UI", sans-serif; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 800; }
.arcade-pick p { font-size: 18px; }
.arcade-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.arcade-choices button { text-align: left; border: 2px solid #006cdc; background: #fff; color: #303030; border-radius: 18px; padding: 22px; display: grid; gap: 8px; cursor: pointer; font-weight: 600; }
.arcade-choices button:hover { background: #f4f9ff; }
.arcade-choices strong { font-size: 22px; color: #1a1a1a; }
.arcade-choices span { color: #4a4a4a; font-weight: 500; }
.arcade-play { flex: 1; width: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: stretch; gap: 10px; }
.arcade-play canvas { width: 100%; height: 100%; background: #f4f9ff; border-radius: 16px; touch-action: none; }
.arcade-start { margin-top: 16px; border: 0; background: #006cdc; color: #fff; border-radius: 999px; padding: 14px 32px; font-size: 22px; font-weight: 800; cursor: pointer; }
.arcade-start:disabled { opacity: .5; cursor: default; }
.arcade-score { margin: 0; font-weight: 800; color: #006cdc; font-size: 22px; }
.arcade-hint { margin: 0; color: #5c5c5c; }
@media (max-width: 800px) { .arcade-choices { grid-template-columns: 1fr; } }

body:has(.app-shell) { background: #f4f8fd; color: #303030; }
.app-shell { background: #f4f8fd; color: #303030; }
.app-shell .topbar { background: #fff; color: #303030; border-bottom: 1px solid #e6eef6; }
.app-shell .brand-lockup strong { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 800; color: #006cdc; }
.app-shell .case-no, .app-shell .top-meta { color: #5c6b7a; }
.app-shell .btn-back, .app-shell .btn-ghost, .app-shell .btn-tool, .app-shell .btn-dev {
  color: #006cdc; border-color: #b9d4f5; background: #fff;
}
.app-shell .btn-seal { background: #006cdc; color: #fff; border-color: #006cdc; }
.app-shell .nav { background: #fff; border-right: 1px solid #e6eef6; }
.app-shell .nav-label { color: #006cdc; }
.app-shell .nav-note { color: #5c6b7a; }
.app-shell .nav-btn { color: #303030; }
.app-shell .nav-btn.active { background: #e7f1fc; color: #006cdc; }
.app-shell .nav-btn.seen span::before { background: #7eb6ea; }
.app-shell .stage { background: #f4f8fd; color: #303030; }
.app-shell .notebook { background: #fff; color: #303030; border-left: 4px solid #006cdc; }
.app-shell .notebook h2, .app-shell .notebook h3 { font-family: Manrope, "Segoe UI", sans-serif; color: #006cdc; }
.app-shell .notebook h2 span, .app-shell .status-line, .app-shell .ev-list button, .app-shell .conclusion button { color: #006cdc; }
.app-shell .role-list li { color: #5c6b7a; }
.app-shell .role-list .is-found { color: #0f6e4c; }
.app-shell .tool-sheet-card, .app-shell .dev-card { background: #fff; color: #303030; }
.app-shell .tool-brand, .app-shell .dev-card h2, .app-shell .tool-kicker { color: #006cdc; font-family: Manrope, "Segoe UI", sans-serif; }
.app-shell .tool-sheet-card header button, .app-shell .dev-card header button { color: #006cdc; border-color: #b9d4f5; }
.app-shell .tool-grid button, .app-shell .archive-layout button, .app-shell .file-list button, .app-shell .vision-pick {
  background: #fff; color: #303030; border-color: #d5e6f8;
}
.app-shell .tool-grid button.is-on, .app-shell .archive-layout button.is-on, .app-shell .file-list button.is-on, .app-shell .vision-pick.is-on {
  border-color: #006cdc; background: #f4f9ff;
}
.app-shell .tool-search input, .app-shell .term-form input { background: #fff; color: #303030; border-color: #c5d7ea; }
.app-shell .tool-search button { background: #006cdc; color: #fff; }
.app-shell .vision-lead, .app-shell .tech-note, .app-shell .sim-note, .app-shell .tool-grid span { color: #5c6b7a; }
.app-shell .file-list small { color: #5c6b7a; }
@media (max-width: 1100px) {
  .app-shell .nav { background: #fff; }
  .app-shell .mobile-dock { background: #fff; border-top: 1px solid #e6eef6; }
  .app-shell .mobile-dock button { color: #006cdc; border-color: #b9d4f5; background: #fff; }
  .app-shell .btn-dev { color: #006cdc; border-color: #b9d4f5; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
