@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/mukta-500-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/mukta-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/mukta-700-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/mukta-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/mukta-800-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/mukta-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* the album page */
  --cobalt: #2140ff;
  --cobalt-deep: #1328c9;
  --paper: #ffffff;
  --ink: #0b0b2e;
  --soft: #cdd6ff;       /* secondary text on cobalt */
  --hi: #ffe66b;         /* focus, selection, warnings on cobalt */
  --shadow: 0 14px 30px rgb(6 12 90 / .45);
  /* holo foil */
  --foil: conic-gradient(from var(--hue, 0deg) at 30% 25%, #ff7ad9, #ffe66b, #6bffd8, #7aa8ff, #d07aff, #ff7ad9);
  --foil-pale: conic-gradient(from var(--hue, 0deg) at 30% 25%, #ffb3e6, #ffe680, #9dffd9, #a8bfff, #dda6ff, #ffb3e6);
  --display: 'Anton', 'Mukta', 'Arial Narrow', sans-serif;
  --body: 'Mukta', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--cobalt); scrollbar-color: rgb(255 255 255 / .45) var(--cobalt-deep); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--cobalt);
  color: var(--paper);
  font: 500 17px/1.45 var(--body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--hi); color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

#app { max-width: 440px; margin: 0 auto; padding: max(10px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); }
.screen { animation: in .35s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- top strip ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 8px; }
.wordmark { background: none; border: 0; padding: 6px 0; font: 400 24px/1 var(--display); letter-spacing: .02em; color: var(--paper); }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; background: none; border: 0; color: var(--paper); border-radius: 50%; }
.iconbtn .ic { width: 26px; height: 26px; }
.lang { display: flex; padding: 3px; border: 2px solid rgb(255 255 255 / .7); border-radius: 999px; }
.lang button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font: 800 14px/1 var(--body); color: var(--paper); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--cobalt); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 56px; padding: 0 20px; border-radius: 16px; border: 2.5px solid var(--paper);
  background: none; color: var(--paper);
  font: 400 21px/1 var(--display); letter-spacing: .03em; text-transform: uppercase;
  transition: transform .15s cubic-bezier(.2, .9, .2, 1), box-shadow .2s;
}
:lang(ne) .btn { font: 800 20px/1 var(--body); letter-spacing: 0; }
.btn:active:not(:disabled) { transform: translateY(2px) scale(.985); }
.btn.primary { background: var(--paper); color: var(--cobalt); box-shadow: var(--shadow); }
.btn.big { min-height: 64px; font-size: 25px; }
:lang(ne) .btn.big { font-size: 22px; }
.btn.ghost { border-color: rgb(255 255 255 / .75); }
.btn.text { border: 0; min-height: 48px; margin-top: 10px; font: 700 17px/1 var(--body); text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 5px; }
.btn.text .ic { width: 18px; height: 18px; }
.btn:disabled { opacity: .8; }
.btn + .btn { margin-top: 12px; }

.meta, .fine, .hint { text-align: center; color: var(--soft); margin: 12px 0 0; font-size: 15px; }
.fine { font-size: 13px; margin-top: 18px; }

