:root {
  --violet: #7843FF;
  --violet-hi: #9B78FF;
  --violet-lo: #6431EC;
  --ink: #2E185D;
  --night: #150A33;
  --night-2: #1E1147;
  --lime: #DAF50F;
  --lilac: #CFC0FF;
  --paper: #F7F4FF;
  --line: #DCD2FB;
  --white: #FFFFFF;
  --danger: #B3261E;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--violet); }
svg.spark { fill: currentColor; }

.screen { display: none; min-height: 100vh; min-height: 100dvh; }
body[data-screen="login"] #login,
body[data-screen="lobby"] #lobby,
body[data-screen="session"] #session,
body[data-screen="score"] #score { display: grid; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .01em;
}
.brand svg { width: 22px; height: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 15px 22px;
  font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.2;
  transition: transform .12s ease, background-color .12s ease, opacity .12s ease;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover:not(:disabled) { background: #E6FB4A; }
.btn-lime:disabled { opacity: .35; }
.btn-violet { background: var(--violet); color: var(--white); }
.btn-violet:hover { background: var(--violet-lo); }
.btn-ghost { background: rgba(255,255,255,.09); color: var(--white); padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-quiet { background: transparent; color: var(--ink); padding: 15px 18px; text-decoration: underline; text-underline-offset: 4px; }

/* ───────── Најава ───────── */
#login {
  position: relative; overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 48px;
  padding: 40px clamp(20px, 6vw, 96px) 72px;
  background:
    radial-gradient(60% 34% at 50% 108%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    repeating-radial-gradient(circle at 30% 46%, rgba(255,255,255,0) 0 118px, rgba(255,255,255,.05) 119px 120px),
    radial-gradient(90% 70% at 30% 20%, var(--violet-hi), var(--violet) 55%, var(--violet-lo));
}
#login .brand { position: absolute; top: 28px; left: clamp(20px, 6vw, 96px); }
.twinkle { position: absolute; width: 16px; height: 16px; color: var(--white); opacity: .85; animation: twinkle 3.6s ease-in-out infinite; }
.twinkle:nth-of-type(2) { animation-delay: 1.2s; width: 11px; height: 11px; }
.twinkle:nth-of-type(3) { animation-delay: 2.1s; width: 13px; height: 13px; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: .95; transform: scale(1.1); } }

.pitch-line { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.pitch-line .lead, .pitch-line .tail { display: block; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.12; }
.pitch-line .big {
  display: block; margin: -.04em 0 -.02em -.04em;
  font-size: clamp(150px, 25vw, 340px); line-height: .86; font-weight: 700; letter-spacing: -.045em;
  background: linear-gradient(180deg, #FFFFFF 30%, #C7B2FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-sub { max-width: 34ch; margin: 22px 0 0; font-size: 18px; color: rgba(255,255,255,.9); }

.card {
  background: var(--white); color: var(--ink);
  border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 60px -28px rgba(30, 10, 90, .65);
  width: 100%; max-width: 420px; justify-self: end;
}
.card h2 { margin: 0 0 4px; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.card p.hint { margin: 0 0 22px; color: #5E4E8C; font-size: 15px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 14px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 17px;
}
.field input::placeholder { color: #9A8CC4; }
.field input:focus { outline: none; border-color: var(--violet); background: var(--white); box-shadow: 0 0 0 4px rgba(120, 67, 255, .16); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-error { display: none; margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; background: #FCEEEC; color: #8C1D18; font-size: 14.5px; }
.form-error.show { display: block; }
.card .btn { width: 100%; }
.card small { display: block; margin-top: 14px; color: #5E4E8C; font-size: 13.5px; }
.organisers { position: absolute; bottom: 22px; left: clamp(20px, 6vw, 96px); margin: 0; font-size: 13.5px; color: var(--white); opacity: .9; }

/* ───────── Подготовка ───────── */
#lobby {
  grid-template-rows: auto 1fr; gap: 28px;
  padding: 24px clamp(20px, 5vw, 72px) 80px;
  background: radial-gradient(70% 50% at 50% -10%, #3A1F8C 0%, var(--night) 70%);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .who { display: flex; align-items: center; gap: 14px; }
.chip { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.lobby-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1180px; width: 100%; margin: 0 auto; }
.lobby-copy h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.02em; }
.meet { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.meet p { margin: 0; color: var(--lilac); font-size: 18px; max-width: 40ch; }
.meet p b { color: var(--white); font-weight: 600; }
.avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.3); }
.steps { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(s); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
  background: rgba(255,255,255,.1); color: var(--lime);
}
.steps b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; }
.steps span { color: var(--lilac); font-size: 15.5px; }
.start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.start-row .left { color: var(--lilac); font-size: 15px; }
.queue { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(218,245,15,.1); border: 1px solid rgba(218,245,15,.35); color: #F1FBA6; max-width: 46ch; }
#lobby[data-queue] .queue { display: block; }

.selfview { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #0B0520; border: 1px solid rgba(255,255,255,.14); }
.selfview video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.selfview .off { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 20px; color: rgba(255,255,255,.6); font-size: 15px; }
.selfview[data-cam="off"] video { visibility: hidden; }
.selfview[data-cam="off"] .off { display: grid; }
.selfview .tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(10,4,30,.6); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 600; }
.selfview .camtoggle { position: absolute; right: 12px; bottom: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(10,4,30,.6); backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 13px; font-size: 13.5px; font-weight: 600; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--lilac); }
.checks li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); flex: none; }
.checks li[data-ok="yes"] .dot { background: var(--lime); }
.checks li[data-ok="no"] .dot { background: #FF8A7A; }

.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 52px; }
.wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--lime); transform: scaleY(.1); transition: transform .08s ease-out, opacity .2s; }

/* ───────── Сесија ───────── */
#session {
  grid-template-rows: auto minmax(0, 1fr); gap: 16px;
  height: 100vh; height: 100dvh;
  padding: 16px clamp(16px, 2.4vw, 36px) 70px;
  background: radial-gradient(55% 55% at 22% 55%, rgba(120,67,255,.22), rgba(120,67,255,0) 70%), var(--night);
}
.topbar .right { display: flex; align-items: center; gap: 10px; }
.stepper { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; font-family: var(--display); font-weight: 600; font-size: 15px; }
.stepper li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.4); }
.stepper li + li::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.2); }
.stepper li[data-state="done"] { color: var(--lilac); }
.stepper li[data-state="done"] + li::before { background: var(--lilac); }
.stepper li[aria-current="step"] { color: var(--white); }
.stepper li[aria-current="step"] span { padding: 4px 12px; border-radius: 999px; background: var(--violet); }

