/* Stage display */
.projector-page {
  color-scheme: dark;
  background: #391016;
  color: #fff4df;
}
.projector {
  --stage-ivory: #fff4df;
  --stage-thread: #deef91;
  --stage-edge: #ffedce46;
  --cloth-tint: #681921;
  color: var(--stage-ivory);
  background-color: #3c1118;
  background-image:
    radial-gradient(ellipse at 25% 15%, #aa302b60 0%, transparent 64%),
    repeating-linear-gradient(0deg, #f9ba8a0b 0 1px, transparent 1px 3px, #1b090b16 3px 4px),
    repeating-linear-gradient(90deg, #16070926 0 1px, transparent 1px 4px),
    linear-gradient(138deg, var(--cloth-tint), #301016 88%);
  gap: clamp(10px, 2vh, 26px);
  grid-template-rows: auto 1fr;
  padding: clamp(26px, 4vw, 64px);
}
.projector::before {
  border-radius: 2px;
  border-color: #ffedcb2e;
  inset: clamp(10px, 1.4vw, 22px);
}
.projector-top img {
  width: clamp(108px, 12.5vw, 190px);
  height: auto;
  display: block;
}
.projector-tools { display: flex; align-items: center; gap: 8px; }
.projector-fullscreen, .projector-sound {
  width: 44px; height: 44px; display: grid; place-items: center; color: var(--stage-ivory);
  border: 1px solid #ffedcb4d; border-radius: 2px; background: #21090e47;
}
.projector-tools button:hover { border-color: #ffedcba8; }
.projector-tools button:focus-visible { outline-color: var(--stage-thread); }
.projector-tools button:not(:focus-visible):not(:hover) { opacity: .74; }
.projector-sound[aria-pressed="true"] { color: var(--stage-thread); border-color: #deef9180; }
:fullscreen .projector-tools button:not(:hover):not(:focus-visible) { opacity: .46; }
.projector-main {
  grid-template-columns: minmax(0, 1fr) clamp(150px, 23vw, 330px);
  gap: clamp(20px, 6vw, 112px);
}
.projector h1 {
  margin-top: 0;
  font-size: clamp(32px, 6.5vw, 94px);
  line-height: .97;
  letter-spacing: -.048em;
}
.projector h1.projector-question { font-size: clamp(30px, 4.8vw, 75px); line-height: 1.04; }
.projector[data-phase=revealed] .projector-caption { font-size: clamp(24px, 3.6vw, 57px); }
.projector[data-phase=revealed] .projector-caption + .scoreboard { margin-top: clamp(12px, 2.4vh, 26px); }
.projector h1 em, .projector .eyebrow { color: var(--stage-thread); }
.projector .eyebrow { margin-bottom: 9px; }
.projector .eyebrow::before { content: none; }
.projector .qr-panel {
  padding: 5px;
  border-radius: 1px;
  outline: 1px solid #18090a9e;
  box-shadow: 0 8px 20px #20060a47;
}
.projector .qr-url { letter-spacing: .01em; }
.projector .qr-label { color: #ffe8cbc9; }
.projector .qr-label:empty, .projector .qr-url:empty { display: none; }
.projector .scoreboard {
  display: grid;
  gap: clamp(6px, 1.2vh, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.projector .score-row {
  --score-fill: #deef91;
  --score-rail: #ffd6a734;
  min-width: 0;
  padding: clamp(8px, 1.45vh, 16px) clamp(11px, 1.35vw, 22px);
  border: 1px solid var(--stage-edge);
  border-radius: 2px;
  background: #3d1820;
  color: var(--stage-ivory);
}
.projector .score-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: clamp(8px, 1.4vw, 22px);
  font-size: clamp(17px, 2.2vw, 36px);
  line-height: 1.12;
}
.projector .score-label {
  font-weight: 750;
  overflow-wrap: anywhere;
}
.projector .score-count {
  min-width: 2ch;
  text-align: right;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.projector .score-track {
  display: block;
  overflow: hidden;
  height: clamp(4px, .9vh, 8px);
  margin-top: clamp(5px, 1vh, 10px);
  border-radius: 2px;
  background: var(--score-rail);
}
.projector .score-fill {
  display: block;
  width: var(--share, 0%);
  height: 100%;
  background: var(--score-fill);
  transition: width .26s cubic-bezier(.2, .7, .25, 1);
}
.projector[data-phase=revealed] .score-row.is-winner {
  --score-fill: #3f501b;
  --score-rail: #43551c38;
  background: #deef91;
  border-color: #f1ffb2;
  color: #28111a;
}
.projector[data-phase=revealed] .score-row.is-winner .score-line {
  font-size: clamp(23px, 3.05vw, 49px);
  font-weight: 850;
}
.projector[data-phase=revealed] .score-row.is-winner .score-label { font-weight: 850; }
.projector[data-phase=revealed] .score-row.is-other {
  --score-fill: #a7a09b;
  --score-rail: #c7bfb930;
  background: #382f32;
  border-color: #8e80827a;
  color: #ddd4d1;
}
.projector .timer { --stitch: var(--stage-thread); --rail: #f7deb53e; margin-block: clamp(10px, 2vh, 26px); }
.projector .timer-top, .admin-wrap .timer-top { justify-content: flex-end; }
.projector .stitch-track { height: clamp(7px, 1.45vh, 12px); }
.projector .stitch-fill { --rail: var(--stage-thread); }
.projector .timer-number { color: var(--stage-ivory); }
.projector-bottom { justify-content: flex-end; }
.projector-bottom button {
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  border-color: var(--stage-edge);
  border-radius: 1px;
  color: var(--stage-ivory);
  background: #200a0f53;
}
.projector-bottom button:focus-visible { outline-color: var(--stage-thread); }

/* Operator console — SpotPrep workbench */
@font-face { font-family: Manrope; src: url('/assets/manrope.ttf') format('truetype'); font-style: normal; font-weight: 400 800; font-display: swap; }
.admin-page {
  color-scheme: light;
  --paper: #fff; --card: #fff; --surface: #f5f5f7; --ink: #1d1d1f; --muted: #6e6e73; --line: #dedee2; --red: #303034; --red-dark: #303034;
  --display: Manrope, 'Segoe UI', sans-serif; --mono: Manrope, 'Segoe UI', sans-serif;
  margin: 0; min-width: 360px; color: var(--ink); background: var(--paper);
  font: 13px/1.5 Manrope, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
}
.admin-page ::selection { background: #dce5dc; color: #1d1d1f; }
.admin-page :focus-visible { outline: 2px solid #687969; outline-offset: 3px; }
.admin-page :is(input, textarea) { caret-color: #303034; }
.admin-page * { scrollbar-color: #c6c6cc transparent; scrollbar-width: thin; }
.admin-page #app { min-width: 0; }
.admin-wrap { width: 100%; min-height: 100dvh; margin: 0; padding: 0; }
.admin-page :is(h1, h2, h3) { letter-spacing: -.025em; text-wrap: balance; }
.admin-page h2 { font-size: 15px; font-weight: 800; }
.admin-page h3 { font-size: 14px; font-weight: 800; }
.admin-page .subtle { color: var(--muted); font-size: 12px; line-height: 1.6; }
.admin-page .notice { color: #8b352b; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.admin-page .notice:empty { display: none; }
.admin-page .btn { min-height: 38px; padding: 8px 15px; gap: 7px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink); font-size: 12px; line-height: 1.45; font-weight: 750; transition: background-color .15s, border-color .15s; }
.admin-page .btn svg { width: 16px; height: 16px; flex: none; }
.admin-page .btn:hover:not(:disabled) { background: #f0f0f3; border-color: #c7c7cd; }
.admin-page .btn.primary { color: #fff; background: #303034; border-color: #303034; }
.admin-page .btn.primary:hover:not(:disabled) { background: #151518; border-color: #151518; }
.admin-page .btn.quiet { background: transparent; }
.admin-page .btn.danger { color: #933d31; }
.admin-page button:disabled { opacity: .43; cursor: default; }
.admin-page .icon-btn { display: inline-grid; place-items: center; min-width: 32px; width: 32px; min-height: 32px; padding: 7px; border-radius: 8px; color: var(--muted); }
.admin-page .icon-btn svg { width: 17px; height: 17px; }
.admin-page .icon-btn:hover:not(:disabled) { color: var(--ink); background: #e9e9ed; }
.operator-top { display: flex; align-items: center; min-height: 74px; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.operator-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; color: #4e4e54; background: #f0f0f3; }
.operator-mark svg { width: 21px; height: 21px; }
.operator-heading h1 { font: 800 21px/1.2 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.035em; }
.operator-heading p { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 650; }
.operator-top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.operator-status { display: inline-flex; align-items: center; gap: 7px; margin-right: 12px; color: #8b5b20; font-size: 11px; white-space: nowrap; }
.operator-status::before { content: ''; width: 6px; height: 6px; border-radius: 100%; background: currentColor; }
.operator-status.is-online { color: #38734a; }
.operator-toolbar { display: flex; align-items: center; gap: 16px; min-height: 63px; padding: 11px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.operator-tabs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 100px; background: #ededf0; }
.operator-tabs button { min-height: 32px; padding: 6px 19px; border: 0; border-radius: 100px; background: transparent; color: #626269; font-size: 12px; font-weight: 750; transition: background-color .15s, color .15s; }
.operator-tabs button[aria-selected='true'] { color: var(--ink); background: #fff; box-shadow: 0 1px 3px #1d1d1f12; }
.operator-audience-link { margin-left: auto; }
.operator-toolbar .notice { margin: 0; }
.operator-game { display: grid; grid-template-columns: 228px minmax(0, 1fr) 270px; min-height: calc(100dvh - 138px); align-items: stretch; }
.operator-queue { padding: 22px 12px; border-right: 1px solid var(--line); }
.admin-page .card-head { margin-bottom: 16px; gap: 8px; }
.operator-queue .card-head { padding: 0 8px; }
.operator-queue .card-head h2 { font-size: 12px; }
.admin-page .queue { gap: 6px; }
.admin-page .queue-row { grid-template-columns: minmax(0, 1fr) 30px; padding: 7px 5px 7px 7px; gap: 2px; border: 1px solid transparent; border-radius: 14px; background: #fff; }
.admin-page .queue-row.is-selected { border-color: #d4d4d9; background: var(--surface); }
.admin-page .queue-select { gap: 10px; padding: 3px 0; }
.admin-page .queue-index { display: grid; place-items: center; width: 30px; height: 37px; flex: none; border: 1px solid #e1e1e6; border-radius: 8px; color: #77777f; background: #fff; font: 750 11px/1 Manrope, 'Segoe UI', sans-serif; }
.admin-page .queue-title { font-size: 12px; font-weight: 750; line-height: 1.45; }
.admin-page .queue-time { margin-top: 4px; color: var(--muted); font-size: 10px; }
.operator-stage { min-width: 0; padding: 22px; background: #fafafa; }
.admin-page .board { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.admin-page .board-stage { padding: 26px 25px 0; color: var(--ink); background: #fff; }
.admin-page .board-phase { display: inline-flex; margin-bottom: 18px; padding: 5px 9px; border-radius: 6px; color: #626269; background: #f1f1f4; font-size: 11px; font-weight: 700; }
.admin-page .board-stage h2 { max-width: 28ch; margin: 0; font: 800 clamp(25px, 2.35vw, 38px)/1.19 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.admin-page .board-main { min-height: 34px; padding: 0 25px 22px; }
.admin-page .board-footer { padding: 18px 25px; border-top: 1px solid var(--line); }
.admin-page .control-row { gap: 8px; }
.admin-page .board-footer .primary { min-height: 42px; padding-inline: 20px; }
.admin-page .board-blocked { margin-top: 10px; }
.admin-page .next-cue { margin: 12px 0 0; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 11px; }
.admin-page .connection-note { margin-top: 12px; color: #8b352b; font-size: 12px; line-height: 1.55; }
.admin-page .board .timer { --stitch: #6e876c; --rail: #dedee2; margin: 25px 0 0; }
.admin-page .board .timer-top { margin-bottom: 11px; }
.admin-page .board .timer-number { color: var(--ink); font: 750 30px/1 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.admin-page .tally { margin-top: 20px; }
.admin-page .tally:empty, .admin-page #board-clock:empty { display: none; }
.admin-page .total { margin-bottom: 9px; font: 650 11px/1.4 Manrope, 'Segoe UI', sans-serif; color: var(--muted); letter-spacing: 0; }
.admin-page .choice-static { min-height: 45px; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; border-color: #e1e1e6; border-radius: 10px; background: #fff; }
.admin-page .choice-tag { width: 26px; min-height: 26px; color: #66666d; background: #f0f0f3; border-radius: 6px; font: 750 11px/1 Manrope, 'Segoe UI', sans-serif; }
.admin-page .choice-text { font-size: 13px; font-weight: 750; line-height: 1.4; }
.admin-page .choice-tail { color: var(--ink); font: 800 15px/1 Manrope, 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; }
.admin-page .winner-row { border-color: #b7c8b2; background: #f0f5ee; }
.admin-page .screen-preview { margin-top: 24px; padding: 0 3px; border: 0; background: transparent; }
.admin-page .screen-preview .card-head h2 { color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-page .screen-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-page .screen-preview-cell { min-width: 0; padding: 0; color: #55555d; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.admin-page .screen-preview-cell h3 { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 650; }
.admin-page .screen-preview-cell b { font-size: 12px; font-weight: 750; }
.admin-page .screen-preview-cell ul { padding-left: 16px; margin-top: 6px; }
.operator-properties { min-width: 0; padding: 24px 21px; border-left: 1px solid var(--line); }
.operator-properties h2 { margin-bottom: 20px; font-size: 12px; }
.operator-properties h3 { margin-bottom: 14px; font-size: 15px; }
.operator-readouts { margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.operator-readouts div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.operator-readouts dt { color: var(--muted); font-size: 11px; }
.operator-readouts dd { margin: 0; text-align: right; font-size: 12px; font-weight: 750; }
.admin-page #game-form { margin-top: 20px; }
.admin-page #game-form .btn { width: 100%; }
.admin-page .game-help { margin-top: 16px; }
.admin-page .field { gap: 6px; margin: 0 0 15px; font-size: 11px; font-weight: 700; }
.admin-page .field :is(input, textarea, select) { width: 100%; min-width: 0; min-height: 42px; padding: 10px 11px; border: 1px solid #dedee2; border-radius: 10px; color: var(--ink); background: var(--surface); font: 650 13px/1.5 Manrope, 'Segoe UI', sans-serif; }
.admin-page .field input[type=number] { max-width: 145px; font-variant-numeric: tabular-nums; }
.admin-page .field :is(input, textarea)::placeholder { color: #6e6e73; font-weight: 500; }
.admin-page .field input[readonly] { color: #65656c; }
.admin-page .field textarea { resize: vertical; min-height: 82px; font-weight: 550; }
.admin-page .field select { appearance: auto; }
.admin-page .editor { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.operator-stage:has(#editor:not([hidden])) > :is(.board, .screen-preview) { display: none; }
.admin-page .editor .card-head h2 { font-size: 18px; }
.admin-page .editor .field-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.admin-page .editor-section { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.admin-page .editor-section > summary { cursor: pointer; font-size: 12px; font-weight: 750; }
.admin-page .editor-section[open] > summary { margin-bottom: 17px; }
.admin-page .editor .actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.admin-page .editor #editor-preview { padding-top: 1px; }
.admin-page .vk-connection { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.admin-page .vk-controls { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.admin-page .vk-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; font-size: 12px; font-weight: 750; cursor: pointer; }
.admin-page .vk-toggle input, .admin-page .vk-option input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #303034; }
.admin-page .vk-link { display: inline-flex; align-items: center; min-height: 30px; color: #535d51; font-size: 11px; text-underline-offset: 3px; }
.admin-page .vk-details { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.admin-page .operator-properties > .btn { margin-top: 16px; font-size: 11px; }
.operator-settings { max-width: 1060px; padding: 28px 32px 60px; margin: 0 auto; }
.admin-page .vk-settings { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.admin-page .vk-settings > summary, .admin-page .copy-editor > summary { min-height: 44px; padding: 8px 0; cursor: pointer; font-size: 18px; font-weight: 800; }
.admin-page .vk-settings-body { padding-top: 15px; }
.admin-page .vk-group { margin-bottom: 18px; color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.admin-page .vk-key-saved { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 12px; }
.admin-page .vk-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-page .vk-copy-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-width: 0; }
.admin-page .vk-copy-field .btn { min-height: 42px; }
.admin-page .vk-candidate { margin-top: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.admin-page .vk-candidate-name { margin-bottom: 5px; font-weight: 750; }
.admin-page .vk-candidate .subtle { margin-bottom: 12px; }
.admin-page .vk-settings-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-page .vk-settings-section h3 { margin-bottom: 18px; font-size: 14px; }
.admin-page .vk-help { max-width: 70ch; margin-bottom: 12px; }
.admin-page .vk-option { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; cursor: pointer; font-size: 12px; }
.admin-page .vk-settings .field { max-width: 900px; }
.admin-page .copy-editor { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.admin-page .copy-hint { margin: 5px 0 20px; }
.admin-page .copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.admin-page .copy-column { min-width: 0; margin: 0; padding: 0; border: 0; }
.admin-page .copy-column legend { margin-bottom: 15px; padding: 0; font-size: 13px; font-weight: 800; }
.admin-page .copy-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.admin-page .copy-actions .notice { margin: 0; }
.operator-newsletter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: calc(100dvh - 138px); }
.newsletter-compose { padding: 30px 34px; }
.newsletter-compose .card-head { flex-wrap: wrap; }
.admin-page .newsletter-compose .field { margin-top: 24px; }
.admin-page .newsletter-compose .field textarea { min-height: 270px; padding: 16px; font-size: 14px; line-height: 1.7; font-weight: 500; }
.newsletter-compose-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.admin-page .newsletter-help { max-width: 65ch; margin-top: 24px; }
.newsletter-preview-column { min-width: 0; padding: 30px 34px; border-left: 1px solid var(--line); background: #fafafa; }
.newsletter-preview-column > h2 { margin-bottom: 24px; }
.newsletter-preview-group { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.newsletter-bubble { padding: 20px; border: 1px solid #e0e0e5; border-radius: 14px; background: #fff; color: #303034; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.newsletter-recipient-count { margin-top: 20px; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.admin-page #newsletter-preview-expiry { margin-top: 5px; }
.admin-page #newsletter-send-button { margin-top: 18px; }
.newsletter-delivery { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.newsletter-delivery h3 { margin-bottom: 12px; font-size: 12px; }
.newsletter-delivery p { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.newsletter-delivery progress { display: block; width: 100%; height: 6px; margin-top: 15px; border: 0; border-radius: 100px; color: #6d856a; background: #e4e4e8; accent-color: #6d856a; overflow: hidden; }
.newsletter-delivery progress::-webkit-progress-bar { background: #e4e4e8; }
.newsletter-delivery progress::-webkit-progress-value { background: #6d856a; border-radius: 100px; }
.newsletter-delivery progress::-moz-progress-bar { background: #6d856a; }
.admin-page .login-card { width: min(380px, calc(100% - 40px)); max-width: none; margin: max(40px, 15vh) auto; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-page .login-card h1 { margin: 20px 0 0; font: 800 25px/1.2 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.035em; }
.admin-page .login-card form { margin-top: 25px; }
.admin-page .login-card .btn { width: 100%; margin-top: 5px; }
@media (min-width: 1280px) {
  .operator-game { grid-template-columns: 250px minmax(0, 1fr) 290px; }
  .operator-stage { padding: 28px; }
  .operator-properties { padding: 26px 24px; }
}
@media (max-width: 1000px) {
  .operator-game { grid-template-columns: 208px minmax(0, 1fr); }
  .operator-properties { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 30px; padding: 24px; border-left: 0; border-top: 1px solid var(--line); }
  .operator-properties .vk-connection { margin: 0; padding: 0; border: 0; }
  .operator-properties > .btn { grid-column: 2; justify-self: start; }
  .operator-properties #game-form { display: grid; grid-template-columns: minmax(0, 1fr); }
  .operator-properties #game-form .btn { grid-column: 1 / -1; }
  .operator-status { display: none; }
  .newsletter-compose, .newsletter-preview-column { padding: 26px; }
}
@media (max-width: 680px) {
  .operator-top { min-height: 74px; padding: 15px 16px; gap: 10px; }
  .operator-heading h1 { font-size: 17px; letter-spacing: -.03em; }
  .operator-heading p { font-size: 10px; }
  .operator-top-actions { gap: 0; }
  .admin-page .operator-top .btn { min-height: 40px; padding: 8px 10px; }
  .operator-top .projector-link span { display: none; }
  .operator-top .projector-link { width: 36px; }
  .operator-toolbar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
  .operator-tabs { flex: 1; }
  .operator-tabs button { min-height: 38px; flex: 1; padding: 7px 12px; }
  .operator-audience-link { width: 40px; height: 40px; padding: 0 !important; font-size: 0 !important; }
  .operator-audience-link span { display: none; }
  .operator-toolbar .notice { flex: 1 0 100%; }
  .operator-game { display: flex; flex-direction: column; }
  .operator-stage { order: 0; padding: 18px 16px 24px; }
  .operator-properties { order: 1; display: block; padding: 24px 20px; border-bottom: 1px solid var(--line); }
  .operator-properties .vk-connection { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
  .operator-queue { order: 2; padding: 22px 12px; border-right: 0; }
  .operator-queue .card-head h2 { font-size: 14px; }
  .admin-page .queue-title { font-size: 13px; }
  .admin-page .queue-row { padding: 8px; grid-template-columns: minmax(0, 1fr) 40px; }
  .admin-page .queue-index { width: 36px; height: 40px; }
  .admin-page .icon-btn { min-width: 40px; width: 40px; min-height: 40px; }
  .admin-page .board-stage { padding: 23px 21px 0; }
  .admin-page .board-stage h2 { font-size: 28px; }
  .admin-page .board-main { padding: 0 21px 21px; }
  .admin-page .board-footer { padding: 17px 21px; }
  .admin-page .board-footer .primary { width: 100%; min-height: 46px; }
  .admin-page .field :is(input, textarea, select) { min-height: 46px; font-size: 16px; }
  .admin-page .btn { min-height: 44px; }
  .admin-page .editor { padding: 20px 17px; }
  .admin-page .screen-preview-grid { gap: 18px; }
  .admin-page .screen-preview-cell, .admin-page .screen-preview-cell b { font-size: 12px; }
  .operator-newsletter { display: block; }
  .newsletter-compose, .newsletter-preview-column { padding: 26px 20px; }
  .newsletter-preview-column { border-left: 0; border-top: 1px solid var(--line); }
  .admin-page .newsletter-compose .field textarea { min-height: 210px; font-size: 16px; }
  .operator-settings { padding: 24px 20px 45px; }
  .admin-page .copy-grid { grid-template-columns: 1fr; gap: 18px; }
  .admin-page .vk-copy-field { gap: 7px; }
  .admin-page .vk-copy-field .btn { padding-inline: 10px; font-size: 11px; }
  .admin-page .vk-key-saved { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-page *, .admin-page *::before, .admin-page *::after { transition: none !important; }
}
@media (max-width: 590px) {
  .projector { padding: 20px; }
  .projector-main { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .projector .qr-frame { width: min(200px, 55vw); }
}
@media (max-width: 420px) {
  .admin-wrap .copy-grid, .admin-wrap .screen-preview-grid { grid-template-columns: 1fr; }
}
@media (min-width: 591px) and (max-height: 780px) {
  .projector:has(.score-row:nth-child(4)) { padding-block: clamp(18px, 4vh, 32px); }
  .projector:has(.score-row:nth-child(4)) h1.projector-question { font-size: clamp(28px, 4vw, 64px); }
  .projector:has(.score-row:nth-child(4)) .score-line { font-size: clamp(16px, 2vw, 31px); }
  .projector[data-phase=revealed]:has(.score-row:nth-child(4)) .score-row.is-winner .score-line {
    font-size: clamp(22px, 2.7vw, 43px);
  }
}
@media (min-width: 591px) and (max-height: 610px) {
  .projector { padding: 22px 30px; gap: 9px; }
  .projector-top img { width: clamp(100px, 11vw, 142px); }
  .projector h1.projector-question { font-size: clamp(26px, 4.15vw, 60px); }
  .projector .score-line { font-size: clamp(14px, 1.9vw, 28px); }
  .projector .scoreboard { gap: 5px; }
  .projector .score-row { padding-block: 7px; }
  .projector .qr-frame { max-width: 35vh; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .projector .score-fill { transition: none; }
}
