/* RT Linux Lab - shared tokens and the student page.
   Palette: Ubuntu's terminal aubergine with the Tango colours GNOME Terminal
   uses for ANSI output, so the page looks like the machines students work on. */

:root {
  --aub-950: #1c0014;
  --aub-900: #2c001e;
  --aub-850: #300a24;
  --aub-700: #5e2750;
  --aub-500: #77216f;
  --orange: #e95420;
  --orange-deep: #c34113;
  --term-fg: #eeeeec;
  --term-dim: #a4949e;
  --t-green: #8ae234;
  --t-red: #ef2929;
  --t-yellow: #fce94f;
  --t-blue: #729fcf;

  --paper: #f5f3f6;
  --paper-2: #ffffff;
  --ink: #23101f;
  --ink-2: #5d4a58;
  --line: #e0d8de;
  --code-bg: rgba(44, 0, 30, 0.07);
  --ok: #3d7a04;
  --ok-bg: #e9f5dc;
  --bad: #b80000;
  --bad-bg: #fbe5e5;
  --warn-ink: #6e5400;
  --warn-bg: #fdf6c3;

  --font-ui: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Ubuntu Mono', ui-monospace, 'DejaVu Sans Mono', Menlo, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2.25rem;

  --radius: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a0915;
    --paper-2: #241020;
    --ink: #f1e9ee;
    --ink-2: #b9a6b3;
    --line: #3b2335;
    --code-bg: rgba(255, 255, 255, 0.08);
    --ok: #8ae234;
    --ok-bg: #20300f;
    --bad: #ff7b7b;
    --bad-bg: #3a1216;
    --warn-ink: #fce94f;
    --warn-bg: #362c05;
    --orange-deep: #c34113;
    color-scheme: dark;
  }
  .term, .snippet { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .kind--check { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-md)/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

code { font-family: var(--font-mono); font-size: 1.05em; background: var(--code-bg); padding: 0.05em 0.35em; border-radius: 4px; }

button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: var(--fs-md); line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--orange-deep); color: #fff; }
.btn--primary:hover { background: #a93810; }
.btn--quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink-2); }

.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* --------------------------------------------------------- join (tty) */

.tty {
  min-height: 100vh;
  background: var(--aub-850);
  color: var(--term-fg);
  font-family: var(--font-mono);
  display: flex;
}
.tty__screen {
  width: 100%; max-width: 64rem;
  padding: 12vh clamp(16px, 6vw, 96px) 8vh;
  display: flex; flex-direction: column;
}
.tty__issue { margin: 0 0 2.5rem; color: var(--term-dim); font-size: var(--fs-lg); }
.tty__form {
  display: grid; grid-template-columns: max-content minmax(6ch, 1fr);
  align-items: baseline; column-gap: 0.6ch; row-gap: 0.35em;
  font-size: clamp(1.5rem, 5vw, 3.4rem); line-height: 1.2;
}
.tty__row { display: contents; }
.tty__input::placeholder { color: rgba(238, 238, 236, 0.28); letter-spacing: 0; text-transform: none; }
.tty__actions { grid-column: 2; margin-top: 0.4em; }
.tty__go {
  font: 700 var(--fs-lg)/1 var(--font-ui); color: var(--aub-950); background: var(--orange);
  border: 0; border-radius: 999px; padding: 0.8rem 1.6rem; cursor: pointer;
}
.tty__go:hover { background: #ff6a33; }
.tty__go:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 560px) {
  .tty__form { grid-template-columns: minmax(0, 1fr); }
  .tty__actions { grid-column: 1; }
}
.tty__prompt { white-space: nowrap; }
.tty__input {
  min-width: 0; width: 100%;
  font: inherit; color: #fff; background: transparent;
  border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.14);
  padding: 0 0 0.1em; caret-color: var(--orange);
  outline: none;
}
.tty__input:focus { border-bottom-color: var(--orange); }
.tty__input:disabled { opacity: 1; border-bottom-color: transparent; }
#join-code { text-transform: uppercase; letter-spacing: 0.12em; }
.tty__error { margin: 1.25rem 0 0; color: var(--t-red); font-size: var(--fs-lg); }
.tty__motd { margin-top: 1.5rem; font-size: var(--fs-lg); line-height: 1.45; }
.tty__motd p { margin: 0; white-space: pre-wrap; }
.tty__motd p:last-child { color: var(--t-green); font-weight: 700; }
.tty__help {
  margin: auto 0 0; padding-top: 4rem; max-width: 52ch;
  font-family: var(--font-ui); font-size: var(--fs-sm); color: var(--term-dim);
}

/* --------------------------------------------------------- app layout */

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

.rail {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--aub-900); color: var(--term-fg);
  padding: 1.5rem 0 1.25rem;
  scrollbar-color: var(--aub-700) transparent;
}

