/* =====================================================================
   Экран вопроса игрока и крупные надписи поверх сцены (V2.60, «Оформление»: «Экран вопроса» и «Надписи поверх
   сцены — на подложке», решено 2 декабря по итогам пилотной игры). Файл подключается после themes.css: здесь
   только раскладка и оформление новой разметки; цвета и шрифты — из переменных текущей темы.
   Главное на экране — карточка вопроса: рамка и акцентный цвет только у неё.
   ===================================================================== */

/* ---------------------------------------------------------------- переменные по темам */
.theme-game {
  --q-line: var(--accent); --q-card-bg: var(--surface); --q-glow: none;
  --q-msg: var(--accent); --q-msg-ink: var(--text); --q-quiet: color-mix(in srgb, var(--muted) 45%, transparent);
  --q-timer: var(--accent); --q-timer-track: color-mix(in srgb, var(--muted) 28%, transparent); --q-timer-glow: transparent;
  --q-opt-bg: var(--surface-2); --q-opt-line: var(--line); --q-back: transparent;
  --q-hint: var(--warn); --q-hint-ink: var(--text);
  --cap-bg: rgba(12, 7, 28, .62); --cap-bg-solid: rgba(12, 7, 28, .9); --cap-line: color-mix(in srgb, var(--accent) 55%, transparent); --cap-ink: #F6F3FF;
  --cap-chip: color-mix(in srgb, var(--accent) 70%, transparent);
}
.theme-game.t-clean, .theme-game.t-corp {
  --q-opt-bg: #FFFFFF; --q-hint-ink: #7A3A05;
  --cap-bg: rgba(20, 32, 46, .64); --cap-bg-solid: rgba(20, 32, 46, .9); --cap-line: color-mix(in srgb, var(--accent) 65%, #FFF); --cap-chip: rgba(255, 255, 255, .6);
}
.theme-game.t-arcade {
  --q-line: var(--cyan); --q-card-bg: rgba(14, 8, 34, .9); --q-glow: 0 0 24px rgba(45, 226, 230, .18);
  --q-msg: #FF4F9A; --q-msg-ink: #FF8FBD; --q-quiet: rgba(185, 176, 214, .45);
  --q-timer: var(--cyan); --q-timer-track: rgba(107, 79, 216, .55); --q-timer-glow: rgba(45, 226, 230, .45);
  --q-opt-bg: rgba(107, 79, 216, .16); --q-opt-line: rgba(155, 132, 240, .55); --q-back: rgba(12, 7, 28, .88);
  --q-hint: #F9C80E; --q-hint-ink: #F9D65A;
  --cap-line: rgba(255, 79, 154, .5); --cap-chip: rgba(45, 226, 230, .6);
}
.theme-game.t-stage { --q-back: rgba(11, 13, 26, .6); --q-hint-ink: #FFD98A; }

/* ---------------------------------------------------------------- шапка: команда, очки и место, ник; контурные кнопки */
@media (min-width: 721px) {
  .theme-game .topbar--game { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  .theme-game .topbar--game .topbar__team { align-items: center; flex-wrap: nowrap; }
}
.topbar__score { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--q-hint) 9%, transparent); font-size: .78rem; color: var(--muted); white-space: nowrap; text-shadow: none; }
.topbar__score i { font-style: normal; opacity: .7; }
.topbar__pts { font-size: 1rem; font-weight: 800; color: var(--q-hint); font-variant-numeric: tabular-nums; }
.theme-game.t-clean .topbar__pts, .theme-game.t-corp .topbar__pts { color: var(--q-hint-ink); }
.theme-game.t-arcade .topbar__pts { font-family: var(--font-pix); font-weight: 400; font-size: .86rem; }
.theme-game .topbar--game .topbar__me { font-size: .92rem; font-weight: 500; color: var(--muted); flex: 0 2 auto; }
.theme-game .topbar--game .topbar__team b { flex: 0 1 auto; }
.theme-game .topbar--game .topbar__me { min-width: 5ch; }
@media (min-width: 521px) and (max-width: 1150px) { .topbar--game .msgbtn__long { display: none; } .topbar--game .msgbtn__short, .topbar--game .topbar__talkshort { display: inline; } }
.theme-game .topbar--game .msgbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0; padding: 0 14px; font-size: .82rem; font-weight: 600;
  background: transparent; color: var(--text); border: 1px solid var(--q-quiet); border-radius: var(--radius-sm); box-shadow: none; text-shadow: none; }
