/* Coco Lagoon — un seul univers visuel : planches de cabane de plage, sable chaud et lagon.
   Thème unique (clair) assumé : le jeu garde le même look quel que soit le thème de l'appareil. */
:root {
  --sea: #16a6c4;
  --sea-d: #0b6f93;
  --sand: #fff3d6;
  --sand-2: #f6e2b3;
  --wood: #8a5a32;
  --wood-d: #5e3b1f;
  --coral: #ff6b57;
  --leaf: #2f9e62;
  --sun: #ffc93c;
  --ink: #3a2a1a;
  --ink-2: #6d5642;
  --paper: #ffffff;
  --danger: #d62839;
  --good: #2f9e62;
  --veil: rgba(8, 40, 60, 0.5);
  --f-display: 'Fredoka', 'Baloo 2', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --f-body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --lift: 0 4px 0 rgba(94, 59, 31, 0.35), 0 10px 24px rgba(10, 40, 60, 0.25);
  --lift-s: 0 3px 0 rgba(94, 59, 31, 0.35);
  color-scheme: light;
}
html, body { height: 100%; margin: 0; overflow: hidden; background: #0b6f93; color: var(--ink); font-family: var(--f-body); -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
#app { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
button { font-family: inherit; color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }

/* ---------- barre du haut ---------- */
#hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) max(10px, env(safe-area-inset-right, 0px)) 6px max(10px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
#hud > * { pointer-events: auto; }
.hud-l, .hud-m, .hud-r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pill {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  background: var(--sand); border: 2px solid var(--wood); border-radius: 999px; padding: 4px 12px 4px 8px; box-shadow: var(--lift-s);
  font: 600 15px var(--f-display); font-variant-numeric: tabular-nums;
}
.pill i { font-style: normal; }
.pill small { font-size: 12px; color: var(--ink-2); margin-left: 2px; }
.pill.neg b { color: var(--danger); }
.pill.clock { cursor: pointer; }
.ib {
  position: relative; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; border: 2px solid var(--wood);
  background: var(--sand); box-shadow: var(--lift-s); font-size: 18px; cursor: pointer;
}
.resort {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; max-width: 230px;
  background: linear-gradient(var(--wood), var(--wood-d)); color: #fff6e0; border: 2px solid var(--wood-d); border-radius: 12px;
  padding: 3px 12px 4px; font: 600 15px var(--f-display); cursor: pointer; box-shadow: var(--lift-s);
}
#v-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; line-height: 1; }
.s-bg { color: rgba(255, 255, 255, 0.28); }
.s-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--sun); transition: width 0.6s; }
.speed { display: flex; background: var(--sand); border: 2px solid var(--wood); border-radius: 12px; overflow: hidden; box-shadow: var(--lift-s); }
.speed button { border: 0; background: transparent; width: 36px; height: 36px; font-size: 15px; cursor: pointer; }
.speed button + button { border-left: 1px solid rgba(138, 90, 50, 0.25); }
.speed button.on { background: var(--sun); }
.badge { position: absolute; top: -7px; right: -7px; background: var(--coral); color: #fff; font: 700 11px var(--f-display); border-radius: 999px; padding: 2px 6px; font-style: normal; }

/* ---------- panneaux ---------- */
.card { position: absolute; z-index: 4; background: var(--sand); border: 3px solid var(--wood); border-radius: var(--r); box-shadow: var(--lift); }
#goals { left: max(10px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 62px); width: 300px; max-width: calc(100vw - 20px); padding: 8px 12px; }
.g-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; font: 600 14px var(--f-display); color: var(--wood-d); }
#goals ul { list-style: none; margin: 8px 0 2px; padding: 0; display: grid; gap: 7px; }
#goals li { display: flex; gap: 7px; font-size: 13px; line-height: 1.3; }
#goals li.done .gt { color: var(--ink-2); text-decoration: line-through; }
.gt { flex: 1; min-width: 0; }
.gt em { display: block; font-style: normal; font-weight: 800; font-size: 12px; color: var(--sea-d); font-variant-numeric: tabular-nums; }
.gb { display: block; height: 5px; background: rgba(94, 59, 31, 0.15); border-radius: 3px; margin-top: 3px; overflow: hidden; }
.gb span { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), #7dd56f); transition: width 0.5s; }
.g-s { font-size: 13px; margin: 6px 0 2px; }
#mission { right: max(10px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 62px); width: 250px; padding: 9px 12px; border-color: #d08a00; background: #fff8dc; }
#mission b { font: 600 14px var(--f-display); color: #9a5b00; }
#mission p { margin: 4px 0 6px; font-size: 13px; }
#mission small { font-size: 12px; color: var(--ink-2); }
#mission.pop { animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.bar { position: relative; height: 16px; background: rgba(94, 59, 31, 0.15); border-radius: 8px; overflow: hidden; margin: 4px 0; }
.bar span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #ffb81f, #ffd85c); border-radius: 8px; transition: width 0.4s; }
.bar em { position: relative; display: block; text-align: center; font: 600 11px/16px var(--f-display); font-style: normal; font-variant-numeric: tabular-nums; }
#feed { right: max(10px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 62px); bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); width: 320px; max-width: calc(100vw - 20px); display: flex; flex-direction: column; z-index: 7; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 14px; border-bottom: 2px dashed rgba(138, 90, 50, 0.3); font-family: var(--f-display); }
#feed-list { overflow-y: auto; padding: 6px 10px 10px; display: grid; gap: 8px; align-content: start; }
.rev { display: flex; gap: 8px; background: var(--paper); border-radius: 12px; padding: 8px 10px; border: 1px solid rgba(138, 90, 50, 0.2); }
.rev.star { background: #fff8dc; border-color: #e8b400; }
.rev > i { font-style: normal; font-size: 24px; }
.rev b { font: 600 13px var(--f-display); margin-right: 6px; }
.rs { color: #f0a400; font-size: 12px; letter-spacing: 1px; }
.rs span { color: #ddd0bb; }
.rev p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; }
.x { border: 0; background: transparent; font-size: 16px; cursor: pointer; color: var(--ink-2); padding: 4px 6px; border-radius: 8px; }
.x:hover { background: rgba(138, 90, 50, 0.12); }

#info { left: max(10px, env(safe-area-inset-left, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); width: 300px; max-width: calc(100vw - 20px); padding: 10px 12px 12px; z-index: 6; }
.i-h { display: flex; gap: 10px; align-items: flex-start; }
.i-h > i { font-style: normal; font-size: 30px; line-height: 1; }
.i-h > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.i-h b { font: 600 16px var(--f-display); color: var(--wood-d); }
.i-h small { font-size: 12px; color: var(--ink-2); }
.lv { color: #f0a400; font-size: 13px; }
#info dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 8px 0 4px; font-size: 13px; }
#info dt { color: var(--ink-2); }
#info dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.needs { display: grid; gap: 4px; margin-top: 6px; }
.need { display: flex; align-items: center; gap: 6px; }
.need i { font-style: normal; width: 20px; text-align: center; }
.need .bar { flex: 1; height: 8px; margin: 0; }
.need .bar span { background: linear-gradient(90deg, #7dd56f, #ffb81f); }
.need .bar span.hot { background: linear-gradient(90deg, #ff9f43, var(--danger)); }
.bar.happy span { background: linear-gradient(90deg, #ff8fb1, #ffd85c); }
.wish { margin: 4px 0; font-size: 14px; }
.wallet { display: block; margin-top: 6px; color: var(--ink-2); font-size: 12px; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#info .acts:empty { display: none; }

#daily { right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); width: 250px; padding: 10px 14px; cursor: pointer; animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); z-index: 6; }
#daily b { font: 600 15px var(--f-display); color: var(--wood-d); }
#daily dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin: 8px 0 6px; font-size: 13px; }
#daily dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
#daily small { color: var(--ink-2); font-size: 11px; }
.pos { color: var(--good); }
.negv { color: var(--danger); }

/* ---------- notifications ---------- */
#toasts { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 62px); left: 50%; transform: translateX(-50%); width: min(500px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 6px; z-index: 9; pointer-events: none; }
.toast { display: flex; gap: 9px; align-items: center; background: rgba(255, 250, 235, 0.97); border: 2px solid var(--wood); border-left-width: 7px; border-radius: 12px; padding: 7px 12px; font-size: 14px; line-height: 1.35; box-shadow: 0 6px 18px rgba(10, 40, 60, 0.25); animation: tin 0.3s ease-out; }
.toast i { font-style: normal; font-size: 20px; }
.toast.good { border-left-color: var(--good); }
.toast.bad { border-left-color: var(--danger); }
.toast.event { border-left-color: var(--sun); }
.toast.tip { border-left-color: var(--sea); background: #effbff; }
.toast.out { opacity: 0; transform: translateY(-6px); transition: 0.4s; }

/* ---------- barre de construction ---------- */
#bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 max(8px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 8px) max(8px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
#bar > * { pointer-events: auto; max-width: 100%; }
#cats { display: flex; gap: 4px; background: linear-gradient(var(--wood), var(--wood-d)); padding: 6px; border-radius: 16px; box-shadow: var(--lift); overflow-x: auto; scrollbar-width: none; }
#cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 66px; padding: 5px 6px 4px; border: 0; border-radius: 11px; background: rgba(255, 243, 214, 0.12); color: #fff6e0; font: 600 11px var(--f-display); cursor: pointer; }
.cat i { font-style: normal; font-size: 21px; line-height: 1.15; }
.cat.tool { background: rgba(0, 0, 0, 0.2); }
.cat:hover { background: rgba(255, 243, 214, 0.25); }
.cat.on { background: var(--sand); color: var(--ink); box-shadow: inset 0 -3px 0 var(--sun); }
#items { display: flex; gap: 6px; padding: 8px; background: var(--sand); border: 3px solid var(--wood); border-radius: 16px; box-shadow: var(--lift); overflow-x: auto; max-width: min(100%, 1000px); animation: rise 0.2s ease-out; }
.item { flex: 0 0 auto; width: 98px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 6px; background: var(--paper); border: 2px solid rgba(138, 90, 50, 0.35); border-radius: 12px; cursor: pointer; font-family: var(--f-display); color: var(--ink); transition: transform 0.12s; }
.item i { font-style: normal; font-size: 28px; line-height: 1.15; }
.item .nm { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; }
.item .pr { font-size: 11px; font-weight: 700; color: var(--leaf); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item.poor .pr { color: var(--danger); }
.item.lock { opacity: 0.55; filter: grayscale(0.7); }
.item.on { border-color: #e8a800; background: #fff8dc; box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.55); }
.item:hover { transform: translateY(-2px); }
#banner { display: flex; align-items: center; gap: 10px; background: #effbff; border: 2px solid var(--sea-d); border-radius: 12px; padding: 6px 8px 6px 12px; box-shadow: var(--lift-s); font-size: 13px; }
#banner i { font-style: normal; font-size: 22px; }
#banner span { display: flex; flex-direction: column; }
#banner small { color: var(--ink-2); font-size: 12px; }
#tip { position: fixed; z-index: 12; width: 250px; background: #fffdf6; border: 2px solid var(--wood); border-radius: 12px; padding: 9px 11px; box-shadow: var(--lift); pointer-events: none; }
#tip b { font: 600 14px var(--f-display); color: var(--wood-d); }
#tip p { margin: 4px 0 6px; font-size: 13px; line-height: 1.35; }
#tip small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.4; }

/* ---------- boutons & fenêtres ---------- */
.btn { font: 600 16px var(--f-display); border-radius: 14px; padding: 10px 18px; background: var(--paper); color: var(--ink); border: 2px solid rgba(138, 90, 50, 0.45); box-shadow: var(--lift-s); cursor: pointer; transition: transform 0.1s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(94, 59, 31, 0.35); }
.btn.primary { background: linear-gradient(#ffd85c, #ffb81f); border-color: #c98500; }
.btn.danger { background: #ffe4e0; border-color: var(--danger); color: #8f1520; }
.btn.warn { background: #fff1c2; border-color: #d08a00; }
.btn.sm { font-size: 13px; padding: 7px 11px; border-radius: 11px; }
.btn.big { font-size: 20px; padding: 13px 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.btn.big small { font: 500 12px var(--f-body); opacity: 0.85; }
#modal { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: var(--veil); }
.mcard { width: min(460px, 100%); max-height: calc(100% - 16px); overflow: auto; background: var(--sand); border: 4px solid var(--wood); border-radius: 22px; padding: 20px 22px 18px; box-shadow: var(--lift); text-align: center; animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1); }
.mcard.wide { width: min(620px, 100%); }
.mcard.menu .acts { flex-direction: column; }
.mcard h2 { font: 700 26px var(--f-display); margin: 4px 0 8px; color: var(--wood-d); text-wrap: balance; }
.mcard h3 { font: 600 16px var(--f-display); margin: 14px 0 6px; color: var(--wood-d); }
.mcard p { margin: 6px 0; line-height: 1.45; }
.mcard .acts { justify-content: center; margin-top: 16px; }
.mcard input { width: 100%; box-sizing: border-box; font: 600 18px var(--f-display); padding: 10px 12px; border: 2px solid var(--wood); border-radius: 12px; background: var(--paper); color: var(--ink); margin-top: 6px; }
.eyebrow { font: 600 12px var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--sea-d); }
.story { font-size: 15px; }
.crab { font-size: 54px; line-height: 1; animation: bob 2.4s ease-in-out infinite; }
.big-e { font-size: 64px; line-height: 1.1; }
.glist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; text-align: left; font-size: 14px; }
.glist li { background: var(--paper); border-radius: 10px; padding: 7px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chip { background: var(--paper); border: 2px solid rgba(138, 90, 50, 0.3); border-radius: 999px; padding: 4px 10px; font: 600 13px var(--f-display); }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; text-align: left; max-width: 300px; margin: 10px auto; font-size: 14px; }
.sum dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.help { text-align: left; display: grid; gap: 8px; }
.help p { margin: 0; font-size: 14px; }
.help b { display: block; font-family: var(--f-display); color: var(--wood-d); }
.achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; text-align: left; margin-top: 10px; }
.ach { background: var(--paper); border-radius: 12px; padding: 8px 10px; opacity: 0.55; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.ach.on { opacity: 1; border: 2px solid #e8b400; background: #fff8dc; }
.ach i { font-style: normal; font-size: 24px; grid-row: span 2; }
.ach b { font: 600 13px var(--f-display); }
.ach small { font-size: 11px; color: var(--ink-2); }

/* ---------- écran titre ---------- */
.screen { position: absolute; inset: 0; z-index: 15; overflow-y: auto; display: flex; padding: calc(env(safe-area-inset-top, 0px) + 20px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 20px) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(255, 210, 140, 0.5) 0%, rgba(255, 150, 120, 0.18) 40%, rgba(8, 60, 95, 0.55) 100%); }
.t-wrap { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; max-width: 420px; }
.t-wrap.wide { max-width: 1000px; }
.logo { text-align: center; font-family: var(--f-display); line-height: 0.85; filter: drop-shadow(0 6px 0 rgba(94, 59, 31, 0.5)); animation: bob 4s ease-in-out infinite; }
.logo .l1 { display: block; font-size: clamp(60px, 14vw, 124px); font-weight: 700; color: #fff6e0; -webkit-text-stroke: 3px var(--wood-d); }
.logo .l2 { display: block; font-size: clamp(50px, 12vw, 106px); font-weight: 700; color: var(--sun); -webkit-text-stroke: 3px var(--wood-d); transform: rotate(-3deg); }
.logo small { display: block; margin-top: 16px; font: 700 clamp(14px, 3.4vw, 18px) var(--f-body); color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.t-menu { display: grid; gap: 10px; width: min(360px, 100%); margin-top: 26px; }
.row { display: flex; gap: 8px; }
.row .btn { flex: 1; }
.row.langs { flex-wrap: wrap; }
.row.langs .btn.on { background: linear-gradient(#ffd85c, #ffb81f); border-color: #c98500; }
.t-foot { color: #fff; font-size: 13px; text-align: center; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); margin-top: 16px; }
.t-h { font: 700 34px var(--f-display); color: #fff6e0; -webkit-text-stroke: 2px var(--wood-d); margin: 0; }
.lvls { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; width: 100%; margin: 14px 0; }
.lvl { background: var(--sand); border: 3px solid var(--wood); border-radius: 18px; overflow: hidden; box-shadow: var(--lift); text-align: left; display: flex; flex-direction: column; min-width: 0; }
.lv-art { height: 116px; display: grid; place-items: center; font-size: 62px; position: relative; }
.lvl.classic .lv-art { background: linear-gradient(165deg, #9be2ff 0 30%, #46cdd6 30% 58%, #f3dba0 58%); }
.lvl.volcano .lv-art { background: linear-gradient(165deg, #ffb38a 0 30%, #36bdb2 30% 58%, #4b4541 58%); }
.lvl.atoll .lv-art { background: radial-gradient(circle at 50% 55%, #86f2e2 0 26%, #fbf0d3 27% 38%, #158fc8 39%); }
.lv-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lv-b small { font: 600 12px var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--sea-d); }
.lv-b h3 { font: 700 21px var(--f-display); margin: 0; color: var(--wood-d); }
.lv-b p { margin: 0; font-size: 14px; color: var(--ink-2); }
.lv-b .row { margin-top: auto; padding-top: 6px; }
.lv-m { font-size: 12px !important; }
.lk { font-weight: 700; margin-top: auto !important; }
.medal { position: absolute; top: 8px; right: 10px; font-size: 36px; font-style: normal; }
.lvl.lock { filter: grayscale(0.75); opacity: 0.8; }

@keyframes pop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes tin { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- petits écrans ---------- */
@media (max-width: 760px) {
  .hud-m { order: 3; width: 100%; justify-content: center; }
  .pill { font-size: 13px; padding: 3px 9px 3px 6px; }
  .pill small { display: none; }
  .resort { max-width: 150px; font-size: 13px; }
  .speed button { width: 32px; height: 32px; }
  .ib { width: 36px; height: 36px; }
  #goals, #mission { top: calc(env(safe-area-inset-top, 0px) + 100px); }
  #goals { width: calc(100vw - 20px); max-width: 360px; }
  #mission { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); left: max(10px, env(safe-area-inset-left, 0px)); right: auto; width: 230px; }
  #feed { top: calc(env(safe-area-inset-top, 0px) + 100px); }
  #toasts { top: calc(env(safe-area-inset-top, 0px) + 100px); }
  #info, #daily { left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); width: auto; }
  .cat { min-width: 54px; font-size: 10px; }
  .item { width: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