.rail__who { padding: 0 1.25rem 1.25rem; }
.rail__prompt {
  margin: 0 0 0.85rem;
  font: 700 1.3rem/1.2 var(--font-mono); color: var(--t-green);
  overflow-wrap: anywhere;
}
.rail__path { color: var(--t-blue); }
.meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.meter__fill { height: 100%; width: 0; background: var(--orange); transition: width 0.6s ease; }
.rail__score { margin: 0.5rem 0 0; font-size: var(--fs-sm); color: var(--term-dim); }

.rail__terminal {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  margin: 0 0.75rem 0.75rem; padding: 0.6rem 0.6rem;
  border-radius: 8px; font-size: var(--fs-sm); text-decoration: none;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}
.rail__terminal:hover { background: rgba(255, 255, 255, 0.05); }
.rail__terminal.is-connected { border-style: solid; border-color: rgba(138, 226, 52, 0.35); }
.rail__host { font-family: var(--font-mono); color: var(--term-dim); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--term-dim); flex: none; }
.is-connected .dot { background: var(--t-green); }
.rail__terminal.is-stale { border-style: solid; border-color: rgba(252, 233, 79, 0.45); color: var(--t-yellow); }
.is-stale .dot { background: var(--t-yellow); }

/* lesson tree */
.tree { flex: 1; padding: 0.25rem 0.75rem; }
.lesson { margin-bottom: 0.25rem; }
.lesson__head {
  width: 100%; display: grid; grid-template-columns: 1.6rem 1fr auto; align-items: baseline; gap: 0.35rem;
  margin: 0; padding: 0.55rem 0.5rem; border: 0; border-radius: 8px;
  background: none; text-align: left; cursor: pointer;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.35;
}
button.lesson__head:hover { background: rgba(255, 255, 255, 0.06); }
.lesson__num { font: 700 var(--fs-md) var(--font-mono); color: var(--orange); }
.lesson__count { font: 400 var(--fs-sm) var(--font-mono); color: var(--term-dim); }
.lesson.is-complete .lesson__count { color: var(--t-green); }
.lesson.is-locked { opacity: 0.55; }
.lesson.is-locked .lesson__head { cursor: default; }