/* часовник: мал, во горниот агол */
.timer { display: grid; gap: 6px; min-width: 164px; padding: 8px 14px 9px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid transparent; }
.timer-row { display: flex; align-items: baseline; gap: 8px; }
.timer .time { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.timer .label { font-size: 13.5px; color: var(--lilac); white-space: nowrap; }
.timer .drain { height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); overflow: hidden; }
.timer .drain i { display: block; height: 100%; border-radius: 3px; background: var(--lilac); transform-origin: left center; }
.timer[data-low] { border-color: rgba(218,245,15,.6); }
.timer[data-low] .time { color: var(--lime); }
.timer[data-low] .drain i { background: var(--lime); }

/* две плочки како видео повик: инвеститорот лево, вие (поголеми) десно */
.stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); grid-template-rows: minmax(0, 1fr); gap: clamp(14px, 1.6vw, 26px); min-height: 0; max-width: 1680px; width: 100%; margin: 0 auto; }
.tile { position: relative; min-height: 0; border-radius: 24px; }
.tile .frame { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border-radius: inherit; overflow: hidden; background: #0B0520; border: 2px solid rgba(255,255,255,.14); transition: border-color .2s ease; }

.investor { --lvl: 0; }
.investor .glow, .investor .ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
.investor .glow { box-shadow: 0 0 calc(26px + var(--lvl) * 80px) calc(2px + var(--lvl) * 16px) rgba(138, 92, 255, calc(.32 + var(--lvl) * .5)); }
.investor .ring { border: 2px solid var(--lilac); }
.investor[data-mode="speaking"] .glow { opacity: 1; }
.investor[data-mode="speaking"] .ring { opacity: calc(.08 + var(--lvl) * .5); transform: scale(calc(1.012 + var(--lvl) * .028)); }
.investor[data-mode="speaking"] .frame { border-color: rgba(207, 192, 255, calc(.5 + var(--lvl) * .5)); }
.investor .photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 16%; transform-origin: 50% 32%; animation: alive 9s ease-in-out infinite; }
@keyframes alive { 0%, 100% { transform: scale(1.02); } 50% { transform: scale(1.05); } }
/* слика на готов лик од Anam: ист исечок како неговото видео, за да нема скок кога видеото ќе тргне */
.investor[data-stock] .photo { object-position: 50% 22%; animation: none; }
/* Петар и Анја: оригиналниот кадар од нивната фотографија (седат на биро), без исекување */
.stage[data-wide] { grid-template-columns: auto minmax(0, 1fr); }
.stage[data-wide] .investor { height: 100%; aspect-ratio: 2 / 3; }
.stage[data-wide] .investor .photo, .stage[data-wide] .investor video.live { object-position: 50% 50%; }
.stage[data-wide] .investor .photo { animation: none; }
.stage[data-wide] .caption { font-size: clamp(16px, 1.15vw, 20px); }
/* Мирна заднина: Anam ја прецртува целата слика во секој миг, па ролетните и книгите зад инвеститорот трепкаат.
   Затоа живото видео се гледа само во елипса околу него, а сè наоколу е неговата оригинална фотографија.
   &bg=live во адресата го враќа целото живо видео, за споредба. */
