/* Elgelsk – stilark. Mobil først, fungerer på iPad og Chromebook. */

:root {
  --primary: #F4731C;
  --primary-dark: #C95A0F;
  --primary-light: #FFE3CF;
  --accent: #12A6A0;
  --accent-dark: #0D827D;
  --bg: #FFF9F2;
  --card: #FFFFFF;
  --text: #2B2B2B;
  --muted: #7A7A7A;
  --line: #E8E2DA;
  --ok: #3BB273;
  --ok-dark: #2E8F5C;
  --ok-bg: #E4F7EC;
  --warn: #F2B705;
  --warn-dark: #C29200;
  --warn-bg: #FFF6D6;
  --locked: #D6D2CC;
  --n1: #F4A11D;
  --n2: #12A6A0;
  --n3: #7B5CD6;
  --radius: 18px;
  --tap: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs: 17px;
  --ls: 0;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs);
  letter-spacing: var(--ls);
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
body.big-text { --fs: 20px; }
body.spacing { --ls: 0.06em; line-height: 1.7; }
input, textarea { -webkit-user-select: text; user-select: text; }
button { font-family: inherit; font-size: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; }
h2 { font-size: 1.35em; }
h3 { font-size: 1.15em; }
p { margin: 0 0 10px; line-height: 1.45; }

/* ---------- Skjermer ---------- */
.screen {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column;
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
}
.screen.active { display: flex; }
@media (min-width: 740px) {
  .screen { box-shadow: 0 0 0 1px var(--line); }
}
.content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(24px + var(--sab));
}
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(10px + var(--sat)) 12px 10px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  min-height: calc(56px + var(--sat));
}
.topbar-title { margin: 0; font-size: 1.2em; text-align: center; flex: 1; }
.icon-btn {
  width: var(--tap); height: var(--tap); border-radius: 50%;
  border: none; background: transparent; font-size: 1.3em;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:active { background: var(--primary-light); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px;
  border-radius: 16px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.05em;
  transition: transform .06s ease, box-shadow .06s ease, background .15s;
}
.btn:active { transform: translateY(3px); box-shadow: none !important; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--primary-dark); }
.btn-ok { background: var(--ok); color: #fff; box-shadow: 0 4px 0 var(--ok-dark); }
.btn-warn { background: var(--warn); color: #3a2f00; box-shadow: 0 4px 0 var(--warn-dark); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-xl { min-height: 64px; font-size: 1.25em; padding: 14px 32px; }
.btn-block { width: 100%; }
.btn-check { min-width: 160px; }
.row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Kort og skjema ---------- */
.card {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--line); margin-bottom: 16px;
}
.label { display: block; font-weight: 700; margin: 12px 0 6px; }
.input {
  width: 100%; min-height: var(--tap); padding: 10px 14px;
  border: 2px solid var(--line); border-radius: 14px; font-size: 1.1em; font-family: inherit;
  background: #fff; color: var(--text);
}
.input:focus { outline: none; border-color: var(--accent); }
textarea.input { min-height: 120px; font-size: .9em; }

/* ---------- Startskjerm ---------- */
#screen-start { justify-content: center; align-items: center; background: linear-gradient(180deg, #FFE9D6 0%, var(--bg) 60%); }
.start-inner { text-align: center; padding: 24px; }
.start-mascot svg { width: 180px; height: 180px; }
.start-title { font-size: 2.4em; color: var(--primary-dark); margin: 8px 0 4px; }
.start-sub { color: var(--muted); margin-bottom: 28px; font-size: 1.1em; }
.start-hint { color: var(--muted); margin-top: 18px; font-size: .95em; }

/* ---------- Profiler ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.profile-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; min-height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 4px 0 var(--line);
}
.profile-card:active { transform: translateY(3px); box-shadow: none; }
.profile-card .avatar { font-size: 3em; line-height: 1; }
.profile-card .name { font-weight: 700; font-size: 1.1em; }
.profile-card .meta { color: var(--muted); font-size: .9em; }
.profile-card.new { border-style: dashed; color: var(--muted); }
.avatar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.avatar-opt {
  font-size: 2em; line-height: 1; min-height: 56px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff;
}
.avatar-opt.selected { border-color: var(--primary); background: var(--primary-light); }
.level-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.level-opt {
  border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 10px 6px;
  font-weight: 700; min-height: 64px; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.level-opt small { font-weight: 400; color: var(--muted); }
.level-opt.selected { border-color: var(--primary); background: var(--primary-light); }

/* ---------- Forside ---------- */
.home-top { justify-content: space-between; }
.profile-chip {
  display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent;
  font-weight: 700; font-size: 1.05em; min-height: var(--tap); padding: 4px 8px; border-radius: 14px;
}
.profile-chip .avatar { font-size: 1.8em; line-height: 1; }
.stat-chips { display: flex; gap: 6px; }
.chip {
  background: var(--primary-light); color: var(--primary-dark); font-weight: 700;
  padding: 6px 10px; border-radius: 999px; font-size: .95em; white-space: nowrap;
}
.content-home { padding-bottom: calc(90px + var(--sab)); }
.goal-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 14px;
}
.goal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 8px; }
.goal-head small { color: var(--muted); font-weight: 400; }
.goal-bar { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; }
.goal-bar > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.goal-done { color: var(--ok-dark); }
.level-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.level-tab {
  min-height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--card);
  font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.level-tab small { font-weight: 400; color: var(--muted); font-size: .8em; }