.lesson__tasks { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 0.6rem; }
.task-link {
  display: grid; grid-template-columns: 2.2ch 0.9rem 1fr; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.5rem 0.3rem 0.25rem; border-radius: 6px;
  font-size: var(--fs-sm); line-height: 1.35; text-decoration: none; color: rgba(238, 238, 236, 0.86);
  border-left: 3px solid transparent;
}
.task-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.task-link.is-here { background: rgba(255, 255, 255, 0.09); color: #fff; border-left-color: var(--orange); }
.task-link__branch { font-family: var(--font-mono); color: rgba(255, 255, 255, 0.28); }
.task-link__mark {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.task-link.is-tried .task-link__mark { border-color: var(--t-yellow); background: var(--t-yellow); border-radius: 2px; }
.task-link.is-done .task-link__mark { border-color: var(--t-green); background: var(--t-green); }
.task-link.is-done .task-link__title { color: var(--term-dim); }
.task-link.is-done.is-here .task-link__title { color: #fff; }

.rail__foot { padding: 1rem 1.25rem 0; display: grid; gap: 0.75rem; justify-items: start; }
.hand {
  width: 100%; padding: 0.7rem 1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.3); font-weight: 500;
}
.hand:hover { border-color: #fff; }
.hand[aria-pressed='true'] { background: var(--orange); border-color: var(--orange); color: var(--aub-950); }
.rail__foot .linkish { font-size: var(--fs-xs); color: var(--term-dim); }
.rail__conn { margin: 0; font-size: var(--fs-xs); color: var(--t-yellow); }

/* desk */
.desk { min-width: 0; }
.topbar { display: none; }

.announce {
  display: flex; align-items: flex-start; gap: 1rem;
  margin: 1.25rem clamp(16px, 5vw, 56px) 0; padding: 0.9rem 1.1rem;
  background: var(--aub-850); color: var(--term-fg);
  border-left: 4px solid var(--orange); border-radius: 8px;
}
.announce__text { margin: 0; flex: 1; }
.announce__from { color: var(--orange); font-weight: 700; }
.announce__close {
  background: none; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  padding: 0.2rem 0.8rem; font-size: var(--fs-xs); cursor: pointer;
}

.view { outline: none; }

/* ------------------------------------------------------------- pages */

.page {
  max-width: 46rem;
  padding: 3rem clamp(16px, 5vw, 56px) 5rem;
}
.crumb { margin: 0 0 0.5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.page__title {
  margin: 0 0 1rem; font-size: var(--fs-2xl); font-weight: 500;
  line-height: 1.12; letter-spacing: -0.012em;
}
.page__sub { margin: 3rem 0 1rem; font-size: var(--fs-xl); font-weight: 500; line-height: 1.25; }
.lead { margin: 0 0 1.75rem; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.aside { margin: 1.25rem 0 0.5rem; font-size: var(--fs-sm); color: var(--ink-2); }

.prose { font-size: var(--fs-lg); line-height: 1.6; }
.prose p, .prose ul { margin: 0 0 1rem; max-width: 64ch; }
.prose li { margin-bottom: 0.35rem; }

/* home */
.steps { list-style: none; counter-reset: step; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.steps__item {
  counter-increment: step;
  display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.75rem;
}
.steps__item::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); font: 700 var(--fs-md) var(--font-mono); color: var(--ink-2);
}
.steps__item.is-done::before { content: '\2713'; background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.steps__title { margin: 0.2rem 0 0.15rem; font-size: var(--fs-lg); font-weight: 500; }
.steps__item p { margin: 0; color: var(--ink-2); }

.lessons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lessons__item {
  display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.75rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.lessons__item.is-locked { color: var(--ink-2); }
.lessons__num { font: 700 var(--fs-lg) var(--font-mono); color: var(--orange-deep); }
.lessons__title { margin: 0 0 0.15rem; font-size: var(--fs-md); font-weight: 500; }
.lessons__text p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.lessons__count { font: 400 var(--fs-md) var(--font-mono); color: var(--ink-2); text-align: right; max-width: 12rem; }
.lessons__item.is-locked .lessons__count { font: 400 var(--fs-xs) var(--font-ui); }

/* setup */
.setup__status {
  display: flex; align-items: baseline; gap: 0.6rem;
  margin: 1.5rem 0 0; padding: 0.85rem 1rem;
  border-radius: var(--radius); background: var(--warn-bg); color: var(--warn-ink);
}
.setup__status .dot { flex: none; transform: translateY(-1px); background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
.setup__status.is-connected { background: var(--ok-bg); color: var(--ok); }
.setup__status.is-connected .dot { animation: none; }
@keyframes pulse { 50% { opacity: 0.25; } }
.usage { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.25rem; margin: 0; }
.usage dt { white-space: nowrap; }
.usage dd { margin: 0; color: var(--ink-2); }

/* task */
.task__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  margin: 0 0 1.75rem; font-size: var(--fs-sm); color: var(--ink-2);
}
.kind { padding: 0.15rem 0.6rem; border-radius: 999px; font-weight: 500; }
.kind--check { background: var(--aub-850); color: var(--term-fg); }
.kind--quiz { border: 1.5px solid var(--aub-500); color: var(--ink); }
.chip { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--code-bg); }
.chip--done { background: var(--ok-bg); color: var(--ok); font-weight: 500; }
.chip--tried { background: var(--warn-bg); color: var(--warn-ink); }
.task__id code { font-size: 1em; }

/* terminal block */
.term {
  margin: 0.75rem 0; border-radius: var(--radius);
  background: var(--aub-850); color: var(--term-fg);
  overflow: hidden;
}
.term__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.45rem 0.6rem 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs); color: var(--term-dim);
}
.term__copy {
  background: rgba(255, 255, 255, 0.08); border: 0; border-radius: 999px;
  padding: 0.25rem 0.8rem; font-size: var(--fs-xs); color: var(--term-fg); cursor: pointer;
}
.term__copy:hover { background: rgba(255, 255, 255, 0.16); }
.term__body {
  margin: 0; padding: 0.9rem 1rem 1rem;
  font: 400 1.125rem/1.45 var(--font-mono);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.term__ps1 { color: var(--t-green); font-weight: 700; }
.snippet {
  margin: 0 0 1rem; padding: 0.9rem 1rem; border-radius: var(--radius);
  background: var(--aub-850); color: var(--term-fg);
  font: 400 1.0625rem/1.45 var(--font-mono); overflow-x: auto;
}
.snippet code { background: none; padding: 0; font-size: 1em; }

/* verification */
.verify { margin-top: 2.5rem; }
.verify__title, .explain__title { margin: 0 0 0.75rem; font-size: var(--fs-xl); font-weight: 500; }
.callout {
  margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: var(--radius);
  background: var(--warn-bg); color: var(--warn-ink);
}
.checks { list-style: none; margin: 1.25rem 0 0.5rem; padding: 0; display: grid; gap: 0.4rem; }
.check { display: grid; grid-template-columns: 5ch 1fr; gap: 0.75rem; align-items: baseline; }
.check__mark { font: 700 var(--fs-md) var(--font-mono); color: var(--ink-2); letter-spacing: 0.04em; }
.check.is-pass .check__mark { color: var(--ok); }
.check.is-fail .check__mark { color: var(--bad); }
.check.is-none .check__mark { opacity: 0.5; }
.checks.is-fresh .check__mark { animation: stamp 0.35s ease-out both; }
.checks.is-fresh .check:nth-child(2) .check__mark { animation-delay: 0.12s; }
.checks.is-fresh .check:nth-child(3) .check__mark { animation-delay: 0.24s; }
.checks.is-fresh .check:nth-child(4) .check__mark { animation-delay: 0.36s; }
.checks.is-fresh .check:nth-child(5) .check__mark { animation-delay: 0.48s; }
@keyframes stamp { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }
.verify__last { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--ink-2); }

.other { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.other summary { cursor: pointer; font-weight: 500; color: var(--ink-2); }
.other summary:hover { color: var(--ink); }
.code-form { display: grid; gap: 0.4rem; margin-top: 0.5rem; font-size: var(--fs-sm); }
.code-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.code-form input {
  flex: 1 1 16rem; padding: 0.6rem 0.8rem; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink);
  font: 400 var(--fs-md) var(--font-mono);
}

/* quiz */
.quiz { margin-top: 2rem; }
.choices { display: grid; gap: 0.6rem; }
.choice {
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: center;
  width: 100%; padding: 0.85rem 1rem; text-align: left; cursor: pointer;
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-md); line-height: 1.4;
}
.choice:hover:not(:disabled) { border-color: var(--aub-500); }
.choice:disabled { cursor: default; }
.choice__key {
  width: 2rem; height: 2rem; border-radius: 6px; display: grid; place-items: center;
  background: var(--code-bg); font: 700 var(--fs-md) var(--font-mono);
}
.choice.is-wrong { border-color: var(--bad); color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--bad); }
.choice.is-wrong .choice__key { background: var(--bad-bg); color: var(--bad); }
.choice.is-right { border-color: var(--ok); background: var(--ok-bg); }
.choice.is-right .choice__key { background: var(--ok); color: var(--paper-2); }

.answer { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.answer__input {
  flex: 1 1 16rem; padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); color: var(--ink);
  font: 400 1.125rem var(--font-mono);
}
.answer__input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(233, 84, 32, 0.25); }
.feedback { margin: 0.85rem 0 0; font-weight: 500; }
.feedback.is-ok { color: var(--ok); }
.feedback.is-bad { color: var(--bad); }