.stage[data-wide][data-static] .investor:has(video.live:not([hidden])) .photo { visibility: visible; }
.stage[data-wide][data-static] .investor video.live-bg { display: none; }
.stage[data-wide][data-static] .investor video.live {
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 58% 55% at 50% 66%, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 55% at 50% 66%, #000 74%, transparent 100%);
}
/* --live-zoom под 100% го одзумира ликот: видеото е пониско, се гледа пошироко, а долниот раб се губи во темнината под титлот */
.investor video.live {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: var(--live-zoom, 100%);
  object-fit: cover; object-position: 50% 22%; background: #0B0520;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.investor:has(video.live:not([hidden])) .photo { visibility: hidden; }
/* заднина: истото видео, размачкано и затемнето, за одзумираниот лик да нема црна празнина под себе */
.investor video.live-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: blur(28px) brightness(.62) saturate(1.15); transform: scale(1.3);
}
.investor .fallback { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(circle at 34% 28%, var(--violet-hi), var(--violet) 55%, #4A22C9); }
.investor .fallback svg { width: 96px; height: 96px; }
.investor[data-photo="none"] .fallback { display: grid; }
.who-tag { position: absolute; left: 14px; top: 14px; padding: 8px 13px 9px; border-radius: 14px; background: rgba(10,4,30,.62); backdrop-filter: blur(8px); line-height: 1.25; }
.who-tag b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; }
.who-tag span { font-size: 12.5px; color: var(--lilac); }
.status { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(10,4,30,.62); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; }
.cue { position: absolute; right: 14px; top: 56px; padding: 5px 11px; border-radius: 999px; background: rgba(218,245,15,.92); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.investor[data-mode="speaking"] .status .dot { background: var(--lilac); }
.investor[data-mode="listening"] .status .dot { background: var(--lime); }
.caption-wrap { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 22px 22px; background: linear-gradient(180deg, rgba(21,10,51,0) 0%, rgba(21,10,51,.84) 46%, rgba(21,10,51,.97) 100%); }
.caption { margin: 0; min-height: 4.2em; font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.38; color: var(--white); text-wrap: pretty; }
.caption.muted { color: rgba(255,255,255,.66); font-family: var(--body); font-size: 15px; font-weight: 400; }
.caption .w { animation: word .22s ease-out both; }
@keyframes word { from { opacity: 0; } to { opacity: 1; } }

.you[data-turn="you"] .frame { border-color: rgba(218,245,15,.8); }
.you-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 72px 16px 16px; background: linear-gradient(180deg, rgba(11,5,32,0), rgba(11,5,32,.8)); }
.listen { display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 14px; background: rgba(10,4,30,.62); backdrop-filter: blur(8px); }
.listen p { margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--lime); }
.listen p .dot { background: var(--lime); }
.you .wave { height: 30px; gap: 3px; }
.you .wave i { width: 3px; }
.you[data-turn="investor"] .listen p { color: rgba(255,255,255,.6); }
.you[data-turn="investor"] .listen p .dot { background: rgba(255,255,255,.3); }
.you[data-turn="investor"] .wave i { opacity: .3; }
.you-actions { display: flex; align-items: center; gap: 10px; }
.you-actions .camtoggle { position: static; padding: 10px 14px; font-size: 14px; }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 999px; }
#session:not([data-phase="pitch"]) #btn-done { display: none; }