/* ---------- album slots ---------- */
.slots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; margin-top: 22px; }
.slots i {
  display: grid; place-items: center; aspect-ratio: 63 / 88;
  border: 2px dashed rgb(255 255 255 / .55); border-radius: 7px;
  font: 400 15px/1 var(--display); font-style: normal; color: var(--ink);
}
.slots i.on { border: 3px solid var(--paper); background: var(--c, var(--paper)); }
.slots i.exact { background: var(--paper); }
.slots i.close { background: rgb(255 255 255 / .55); }
.slots i.miss { background: none; border: 2px solid rgb(255 255 255 / .3); }
.slots i.pop { animation: pop .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pop { from { transform: scale(1.35) rotate(-8deg); opacity: 0; } }

/* ---------- the pack ---------- */
.pack-wrap { perspective: 1000px; padding: 18px 0 28px; }
.pack {
  --hue: 200deg;
  position: relative; width: min(64%, 270px); aspect-ratio: 25 / 37; margin: 0 auto;
  border-radius: 16px; background: var(--foil); overflow: hidden;
  box-shadow: 0 30px 50px rgb(6 12 90 / .55);
  transform: rotate(-4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .1s linear; touch-action: pan-y;
}
.pack::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / .28) 0 7px, transparent 7px 24px); }
.crimp { position: absolute; left: 0; right: 0; height: 24px; z-index: 2; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .75) 0 5px, rgb(255 255 255 / .3) 5px 10px); }
.crimp.top { top: 0; border-bottom: 2px solid rgb(11 11 46 / .25); }
.crimp.bottom { bottom: 0; border-top: 2px solid rgb(11 11 46 / .25); }
.pack-label {
  position: absolute; left: 9%; right: 9%; top: 19%; z-index: 1;
  padding: 18px 14px 16px; border-radius: 12px; background: var(--paper); color: var(--ink);
  text-align: center; box-shadow: 0 6px 16px rgb(6 12 90 / .25);
}
.pack-title { margin: 0; font: 400 clamp(52px, 17vw, 74px)/.88 var(--display); color: var(--cobalt); letter-spacing: .01em; }
.pack-label p { margin: 12px 0 0; font: 800 15px/1.25 var(--body); }
.pack .sheen { z-index: 3; }
.pack.torn .crimp.top { animation: rip .55s cubic-bezier(.5, 0, .7, .4) forwards; }
.pack.torn { animation: drop .65s .15s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes rip { to { transform: translate(40%, -160%) rotate(24deg); opacity: 0; } }
@keyframes drop { to { transform: rotate(-4deg) translateY(30%) scale(.92); opacity: 0; } }

/* ---------- last card ---------- */
.last { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 22px; padding: 10px 16px 10px 10px; border: 2px solid rgb(255 255 255 / .6); border-radius: 16px; background: none; text-align: left; }
.last-txt { display: flex; flex-direction: column; }
.last-txt small { order: 2; color: var(--soft); font-size: 14px; }
.last-txt b { font: 400 24px/1.05 var(--display); text-transform: uppercase; }
:lang(ne) .last-txt b { font: 800 22px/1.1 var(--body); }

/* ---------- question card ---------- */
.ask { margin: 0 0 10px; font: 800 18px/1.3 var(--body); color: var(--soft); text-align: center; }
.qcard {
  position: relative; padding: 9px; border-radius: 20px; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow); transform: rotate(-1.2deg);
}
.qcard > * { position: relative; }
.qcard::before { content: ''; position: absolute; inset: 9px; border: 3px solid var(--ink); border-radius: 13px; }
.q-band {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 14px;
  margin: 3px 3px 0; padding-bottom: 13px; border-radius: 10px 10px 0 0;
  background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 3px no-repeat, linear-gradient(90deg, var(--ca) 50%, var(--cb) 50%);
  font: 400 18px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
}
:lang(ne) .q-band { font: 800 16px/1 var(--body); }
.q-text { margin: 0; padding: 18px 18px 22px; min-height: 4.4em; font: 800 clamp(23px, 6.6vw, 28px)/1.18 var(--body); text-wrap: balance; }
.qcard.dealt { animation: deal .42s cubic-bezier(.55, 0, .8, .3) forwards; }
@keyframes deal { to { transform: translate(115%, 20%) rotate(18deg); opacity: 0; } }