/* hints and explanation */
.hints { margin-top: 2rem; display: grid; gap: 0.75rem; justify-items: start; }
.hint {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line);
}
.hint p { margin: 0; }
.hint__label { font-size: var(--fs-xs); font-weight: 700; color: var(--orange-deep); margin-bottom: 0.2rem !important; }
.explain {
  margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--ok-bg); border-left: 4px solid var(--ok);
}
.explain__title { font-size: var(--fs-md); }
.explain p { margin: 0; }

.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.pager__link { text-decoration: none; display: grid; gap: 0.15rem; font-weight: 500; }
.pager__link:hover { color: var(--orange-deep); }
.pager__link--next { text-align: right; }
.pager__dir { font-size: var(--fs-xs); font-weight: 400; color: var(--ink-2); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  max-width: min(36rem, calc(100vw - 32px));
  padding: 0.75rem 1.25rem; border-radius: 999px;
  background: var(--aub-900); color: var(--term-fg);
  box-shadow: 0 10px 30px rgba(28, 0, 20, 0.35);
  font-size: var(--fs-sm); z-index: 30;
}
.toast--good { box-shadow: 0 10px 30px rgba(28, 0, 20, 0.35), inset 4px 0 0 var(--t-green); }
.toast--warn { box-shadow: 0 10px 30px rgba(28, 0, 20, 0.35), inset 4px 0 0 var(--t-yellow); }

/* ------------------------------------------------------------ mobile */

@media (max-width: 860px) {
  .app { display: block; }
  .rail {
    position: fixed; inset: 0 auto 0 0; width: min(20rem, 88vw); z-index: 20;
    transform: translateX(-102%); transition: transform 0.25s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  .rail.is-open { transform: none; }
  .topbar {
    position: sticky; top: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 0.6rem 16px; background: var(--aub-900); color: var(--term-fg);
  }
  .topbar__menu {
    background: none; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
    padding: 0.35rem 0.9rem; cursor: pointer; font-weight: 500;
  }
  .topbar__score { font-size: var(--fs-xs); color: var(--term-dim); text-align: right; }
  .page { padding-top: 1.75rem; }
  .page__title { font-size: 1.75rem; }
  .prose { font-size: var(--fs-md); }
  .term__body { font-size: 1rem; }
  .lessons__count { max-width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
