/* Tab (touchscreen kiosk). Text ≥ 18 px, touch targets ≥ 64 px, portrait + landscape, safe areas. No logos. */
body { user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#app { position: relative; z-index: 1; height: 100vh; height: 100dvh; }

:root {
  --pad-x: max(var(--s-8), env(safe-area-inset-left), env(safe-area-inset-right));
  --pad-top: max(var(--s-5), env(safe-area-inset-top));
  --pad-bottom: max(var(--s-5), env(safe-area-inset-bottom));
}
.eyebrow { font-size: 18px; }
.cap { font-size: 18px; }

/* ---------- screens: fade + 12 px rise, 360 ms ---------- */
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translate3d(0, var(--rise), 0);
  transition: opacity var(--d-screen) var(--ease-out), transform var(--d-screen) var(--ease-out), visibility 0s linear var(--d-screen);
}
.screen.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ================= HOME LOOP ================= */
.loop { position: relative; flex: 1; min-height: 0; }
.scene {
  position: absolute; inset: 0; padding: var(--pad-top) var(--pad-x) var(--s-4);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
  opacity: 0; transition: opacity var(--d-scene) var(--ease-in-out); pointer-events: none;
}
.scene.on { opacity: 1; }
.scene > * { transform: translate3d(0, var(--rise), 0); transition: transform var(--d-scene) var(--ease-out); }
.scene.on > * { transform: none; }

/* Scene 1: title */
.s-title .eyebrow { font-size: clamp(18px, 1.7vw, 24px); margin-bottom: var(--s-3); }
.home-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: .92; margin: 0;
  font-size: clamp(64px, 12vw, 200px); text-wrap: balance;
}
.s-title .gold-line { margin: var(--s-4) 0 var(--s-3); }
.home-sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 44px); color: var(--text-2); letter-spacing: -0.01em; }

/* Scene 2: challenge */
.s-challenge .eyebrow { font-size: clamp(18px, 1.7vw, 24px); }
.ch-num {
  font-family: var(--font-display); font-weight: 800; line-height: .86; letter-spacing: -0.045em; color: var(--gold);
  font-size: clamp(120px, 27vw, 46vh); margin: var(--s-2) 0 var(--s-5) -0.04em;
}
.ch-tag { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1.1; }
.ch-how { margin: var(--s-2) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: clamp(18px, 1.8vw, 24px); color: var(--text-2); }
.ch-how b { color: var(--text); font-weight: 600; }
.ch-how .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }

/* Scene 3: prizes */
.s-prizes { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); gap: var(--s-6); align-items: center; }
.s-prizes .eyebrow { font-size: clamp(18px, 1.5vw, 22px); }
.prize-head { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -0.03em; line-height: 1; margin: var(--s-2) 0 0; text-wrap: balance; }
.prize-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-items: stretch; }
.prize .pfoot { font-size: 18px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px 16px; }
.prize .place { font-size: 28px; line-height: 1.1; }

/* persistent bottom bar */
.home-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-3) var(--pad-x) max(var(--s-3), env(safe-area-inset-bottom));
  background: rgba(0, 12, 52, .72); box-shadow: inset 0 1px 0 var(--hairline);
}
.hb-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hb-round { display: flex; align-items: center; gap: 14px; font-size: 22px; color: var(--text-2); }
.hb-round b { color: var(--text); font-weight: 600; }
.scene-dots { display: flex; gap: 8px; height: 3px; }
.scene-dots i { width: 40px; height: 3px; border-radius: 2px; background: var(--hairline-strong); overflow: hidden; position: relative; }
.scene-dots i.on::after { content: ''; position: absolute; inset: 0; background: var(--text-2); transform-origin: left; animation: dot-fill linear forwards; animation-duration: var(--scene-ms, 5s); }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tap-btn { min-height: 88px; min-width: 380px; padding: 0 44px; font-size: 28px; font-weight: 800; border-radius: var(--r-md); flex: none; }
.tap-btn .ic { font-size: 30px; animation: nudge 2.4s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.home-locked { color: var(--text); font-size: 18px; }

/* ================= FORM ================= */
#screen-form { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--pad-top) var(--pad-x) var(--pad-bottom); }
.form-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: center; width: min(100%, 1200px); margin: auto; }
.fb-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.035em; line-height: .95; margin: var(--s-2) 0 var(--s-2); text-wrap: balance; }
.fb-lead { color: var(--text-2); font-size: 22px; margin: 0 0 var(--s-5); }
.fb-lead b { font-family: var(--font-display); font-weight: 800; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { position: relative; display: flex; gap: var(--s-2); align-items: flex-start; padding-bottom: var(--s-3); }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--hairline-strong); }
.steps .n { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.steps li.now .n { background: var(--white); color: var(--michelin-midnight); box-shadow: none; }
.steps .t { display: flex; flex-direction: column; padding-top: 2px; }
.steps .t b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--text-2); }
.steps li.now .t b { color: var(--text); }
.steps .t span { font-size: 18px; color: var(--text-3); }