.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ans {
  position: relative; display: flex; flex-direction: column; align-items: stretch;
  min-height: 136px; padding: 7px; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink); text-align: left;
  box-shadow: 0 8px 18px rgb(6 12 90 / .32); transform: rotate(var(--tilt, 0deg));
  transition: transform .18s cubic-bezier(.2, .9, .2, 1), opacity .2s;
}
.ans:nth-child(1) { --tilt: -1.4deg; --hue: 20deg; }
.ans:nth-child(2) { --tilt: 1.2deg; --hue: 110deg; }
.ans:nth-child(3) { --tilt: .9deg; --hue: 200deg; }
.ans:nth-child(4) { --tilt: -1deg; --hue: 290deg; }
.ans::before { content: ''; position: absolute; inset: 7px; border: 2.5px solid var(--ink); border-radius: 9px; pointer-events: none; }
.ans > * { position: relative; }
.ans-key {
  display: block; margin: 2.5px 2.5px 0; padding: 5px 9px 8px; border-radius: 7px 7px 0 0;
  background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 2.5px no-repeat, var(--foil-pale);
  font: 400 17px/1 var(--display);
}
.ans-text { flex: 1; display: flex; align-items: center; padding: 10px 12px 14px; font: 700 19px/1.25 var(--body); }
.ans-tag { align-self: flex-start; margin: 0 10px 12px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 800 12.5px/1.2 var(--body); }
.ans-tag:empty { display: none; }
@media (hover: hover) { .ans:not(:disabled):hover { transform: rotate(0deg) translateY(-4px); } }
.ans:active:not(:disabled) { transform: scale(.97); }
.ans.picked { transform: rotate(0deg) translateY(-6px) scale(1.04); box-shadow: 0 16px 28px rgb(6 12 90 / .45); }
.ans.picked .ans-key { background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 2.5px no-repeat, var(--c, var(--foil-pale)); }
.ans:disabled:not(.picked):not(.truth):not(.near) { opacity: .45; }
.ans.truth { opacity: 1; transform: rotate(0deg) translateY(-6px) scale(1.04); box-shadow: 0 0 0 4px var(--paper), 0 16px 28px rgb(6 12 90 / .45); animation: pop .4s cubic-bezier(.16, 1, .3, 1); }
.ans.wrong { opacity: .6; transform: rotate(var(--tilt)) scale(.96); }
.ans.wrong .ans-text { text-decoration: line-through; text-decoration-thickness: 2px; }
.ans.near { opacity: .85; transform: rotate(var(--tilt)) scale(.98); }
.ans.near::before { border-style: dashed; }
.card3d.mid { --cw: min(60vw, 250px); }
.verdict { margin-top: 18px; }
.verdict:empty { display: none; }
.v { margin: 0 0 14px; text-align: center; font: 400 34px/1 var(--display); text-transform: uppercase; animation: pop .4s cubic-bezier(.16, 1, .3, 1) both; }
:lang(ne) .v { font: 800 30px/1.1 var(--body); }
.v b { font-weight: 400; margin-left: 6px; }
.v-miss { color: var(--soft); }

/* ---------- the holo card ---------- */
.stage, .mini-wrap { perspective: 1100px; }
.stage { padding: 10px 0 4px; }
.card3d {
  --cw: 300px;
  position: relative; width: var(--cw); aspect-ratio: 63 / 88; margin: 0 auto;
  container-type: inline-size; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .08s linear; touch-action: pan-y;
}
.card3d.settle { transition: transform .5s cubic-bezier(.2, .9, .2, 1); }
.card3d.big { --cw: min(78vw, 320px); cursor: pointer; }
.card3d.mini { --cw: 56px; pointer-events: none; }
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.16, 1, .3, 1); }
.card-inner.down { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 5.5cqw;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--paper); color: var(--ink); box-shadow: 0 6cqw 12cqw rgb(6 12 90 / .5);
}
.mini .face { box-shadow: 0 4px 10px rgb(6 12 90 / .4); }
.c-frame {
  position: absolute; inset: 3.6cqw; display: flex; flex-direction: column; overflow: hidden;
  border: 1.1cqw solid var(--ink); border-radius: 3.2cqw;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / .38) 0 2.5cqw, transparent 2.5cqw 8cqw), var(--foil-pale);
}
.c-band { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2.6cqw 3.6cqw 2.2cqw; background: var(--band); border-bottom: 1.1cqw solid var(--ink); }
.c-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 9.4cqw/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
:lang(ne) .c-name { font: 800 8.6cqw/1.15 var(--body); }
.c-no { flex: none; font: 400 6.6cqw/1 var(--display); }
.c-art { position: relative; flex: 1; min-height: 0; margin: 3cqw 3.6cqw 0; border: .9cqw solid var(--ink); border-radius: 2.4cqw; background: rgb(255 255 255 / .55); overflow: hidden; }
.c-art-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-tag { margin: 2.4cqw 4cqw 2.4cqw; text-align: center; font: 700 4.5cqw/1.2 var(--body); text-wrap: balance; }
.c-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; padding: 0 3.2cqw 3.2cqw; }
.c-stat { padding: 1.6cqw .8cqw 1.2cqw; border: .9cqw solid var(--ink); border-radius: 2cqw; background: var(--paper); text-align: center; }
.c-stat span { display: flex; align-items: center; justify-content: center; gap: 1cqw; font: 800 3.2cqw/1 var(--body); text-transform: uppercase; white-space: nowrap; }
.c-stat span::before { content: ''; flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: .8cqw; background: var(--c); border: .5cqw solid var(--ink); }
.c-stat b { display: block; margin-top: .8cqw; font: 400 10.5cqw/1 var(--display); }
:lang(ne) .c-stat b { font: 800 9cqw/1 var(--body); }
.sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 22%), rgb(255 255 255 / .9), transparent 40%),
    repeating-linear-gradient(115deg, rgb(255 0 170 / .5) 0 5%, rgb(0 255 220 / .5) 5% 10%, rgb(255 236 0 / .5) 10% 15%, rgb(120 90 255 / .5) 15% 20%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%);
}
.back { transform: rotateY(180deg); background: var(--foil); }
.back::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / .3) 0 4cqw, transparent 4cqw 12cqw); }
.b-logo {
  position: absolute; left: 14%; right: 14%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  display: flex; flex-direction: column; align-items: center; padding: 6cqw 0 5cqw;
  border: 1.4cqw solid var(--ink); border-radius: 6cqw; background: var(--paper);
  font: 400 21cqw/.86 var(--display); color: var(--cobalt);
}

