/* Ten to Win - game screen (board, player panels, clues). Design approved 2026-10-17 (see design-mock.html).
   Everything is scoped under #screen-game so the setup/result screens keep their own look. */

body.tw-live{
  background:
    radial-gradient(circle at 0% 78%,rgba(255,45,149,.55),transparent 38%),
    radial-gradient(circle at 100% 78%,rgba(255,45,149,.55),transparent 38%),
    radial-gradient(circle at 50% 100%,rgba(255,45,149,.25),transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104'%3E%3Cpolygon points='0,104 60,0 120,104' fill='%23242424' stroke='%230a0a0a' stroke-width='2'/%3E%3Cpolygon points='0,0 60,0 0,104' fill='%23181818' stroke='%230a0a0a' stroke-width='2'/%3E%3Cpolygon points='60,0 120,0 120,104' fill='%231a1a1a' stroke='%230a0a0a' stroke-width='2'/%3E%3C/svg%3E");
  background-size:auto,auto,auto,120px 104px;
  background-attachment:fixed;
}
body.tw-live .site-header{border-bottom-color:rgba(255,255,255,.12)}

#screen-game{--tw-pink:#ff2d95;--tw-soft:#ea4b95;--tw-panel:#050505}
#screen-game .tw-stage{margin:0 auto;display:grid;grid-template-columns:minmax(0,clamp(380px,calc((100vh - 330px) * 1.14),760px)) 350px;justify-content:center;gap:34px;align-items:start}

/* side column (desktop): compact player cards, then the answer box */
#screen-game .tw-side{min-width:0;margin-top:90px}
#screen-game .tw-prow{display:flex;align-items:center;gap:10px;border:3px solid #fff;margin-bottom:8px;background:#000;padding:6px 10px;min-height:56px;transition:box-shadow .25s,opacity .25s}
#screen-game .tw-prow .nm{flex:0 1 96px;min-width:0;color:var(--tw-soft);font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.5px;font-size:15px;line-height:1.1;word-break:break-word}
#screen-game .tw-prow .box{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
#screen-game .tw-prow.active{border-color:var(--tw-pink);box-shadow:0 0 16px var(--tw-pink)}
#screen-game .tw-prow.out{opacity:.45;border-color:#888}
#screen-game .tw-prow .tw-lc{padding:0}
#screen-game .tw-prow .tw-lc .r{gap:4px;flex-wrap:nowrap}
#screen-game .tw-prow .tw-lc svg{width:22px;height:22px}
#screen-game .tw-prow .tw-lc .sep{width:6px}
#screen-game .tw-prow .tw-lc.two{gap:3px}
#screen-game .tw-prow .tw-lc.two svg{width:20px;height:20px}
#screen-game .tw-prow .tw-pts{flex:0 0 auto;width:auto;min-width:38px;justify-content:flex-end;font-size:28px}
#screen-game .tw-lc{display:flex;justify-content:center;align-items:center;width:100%;padding:10px 6px}
#screen-game .tw-lc .r{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap}
#screen-game .tw-lc svg{width:42px;height:42px}
#screen-game .tw-lc .sep{display:block;width:12px}
#screen-game .tw-lc .inf{font-weight:900;font-size:11px;letter-spacing:1px;color:#fff;opacity:.8}
#screen-game .tw-pts{display:flex;align-items:center;justify-content:center;font-weight:900;color:var(--tw-soft);text-shadow:0 0 14px rgba(255,45,149,.6)}
#screen-game .tw-pts.neg{color:#ff6b6b}
#screen-game .tw-side .tw-answer{margin:14px 0 0}
#screen-game .tw-side .tw-actions,#screen-game .tw-side .tw-hint,#screen-game .tw-side .tw-timer{margin-left:0;margin-right:0}

/* phone: one strip of player cards instead of two panels */
#screen-game .tw-strip{display:none}

/* centre */
#screen-game .tw-centre{position:relative;min-width:0}
#screen-game .tw-logo{display:block;width:36%;max-width:200px;margin:0 auto -5%;position:relative;z-index:3;filter:drop-shadow(0 6px 18px rgba(0,0,0,.6))}
#screen-game .tw-board{position:relative;width:100%;aspect-ratio:1.14/1}
#screen-game .tw-board svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#screen-game .tw-glow{filter:drop-shadow(0 0 3px var(--tw-pink)) drop-shadow(0 0 9px var(--tw-pink)) drop-shadow(0 0 22px rgba(255,45,149,.8))}
#screen-game .tw-row{cursor:default}
#screen-game .tw-row.pick,#screen-game .tw-row.clued{cursor:pointer}
#screen-game .tw-row.pick polygon{animation:twpulse 1s ease-in-out infinite}
@keyframes twpulse{0%,100%{fill:#f4f4f4}50%{fill:#ffc4e0}}
#screen-game .tw-row.ok polygon{animation:twok .5s ease-out}
@keyframes twok{0%{fill:#fff}100%{fill:#ff2d95}}
#screen-game .tw-row.bad polygon{animation:twbad .45s ease-out}
@keyframes twbad{0%,60%{fill:#ff6b6b}100%{fill:#f4f4f4}}
#screen-game .tw-row text{pointer-events:none}
#screen-game .tw-title{background:var(--tw-soft);color:#fff;text-align:center;font-weight:900;letter-spacing:.5px;text-transform:uppercase;padding:13px 10px;margin:10px 6% 0;font-size:clamp(12px,2.2vw,17px);box-shadow:0 0 0 3px #000,0 0 18px rgba(255,45,149,.5)}
#screen-game .tw-note{text-align:center;color:#a0a0a0;font-size:11px;margin-top:8px;letter-spacing:.5px}
#screen-game .tw-timer{margin:10px 6% 0;display:none}
#screen-game .tw-timer .t{font-weight:900;font-size:22px;text-align:center;letter-spacing:2px}
#screen-game .tw-timer .t.urgent{color:#ff6b6b}
#screen-game .tw-timer .bar{height:6px;background:#222;margin-top:4px}
#screen-game .tw-timer .bar i{display:block;height:100%;background:var(--tw-pink);width:100%}

/* hint line, row detail, clue chooser */
#screen-game .tw-hint{display:none;margin:10px 6% 0;text-align:center;font-weight:900;font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#fff;background:rgba(255,45,149,.25);border:2px solid var(--tw-pink);padding:8px}
#screen-game .tw-hint.show{display:block}
#screen-game .tw-detail{display:none;margin:10px 6% 0;font-size:13px;font-weight:700;line-height:1.5;background:#0d0d0d;border:3px solid #fff;padding:10px 12px}
#screen-game .tw-detail.show{display:block}
#screen-game .tw-detail b{color:var(--tw-pink)}
#screen-game .tw-chooser{display:none;position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);z-index:30;background:#0d0d0d;border:3px solid var(--tw-pink);padding:14px;width:min(88%,330px);box-shadow:0 0 30px rgba(255,45,149,.6)}
#screen-game .tw-chooser.show{display:block}
#screen-game .tw-chooser h4{margin:0 0 10px;text-align:center;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--tw-pink);font-weight:900}
#screen-game .tw-chooser button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:6px;background:#1a1a1a;border:2px solid #444;color:#fff;font:800 14px 'Raleway',sans-serif;padding:11px 12px;cursor:pointer;border-radius:0;text-align:left}
#screen-game .tw-chooser button small{font-size:11px;color:#aaa;font-weight:800;white-space:nowrap}
#screen-game .tw-chooser button:hover:not(:disabled){border-color:var(--tw-pink);color:var(--tw-pink)}
#screen-game .tw-chooser button:disabled{opacity:.35;cursor:not-allowed}
#screen-game .tw-chooser .cancel{justify-content:center;background:transparent;border-color:#666;color:#bbb;margin-top:10px}

/* answer box + actions */
#screen-game .tw-answer{margin:16px 6% 0;background:#0d0d0d;border:3px solid #fff;padding:12px;position:relative}
#screen-game .tw-answer .input-row{display:flex;gap:8px;align-items:stretch}
#screen-game .tw-answer .guess-input{flex:1;min-width:0;background:#1a1a1a;border:3px solid #333;border-radius:0;color:#fff;font:800 16px 'Raleway',sans-serif;padding:12px 14px;outline:none;-webkit-appearance:none;appearance:none}
#screen-game .tw-answer .guess-input::placeholder{color:#8a8a8a;font-weight:600}
#screen-game .tw-answer .submit-btn{border:0;border-radius:0;background:var(--tw-soft);color:#fff;font:900 13px 'Raleway',sans-serif;letter-spacing:1px;text-transform:uppercase;padding:0 20px;cursor:pointer;-webkit-appearance:none;appearance:none}
#screen-game .tw-answer .submit-btn:hover{background:var(--tw-pink)}
#screen-game .ac-list{display:none;position:absolute;left:12px;right:12px;top:calc(100% - 3px);z-index:60;background:#0d0d0d;border:3px solid var(--tw-pink);border-radius:0;max-height:264px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-shadow:0 10px 30px rgba(0,0,0,.6)}
#screen-game .ac-list.open{display:block}
#screen-game .ac-list.above{top:auto;bottom:calc(100% - 3px);flex-direction:column-reverse}
#screen-game .ac-list.above.open{display:flex}
#screen-game .ac-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;border-bottom:1px solid #222;font-size:14px;font-weight:800;color:#fff}
#screen-game .ac-item:last-child{border-bottom:none}
#screen-game .ac-list.above .ac-item:first-child{border-bottom:none}
#screen-game .ac-list.above .ac-item:last-child{border-bottom:1px solid #222}
#screen-game .ac-item.active,#screen-game .ac-item:hover{background:rgba(255,45,149,.18);color:var(--tw-pink)}
#screen-game .ac-sub{font-size:10px;font-weight:700;color:#999;letter-spacing:.5px;white-space:nowrap}
@media (pointer:coarse){#screen-game .ac-list{max-height:138px}}
#screen-game .tw-answer .input-lbl{font-size:10px;font-weight:900;letter-spacing:2px;text-transform:uppercase;color:var(--tw-pink);margin-bottom:8px}
#screen-game .tw-answer .guess-input{border-radius:0;border:3px solid #333;background:#1a1a1a;color:#fff}
#screen-game .tw-answer .guess-input:focus{border-color:var(--tw-pink)}
#screen-game .tw-answer .guess-input.shake{animation:shake .4s ease}
#screen-game .tw-actions{display:flex;gap:8px;margin:10px 6% 0}
#screen-game .tw-btn{flex:1;background:transparent;color:#fff;border:3px solid #fff;font:900 13px 'Raleway',sans-serif;letter-spacing:1px;text-transform:uppercase;padding:13px 0;cursor:pointer;border-radius:0}
#screen-game .tw-btn:hover:not(:disabled){border-color:var(--tw-pink);color:var(--tw-pink)}
#screen-game .tw-btn.on{background:var(--tw-pink);border-color:var(--tw-pink);color:#fff}
#screen-game .tw-btn:disabled{opacity:.35;cursor:not-allowed}

@media (max-width:900px){
  #screen-game .tw-stage{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;width:100%}
  #screen-game .tw-players{display:none}
  #screen-game .tw-side{margin-top:0}
  #screen-game .tw-side .tw-answer{margin-top:16px}
  #screen-game .tw-side .tw-actions{margin-top:10px}
  #screen-game .tw-strip{display:grid;gap:6px}
  #screen-game .tw-scard{background:var(--tw-panel);border:3px solid #fff;padding:6px;text-align:center;min-width:0}
  #screen-game .tw-scard.active{border-color:var(--tw-pink);box-shadow:0 0 14px var(--tw-pink)}
  #screen-game .tw-scard.out{opacity:.45;border-color:#888}
  #screen-game .tw-scard .nm{font-size:12px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #screen-game .tw-scard .sc{font-size:30px;font-weight:900;color:var(--tw-soft);line-height:1.1}
  #screen-game .tw-scard .tw-lc{padding:4px 0}
  #screen-game .tw-scard .tw-lc .r{gap:2px;flex-wrap:nowrap}
  #screen-game .tw-scard .tw-lc svg{width:17px;height:17px}
  #screen-game .tw-scard .tw-lc .sep{width:3px}
  #screen-game .tw-scard .tw-lc .inf{font-size:9px}
  #screen-game .tw-logo{width:34%;max-width:140px;margin-bottom:-4%}
  #screen-game .tw-board{width:90%;margin:0 auto}
  #screen-game .tw-title,#screen-game .tw-answer,#screen-game .tw-actions,#screen-game .tw-hint,#screen-game .tw-detail,#screen-game .tw-timer{margin-left:0;margin-right:0}
}

/* the old page-level TENABLE logo would sit above the Ten to Win logo during play */
body.tw-live .game-logo{display:none}

/* during play the page header floats over the texture, with even padding so the logo and buttons are centred */
body.tw-live header{background:transparent;border-bottom:none;padding:14px 32px}
@media (max-width:640px){body.tw-live header{padding:12px 16px}}

/* lives + clues: stacked rows for more than one clue */
#screen-game .tw-lc.two{flex-direction:column;gap:8px}
#screen-game .tw-lc.two .r{gap:8px}
#screen-game .tw-scard .tw-lc.two{gap:3px}
#screen-game .tw-scard .tw-lc.two svg{width:17px;height:17px}

/* clue popup (all the clues for one row; clubs open it straight away) */
#tw-modal{display:none;position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.8);align-items:center;justify-content:center;padding:20px}
#tw-modal.show{display:flex}
#tw-modal .card{background:#0d0d0d;border:3px solid var(--tw-pink,#ff2d95);box-shadow:0 0 34px rgba(255,45,149,.55);max-width:440px;width:100%;padding:22px;color:#fff;position:relative;max-height:86vh;overflow-y:auto}
#tw-modal h4{margin:0 0 14px;font-size:12px;letter-spacing:3px;text-transform:uppercase;color:#ff2d95;font-weight:900}
#tw-modal .row{margin-bottom:14px}
#tw-modal .row b{display:block;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#ff2d95;margin-bottom:5px}
#tw-modal .row div{font-size:16px;font-weight:800;line-height:1.5}
#tw-modal .chips{display:flex;flex-wrap:wrap;gap:6px}
#tw-modal .chips span{background:#1a1a1a;border:2px solid #444;padding:6px 10px;font-size:14px;font-weight:800}
#tw-modal .note{font-size:11px;color:#999;font-weight:700;margin-top:4px}
#tw-modal .close{width:100%;margin-top:6px;background:#ff2d95;border:0;color:#fff;font:900 14px 'Raleway',sans-serif;letter-spacing:1px;text-transform:uppercase;padding:13px;cursor:pointer;border-radius:0}

body.tw-live main{padding-top:6px;padding-bottom:16px}

/* the 'stats updated' footer belongs to the setup screens, not the game board */
body.tw-live #data-updated{display:none !important}
#screen-game .tw-prow .tw-lc.two .r{gap:4px}

/* ── recording layout (admin only, see record.js) ──
   Normal play: the square wrapper and the recording panels change nothing. */
#screen-game .tw-square{display:contents}
#screen-game .tw-rec{display:none}
#screen-game .tw-admin:not(:empty){display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
#screen-game .tw-admin-btn{flex:1 1 calc(50% - 4px);font-size:11px;padding:9px 0;opacity:.85}
#screen-game .tw-admin-btn.wide{flex-basis:100%;font-size:10px;padding:7px 0}

/* Recording on: a 1:1 stage (everything inside sized in cqw, so it is the same at any size) with the controls beside it. */
body.tw-rec-on,body.tw-rec-on.tw-live{background:#0b0b0b}
body.tw-rec-on header{display:none}
body.tw-rec-on main{max-width:none !important;padding:12px !important}
body.tw-rec-on #screen-game .tw-stage{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:64px;min-height:calc(100vh - 24px)}
body.tw-rec-on #screen-game .tw-square{display:block;flex:none;position:relative;isolation:isolate;container-type:size;aspect-ratio:1/1;height:min(calc((100vh - 24px) / 1.06),calc((100vw - 520px) / 1.06))}
/* the whole textured box (the layout square plus a little breathing space all round) is the recording area */
body.tw-rec-on #screen-game .tw-square::before{content:"";position:absolute;inset:-3cqw;z-index:-1;
  background:
    radial-gradient(circle at 0% 80%,rgba(255,45,149,.55),transparent 34%),
    radial-gradient(circle at 100% 80%,rgba(255,45,149,.55),transparent 34%),
    radial-gradient(circle at 50% 100%,rgba(255,45,149,.30),transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104'%3E%3Cpolygon points='0,104 60,0 120,104' fill='%23242424' stroke='%230a0a0a' stroke-width='2'/%3E%3Cpolygon points='0,0 60,0 0,104' fill='%23181818' stroke='%230a0a0a' stroke-width='2'/%3E%3Cpolygon points='60,0 120,0 120,104' fill='%231a1a1a' stroke='%230a0a0a' stroke-width='2'/%3E%3C/svg%3E");
  background-size:auto,auto,auto,9cqw 7.8cqw}
body.tw-rec-on #screen-game .tw-centre{position:absolute;inset:0}
body.tw-rec-on #screen-game .tw-strip,body.tw-rec-on #screen-game .tw-note{display:none}
body.tw-rec-on #screen-game .tw-logo{position:absolute;left:50%;top:1.2cqw;transform:translateX(-50%);width:26cqw;max-width:none;margin:0}
body.tw-rec-on #screen-game .tw-board{position:absolute;left:50%;top:12.5cqw;transform:translateX(-50%);width:88cqw}
body.tw-rec-on #screen-game .tw-title{position:absolute;left:50%;bottom:2.4cqw;transform:translateX(-50%);width:76cqw;margin:0;font-size:2.1cqw;padding:1.2cqw 1cqw;box-shadow:0 0 0 .3cqw #000,0 0 1.6cqw rgba(255,45,149,.5)}
body.tw-rec-on #screen-game .tw-side{flex:none;width:360px;margin:0}
body.tw-rec-on #screen-game .tw-players{display:none}

body.tw-rec-on #screen-game .tw-rec{display:block}
#screen-game .tw-rp{position:absolute;top:3cqw;width:17.5cqw;z-index:5}
#screen-game .tw-rp.l{left:2.6cqw}#screen-game .tw-rp.r{right:2.6cqw}
#screen-game .tw-rp h3{margin:0;border:.25cqw solid #fff;background:var(--tw-soft);color:#fff;text-align:center;font-weight:900;font-size:1.7cqw;padding:.5cqw 0;text-transform:uppercase}
#screen-game .tw-rp .rrow{display:grid;grid-template-columns:7.4cqw 1fr;border:.25cqw solid #fff;border-top:0;background:#000;height:8.6cqw;overflow:hidden;transition:box-shadow .25s,opacity .25s}
#screen-game .tw-rp .rrow.active{box-shadow:0 0 1.6cqw var(--tw-pink);outline:.25cqw solid var(--tw-pink);outline-offset:-.25cqw}
#screen-game .tw-rp .rrow.out{opacity:.45}
#screen-game .tw-rp .ph{background-size:cover;background-position:center top;border-right:.25cqw solid #fff}
#screen-game .tw-rp .ph.none{background:linear-gradient(135deg,#c0357a,#ea4b95);display:flex;align-items:center;justify-content:center;text-align:center;padding:.3cqw;font-weight:900;font-style:italic;text-transform:uppercase;color:#fff;font-size:1.5cqw;line-height:1.05;word-break:break-word}
#screen-game .tw-rp .lcw{display:flex;align-items:center;justify-content:center;min-width:0;padding:.4cqw}
#screen-game .tw-rp .lcw .tw-lc{padding:0;width:auto}
#screen-game .tw-rp .lcw .tw-lc .r{gap:.4cqw;flex-wrap:wrap;justify-content:center;max-width:9.4cqw}
#screen-game .tw-rp .lcw .tw-lc svg{width:2.1cqw;height:2.1cqw}
#screen-game .tw-rp .lcw .tw-lc .sep{flex-basis:100%;width:0;height:0}
#screen-game .tw-rp .lcw .tw-lc .inf{font-size:1.1cqw}
#screen-game .tw-rp .lcw .tw-lc.two{gap:.4cqw}
#screen-game .tw-rp .rpts{display:flex;align-items:center;justify-content:center;font-weight:900;font-size:5.2cqw;color:#fff;text-shadow:0 0 1cqw rgba(255,45,149,.7)}
#screen-game .tw-rp .rpts.neg{color:#ff6b6b}

/* player photos manager */
#tw-pm{display:none;position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.8);align-items:center;justify-content:center;padding:20px}
#tw-pm.show{display:flex}
#tw-pm .card{background:#0d0d0d;border:3px solid #ff2d95;box-shadow:0 0 34px rgba(255,45,149,.55);max-width:520px;width:100%;padding:22px;color:#fff;max-height:86vh;overflow-y:auto}
#tw-pm h4{margin:0 0 12px;font-size:12px;letter-spacing:3px;text-transform:uppercase;color:#ff2d95;font-weight:900}
#tw-pm .pm-note{font-size:12px;color:#aaa;font-weight:700;margin-bottom:12px;line-height:1.5}
#tw-pm .pm-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;border:2px solid #333;padding:6px}
#tw-pm .pm-th{width:42px;height:56px;background-size:cover;background-position:center top;flex:none}
#tw-pm .pm-nm{flex:1;font-weight:900;text-transform:uppercase;letter-spacing:.5px}
#tw-pm .pm-b{background:transparent;color:#fff;border:2px solid #fff;font:900 11px 'Raleway',sans-serif;letter-spacing:1px;text-transform:uppercase;padding:9px 12px;cursor:pointer;border-radius:0}
#tw-pm .pm-b:hover{border-color:#ff2d95;color:#ff2d95}
#tw-pm .pm-add{display:flex;gap:8px;margin-top:12px}
#tw-pm .pm-add input{flex:1;min-width:0;background:#1a1a1a;border:3px solid #333;color:#fff;font:800 14px 'Raleway',sans-serif;padding:10px 12px;border-radius:0}
#tw-pm .pm-msg{min-height:18px;font-size:12px;color:#ff6b6b;font-weight:800;margin-top:8px}
#tw-pm .close{width:100%;margin-top:6px;background:#ff2d95;border:0;color:#fff;font:900 14px 'Raleway',sans-serif;letter-spacing:1px;text-transform:uppercase;padding:13px;cursor:pointer;border-radius:0}

/* keyboard clue numbers */
#screen-game .tw-chooser .kn{display:inline-block;min-width:20px;margin-right:8px;text-align:center;background:var(--tw-pink);color:#fff;font-weight:900;padding:1px 0}

/* recording layout: end of game inside the square, no mouse pointer on the stage, scaled clue popups */
#screen-game .tw-rec-result,#screen-game .tw-endbar{display:none}
body.tw-rec-on #screen-game .tw-square,body.tw-rec-on #screen-game .tw-square *{cursor:none !important}
body.tw-rec-on #screen-game .tw-rec-result{display:block;position:absolute;left:2.4cqw;right:2.4cqw;top:2.4cqw;bottom:2.4cqw;z-index:4;background:rgba(6,6,6,.985);border:.4cqw solid var(--tw-pink);box-shadow:0 0 2cqw rgba(255,45,149,.7);opacity:0;pointer-events:none;transition:opacity .6s}
body.tw-rec-on #screen-game .tw-rec-result.show{opacity:1}
.tw-rec-result .rr-head{position:absolute;top:1.6cqw;left:19cqw;right:19cqw;text-align:center}
.tw-rec-result .rr-logo{display:block;width:15cqw;margin:0 auto .4cqw}
.tw-rec-result .rr-sub{font-size:1.6cqw;font-weight:900;letter-spacing:.3cqw;text-transform:uppercase;color:var(--tw-pink)}
.tw-rec-result .rr-num{font-size:6cqw;line-height:1.05;font-weight:900;font-style:italic;text-transform:uppercase;color:#fff;text-shadow:0 0 1.2cqw rgba(255,45,149,.7)}
.tw-rec-result .rr-how{font-size:1.6cqw;font-weight:800;color:#ddd;line-height:1.4}
.tw-rec-result .rr-how b{color:var(--tw-pink)}
.tw-rec-result .rr-list{position:absolute;left:6cqw;right:6cqw;top:31.5cqw}
.tw-rec-result .rrr{display:grid;grid-template-columns:4.4cqw 1fr auto;align-items:center;height:5.2cqw;margin-bottom:.5cqw;padding:0 1.6cqw;font-size:2.3cqw;font-weight:900;text-transform:uppercase}
.tw-rec-result .rrr.got{background:var(--tw-pink);color:#fff}
.tw-rec-result .rrr.missed{background:#2a2a2a;color:#aaa}
.tw-rec-result .rrr small{font-size:1.4cqw;opacity:.75;margin-left:.6cqw}
body.tw-rec-done #screen-game .tw-answer,body.tw-rec-done #screen-game .tw-actions,body.tw-rec-done #screen-game .tw-hint,body.tw-rec-done #screen-game .tw-timer{display:none}
body.tw-rec-done #screen-game .tw-endbar{display:flex;gap:8px;margin:14px 0 0}
body.tw-rec-on .tw-square #tw-modal{background:rgba(0,0,0,.72)}
body.tw-rec-on .tw-square #tw-modal .card{max-width:none;width:58cqw;padding:2.4cqw;border-width:.3cqw}
body.tw-rec-on .tw-square #tw-modal h4{font-size:1.3cqw;margin-bottom:1.6cqw}
body.tw-rec-on .tw-square #tw-modal .row{margin-bottom:1.6cqw}
body.tw-rec-on .tw-square #tw-modal .row b{font-size:1.2cqw;margin-bottom:.6cqw}
body.tw-rec-on .tw-square #tw-modal .row div{font-size:2cqw}
body.tw-rec-on .tw-square #tw-modal .chips span{font-size:1.7cqw;padding:.7cqw 1cqw}
body.tw-rec-on .tw-square #tw-modal .note{font-size:1.1cqw}
body.tw-rec-on .tw-square #tw-modal .close{font-size:1.5cqw;padding:1.2cqw}
body.tw-rec-on #screen-game .tw-chooser{width:46cqw;padding:1.6cqw;border-width:.3cqw}
body.tw-rec-on #screen-game .tw-chooser h4{font-size:1.3cqw;margin-bottom:1cqw}
body.tw-rec-on #screen-game .tw-chooser button{font-size:1.8cqw;padding:1.1cqw 1.4cqw;margin-top:.6cqw}
body.tw-rec-on #screen-game .tw-chooser button small{font-size:1.2cqw}
body.tw-rec-on #screen-game .tw-chooser .kn{min-width:2.4cqw;margin-right:1cqw}

/* the crop numbers for OBS (admin, recording layout) */
#screen-game .tw-crop:not(:empty){margin-top:12px;border:3px solid #fff;background:#0d0d0d;padding:10px 12px;font-size:15px;font-weight:800;line-height:1.7;color:#fff}
#screen-game .tw-crop b{color:var(--tw-pink);font-size:11px;letter-spacing:2px;text-transform:uppercase}
#screen-game .tw-crop small{color:#999;font-size:11px;font-weight:700}

/* Branding off in the recording layout: just the logo goes */
body.rec-nobrand.tw-rec-on .tw-logo, body.rec-nobrand.tw-rec-on .tw-rec-result .rr-logo{visibility:hidden}