.form-card { padding: var(--s-4); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-1); }
.fc-head { margin-bottom: var(--s-3); }
.fc-head h3 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; margin: 2px 0 0; line-height: 1.1; }
#fields { display: grid; gap: var(--s-2); margin-bottom: var(--s-2); }
#fields:has(.field:nth-child(4)) { grid-template-columns: 1fr 1fr; }
#fields:has(.field:nth-child(4)) .field:first-child { grid-column: 1 / -1; }
.field { position: relative; }
.field input {
  width: 100%; height: 72px; padding: 26px 20px 6px; border: 0; border-radius: var(--r-sm);
  font-size: 22px; font-weight: 500; color: var(--text); background: rgba(0, 12, 52, .6);
  box-shadow: inset 0 0 0 1px var(--hairline-strong); outline: none; user-select: text; -webkit-user-select: text;
  transition: background-color var(--d-2) var(--ease-out);
}
.field label {
  position: absolute; left: 20px; top: 0; height: 72px; display: flex; align-items: center; gap: 8px; pointer-events: none;
  font-size: 20px; font-weight: 500; color: var(--text-2); transform-origin: left center;
  transition: transform var(--d-2) var(--ease-out);
}
.field .opt-l { color: var(--text-3); font-weight: 400; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translate3d(0, -17px, 0) scale(.9); }
.field input:focus { box-shadow: inset 0 0 0 2px var(--cta); background: rgba(0, 12, 52, .85); }
.field.invalid input { box-shadow: inset 0 0 0 2px var(--red); }
.field.invalid label { color: #F2A9A7; }

.consent { display: flex; gap: var(--s-2); align-items: center; cursor: pointer; margin: 0 0 var(--s-2); min-height: 72px; padding: 14px var(--s-2); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--hairline); }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .box { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--text-2); transition: background-color var(--d-2) var(--ease-out); }
.consent .box .ic { font-size: 24px; color: var(--on-cta); stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--d-3) var(--ease-out); }
.consent input:checked + .box { background: var(--cta); box-shadow: none; }
.consent input:checked + .box .ic { stroke-dashoffset: 0; }
.consent input:focus-visible + .box { outline: 3px solid var(--cta); outline-offset: 3px; }
.consent-text { font-size: 18px; color: var(--text-2); line-height: 1.4; }
.form-error { display: flex; gap: 12px; align-items: center; color: #fff; background: rgba(177, 43, 40, .22); box-shadow: inset 0 0 0 1px rgba(177, 43, 40, .6); padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: var(--s-2); font-size: 18px; }
.form-error .ic { color: #F2A9A7; font-size: 22px; }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); }
.form-actions .btn { min-height: 72px; }
.form-actions .btn.ghost { padding: 0 24px; }

/* ================= QUIZ ================= */
.quiz { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.quiz-top {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--s-4); align-items: center;
  padding: max(var(--s-3), env(safe-area-inset-top)) var(--pad-x) var(--s-3);
  background: rgba(0, 12, 52, .72); box-shadow: inset 0 -1px 0 var(--hairline);
}
.q-count, .score-box { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.q-count b, .score-box b { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; }
.q-count .of, .score-box .of { color: var(--text-3); font-size: 18px; font-weight: 500; }
.score-box b { color: var(--gold); min-width: 2.6ch; text-align: right; }
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.progress .seg { height: 8px; border-radius: 4px; background: var(--hairline-strong); position: relative; overflow: hidden; }
.progress .seg::after { content: ''; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; transition: transform var(--d-4) var(--ease-out); background: var(--text); }
.progress .seg.now::after { transform: scaleX(1); background: var(--text); }
.progress .seg.ok::after { transform: scaleX(1); background: var(--green); }
.progress .seg.bad::after { transform: scaleX(1); background: var(--red); }
.q-pts { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--michelin-midnight); background: var(--gold); white-space: nowrap; }

.q-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s-3); min-height: 0; padding: var(--s-3) var(--pad-x) 0; width: min(100%, 1320px); margin: 0 auto; }
.q-body.enter { animation: q-enter var(--d-screen) var(--ease-out) both; }
@keyframes q-enter { from { opacity: 0; transform: translate3d(0, var(--rise), 0); } to { opacity: 1; transform: none; } }
.q-card { position: relative; padding: var(--s-3) var(--s-5) var(--s-4); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-1); overflow: hidden; }
.q-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.q-card-top { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: var(--s-1); }
.q-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.16; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }

.options { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.opt {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: var(--s-3); min-height: 112px; padding: var(--s-2) var(--s-3);
  border: 0; border-radius: var(--r-md); cursor: pointer; text-align: left;
  font-size: 24px; font-weight: 600; line-height: 1.22; color: var(--text);
  background: rgba(10, 44, 107, .6); box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: transform var(--d-1) var(--ease-out), opacity var(--d-3) var(--ease-out);
}
.opt:active { transform: scale(.98); }
.opt .fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; transition: transform 250ms var(--ease-out); }
.opt > :not(.fill) { position: relative; }
.opt .key { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 16px; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--text); background: rgba(0, 12, 52, .55); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.opt .txt { flex: 1; min-width: 0; }
.opt .mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 34px; }
.opt .mark .ic { stroke-width: 2.8; }
.opt .mark .draw { stroke-dasharray: 22; stroke-dashoffset: 22; animation: draw 320ms var(--ease-out) 120ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.gain {
  position: absolute; z-index: 2; height: 44px; pointer-events: none; padding: 0 18px; display: grid; place-items: center; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--michelin-midnight); background: var(--gold);
  opacity: 0; animation: gain 1300ms var(--ease-out) 150ms forwards; box-shadow: var(--shadow-1);
}
@keyframes gain { 0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.92); } 22% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1); } 78% { opacity: 1; transform: translate3d(0, -16px, 0); } 100% { opacity: 0; transform: translate3d(0, -32px, 0); } }

.options.locked .opt { pointer-events: none; }
.options.locked .opt:not(.correct):not(.wrong):not(.reveal):not(.pending) { opacity: .4; }
.opt.pending { box-shadow: inset 0 0 0 2px var(--text); }
.opt.correct .fill, .opt.reveal .fill { transform: scaleX(1); background: var(--green-fill); }
.opt.correct, .opt.reveal { box-shadow: inset 0 0 0 1px rgba(30, 158, 90, .9); }
.opt.wrong .fill { transform: scaleX(1); background: var(--red); }
.opt.wrong { box-shadow: inset 0 0 0 1px rgba(177, 43, 40, .9); animation: shake 280ms var(--ease-in-out) 1; }
.opt.correct .key, .opt.wrong .key, .opt.reveal .key { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-4px); } 88% { transform: translateX(2px); } }

.feedback { min-height: 72px; padding-bottom: max(0px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.feedback > span { display: inline-flex; align-items: center; gap: 10px; animation: q-enter var(--d-3) var(--ease-out) both; }
.feedback .ok { color: #57D08F; }
.feedback .bad { color: #F2A9A7; }
.feedback .ic { font-size: 26px; stroke-width: 2.6; }

.timer { position: relative; width: 52px; height: 52px; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 3.5; }
.timer .track { stroke: var(--hairline-strong); }
.timer .bar { stroke: var(--text); stroke-dasharray: 119.4; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.timer span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.timer.low .bar { stroke: var(--red); }
.timer.low span { color: #F2A9A7; }

/* ================= RESULT ================= */
#screen-result { overflow-y: auto; padding: var(--pad-top) var(--pad-x) var(--pad-bottom); }
.result { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: var(--s-8); align-items: center; width: min(100%, 1240px); margin: auto; }
.res-main .eyebrow { font-size: clamp(18px, 1.6vw, 22px); }
.result-points { display: flex; align-items: baseline; gap: 0 18px; margin: var(--s-2) 0 var(--s-3); }
.result-points .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 13.2vw, 210px); line-height: .88; letter-spacing: -0.04em; margin-left: -0.03em; }
.result-points .of { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); color: var(--text-2); font-weight: 600; white-space: nowrap; }
.result-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--hairline-strong); overflow: hidden; }
.result-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 70%, var(--gold-soft)); transform-origin: left; transform: scaleX(0); transition: transform var(--d-5) var(--ease-out); }
.result-label { margin-top: var(--s-3); font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; color: var(--gold); text-wrap: balance; }
.res-correct { margin-top: var(--s-1); font-size: 20px; color: var(--text-2); }
.res-correct b { color: var(--text); font-weight: 600; }