/* ---------- result ---------- */
.hint { margin-top: 14px; }
.stickers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 24px; }
.sticker { display: flex; gap: 10px; align-items: flex-start; padding: 12px 12px 14px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--m); }
.mark svg { width: 20px; height: 20px; fill: var(--ink); }
.s1 .mark { --m: #ffe66b; }
.s2 .mark { --m: #ff9fc8; }
.sticker.s1 { transform: rotate(-2deg); }
.sticker.s2 { transform: rotate(1.6deg); }
.sticker b { display: block; padding-top: 3px; font: 800 17px/1.22 var(--body); }

.challenge, .match { margin-top: 44px; }
.challenge h2, .title { margin: 0; font: 400 clamp(32px, 9.5vw, 40px)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
:lang(ne) .challenge h2, :lang(ne) .title { font: 800 30px/1.15 var(--body); }
.challenge > p { margin: 10px 0 16px; color: var(--soft); }
.send-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field input, .link-out input {
  width: 100%; min-height: 58px; padding: 0 18px; border: 3px solid transparent; border-radius: 16px;
  background: var(--paper); color: var(--ink); caret-color: var(--cobalt); font: 700 19px/1 var(--body);
}
.field input::placeholder { color: #5a5f8c; }
.field input:focus { outline: none; border-color: var(--hi); }
.err { margin: 10px 0 0; color: var(--paper); font-weight: 800; text-decoration: underline wavy var(--hi); text-underline-offset: 5px; }
.link-out { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.link-out input { font: 600 14px/1 var(--body); color: #3c4170; min-height: 52px; }
.link-out .btn { width: auto; min-height: 52px; margin: 0; font-size: 17px; }

.pair { position: relative; height: 150px; }
.pair .mini-wrap { position: absolute; top: 0; }
.pair .mini-wrap.l { left: calc(50% - 112px); transform: rotate(-9deg); }
.pair .mini-wrap.r { left: calc(50% - 4px); transform: rotate(8deg); }
.pair .card3d.mini { --cw: 104px; }
.match-num { margin: 6px 0 0; text-align: center; font: 400 clamp(84px, 26vw, 112px)/.95 var(--display); }
.match-head { margin: 6px 0 0; text-align: center; font: 800 19px/1.3 var(--body); }
.lines { list-style: none; padding: 0; margin: 18px 0 18px; display: grid; gap: 10px; }
.lines { gap: 12px; }
.lines li { padding: 12px 14px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); transform: rotate(-1deg); }
.lines li:nth-child(even) { transform: rotate(.9deg); }

/* ---------- friend ---------- */
.title { margin-top: 26px; text-align: center; }
.lede { margin: 10px auto 0; max-width: 34ch; text-align: center; color: var(--soft); font-size: 17px; }
.lede.small { font-size: 15px; color: var(--paper); font-weight: 800; }
.pill { display: table; margin: 16px auto 22px; padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; }
.score-head { text-align: center; padding-top: 6px; }
.score-head .lede { margin-top: 0; }
.huge { margin: 4px 0 0; font: 400 clamp(110px, 36vw, 150px)/.9 var(--display); }
.tier { margin: 6px 0 0; font: 400 34px/1 var(--display); text-transform: uppercase; }
:lang(ne) .tier { font: 800 30px/1.15 var(--body); }
.score-head + .slots { margin: 22px 0 18px; }
.screen.deal { display: flex; flex-direction: column; min-height: calc(100dvh - max(10px, env(safe-area-inset-top)) - max(28px, env(safe-area-inset-bottom))); }
.screen.deal .slots { margin-top: auto; padding-top: 22px; }
.screen.deal .answers { flex: 1; grid-auto-rows: minmax(150px, 1fr); max-height: 470px; }
.screen.deal .verdict:not(:empty) ~ .slots { margin-top: 18px; }

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