/* ───────── Оценка ───────── */
#score {
  background: var(--paper); color: var(--ink);
  grid-template-rows: auto 1fr; gap: 28px;
  padding: 24px clamp(20px, 5vw, 72px) 96px;
}
#score .chip { background: rgba(46,24,93,.08); }
#score .brand { color: var(--violet); }
#score .brand span { color: var(--ink); }
.score-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); max-width: 1180px; width: 100%; margin: 0 auto; align-items: start; }
.total h1 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.total .num { font-family: var(--display); font-weight: 700; font-size: clamp(130px, 17vw, 230px); line-height: .88; letter-spacing: -.05em; color: var(--violet); margin: 6px 0 0 -.03em; font-variant-numeric: tabular-nums; }
.total .of { font-family: var(--display); font-size: 22px; font-weight: 600; margin: 4px 0 26px; }
.history { display: flex; align-items: flex-end; gap: 14px; height: 120px; margin: 0 0 8px; padding: 0; list-style: none; }
.history li { display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 6px; height: 100%; width: 54px; font-size: 13px; color: #5E4E8C; }
.history li div { align-self: end; width: 100%; border-radius: 8px 8px 3px 3px; background: #D9CCFF; display: grid; align-content: start; justify-items: center; padding-top: 6px; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 15px; }
.history li:last-child div { background: var(--violet); color: var(--white); }
.total .note { margin: 0 0 26px; color: #5E4E8C; font-size: 15px; max-width: 32ch; }
.total .actions { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.total .left { width: 100%; margin: 8px 0 0; color: #5E4E8C; font-size: 14.5px; }

.detail h2 { margin: 0 0 14px; font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.detail section + section { margin-top: 38px; }
.crit { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.crit li { display: grid; grid-template-columns: minmax(0, 13.5em) 1fr 2.6em; gap: 14px; align-items: center; font-size: 15.5px; }
.crit .bar { height: 10px; border-radius: 10px; background: #E6DEFC; overflow: hidden; }
.crit .bar i { display: block; height: 100%; border-radius: 10px; background: var(--violet); width: 0; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.crit li[data-weak] .bar i { background: #F0A63A; }
.crit b { font-family: var(--display); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.strong { margin: 0; font-size: 17px; max-width: 62ch; }
.fixes { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 16px; max-width: 62ch; }
.fixes li { counter-increment: f; display: grid; grid-template-columns: 32px 1fr; gap: 14px; font-size: 16.5px; }
.fixes li::before { content: counter(f); width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.fixes b { display: block; font-family: var(--display); font-size: 17.5px; }
.opener { margin: 0; padding: 22px 24px; border-radius: 18px; background: var(--ink); color: var(--white); max-width: 62ch; }
.opener p { margin: 0; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.3; }
.opener small { display: block; margin-top: 12px; color: var(--lilac); font-size: 14px; }

@media (max-width: 900px) {
  #login { grid-template-columns: 1fr; gap: 28px; padding-top: 88px; padding-bottom: 150px; align-content: start; }
  .card { justify-self: start; }
  .lobby-grid, .score-grid { grid-template-columns: 1fr; }
  .lobby-grid .preview { order: -1; max-width: 460px; }
  #session { height: auto; grid-template-rows: auto auto; }
  #session .topbar { flex-wrap: wrap; }
  #session .stepper { order: 3; width: 100%; justify-content: center; }
  .stage { grid-template-columns: 1fr; grid-template-rows: none; }
  .you { order: -1; aspect-ratio: 4 / 3; }
  .stage[data-wide] { grid-template-columns: 1fr; }
  .stage[data-wide] .investor { height: auto; aspect-ratio: 2 / 3; }
  .investor { aspect-ratio: 5 / 4; }
  .topbar .brand span { display: none; }
  .crit li { grid-template-columns: 1fr 2.6em; } .crit .bar { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 560px) {
  .stepper { font-size: 13px; gap: 6px; } .stepper li { gap: 6px; } .stepper li + li::before { width: 16px; }
  .timer { min-width: 0; } .timer .label { display: none; }
  .you { aspect-ratio: 3 / 4; }
  .listen p span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────── Вистинска апликација: картички во подготовката, чекање на оценка ───────── */
.turns { display: grid; gap: 14px; max-width: 560px; }
.turn { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.turn h2 { margin: 0 0 4px; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.turn p { margin: 0 0 12px; color: var(--lilac); font-size: 15.5px; }
.turn p:last-child { margin-bottom: 0; }
.turn .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.turn .row span { color: var(--lilac); font-size: 14.5px; }
.turn[data-state="ready"] { background: rgba(218,245,15,.1); border-color: rgba(218,245,15,.55); }
.turn[data-state="ready"] p { color: #F1FBA6; }
.turn[data-state="done"], .turn[data-state="exhausted"] { opacity: .6; }
.btn-line { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-line:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.notice { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; background: rgba(255,138,122,.14); border: 1px solid rgba(255,138,122,.45); color: #FFD3CC; font-size: 15px; max-width: 560px; }
.pending { max-width: 46ch; }
.pending h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.1; }
.pending p { margin: 0 0 22px; color: #5E4E8C; font-size: 17px; }
.pending .bar { height: 6px; border-radius: 6px; background: #E6DEFC; overflow: hidden; }
.pending .bar i { display: block; width: 40%; height: 100%; border-radius: 6px; background: var(--violet); animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.fixes li div { align-self: center; }