.level-tab.active { color: #fff; border-color: transparent; }
.level-tab.active small { color: rgba(255,255,255,.85); }
.level-tab.n1.active { background: var(--n1); }
.level-tab.n2.active { background: var(--n2); }
.level-tab.n3.active { background: var(--n3); }
.btn-practice { width: 100%; background: var(--card); border-color: var(--accent); color: var(--accent-dark); box-shadow: 0 4px 0 var(--accent); margin-bottom: 18px; }

/* Læringssti */
.unit { margin-bottom: 26px; }
.unit-head {
  display: flex; align-items: center; gap: 12px; border-radius: var(--radius); padding: 14px 16px; color: #fff;
  margin-bottom: 14px;
}
.unit-head.n1 { background: var(--n1); }
.unit-head.n2 { background: var(--n2); }
.unit-head.n3 { background: var(--n3); }
.unit-head.locked { background: var(--locked); color: #fff; }
.unit-head.planned { background: #EDE8E1; color: var(--muted); }
.unit-emoji { font-size: 2.2em; line-height: 1; }
.unit-title { font-weight: 800; font-size: 1.15em; }
.unit-goal { font-size: .9em; opacity: .92; }
.unit-stars { margin-left: auto; font-size: 1.1em; white-space: nowrap; }
.lesson-row { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lesson-node {
  width: 78px; height: 78px; border-radius: 50%; border: none; color: #fff;
  font-size: 1.6em; font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 6px 0 rgba(0,0,0,.18); position: relative;
}
.lesson-node small { font-size: .5em; font-weight: 700; }
.lesson-node.n1 { background: var(--n1); }
.lesson-node.n2 { background: var(--n2); }
.lesson-node.n3 { background: var(--n3); }
.lesson-node.done { background: var(--ok); }
.lesson-node.locked { background: var(--locked); box-shadow: 0 6px 0 #BDB8B0; }
.lesson-node.next { animation: pulse 1.6s infinite; }
.lesson-node:active { transform: translateY(4px); box-shadow: none; }
.lesson-node:nth-child(odd) { margin-left: -70px; }
.lesson-node:nth-child(even) { margin-left: 70px; }
.lesson-node .lbl {
  position: absolute; top: 84px; font-size: .55em; font-weight: 700; color: var(--text); white-space: nowrap;
}
.lesson-row .lesson-node { margin-bottom: 18px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.planned-note { text-align: center; color: var(--muted); font-size: .9em; }

.bottomnav {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-top: 1px solid var(--line);
  padding: 6px 0 calc(6px + var(--sab));
}
.nav-btn {
  border: none; background: transparent; font-size: 1.4em; min-height: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted);
}
.nav-btn span { font-size: .55em; font-weight: 700; }
.nav-btn.active { color: var(--primary-dark); }

/* ---------- Leksjon ---------- */
.lesson-top {
  display: flex; align-items: center; gap: 10px;
  padding: calc(8px + var(--sat)) 10px 8px;
}
.progress { flex: 1; height: 16px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--ok); border-radius: 999px; transition: width .4s; }
.lesson-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 16px 16px; }
.lesson-instr-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-mascot svg { width: 56px; height: 56px; }
.instr { margin: 0; font-size: 1.25em; }
.lesson-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 16px calc(12px + var(--sab));
  border-top: 1px solid var(--line); background: var(--card);
}

/* Felles oppgaveelementer */
.prompt-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.prompt-text { font-size: 1.35em; font-weight: 700; flex: 1; }
.prompt-text.small { font-size: 1.1em; font-weight: 600; }
.speak-btn {
  width: 56px; height: 56px; border-radius: 16px; border: none; flex-shrink: 0;
  background: var(--accent); color: #fff; font-size: 1.5em; box-shadow: 0 4px 0 var(--accent-dark);
}
.speak-btn:active { transform: translateY(3px); box-shadow: none; }
.speak-btn.big { width: 120px; height: 120px; font-size: 3em; border-radius: 28px; }
.speak-btn.slow { background: #fff; color: var(--accent-dark); border: 2px solid var(--accent); box-shadow: 0 4px 0 var(--accent); width: 56px; height: 56px; }
.speak-btn.playing { animation: pulse .8s infinite; }
.listen-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0 22px; }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
.option {
  min-height: 60px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--line);
  background: var(--card); font-size: 1.1em; font-weight: 600; text-align: left;
  box-shadow: 0 4px 0 var(--line); display: flex; align-items: center; gap: 10px;
}
.option:active { transform: translateY(3px); box-shadow: none; }
.option.selected { border-color: var(--accent); background: #E6F7F6; box-shadow: 0 4px 0 var(--accent); }
.option.pic { flex-direction: column; justify-content: center; text-align: center; min-height: 130px; padding: 10px; }
.option .pic-big { font-size: 3.4em; line-height: 1.1; }
.option .pic-lbl { font-size: .85em; color: var(--muted); font-weight: 600; }
.option.disabled { pointer-events: none; }
.option.right { border-color: var(--ok); background: var(--ok-bg); box-shadow: 0 4px 0 var(--ok); }
.option.wrong { border-color: var(--warn); background: var(--warn-bg); box-shadow: 0 4px 0 var(--warn); }

/* Ordbrikker */
.answer-area {
  min-height: 72px; border-bottom: 2px solid var(--line); border-top: 2px solid var(--line);
  padding: 10px 4px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-content: flex-start;
}
.bank { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.token {
  min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--line);
  background: var(--card); font-size: 1.1em; font-weight: 600; box-shadow: 0 3px 0 var(--line);
}
.token:active { transform: translateY(3px); box-shadow: none; }
.token.ghost { visibility: hidden; }

/* Luketekst */
.blank-sentence { font-size: 1.4em; font-weight: 600; line-height: 1.7; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.blank { display: inline-block; min-width: 80px; border-bottom: 3px solid var(--accent); text-align: center; color: var(--accent-dark); padding: 0 6px; }
.blank.empty { color: transparent; }

/* Par */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair-col { display: flex; flex-direction: column; gap: 10px; }
.pair-btn {
  min-height: 60px; padding: 8px 10px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--card); font-size: 1.05em; font-weight: 600; box-shadow: 0 4px 0 var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.pair-btn .pic-big { font-size: 2.2em; }
.pair-btn.selected { border-color: var(--accent); background: #E6F7F6; box-shadow: 0 4px 0 var(--accent); }
.pair-btn.done { opacity: .35; pointer-events: none; border-color: var(--ok); background: var(--ok-bg); }
.pair-btn.shake { animation: shake .35s; border-color: var(--warn); }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Tekstinnskriving */
.type-input { font-size: 1.25em; }
.diff { margin-top: 8px; font-size: 1em; }
.diff del { color: #B00020; background: #FFE3E3; text-decoration: line-through; border-radius: 4px; padding: 0 2px; }
.diff ins { color: var(--ok-dark); background: var(--ok-bg); text-decoration: none; border-radius: 4px; padding: 0 2px; }

/* Snakke */
.speak-box { text-align: center; }
.mic-btn {
  width: 120px; height: 120px; border-radius: 50%; border: none; background: var(--primary); color: #fff;
  font-size: 3em; box-shadow: 0 6px 0 var(--primary-dark); margin: 18px auto; display: block;
}
.mic-btn.listening { animation: pulse .9s infinite; background: #E0453A; box-shadow: 0 6px 0 #A8302A; }
.mic-btn:active { transform: translateY(4px); box-shadow: none; }
.heard { color: var(--muted); min-height: 1.5em; }

/* Lesetekst */
.read-text { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 1.15em; line-height: 1.6; margin-bottom: 14px; }
.question { font-weight: 700; font-size: 1.15em; margin-bottom: 12px; }

/* Tilbakemelding */
.feedback {
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateY(110%); transition: transform .25s ease;
  padding: 18px 16px calc(18px + var(--sab));
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,.12);
}
.feedback.show { transform: translateY(0); }
.feedback.ok { background: var(--ok-bg); color: var(--ok-dark); }
.feedback.wrong { background: var(--warn-bg); color: #6B5200; }
.feedback-inner { max-width: 720px; margin: 0 auto; }
.feedback-head { display: flex; align-items: center; gap: 10px; font-size: 1.4em; font-weight: 800; margin-bottom: 6px; }
.feedback-answer { font-size: 1.15em; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feedback-answer .speak-btn { width: 44px; height: 44px; font-size: 1.1em; border-radius: 12px; }
.feedback-explain { margin-bottom: 12px; line-height: 1.45; }
.feedback.ok .btn-primary { background: var(--ok); box-shadow: 0 4px 0 var(--ok-dark); }
.feedback.wrong .btn-primary { background: var(--warn); color: #3a2f00; box-shadow: 0 4px 0 var(--warn-dark); }
.feedback .btn-check { width: 100%; }

/* ---------- Fullført ---------- */
#screen-complete { align-items: center; justify-content: center; text-align: center; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.complete-inner { padding: 24px; position: relative; }
.complete-mascot svg { width: 160px; height: 160px; }
.stars { font-size: 2.4em; margin: 6px 0 14px; letter-spacing: 4px; }
.stars .dim, .unit-stars .dim { opacity: .3; filter: grayscale(1); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.result { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; }
.result-num { display: block; font-size: 1.5em; font-weight: 800; color: var(--primary-dark); }
.result-lbl { color: var(--muted); font-size: .9em; }
.badge-new { background: var(--warn-bg); border: 2px solid var(--warn); border-radius: 14px; padding: 12px; margin-bottom: 18px; font-weight: 700; }

/* ---------- Ordbok ---------- */
.dict-unit { margin-bottom: 18px; }
.dict-unit h3 { display: flex; align-items: center; gap: 8px; }
.dict-item {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px 10px; margin-bottom: 8px;
}
.dict-item .pic-big { font-size: 1.8em; width: 44px; text-align: center; }
.dict-item .words { flex: 1; }
.dict-item .en { font-weight: 700; font-size: 1.1em; }
.dict-item .no { color: var(--muted); }
.dict-item .status { font-size: .8em; font-weight: 700; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.status.good { background: var(--ok-bg); color: var(--ok-dark); }
.status.practice { background: var(--warn-bg); color: #6B5200; }
.status.new { background: #EEE; color: var(--muted); }
.dict-item .speak-btn { width: 44px; height: 44px; font-size: 1.1em; border-radius: 12px; }

/* ---------- Innstillinger / foreldre ---------- */
.setting {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
  min-height: 60px;
}
.setting .lbl { font-weight: 700; }
.setting .sub { color: var(--muted); font-size: .9em; }
.toggle {
  width: 58px; height: 34px; border-radius: 999px; border: none; background: var(--line); position: relative; flex-shrink: 0;
}
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on { background: var(--ok); }
.toggle.on::after { left: 28px; }
.seg { display: flex; gap: 6px; }
.seg button { min-height: 40px; padding: 6px 12px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-weight: 700; }
.seg button.on { border-color: var(--primary); background: var(--primary-light); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.stat-num { display: block; font-size: 1.6em; font-weight: 800; color: var(--primary-dark); }
.stat-lbl { color: var(--muted); font-size: .9em; }
.badge-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.badge { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; font-size: .85em; font-weight: 700; }
.badge .b-emoji { font-size: 2em; display: block; }
.badge.off { opacity: .35; }
.gate { text-align: center; }
.gate .big { font-size: 2em; font-weight: 800; margin: 12px 0; }
.list-plain { padding-left: 18px; line-height: 1.6; }

/* ---------- Dialog / toast ---------- */
.dialog-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.dialog { background: var(--card); border-radius: var(--radius); padding: 20px; width: 100%; max-width: 420px; }
.dialog p { color: var(--text); }
.toast {
  position: absolute; left: 50%; bottom: calc(100px + var(--sab)); transform: translateX(-50%);
  background: #333; color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; z-index: 60;
  max-width: 90%; text-align: center;
}

/* Maskot */
.mascot-svg { display: block; }
.bounce { animation: bounce .6s; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 70% { transform: translateY(-6px); } }

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