.res-side { display: flex; flex-direction: column; gap: var(--s-2); }
.result-stats { display: grid; gap: var(--s-2); }
.tile { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'cap val' 'sub val'; align-items: center; column-gap: var(--s-2); padding: 18px var(--s-3); border-radius: var(--r-md); background: var(--panel); box-shadow: inset 0 0 0 1px var(--hairline); }
.tile .cap { grid-area: cap; }
.tile .sub { grid-area: sub; font-size: 18px; color: var(--text-3); }
.tile b { grid-area: val; font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; line-height: 1; }
.result-cta { padding: var(--s-2) var(--s-3); border-radius: var(--r-md); font-size: 18px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.done-btn { min-height: 76px; width: 100%; justify-content: space-between; padding: 0 16px 0 var(--s-4); font-size: 24px; font-weight: 800; border-radius: var(--r-md); margin-top: var(--s-1); }
.ring { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: rgba(0, 12, 52, .18); }
.ring .bar { stroke: var(--michelin-midnight); stroke-dasharray: 94.25; stroke-linecap: round; }
.ring b { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

/* ================= PAUSED / TOAST ================= */
.paused { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); padding: var(--pad-top) var(--pad-x) var(--pad-bottom); }
.paused-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: clamp(48px, 7vw, 96px); margin: var(--s-1) 0 0; }
.paused-text { margin: 0; font-size: 24px; color: var(--text-2); max-width: 30ch; }
.net-toast { position: fixed; z-index: 5; left: 50%; top: max(24px, env(safe-area-inset-top)); transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 12px 20px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline-strong), var(--shadow-1); font-size: 18px; }
.net-toast .ic { color: var(--cta); font-size: 20px; }

/* ================= PORTRAIT ================= */
@media (orientation: portrait) {
  :root { --pad-x: max(var(--s-4), env(safe-area-inset-left), env(safe-area-inset-right)); --pad-top: max(var(--s-6), env(safe-area-inset-top)); }
  .home-title { font-size: clamp(64px, 15.5vw, 180px); }
  .ch-num { font-size: clamp(120px, 34vw, 40vh); }
  .s-prizes { grid-template-columns: 1fr; gap: var(--s-4); align-content: center; }
  .prize-row { gap: var(--s-2); }
  .home-bar { flex-direction: column-reverse; align-items: stretch; gap: var(--s-3); padding-top: var(--s-3); }
  .hb-info { flex-direction: row; align-items: center; justify-content: space-between; }
  .tap-btn { min-width: 0; width: 100%; }

  .form-layout { grid-template-columns: 1fr; gap: var(--s-4); max-width: 720px; }
  .fb-lead { margin-bottom: var(--s-3); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
  .steps li { flex-direction: column; gap: 10px; padding-bottom: 0; }
  .steps li:not(:last-child)::before { left: 52px; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; }
  #fields:has(.field:nth-child(4)) { grid-template-columns: 1fr; }

  .quiz-top { grid-template-columns: auto 1fr auto; row-gap: var(--s-3); column-gap: var(--s-2); }
  .quiz-top .progress { grid-column: 1 / -1; grid-row: 2; }
  .q-pts { justify-self: end; }
  .q-card { padding: var(--s-3) var(--s-4) var(--s-4); }
  .q-text { font-size: clamp(30px, 4.6vw, 44px); }
  .options { grid-template-columns: 1fr; }
  .opt { min-height: 96px; }

  .result { grid-template-columns: 1fr; gap: var(--s-5); max-width: 720px; }
  .result-points .big { font-size: clamp(110px, 27vw, 230px); }
  .result-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { grid-template-columns: 1fr; grid-template-areas: 'cap' 'val' 'sub'; row-gap: 8px; padding: var(--s-2); align-content: start; }
}

/* short landscape screens (small tablets) */
@media (orientation: landscape) and (max-height: 720px) {
  :root { --pad-top: var(--s-3); --pad-bottom: var(--s-3); }
  .opt { min-height: 88px; }
  .q-body { gap: var(--s-2); }
  .tap-btn { min-height: 72px; }
  .feedback { min-height: 56px; }
  .tile { padding: 12px var(--s-3); }
  .field input, .field label { height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .tap-btn .ic { animation: none; }
  .opt.wrong { animation: none; }
  .gain { animation-name: gain-fade; }
  @keyframes gain-fade { 0% { opacity: 0; } 25%, 75% { opacity: 1; } 100% { opacity: 0; } }
  .opt .fill { transition: none; }
  .scene > *, .screen { transform: none !important; }
  .field label { transition: none; }
}