.theme-game .topbar--game .msgbtn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.theme-game .topbar--game .msgbtn--host { border-color: var(--q-msg); color: var(--q-msg-ink); }
.theme-game .topbar--game .chatbtn--on { box-shadow: inset 0 0 0 1px currentColor; }
.less-motion .theme-game .topbar--game .chatpulse, .less-motion.theme-game .topbar--game .chatpulse { box-shadow: 0 0 0 2px var(--accent); }
@media (prefers-reduced-motion: reduce) { .theme-game .topbar--game .chatpulse { box-shadow: 0 0 0 2px var(--accent); } }
.theme-game .topbar--game .msgbtn__badge { position: static; min-width: 18px; height: 18px; font-weight: 700; }
.theme-game.t-arcade .topbar--game .msgbtn__badge { background: #FF4F9A; color: #1A0F33; }
@media (max-width: 720px) {
  .topbar__score { display: none; }
  .theme-game .topbar--game .msgbtn { height: 32px; padding: 0 8px; }
}
@media (max-width: 1100px) { .topbar__score { padding: 2px 6px; } }

/* ---------------------------------------------------------------- раскладка: колонка вопроса и полоса свёрнутого чата */
.app--player.app--q > .playgrid > .stage { overflow-x: hidden; padding-bottom: 64px; }   /* страховка: причина полосы (уголки рамки «Аркады») убрана; низ — над панелью реакций */
.chatrail { display: none; }
@media (min-width: 721px) {
  .app--player.app--q:not(.has-side) .stage { max-width: clamp(1040px, 60vw, 1320px); padding: 28px 40px 64px; }
}
@media (min-width: 1200px) {
  .app--player.app--chatrail > .playgrid { display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: minmax(0, 1fr); }
  .app--player.app--chatrail .chatrail { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    width: 48px; margin: 28px 0 40px; padding: 12px 0; cursor: pointer; font: inherit; color: var(--text); position: relative; z-index: 1;
    background: var(--q-card-bg); border: 1px solid var(--q-quiet); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .chatrail:hover { background: color-mix(in srgb, var(--text) 8%, var(--q-card-bg)); }
  .chatrail__text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-label, inherit); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
  .chatrail__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: .75rem; font-weight: 700;
    background: var(--q-msg); color: #1A0F33; }
  .theme-game.t-clean .chatrail__badge, .theme-game.t-corp .chatrail__badge { color: #FFF; }
  .theme-game.t-arcade .chatrail { border-color: rgba(255, 79, 154, .45); }
}
@media (max-height: 800px) {
  .app--player.app--q:not(.has-side) .stage { padding-top: 16px; }
  .app--player.app--chatrail .chatrail { margin: 16px 0 28px; }
}

/* ---------------------------------------------------------------- одна полоса над вопросом: раунд · вопрос · баллы и таймер */
.q2 { gap: 18px; }
.qstrip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 6px 10px; margin: 0 -10px; background: var(--q-back); }
.theme-game .q2 .qhead { flex: 0 1 auto; min-width: 0; width: auto; margin: 0; padding: 0; background: none; border: 0; box-shadow: none;
  flex-wrap: nowrap; gap: 12px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.theme-game .q2 .qhead > * { overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.theme-game .q2 .qhead__round { flex: 0 1 auto; min-width: 0; max-width: 34ch; }
@media (min-width: 721px) { .qstrip { flex-wrap: nowrap; } .theme-game .q2 .timer { min-width: 240px; } }
.app--player.has-side .qstrip { margin: 0; }
.app--player.has-side .teamanswer__in { margin-left: 0; }
.theme-game .q2 .qhead__num, .theme-game .q2 .qhead__pts { flex: none; }
.theme-game .q2 .qhead__pts { margin-left: 0; }
.theme-game .q2 .qprog { display: none; }
.theme-game.t-arcade .q2 .qhead__round { color: #C9C1E6; }
.theme-game.t-arcade .q2 .qhead__pts { color: #FF8FBD; }
/* таймер без своей рамки: сегментированная полоса с подсветкой, подпись под ней, крупная цифра справа */
.theme-game .q2 .timer { flex: 1 1 340px; min-width: 0; gap: 20px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; align-items: center; }
.theme-game .q2 .timer__dial { order: 2; width: auto; height: auto; min-width: 76px; justify-items: end; }
.theme-game .q2 .timer__ring, .theme-game .q2 .timer__unit, .theme-game .q2 .timer__kicker { display: none; }
.theme-game .q2 .timer__digits { margin: 0; min-width: 0; text-align: right; font-size: 2.1rem; line-height: 1; }
.theme-game .q2 .timer__side { order: 1; gap: 6px; }
.theme-game .q2 .timer__barwrap { display: block; filter: drop-shadow(0 0 6px var(--q-timer-glow)); }
.theme-game .q2 .timer__bar { display: block; height: 18px; border: 0; border-radius: 0; background: var(--q-timer-track);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 30px, transparent 30px 33px); mask-image: repeating-linear-gradient(90deg, #000 0 30px, transparent 30px 33px); }
.theme-game .q2 .timer__fill { background: var(--q-timer); box-shadow: none; }
.theme-game .q2 .timer--urgent .timer__fill { background: var(--bad); }
.theme-game .q2 .timer--reading .timer__fill, .theme-game .q2 .timer--media .timer__fill { background: color-mix(in srgb, var(--q-timer) 45%, transparent); animation: none; }
.theme-game .q2 .timer__label { font-family: var(--font-label, inherit); font-size: .75rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.theme-game .q2 .timer--final3 .timer__digits { font-size: 2.6rem; }
.theme-game.t-arcade .q2 .timer__digits { color: #FF4F9A; text-shadow: 3px 3px 0 #5A1236; }
@media (max-width: 720px) {
  .qstrip { margin: 0; padding: 6px 8px; }
  .theme-game .q2 .timer { flex-basis: 100%; gap: 12px; }
  .theme-game .q2 .timer__dial { min-width: 56px; }
  .theme-game .q2 .timer__digits { font-size: 1.7rem; }
  .theme-game .q2 .timer__bar { height: 16px; }
}

/* ---------------------------------------------------------------- карточка вопроса: единственная рамка экрана */
.qcard { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding: 30px 36px 32px; background: var(--q-card-bg);
  border: 2px solid var(--q-line); border-radius: var(--radius); box-shadow: var(--q-glow); }
.theme-game .qcard .question__text { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: clamp(1.2rem, 2.5vw, 2.6rem); line-height: 1.35; font-weight: 600; }
.app--player.has-side .qcard .question__text { font-size: clamp(1.2rem, 1.9vw, 2rem); }
.theme-game .qcard .question__text::before, .theme-game .qcard .question__text::after { display: none; }
.theme-game .qcard .answerbox { gap: 14px; }
.theme-game .qcard .options { gap: 16px; }
.theme-game .qcard .option { min-height: 64px; padding: 10px 18px; gap: 14px; font-size: 1.2rem; border-width: 1px; background: var(--q-opt-bg); border-color: var(--q-opt-line); border-radius: var(--radius-sm); }
.theme-game .qcard .option__letter { border-radius: var(--radius-sm); }
.theme-game .qcard .option__text { font-weight: 500; }
.theme-game .qcard .option.chosen { border-width: 2px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--q-opt-bg)); }
.theme-game .qcard .option.armed { border-style: dashed; }
.theme-game .qcard .option.correct { border-width: 2px; border-color: var(--ok); background: var(--ok-bg); }
.theme-game .qcard .answerform input { flex: 1; min-width: 0; height: 56px; font-size: 1.2rem; }
.theme-game .qcard .answerform .btn { height: 56px; margin: 0; padding: 0 26px; }
/* показ ответа и «как ответили команды» — в карточке, без собственных рамок */
.theme-game.t-arcade .qcard .reveal, .theme-game.t-stage .qcard .reveal { border: 0; box-shadow: none; background: var(--ok-bg); padding: 18px 20px; }
.theme-game.t-arcade .qcard .reveal { background: rgba(249, 200, 14, .08); }
.theme-game.t-arcade .qcard .dist { border-width: 1px; }
.theme-game .qcard .media, .theme-game .qcard .mstrip { margin: 0; }
.theme-game .qcard .media__img, .theme-game .qcard .media__video { max-height: 38vh; }
@media (max-height: 800px) {
  .q2 { gap: 12px; }
  .qcard { gap: 18px; padding: 22px 28px 24px; }
  .theme-game .qcard .option { min-height: 56px; }
  .theme-game .qcard .options { gap: 12px; }
  .theme-game .qcard .media__img, .theme-game .qcard .media__video { max-height: 30vh; }
}
@media (max-width: 720px) {
  .qcard { gap: 16px; padding: 16px 16px 18px; }
  .theme-game .qcard .option { min-height: 52px; font-size: 1.05rem; padding: 8px 12px; }
  .theme-game .qcard .answerform { flex-wrap: wrap; }
  .theme-game .qcard .answerform .btn { flex: 1 1 100%; height: 48px; }
}

/* ---------------------------------------------------------------- под карточкой: состояние ответа и «Подсказка» */
.qfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 48px; }
.theme-game .qfoot .teamanswer { flex: 1 1 280px; min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; border: 0; background: none;
  color: var(--text); font-size: .95rem; line-height: 1.45; text-transform: none; letter-spacing: 0; font-family: var(--font); }
.teamanswer__in { display: inline-block; max-width: 100%; padding: 6px 10px; margin-left: -10px; border-radius: var(--radius-sm); background: var(--q-back); }
.theme-game .qfoot .teamanswer--none { color: var(--muted); }
.theme-game.t-clean .qfoot .teamanswer, .theme-game.t-corp .qfoot .teamanswer { color: var(--text); }
.theme-game.t-clean .qfoot .teamanswer--none, .theme-game.t-corp .qfoot .teamanswer--none { color: var(--muted); }
.qfoot__hint { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
.theme-game .qfoot__hint .tacpanel { padding: 0; background: none; border: 0; box-shadow: none; }
.theme-game .qfoot__hint .tacpanel__row { justify-content: flex-end; }
.theme-game .qfoot__hint .tacbtn { flex: none; height: 48px; min-height: 48px; padding: 0 22px; gap: 10px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--q-hint) 10%, var(--q-back)); border: 2px solid color-mix(in srgb, var(--q-hint) 75%, transparent); color: var(--q-hint-ink); }
.theme-game .qfoot__hint .tacbtn__icon { width: auto; font-size: 20px; }
.theme-game .qfoot__hint .tacbtn__body { flex-direction: row; align-items: baseline; gap: 10px; }
.theme-game .qfoot__hint .tacbtn__label { font-family: var(--font-label, inherit); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.theme-game .qfoot__hint .tacbtn__why { font-size: .75rem; color: color-mix(in srgb, var(--q-hint-ink) 75%, transparent); }
.theme-game .qfoot__hint .tacbtn--off { border-color: var(--q-quiet); color: var(--muted); background: var(--q-back); opacity: 1; }
.theme-game .qfoot__hint .tacbtn--off .tacbtn__why { color: var(--muted); }
.theme-game .qfoot__hint .tacpanel__ask { padding: 6px 12px; background: var(--q-card-bg); border: 1px solid color-mix(in srgb, var(--q-hint) 60%, transparent); border-radius: var(--radius-sm); }
.theme-game .qfoot__hint .tacpanel__ask .btn { margin: 0; min-height: 40px; padding: 0 16px; }
.theme-game .q2 > .hintbox { margin: 0; }
.theme-game .qfoot__hint .tacbtn__cost { font-size: .8rem; color: var(--q-hint-ink); }
@media (max-width: 720px) {
  .teamanswer__in { margin-left: 0; }
  .qfoot__hint { margin-left: 0; flex: 1 1 100%; }
  .theme-game .qfoot__hint .tacbtn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- крупные надписи поверх сцены — на подложке
   Заставка раунда, «Вопрос N из M», перерыв, экран победы: тёмная полупрозрачная подложка с размытием сцены под ней
   и тонкой рамкой в цвете темы. Стилизация шрифта темы сохраняется. Нет backdrop-filter — та же подложка без
   размытия, но темнее. «Меньше анимаций» на подложку не влияет. */
.capplate { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 18px; width: fit-content; max-width: 100%;
  margin: 0 auto 18px; padding: 28px 56px 26px; text-align: center; color: var(--cap-ink);
  background: var(--cap-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--cap-line); border-radius: var(--radius-sm); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .capplate { background: var(--cap-bg-solid); }
}
.theme-game .capplate > * { margin: 0; }
.theme-game.t-clean .capplate h1, .theme-game.t-corp .capplate h1, .theme-game.t-clean .capplate .ready__num, .theme-game.t-corp .capplate .ready__num,
.theme-game.t-clean .capplate .muted, .theme-game.t-corp .capplate .muted, .theme-game.t-clean .capplate p, .theme-game.t-corp .capplate p { color: inherit; }
.theme-game .capplate .round-intro__name { font-size: clamp(1.5rem, 4.4vw, 3.5rem); line-height: 1.15; overflow-wrap: break-word; }
.theme-game .stage--screen .capplate .round-intro__name { font-size: clamp(2.4rem, 5vw, 5rem); }
.theme-game .capplate .round-intro__kicker, .theme-game .capplate .ready__kicker { width: auto; padding: 6px 14px; background: none; border: 1px solid var(--cap-chip);
  font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; text-shadow: none; }
.theme-game.t-clean .capplate .round-intro__kicker, .theme-game.t-corp .capplate .round-intro__kicker,
.theme-game.t-clean .capplate .ready__kicker, .theme-game.t-corp .capplate .ready__kicker,
.theme-game.t-clean .capplate .final__kicker, .theme-game.t-corp .capplate .final__kicker { color: #FFF; border-radius: 8px; }
.theme-game .capplate .final__kicker, .theme-game .capplate .victory__mine { background: none; border: 0; padding: 0; }
.theme-game .capplate .stage__title { margin: 0; font-size: clamp(1.4rem, 3.6vw, 2.8rem); line-height: 1.2; overflow-wrap: break-word; }
.theme-game .capplate .ready__num { margin: 0; }
/* «Аркада»: панель «Вопрос N из M» — сама подложка (внутренняя — без второй рамки) */
.theme-game.t-arcade .ready { background: var(--cap-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--cap-line); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-game.t-arcade .ready { background: var(--cap-bg-solid); }
}
.theme-game.t-arcade .ready .capplate { padding: 0; margin-bottom: 12px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 720px) { .capplate { padding: 18px 20px; gap: 12px; } }
/* экран трансляции: те же подложки, крупнее */
.theme-game .stage--screen .capplate { padding: 36px 72px 34px; gap: 24px; }
.theme-game .stage--screen .capplate .stage__title { font-size: clamp(2.2rem, 4.6vw, 4.6rem); }
.theme-game .stage--screen .capplate .round-intro__kicker, .theme-game .stage--screen .capplate .ready__kicker { font-size: 1.5rem; }
/* заголовок церемонии — тоже крупная надпись поверх сцены */
.theme-game .cer__title { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; padding: .3em .9em; border: 1px solid var(--cap-line); border-radius: var(--radius-sm);
  background: var(--cap-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-background-clip: border-box; background-clip: border-box; }
.theme-game.t-clean .cer__title, .theme-game.t-corp .cer__title { color: var(--cap-ink); background: var(--cap-bg); }
.theme-game.t-stage .cer__title { color: #F5D76E; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-game .cer__title, .theme-game.t-clean .cer__title, .theme-game.t-corp .cer__title { background: var(--cap-bg-solid); }
}


/* ================================================================ правки после V2.60: шапка, таймер, разбор (V2.61)
   Задача claude/design-fixes-v2-60-2026-12-03.md; эталон — доска «Правки после V2.60 — шапка и таймер». */
.theme-game { --q-alarm: var(--bad); --q-alarm-line: color-mix(in srgb, var(--bad) 30%, #FFF); --q-alarm-ink: #FFF; --q-alarm-glow: color-mix(in srgb, var(--bad) 90%, transparent);
  --q-cell-line: var(--q-timer); --q-cell-bg: color-mix(in srgb, var(--q-timer) 10%, transparent); --q-solid: var(--surface); --top-font: inherit; --top-weight: 800; }
.theme-game.t-arcade { --q-alarm: #FF3B5C; --q-alarm-line: #FFD0D9; --q-alarm-glow: rgba(255, 59, 92, .95); --q-cell-line: #FF4F9A; --q-cell-bg: rgba(255, 79, 154, .1); --q-solid: #1A0F33;
  --top-font: var(--font-label); --top-weight: 400; }
.theme-game.t-stage { --q-solid: #0B0D1A; }

/* ---- шапка: очки, место и ник — капсом, шрифтом и размером названия команды; всё в одну линию */
@media (min-width: 721px) {
  .theme-game .topbar--game .topbar__team { gap: 4px 16px; }
  .theme-game .topbar--game .topbar__team b, .theme-game .topbar--game .topbar__score, .theme-game .topbar--game .topbar__pts, .theme-game .topbar--game .topbar__me {
    font-family: var(--top-font); font-size: 1.125rem; font-weight: var(--top-weight); line-height: 1.2; letter-spacing: .03em; }
  .theme-game .topbar--game .topbar__score, .theme-game .topbar--game .topbar__me { text-transform: uppercase; }
  .theme-game .topbar--game .topbar__score { gap: 8px; padding: 5px 12px; color: var(--text); flex: 0 1 auto; min-width: 0; overflow: hidden; }
  /* тесно — сначала сжимаются название и ник (до своих минимумов), плашка очков — в последнюю очередь */
  .theme-game .topbar--game .topbar__me { color: var(--text); opacity: .86; flex: 0 100 auto; min-width: 9ch; }
  .theme-game .topbar--game .topbar__team b { flex: 0 100 auto; min-width: 6ch; }
}
/* до 1440 px подпись кнопки чата короткая («Чат»): место — нику, который теперь крупный */
@media (min-width: 1151px) and (max-width: 1440px) {
  .topbar--game .chatbtn .msgbtn__long, .topbar--game .topbar__talk .msgbtn__long { display: none; }
  .topbar--game .chatbtn .msgbtn__short, .topbar--game .topbar__talkshort { display: inline; }
  .theme-game .topbar--game .topbar__team { gap: 4px 12px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .theme-game .topbar--game .topbar__team b, .theme-game .topbar--game .topbar__score, .theme-game .topbar--game .topbar__pts, .theme-game .topbar--game .topbar__me { font-size: 1rem; }
  .theme-game .topbar--game .topbar__score { padding: 3px 8px; gap: 6px; }
}

/* ---- таймер: цифра в своей ячейке фиксированного размера с рамкой в цвете темы; полоса — без рамки */
.theme-game .q2 .timer__dial { order: 2; position: relative; flex: none; box-sizing: border-box; width: 112px; height: 68px; min-width: 0; display: grid; place-items: center;
  border: 2px solid var(--q-cell-line); border-radius: var(--radius-sm); background: var(--q-cell-bg); }
.theme-game.t-arcade .q2 .timer__dial { border-radius: 0; }
.theme-game .q2 .timer__digits, .theme-game .q2 .timer--final3 .timer__digits, .theme-game .q2 .timer--urgent .timer__digits {
  margin: 0; min-width: 0; text-align: center; font-size: 2.125rem; line-height: 1; animation: none; }
.theme-game .q2 .timer--d3 .timer__digits { font-size: 1.6rem; }
.timer__num { display: inline-block; }
.timer__flash, .timer__last { display: none; }
.theme-game .q2 .timer__bar { position: relative; }
/* последние 10 секунд: красная ячейка со светлой рамкой, раз в секунду «удар» цифры (только transform — ячейка и раскладка
   на месте) и вспышка свечения; полоса красная, последний оставшийся сегмент мигает. Прежнее покачивание цифры снято. */
.theme-game .q2 .timer--urgent .timer__dial { background: var(--q-alarm); border-color: var(--q-alarm-line); box-shadow: 0 0 6px color-mix(in srgb, var(--q-alarm) 40%, transparent); }
.theme-game .q2 .timer--urgent .timer__digits { color: var(--q-alarm-ink); text-shadow: none; }
.theme-game.t-arcade .q2 .timer--urgent .timer__digits { color: #FFF; text-shadow: 3px 3px 0 #7A0F22; }
.theme-game .q2 .timer--urgent .timer__num { animation: qpunch .5s ease-out both; transform-origin: 50% 50%; will-change: transform; }
.theme-game .q2 .timer--urgent .timer__flash { display: block; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; animation: qflash .5s ease-out both; }
.theme-game .q2 .timer--urgent .timer__fill { background: var(--q-alarm); box-shadow: none; }
.theme-game .q2 .timer--urgent .timer__barwrap { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--q-alarm) 60%, transparent)); }
.theme-game .q2 .timer--urgent .timer__label { color: color-mix(in srgb, var(--q-alarm) 55%, var(--text)); }
.theme-game .q2 .timer--urgent .timer__last { display: block; position: absolute; top: 0; bottom: 0; width: 30px; background: color-mix(in srgb, var(--q-alarm) 25%, var(--q-solid)); animation: qblink 1s steps(1) infinite; }
@keyframes qpunch { 0% { transform: scale(1); } 36% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes qflash { 0% { box-shadow: 0 0 6px transparent; } 36% { box-shadow: 0 0 28px var(--q-alarm-glow); } 100% { box-shadow: 0 0 6px transparent; } }
/* мигание — прозрачностью «погасшей» накладки поверх красного сегмента: анимация идёт в композиторе */
@keyframes qblink { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@media (max-width: 720px) {
  .theme-game .q2 .timer__dial { width: 84px; height: 52px; min-width: 0; }
  .theme-game .q2 .timer__digits, .theme-game .q2 .timer--final3 .timer__digits, .theme-game .q2 .timer--urgent .timer__digits { font-size: 1.6rem; }
  .theme-game .q2 .timer--d3 .timer__digits { font-size: 1.25rem; }
}

/* ---- экран трансляции: та же ячейка в его масштабе («Аркада» и «Сцена» — прямоугольная, светлые темы — круг с кольцом) */
.theme-game.t-arcade .stage--screen .timer--big .timer__dial, .theme-game.t-stage .stage--screen .timer--big .timer__dial {
  position: relative; box-sizing: border-box; width: 240px; height: 136px; border: 3px solid var(--q-cell-line); border-radius: var(--radius-sm); background: var(--q-cell-bg); }
.theme-game.t-arcade .stage--screen .timer--big .timer__dial { border-radius: 0; }
.theme-game .stage--screen .timer--big .timer__digits, .theme-game .stage--screen .timer--big.timer--final3 .timer__digits, .theme-game .stage--screen .timer--big.timer--urgent .timer__digits { animation: none; min-width: 0; }
.theme-game.t-arcade .stage--screen .timer--big .timer__digits, .theme-game.t-arcade .stage--screen .timer--big.timer--final3 .timer__digits,
.theme-game.t-stage .stage--screen .timer--big .timer__digits, .theme-game.t-stage .stage--screen .timer--big.timer--final3 .timer__digits { font-size: 5rem; }
.theme-game.t-clean .stage--screen .timer--big.timer--final3 .timer__digits, .theme-game.t-corp .stage--screen .timer--big.timer--final3 .timer__digits { font-size: 5rem; }
.theme-game .stage--screen .timer--big.timer--d3 .timer__digits { font-size: 3.6rem; }
.theme-game.theme-game .stage--screen .timer--big.timer--urgent .timer__dial { background: var(--q-alarm); border-color: var(--q-alarm-line); }
.theme-game.t-clean .stage--screen .timer--urgent .timer__dial, .theme-game.t-corp .stage--screen .timer--urgent .timer__dial { border-radius: 50%; }
.theme-game .stage--screen .timer--urgent .timer__arc { stroke: #FFF; }
.theme-game .stage--screen .timer--urgent .timer__track { stroke: rgba(255, 255, 255, .3); }
.theme-game .stage--screen .timer--urgent .timer__digits, .theme-game .stage--screen .timer--urgent .timer__unit { color: #FFF; }
.theme-game.t-arcade .stage--screen .timer--urgent .timer__digits { text-shadow: 4px 4px 0 #7A0F22; }
.theme-game .stage--screen .timer--urgent .timer__num { animation: qpunch .5s ease-out both; will-change: transform; }
.theme-game .stage--screen .timer--urgent .timer__flash { display: block; position: absolute; inset: -3px; border-radius: inherit; pointer-events: none; animation: qflash .5s ease-out both; }
.theme-game .stage--screen .timer--urgent .timer__fill { background: var(--q-alarm); box-shadow: none; }

/* ---- разбор: та же карточка и та же шкала размеров, что на экране вопроса (отдельных «мелких» стилей нет) */
.theme-game .q2.review, .theme-game.t-arcade .q2.review { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-game .qstrip--review .review__kicker { margin: 0; padding: 4px 0; font-size: .95rem; letter-spacing: .06em; }
.theme-game .review .qcard .question__text, .theme-game.t-arcade .review .qcard .question__text, .theme-game.t-clean .review .qcard .question__text, .theme-game.t-corp .review .qcard .question__text {
  margin: 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: clamp(1.2rem, 2.5vw, 2.6rem); line-height: 1.35; font-weight: 600; color: var(--text); }
.app--player.has-side .review .qcard .question__text { font-size: clamp(1.2rem, 1.9vw, 2rem); }
.theme-game .review .qcard .options--static .option { cursor: default; }
/* размер карточки меняется сразу: «Меньше анимаций» даёт всем свойствам переход .01 мс, и мерка вписывания читала бы старую высоту */
.theme-game .review .qcard { transition-property: none !important; }
.theme-game .review__wait { margin: 0; }
.reveal__more { display: inline-block; margin: 6px 0 0; padding: 8px 16px; font: inherit; font-size: 1rem; font-weight: 600; color: inherit; background: none; cursor: pointer;
  border: 1px dashed currentColor; border-radius: var(--radius-sm); opacity: .9; }
.reveal__more:hover, .reveal__more:focus-visible { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
/* разбор в широком окне: плашки TEAM / SCORE / RANK нет — её данные в шапке (на телефоне плашка остаётся: там в шапке очков нет) */
@media (min-width: 721px) { .app--player.app--q .hud { display: none; } }
.theme-game .review__wait .teamanswer__in { margin-left: 0; }
.theme-game.t-arcade .review__wait .teamanswer__in { padding: 0; background: none; }
/* подсказка над карточкой лежит прямо на сцене — плотная подложка под её жёлтым тоном */
.theme-game.t-arcade .q2 > .hintbox { background: linear-gradient(rgba(249, 200, 14, .12), rgba(249, 200, 14, .12)), var(--q-solid); }
.reveal__expl:focus { outline: none; }

/* «Меньше анимаций»: без удара, свечения и мигания — только красная ячейка и красная полоса */
.less-motion .q2 .timer--urgent .timer__num, .less-motion .stage--screen .timer--urgent .timer__num { animation: none; }
.less-motion .q2 .timer--urgent .timer__flash, .less-motion .q2 .timer--urgent .timer__last, .less-motion .stage--screen .timer--urgent .timer__flash { display: none; }
@media (prefers-reduced-motion: reduce) {
  .theme-game .q2 .timer--urgent .timer__num, .theme-game .stage--screen .timer--urgent .timer__num { animation: none; }
  .theme-game .q2 .timer--urgent .timer__flash, .theme-game .q2 .timer--urgent .timer__last, .theme-game .stage--screen .timer--urgent .timer__flash { display: none; }
}
