      :root{
        --bg:#F5EFE4;
        --surface:#FBF8F2;
        --surface-2:#EFE6D6;
        --ink:#1F2A3A;
        --ink-soft:#3D4656;
        --line:rgba(30,58,99,.18);
        --stage:#1E3A63;
        --stage-2:#16294A;
        --stage-line:#3F5F8A;
        --gold:#E8A030;
        --gold-deep:#B0522C;
        --teal:#3F6C66;
        --red:#C13030;
        --red-bright:#E05050;
        --green:#2E7D32;
        --shadow:0 1px 2px rgba(30,58,99,.06),0 12px 32px -12px rgba(30,58,99,.18);
        --radius:14px;
      }
      @media (prefers-color-scheme: dark){
        :root{
          --bg:#081120;
          --surface:#101f33;
          --surface-2:#0c1a2c;
          --ink:#eef3f8;
          --ink-soft:#a9bccd;
          --line:#24374f;
          --shadow:0 10px 30px rgba(0,0,0,.45);
        }
      }
      *{box-sizing:border-box}
      .ckd-feud{
        background:var(--bg);
        color:var(--ink);
        font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
        font-size:16px;
        line-height:1.45;
        -webkit-font-smoothing:antialiased;
      }
      .ckd-feud .ckd-wrap{max-width:1060px;margin:0 auto;padding:18px 16px 48px}
      .ckd-feud h1,.ckd-feud h2,.ckd-feud h3{font-family:"Fraunces",Georgia,"Times New Roman",serif;margin:0;line-height:1.05}
      .ckd-feud button{font-family:inherit;cursor:pointer}
      :focus-visible{outline:3px solid var(--gold);outline-offset:2px}

      /* ---------- Header ---------- */
      .topbar{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;justify-content:space-between;margin-bottom:14px}
      .title-block .kicker{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal)}
      .title-block h1{font-size:clamp(2.2rem,6vw,3.4rem);font-weight:700;text-transform:uppercase;letter-spacing:.01em}
      .title-block h1 .gold{color:var(--gold-deep)}
      @media (prefers-color-scheme: dark){ .title-block h1 .gold{color:var(--gold)} }
      .title-block p{margin:4px 0 0;color:var(--ink-soft);font-size:.95rem;max-width:56ch}
      .host-chip{text-decoration:none;
        display:inline-flex;align-items:center;gap:8px;text-decoration:none;
        background:var(--surface);border:1px solid var(--line);border-radius:999px;
        padding:8px 14px;font-weight:600;font-size:.88rem;color:var(--ink);box-shadow:var(--shadow);
      }
      .host-chip .dot{width:9px;height:9px;border-radius:50%;background:var(--teal);flex:none}

      /* ---------- How a study group plays ---------- */
      .presenters{margin:0 0 14px}
      .presenters-head{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;justify-content:space-between;margin-bottom:10px}
      .presenters-head h2{font-size:1.55rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
      .presenters-head p{margin:0;color:var(--ink-soft);font-size:.9rem}
      .presenter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
      @media (max-width:900px){ .presenter-grid{grid-template-columns:repeat(3,1fr)} }
      @media (max-width:520px){ .presenter-grid{grid-template-columns:repeat(2,1fr)} }
      .presenter{
        background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;
        box-shadow:var(--shadow);min-width:0;
      }
      .presenter .p-num{font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--teal)}
      .presenter .p-name{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.28rem;font-weight:700;line-height:1.05;margin:3px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
      .presenter .p-role{font-size:.84rem;font-weight:700;color:var(--ink)}
      .presenter .p-detail{font-size:.82rem;color:var(--ink-soft);margin-top:2px;line-height:1.35}
      .presenter.host{border-color:var(--gold-deep);box-shadow:0 0 0 1px var(--gold) , var(--shadow)}
      .class-note{
        margin-top:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;
        padding:11px 14px;font-size:.92rem;color:var(--ink-soft);display:flex;gap:10px;align-items:flex-start;
      }
      .class-note strong{color:var(--ink)}
      .class-note .badge{flex:none;background:var(--teal);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:4px 9px;margin-top:1px}

      /* ---------- How to play strip ---------- */
      .howto{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}
      @media (max-width:700px){ .howto{grid-template-columns:1fr} }
      .howto-card{background:var(--stage);color:#eaf1f9;border:1px solid var(--stage-line);border-radius:12px;padding:14px}
      .howto-card b{display:block;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.15rem;letter-spacing:.03em;color:var(--gold);margin-bottom:3px}
      .howto-card span{font-size:.9rem;color:#cfe0f2;line-height:1.4;display:block}

      /* ---------- Presentation timer ---------- */
      .show-timer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:14px;box-shadow:var(--shadow)}
      .show-timer .st-label{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft)}
      .show-timer .st-clock{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:2rem;font-weight:700;line-height:1}
      .show-timer .st-clock.over{color:var(--red)}
      .show-timer .st-actions{display:flex;gap:8px;flex-wrap:wrap}
      .btn.small{padding:8px 13px;font-size:.88rem}

      /* ---------- Scoreboard ---------- */
      .scoreboard{
        display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:stretch;
        background:var(--stage);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow);
        border:1px solid var(--stage-line);
      }
      .team{
        background:var(--stage-2);border:1px solid var(--stage-line);border-radius:10px;
        padding:10px 12px;color:#eaf1f9;min-width:0;
      }
      .team.leading{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
      .team label{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9db8d6;display:block}
      .team .tname{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.35rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
      .team .tscore{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:2.4rem;font-weight:700;color:var(--gold);line-height:1}
      .team input{
        width:100%;min-width:0;background:transparent;border:none;border-bottom:1px dashed #44648f;color:#fff;
        font:inherit;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.3rem;font-weight:600;padding:0;
      }
      @media (max-width:560px){
        .scoreboard{grid-template-columns:1fr 1fr}
        .vs{grid-column:1 / -1;order:3;display:flex;align-items:center;justify-content:center;gap:12px}
        .vs .vs-word{font-size:1.15rem}
        .vs button{display:inline-block;margin:0}
        .team .tscore{font-size:2rem}
        .team input{font-size:1.15rem}
      }
      .vs{align-self:center;text-align:center;color:#dbe7f4}
      .vs .vs-word{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.5rem;font-weight:700}
      .vs button{
        display:block;margin:6px auto 0;background:transparent;color:#9db8d6;border:1px solid var(--stage-line);
        border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:600;
      }
      .vs button:hover{color:#fff;border-color:var(--gold)}
      #resetBtn{
        max-width:240px;white-space:normal;line-height:1.25;font-size:.92rem;font-weight:800;
        color:#ffd2d2;border:2px solid #e05050;padding:8px 12px;
      }
      .save-note{margin:10px 2px 0;font-size:.85rem;color:var(--ink-soft);display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}
      .save-note .save-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--green);margin-top:5px}
      .save-note strong{color:var(--ink)}

      /* ---------- Live game (Supabase phone join) ---------- */
      .live-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);margin-bottom:14px}
      .live-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:6px}
      .live-head h2{font-size:1.55rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
      .live-status{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:6px 13px;font-weight:700;font-size:.85rem;background:var(--surface-2)}
      .live-status .dot{width:9px;height:9px;border-radius:50%;background:#98a6b5;flex:none}
      .live-status.on .dot{background:var(--green)}
      .live-panel p{color:var(--ink-soft);margin:0 0 12px;font-size:.93rem}
      .live-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
      @media (max-width:700px){ .live-grid{grid-template-columns:1fr} }
      .live-box{border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--surface-2)}
      .live-box h3{font-size:1.2rem;margin:0 0 4px}
      .live-box p{font-size:.88rem;margin:0 0 10px}
      .live-box label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);margin:10px 0 4px}
      .live-box input,.live-box select{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:1rem}
      .pin-big{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:3.2rem;font-weight:700;letter-spacing:.18em;line-height:1;color:var(--gold-deep);text-align:center;padding:8px 0 2px}
      @media (prefers-color-scheme: dark){ .pin-big{color:var(--gold)} }
      .live-msg{margin-top:10px;font-size:.9rem;min-height:1.3em}
      .live-msg:empty{margin-top:0;min-height:0}
      .live-roster{display:flex;gap:14px;margin-top:10px;text-align:left}
      .live-roster[hidden]{display:none}
      .roster-side{flex:1 1 0;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:8px 10px}
      .roster-side h4{margin:0 0 6px;font-size:.85rem;letter-spacing:.02em}
      .roster-side ul{margin:0;padding-left:18px;font-size:.9rem}
      .roster-side li{margin:2px 0}
      .roster-empty{list-style:none;margin-left:-18px;opacity:.65;font-style:italic}
      .side-tally{display:none;background:var(--stage);color:#eaf1f9;border:1px solid var(--stage-line);border-radius:10px;padding:10px 14px;margin:0 0 4px;font-size:.93rem}
      .side-tally.show{display:block}
      .side-tally strong{color:var(--gold)}
      .live-tally{display:none;max-width:820px;margin:12px auto 0;background:var(--stage-2);border:1px solid var(--teal);border-radius:10px;padding:12px 16px;color:#eaf1f9;font-size:.95rem}
      .live-tally.show{display:block}
      .live-tally strong{color:var(--gold)}

      /* ---------- Player view (joined phone) ---------- */
      .player-wrap{max-width:860px;margin:0 auto;padding:18px 16px 48px}
      .pv-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}
      .pv-head h2{font-size:1.9rem;text-transform:uppercase}
      .pv-scores{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;margin-bottom:12px}
      @media (max-width:560px){ .pv-scores{grid-template-columns:1fr 1fr} .pv-pot{grid-column:1 / -1;order:3} }
      .pv-board{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:820px;margin:0 auto}
      @media (max-width:620px){ .pv-board{grid-template-columns:1fr} }
      .pv-slot{display:flex;align-items:center;gap:10px;background:var(--stage-2);border:2px solid var(--stage-line);border-radius:10px;padding:12px 14px;color:#eaf1f9;min-height:60px;position:relative;overflow:hidden}
      .pv-slot .num{flex:none;width:38px;height:38px;border-radius:50%;background:#0a1a2e;border:2px solid var(--gold);color:var(--gold);display:grid;place-items:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.25rem;font-weight:700}
      .pv-slot .ans{font-weight:700;font-size:1.02rem;flex:1;min-width:0}
      .pv-slot .pts{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.5rem;font-weight:700;color:var(--gold)}
      .pv-slot.revealed{background:#17457e;border-color:var(--gold)}
      .pv-slot .cover{position:absolute;inset:0;display:grid;place-items:center;background:var(--stage-2);font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.05rem;letter-spacing:.22em;color:#5f7ea3;font-weight:600}
      .pv-slot.revealed .cover{display:none}
      .pv-status{max-width:820px;margin:14px auto 0;text-align:center;font-weight:700;color:var(--gold);font-size:1.05rem;min-height:1.4em}

      /* Player answer pad (live Feud rounds) */
      .pad{max-width:820px;margin:0 auto 14px;background:var(--stage-2);border:1px solid var(--stage-line);border-radius:12px;padding:14px}
      .pad-turn{font-weight:700;font-size:1.02rem;color:#eaf1f9;text-align:center;min-height:1.4em}
      .pad-turn .steal{color:var(--gold)}
      .pad-row{display:flex;gap:8px;margin-top:10px}
      .pad-row input{flex:1 1 auto;min-width:0;padding:13px 14px;border-radius:10px;border:2px solid var(--stage-line);background:#0a1a2e;color:#eaf1f9;font:inherit;font-size:1.05rem}
      .pad-row input:disabled{opacity:.45}
      .pad-note{margin-top:8px;font-size:.92rem;color:#cfe0f2;min-height:1.3em;text-align:center}
      .pad-mine{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
      .pad-mine li{background:#0a1a2e;border:1px solid var(--stage-line);border-radius:999px;padding:5px 11px;font-size:.88rem;color:#eaf1f9}
      .pad-mine .st{font-weight:700;margin-left:6px}
      .pad-mine .st-pending{color:#cfe0f2}
      .pad-mine .st-match{color:#7dd787}
      .pad-mine .st-strike,.pad-mine .st-dup{color:#ff8080}
      .pad-mine .st-moot{color:#9db8d6}
      .player-wrap .pv-board{max-width:640px;gap:8px}
      .player-wrap .pv-slot{min-height:44px;padding:7px 10px}
      .player-wrap .pv-slot .num{width:29px;height:29px;font-size:1.02rem}

      /* Host phone-guess queue (in the Feud stage) */
      .guess-queue{max-width:820px;margin:14px auto 0;background:var(--stage-2);border:1px solid var(--teal);border-radius:10px;padding:12px 14px;text-align:left}
      .gq-row{display:flex;width:100%;gap:8px;align-items:baseline;background:#0a1a2e;border:1px solid var(--stage-line);border-radius:8px;color:#eaf1f9;padding:9px 11px;margin-top:8px;font:inherit;text-align:left;cursor:pointer}
      .gq-row .gq-text{font-weight:700;flex:1 1 auto;min-width:0}
      .gq-row .gq-who{color:#9db8d6;font-size:.85rem;flex:none}
      .gq-row .gq-phase{color:var(--gold);font-size:.78rem;font-weight:700;letter-spacing:.06em;flex:none}
      .gq-row.sel{border-color:var(--gold);outline:2px solid var(--gold)}
      .gq-empty{color:#9db8d6;font-size:.92rem;margin-top:6px}
      .gq-slots{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}

      /* ---------- Tabs ---------- */
      .tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 14px}
      .tab{
        border:1px solid var(--line);background:var(--surface);color:var(--ink);
        border-radius:999px;padding:9px 18px;font-weight:700;font-size:.95rem;
      }
      .tab[aria-selected="true"]{background:var(--stage);color:#fff;border-color:var(--stage)}
      @media (prefers-color-scheme: dark){ .tab[aria-selected="true"]{background:var(--gold);color:#231a00;border-color:var(--gold)} }

      /* ---------- Stage / Feud board ---------- */
      .stage{
        background:var(--stage);border:1px solid var(--stage-line);border-radius:18px;
        padding:20px 16px 18px;box-shadow:var(--shadow);color:#eaf1f9;
      }
      .round-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}
      .round-pills{display:flex;flex-wrap:wrap;gap:6px}
      .pill{
        background:var(--stage-2);color:#cfe0f2;border:1px solid var(--stage-line);
        border-radius:999px;padding:6px 14px;font-weight:700;font-size:.85rem;
      }
      .pill[aria-pressed="true"]{background:var(--gold);color:#231a00;border-color:var(--gold)}
      .pill.done{opacity:.45}
      .pot{
        font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.3rem;font-weight:700;color:var(--gold);
        border:1px solid var(--stage-line);border-radius:10px;padding:4px 14px;background:var(--stage-2);
      }
      .pot small{display:block;font-family:"Inter",system-ui,sans-serif;font-size:.62rem;letter-spacing:.14em;color:#9db8d6;font-weight:700}
      .feud-q{
        text-align:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-weight:600;
        font-size:clamp(1.5rem,4.4vw,2.3rem);line-height:1.15;margin:6px auto 16px;max-width:26ch;
      }
      .feud-q .survey{display:block;font-family:"Inter",system-ui,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:6px}
      .round-host{text-align:center;font-family:"Inter",system-ui,sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:0 auto 12px}
      .main-end{max-width:820px;margin:14px auto 0;background:var(--stage-2);border:2px solid var(--gold);border-radius:12px;padding:14px 16px;text-align:center;color:#eaf1f9}
      .main-end h3{color:var(--gold);font-size:1.3rem;margin-bottom:6px}
      .main-end p{color:#cfe0f2}
      .fm-title{color:#fff;text-align:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:clamp(1.6rem,4vw,2.2rem);margin:8px 0 4px}
      .fm-sub{text-align:center;color:#cfe0f2;max-width:660px;margin:0 auto 14px}
      .fm-pick p{text-align:center;color:#cfe0f2;font-weight:700}
      .fm-board{max-width:820px;margin:0 auto;display:grid;gap:10px}
      .fm-row{background:var(--stage-2);border:1px solid var(--stage-line);border-radius:10px;padding:10px 14px}
      .fm-row.current{border-color:var(--gold)}
      .fm-q{color:#fff;font-weight:700;margin-bottom:8px}
      .fm-qn{color:var(--gold)}
      .fm-cells{display:grid;grid-template-columns:1fr 1fr;gap:10px}
      @media (max-width:620px){ .fm-cells{grid-template-columns:1fr} }
      .fm-cell{background:rgba(0,0,0,.18);border-radius:8px;padding:8px 10px;color:#eaf1f9;min-height:44px}
      .fm-cell small{display:block;font-family:"Inter",system-ui,sans-serif;color:#9db8d6;font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin-bottom:2px}
      .fm-cell .pts{float:right;color:var(--gold);font-weight:800}
      .fm-wait{color:#9db8d6}
      .fm-covered{letter-spacing:.3em;color:#9db8d6}
      .fm-totals{text-align:center;color:var(--gold);font-weight:800;margin-top:14px}
      .fm-final{max-width:820px;margin:14px auto 0;background:var(--stage-2);border:2px solid var(--gold);border-radius:12px;padding:16px;text-align:center;color:#eaf1f9}
      .fm-final h3{color:var(--gold);font-size:1.5rem;margin-bottom:6px}
      .board{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:820px;margin:0 auto}
      @media (max-width:620px){ .board{grid-template-columns:1fr} }
      .slot{
        display:flex;align-items:center;gap:10px;text-align:left;width:100%;
        background:var(--stage-2);border:2px solid var(--stage-line);border-radius:10px;
        padding:12px 14px;color:#eaf1f9;min-height:60px;position:relative;overflow:hidden;
      }
      .slot .num{
        flex:none;width:38px;height:38px;border-radius:50%;background:#0a1a2e;border:2px solid var(--gold);
        color:var(--gold);display:grid;place-items:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;
        font-size:1.25rem;font-weight:700;
      }
      .slot .ans{font-weight:700;font-size:1.02rem;flex:1;min-width:0}
      .slot .pts{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.5rem;font-weight:700;color:var(--gold)}
      .slot.hidden-slot .ans,.slot.hidden-slot .pts{visibility:hidden}
      .slot.revealed{background:#17457e;border-color:var(--gold)}
      .slot .cover{
        position:absolute;inset:0;display:grid;place-items:center;background:var(--stage-2);
        font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.05rem;letter-spacing:.22em;color:#5f7ea3;font-weight:600;
      }
      .slot.revealed .cover{display:none}

      /* ---------- Host answer check (guess checker) ---------- */
      .host-check{
        max-width:820px;margin:14px auto 0;background:var(--stage-2);
        border:1px dashed var(--gold);border-radius:10px;padding:12px 14px;
      }
      .host-check .hc-label{font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:8px}
      .host-check .hc-row{display:flex;flex-wrap:wrap;gap:8px}
      .host-check input{
        flex:1;min-width:200px;background:#0a1a2e;border:1px solid var(--stage-line);border-radius:8px;
        color:#fff;font:inherit;font-size:1rem;padding:10px 12px;
      }
      .host-check input::placeholder{color:#5f7ea3}
      .host-check .hc-result{margin-top:10px;font-size:.95rem;color:#eaf1f9;min-height:1.4em}
      .host-check .hc-result:empty{margin-top:0;min-height:0}
      .host-check .hc-hit{color:#8fe388;font-weight:700}
      .host-check .hc-close{color:var(--gold);font-weight:700}
      .host-check .hc-miss{color:#ff9d9d;font-weight:700}
      .host-check .hc-note{color:#9db8d6}
      .host-check .hc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
      .host-check .hc-actions:empty{margin-top:0}

      .strikes{display:flex;gap:10px;justify-content:center;margin:18px 0 4px}
      .strike-box{
        width:56px;height:56px;border-radius:10px;border:2px solid var(--stage-line);background:var(--stage-2);
        display:grid;place-items:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:2rem;font-weight:700;color:#33517a;
      }
      .strike-box.on{border-color:var(--red-bright);color:#fff;background:var(--red);animation:shake .3s ease}
      @keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
      @media (prefers-reduced-motion: reduce){ .strike-box.on{animation:none} .timer-fill{transition:none!important} }
      .steal-banner{
        display:none;max-width:820px;margin:12px auto 0;background:#3d0d0d;border:1px solid var(--red-bright);
        color:#ffd9d9;border-radius:10px;padding:10px 14px;text-align:center;font-weight:600;
      }
      .steal-banner.show{display:block}
      .controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
      .btn{
        border-radius:10px;padding:11px 18px;font-weight:700;font-size:.95rem;border:1px solid var(--line);
        background:var(--surface);color:var(--ink);
      }
      .btn.gold{background:var(--gold);border-color:var(--gold-deep);color:#231a00}
      .btn.stage-btn{background:var(--stage-2);border-color:var(--stage-line);color:#eaf1f9}
      .btn.danger{background:var(--red);border-color:#a11d1d;color:#fff}
      .btn:disabled{opacity:.45;cursor:not-allowed}
      .hint{color:#9db8d6;text-align:center;font-size:.85rem;margin:12px auto 0;max-width:60ch}

      /* ---------- Back navigation ---------- */
      .back-nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--stage-line)}
      .back-nav .back-context{font-size:.85rem;color:#9db8d6;font-weight:600}
      .btn.back-btn{background:var(--gold);border-color:var(--gold-deep);color:#231a00;font-size:.95rem}
      .btn.back-btn:hover{filter:brightness(1.06)}
      .back-nav-bottom{margin-top:14px;padding-top:12px;border-top:1px solid var(--stage-line);text-align:center}

      /* ---------- Kahoot ---------- */
      .k-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}
      .k-count{font-weight:700;color:#9db8d6;font-size:.9rem;letter-spacing:.06em}
      .k-tag{background:var(--teal);color:#fff;border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
      .timer-track{height:14px;background:var(--stage-2);border:1px solid var(--stage-line);border-radius:999px;overflow:hidden;margin-bottom:16px}
      .timer-fill{height:100%;width:100%;background:var(--gold);transition:width 1s linear}
      .timer-fill.low{background:var(--red-bright)}
      .k-q{text-align:center;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-weight:600;font-size:clamp(1.5rem,4.4vw,2.2rem);line-height:1.15;max-width:30ch;margin:0 auto 18px}
      .k-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:820px;margin:0 auto}
      @media (max-width:620px){ .k-grid{grid-template-columns:1fr} }
      .k-opt{
        display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:none;border-radius:10px;
        padding:16px;color:#fff;font-weight:700;font-size:1.02rem;min-height:64px;
      }
      .k-opt .shape{flex:none;width:30px;height:30px;display:grid;place-items:center}
      .k-opt .shape svg{width:26px;height:26px;fill:#fff}
      .k-opt.c0{background:#e21b3c}.k-opt.c1{background:#1368ce}.k-opt.c2{background:#d89e00}.k-opt.c3{background:#26890c}
      .k-opt.dim{opacity:.28}
      .k-opt.correct{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--gold)}
      .k-opt:disabled{cursor:default}
      .explain{
        display:none;max-width:820px;margin:16px auto 0;background:var(--stage-2);border:1px solid var(--gold);
        border-radius:10px;padding:14px 16px;color:#eaf1f9;
      }
      .explain.show{display:block}
      .explain h3{color:var(--gold);font-size:1.15rem;letter-spacing:.04em;margin-bottom:4px}
      .explain p{margin:0}
      .k-award{display:none;max-width:820px;margin:12px auto 0;text-align:center}
      .k-award.show{display:block}
      .k-award .pts-note{color:var(--gold);font-family:"Fraunces",Georgia,"Times New Roman",serif;font-size:1.4rem;font-weight:700;margin-bottom:8px}

      /* ---------- Panels (editor / guide) ---------- */
      .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);margin-bottom:14px}
      .panel h2{font-size:1.7rem;font-weight:700;margin-bottom:6px}
      .panel h3{font-size:1.3rem;font-weight:600;margin:18px 0 6px}
      .panel p{color:var(--ink-soft);margin:0 0 10px}
      .panel p strong{color:var(--ink)}
      .ed-item{border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px;background:var(--surface-2)}
      .ed-item h3{margin:0 0 10px;font-size:1.15rem}
      .ed-item label{display:block;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);margin:10px 0 4px}
      .ed-item input[type="text"],.ed-item textarea,.ed-item select{
        width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);
        color:var(--ink);font:inherit;font-size:.95rem;
      }
      .ed-answers{display:grid;gap:6px}
      .ed-ans-row{display:grid;grid-template-columns:1fr 84px;gap:6px}
      .ed-opts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
      @media (max-width:620px){ .ed-opts{grid-template-columns:1fr} }

      .flow{list-style:none;margin:0;padding:0;counter-reset:step}
      .flow li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
      .flow li:last-child{border-bottom:none}
      .flow .time{
        flex:none;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-weight:700;font-size:1.05rem;color:var(--teal);
        width:86px;padding-top:1px;
      }
      .flow .what strong{display:block}
      .flow .what span{color:var(--ink-soft);font-size:.93rem}

      .med-table{width:100%;border-collapse:collapse;font-size:.93rem}
      .med-table th{
        text-align:left;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);
        padding:8px;border-bottom:2px solid var(--line);vertical-align:top;
      }
      .med-table td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
      .med-table td ul{margin:0;padding-left:16px}
      .med-table td li{margin-bottom:2px}
      .med-name{font-weight:800}
      .med-class{color:var(--teal);font-weight:700;font-size:.85rem}
      .med-cards{display:none}
      @media (max-width:760px){
        .med-table{display:none}
        .med-cards{display:grid;gap:10px}
        .med-card{border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--surface-2)}
        .med-card h4{margin:0 0 2px;font-size:1.05rem}
        .med-card p{margin:6px 0 0;font-size:.92rem}
        .med-card ul{margin:4px 0 0;padding-left:18px;font-size:.92rem;color:var(--ink-soft)}
      }
      .rubric{list-style:none;margin:0;padding:0}
      .rubric li{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);align-items:flex-start}
      .rubric li:last-child{border-bottom:none}
      .rubric .tick{
        flex:none;width:24px;height:24px;border-radius:50%;background:var(--teal);color:#fff;
        display:grid;place-items:center;font-size:.8rem;font-weight:800;margin-top:1px;
      }
      .rubric span{color:var(--ink-soft);font-size:.94rem}
      .rubric strong{color:var(--ink)}
      .refs{font-size:.94rem;color:var(--ink-soft)}
      .refs li{margin-bottom:8px}
      .winner{
        display:none;background:var(--stage);border:2px solid var(--gold);border-radius:18px;color:#fff;
        text-align:center;padding:28px 18px;margin-bottom:14px;box-shadow:var(--shadow);
      }
      .winner.show{display:block}
      .winner h2{font-size:clamp(1.9rem,5vw,2.8rem);color:var(--gold);text-transform:uppercase}
      .winner p{color:#cfe0f2;margin:6px 0 14px}
      footer{margin-top:22px;color:var(--ink-soft);font-size:.85rem;text-align:center}
      footer a{color:var(--teal);font-weight:700}
      [hidden]{display:none!important}

/* ============================================================
   RESKIN v2 (Nov 11, 2026) — modern game-show layer.
   Everything below overrides the base styles above; deleting
   this block restores the original look exactly.
   - Heavy display sans (Inter 800) replaces the serif on all
     game elements: board, points, question, scores, PIN.
   - Lit surfaces: gradients, inner highlights, gold glow.
   - Flip-in reveals on the Feud board + points pop.
   - Stage mode (body.ckd-stage-on, toggled by stage-mode.js):
     furniture hides, the board goes projector-size.
   - The old in-page .show-timer is hidden: the floating
     master-timer.js pill replaces it (always on screen).
   ============================================================ */
.show-timer{display:none!important}

/* ---------- Display type on game elements ---------- */
.feud-q,.k-q,.slot .num,.slot .pts,.slot .cover,.pv-slot .num,.pv-slot .pts,.pv-slot .cover,
.team .tscore,.team .tname,.team input,.pot,.pin-big,.strike-box,.winner h2,
.k-award .pts-note,.vs .vs-word,.howto-card b,.flow .time{
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}
.feud-q,.k-q{font-weight:800;letter-spacing:-.01em}
.slot .num,.pv-slot .num{font-weight:800}
.slot .pts,.pv-slot .pts{font-weight:800;letter-spacing:-.01em}
.slot .cover,.pv-slot .cover{font-weight:800;letter-spacing:.3em;font-size:.92rem}
.team .tscore{font-weight:800;font-size:2.7rem;letter-spacing:-.02em}
.team .tname,.team input{font-weight:700}
.pot{font-weight:800}
.pin-big{font-weight:800}
.strike-box{font-weight:800}
.winner h2{font-weight:800;letter-spacing:.01em}

/* ---------- Lit surfaces ---------- */
.stage{
  background:
    radial-gradient(720px 300px at 18% -60px,rgba(232,160,48,.20),transparent 62%),
    radial-gradient(820px 340px at 84% -70px,rgba(70,130,220,.22),transparent 62%),
    linear-gradient(180deg,#24477a 0%,#1E3A63 46%,#152a49 100%);
  border:1px solid #4d6f9e;border-radius:22px;
  box-shadow:0 24px 48px -18px rgba(8,18,36,.55),inset 0 1px 0 rgba(255,255,255,.14);
}
.scoreboard{
  background:
    radial-gradient(560px 220px at 50% -70px,rgba(232,160,48,.16),transparent 65%),
    linear-gradient(180deg,#22406e,#16294A);
  border:1px solid #4d6f9e;border-radius:18px;
  box-shadow:0 18px 36px -16px rgba(8,18,36,.5),inset 0 1px 0 rgba(255,255,255,.12);
}
.team{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015));border-color:#46648f;border-radius:14px}
.team.leading{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold),0 0 22px -4px rgba(232,160,48,.45)}
.slot,.pv-slot{
  background:linear-gradient(180deg,#264573 0%,#1a3257 55%,#16294A 100%);
  border:1px solid #51719f;border-radius:14px;
  box-shadow:0 10px 20px -10px rgba(4,10,22,.65),inset 0 1px 0 rgba(255,255,255,.16);
}
.slot .num,.pv-slot .num{
  background:radial-gradient(circle at 35% 30%,#1d3a63,#0a1a2e 75%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 8px rgba(4,10,22,.5);
}
.slot.revealed,.pv-slot.revealed{
  background:linear-gradient(180deg,#2f6dbb 0%,#1f4f8f 55%,#1a4076 100%);
  border-color:var(--gold);
  box-shadow:0 0 0 1px var(--gold),0 0 26px -2px rgba(232,160,48,.5),inset 0 1px 0 rgba(255,255,255,.25);
}
.pot{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border-color:#51719f;border-radius:12px}
.host-check,.guess-queue,.pad{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01))}
.k-opt{box-shadow:inset 0 -5px 0 rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.22),0 8px 16px -8px rgba(4,10,22,.55);border-radius:14px}
.k-opt.c0{background-image:linear-gradient(180deg,rgba(255,255,255,.17),rgba(0,0,0,.10))}
.k-opt.c1{background-image:linear-gradient(180deg,rgba(255,255,255,.17),rgba(0,0,0,.10))}
.k-opt.c2{background-image:linear-gradient(180deg,rgba(255,255,255,.17),rgba(0,0,0,.10))}
.k-opt.c3{background-image:linear-gradient(180deg,rgba(255,255,255,.17),rgba(0,0,0,.10))}
.k-opt.correct{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--gold),0 0 30px -2px rgba(232,160,48,.65)}
.btn.gold,.btn.back-btn{background:linear-gradient(180deg,#f4b64a,#E8A030);box-shadow:0 8px 16px -8px rgba(176,82,44,.7),inset 0 1px 0 rgba(255,255,255,.5)}
.timer-track{height:16px;box-shadow:inset 0 2px 5px rgba(4,10,22,.6)}
.timer-fill{background:linear-gradient(90deg,#f4b64a,#E8A030)}
.explain{box-shadow:0 14px 28px -14px rgba(4,10,22,.6)}
.winner{background:
  radial-gradient(640px 260px at 50% -60px,rgba(232,160,48,.28),transparent 65%),
  linear-gradient(180deg,#24477a,#152a49)}

/* ---------- Flip reveals ---------- */
.board,.pv-board{perspective:1100px}
.slot.revealed,.pv-slot.revealed{animation:slotFlip .45s cubic-bezier(.25,.8,.3,1) both}
@keyframes slotFlip{
  0%{transform:rotateX(86deg);filter:brightness(1.7)}
  60%{filter:brightness(1.25)}
  100%{transform:rotateX(0deg);filter:brightness(1)}
}
.slot.revealed .ans,.pv-slot.revealed .ans{animation:ansIn .3s ease-out .06s both}
@keyframes ansIn{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}
.slot.revealed .pts,.pv-slot.revealed .pts{animation:ptsPop .38s cubic-bezier(.2,.9,.3,1.4) .14s both}
@keyframes ptsPop{0%{opacity:0;transform:scale(.3)}100%{opacity:1;transform:scale(1)}}
.strike-box.on{animation:shake .3s ease, strikePulse .45s ease}
@keyframes strikePulse{0%{transform:scale(1)}35%{transform:scale(1.22)}100%{transform:scale(1)}}
.winner.show h2{animation:winnerGlow 1.6s ease-in-out infinite alternate}
@keyframes winnerGlow{from{text-shadow:0 0 12px rgba(232,160,48,.25)}to{text-shadow:0 0 30px rgba(232,160,48,.65)}}
@media (prefers-reduced-motion: reduce){
  .slot.revealed,.pv-slot.revealed,.slot.revealed .ans,.pv-slot.revealed .ans,
  .slot.revealed .pts,.pv-slot.revealed .pts,.strike-box.on,.winner.show h2{animation:none!important}
}

/* ---------- Stage mode (projector) ---------- */
body.ckd-stage-on .site-head,
body.ckd-stage-on .twn-crumbs,
body.ckd-stage-on .site-foot{display:none!important}
body.ckd-stage-on .ckd-feud{
  min-height:100vh;
  background:
    radial-gradient(900px 420px at 15% -80px,rgba(232,160,48,.22),transparent 60%),
    radial-gradient(1000px 460px at 85% -90px,rgba(70,130,220,.26),transparent 60%),
    radial-gradient(700px 500px at 50% 115%,rgba(38,80,150,.35),transparent 65%),
    linear-gradient(180deg,#0d1f3c 0%,#0a1a2e 60%,#081426 100%);
}
body.ckd-stage-on .ckd-wrap{max-width:1280px;padding:84px 22px 40px}
body.ckd-stage-on .topbar,
body.ckd-stage-on .presenters,
body.ckd-stage-on .class-note,
body.ckd-stage-on .howto,
body.ckd-stage-on .panel,
body.ckd-stage-on .save-note,
body.ckd-stage-on .ckd-feud footer{display:none!important}
body.ckd-stage-on .live-panel{background:rgba(16,32,56,.72);border-color:#3F5F8A;color:#eaf1f9;padding:10px 14px}
body.ckd-stage-on .live-panel p{display:none}
body.ckd-stage-on .live-head h2{color:#eaf1f9;font-size:1.15rem}
body.ckd-stage-on .live-box{background:rgba(255,255,255,.05);border-color:#3F5F8A;color:#eaf1f9}
body.ckd-stage-on .live-box p{display:block;color:#cfe0f2}
body.ckd-stage-on .live-box label{color:#9db8d6}
body.ckd-stage-on .stage{background:transparent;border:none;box-shadow:none;padding:8px 4px 4px}
body.ckd-stage-on .scoreboard{padding:18px}
body.ckd-stage-on .team .tscore{font-size:3.4rem}
body.ckd-stage-on .team .tname,body.ckd-stage-on .team input{font-size:1.6rem}
body.ckd-stage-on .feud-q{font-size:clamp(2rem,4.6vw,3.1rem);max-width:32ch}
body.ckd-stage-on .k-q{font-size:clamp(2rem,4.6vw,3rem)}
body.ckd-stage-on .board,body.ckd-stage-on .k-grid,
body.ckd-stage-on .host-check,body.ckd-stage-on .guess-queue,
body.ckd-stage-on .explain,body.ckd-stage-on .k-award,body.ckd-stage-on .steal-banner{max-width:1120px}
body.ckd-stage-on .board{gap:14px}
body.ckd-stage-on .slot{min-height:88px;padding:18px 20px;border-radius:16px}
body.ckd-stage-on .slot .ans{font-size:1.32rem}
body.ckd-stage-on .slot .pts{font-size:2.05rem}
body.ckd-stage-on .slot .num{width:46px;height:46px;font-size:1.45rem}
body.ckd-stage-on .k-opt{min-height:88px;font-size:1.18rem;padding:20px}
body.ckd-stage-on .tabs{justify-content:center}
body.ckd-stage-on .tab{background:rgba(255,255,255,.06);color:#cfe0f2;border-color:#3F5F8A;font-size:1.02rem;padding:11px 22px}
body.ckd-stage-on .tab[aria-selected="true"]{background:var(--gold);color:#231a00;border-color:var(--gold)}
body.ckd-stage-on .hint{color:#7e97b5}
body.ckd-stage-on .strike-box{width:64px;height:64px;font-size:2.3rem}

/* ---------- Question export / import toolbar (editor) ---------- */
.ed-io{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 6px}
.ed-io-note{font-size:.9rem;font-weight:600;color:var(--teal)}
.ed-io-help{font-size:.88rem;color:var(--ink-soft);margin:0 0 6px;max-width:68ch}

/* ============================================================
   HOST-DOCKED MASTER TIMER
   The floating bottom-right pill is gone. master-timer.js mounts
   its bar into #mtimerDock at the top of the Feud stage, right
   where the host runs the game, and the rules below restyle that
   bar in place: static, full-width, label + clock + Start/Pause
   and Reset in one row. master-timer.js also injects its own
   stylesheet; every rule here is scoped under #mtimerDock so it
   outranks those injected single-class rules. The injected
   .mt-warn / .mt-danger / .mt-done background colors are NOT
   overridden, so the amber (<=3:00) and red (<=1:00) states keep
   working under the same class names — only the pulse animation
   is swapped for a box-shadow pulse, so a full-width bar never
   scales past the edge of the screen.
   Stage mode never hides the Feud stage or this dock (its hide
   list is furniture/panels only), so the timer stays visible,
   in flow, on the projector view too — no exception needed.
   ============================================================ */
#mtimerDock:empty{display:none}
body #mtimerDock .mtimer{
  position:static;right:auto;bottom:auto;z-index:auto;
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
  width:100%;margin:0 0 14px;padding:10px 16px;
  border-radius:12px;
}
body #mtimerDock .mtimer-label{font-size:.78rem}
body #mtimerDock .mtimer-clock{font-size:2rem}
body #mtimerDock .mtimer-btn[data-act="toggle"]{margin-left:auto}
body #mtimerDock .mtimer.mt-danger{animation:mtbarpulse 1s ease-in-out infinite}
body #mtimerDock .mtimer.mt-done{animation:mtbarpulse .5s ease-in-out 10}
@keyframes mtbarpulse{
  0%,100%{box-shadow:0 0 0 0 rgba(224,80,80,0)}
  50%{box-shadow:0 0 0 5px rgba(224,80,80,.45)}
}
@media (prefers-reduced-motion: reduce){
  body #mtimerDock .mtimer.mt-danger,
  body #mtimerDock .mtimer.mt-done{animation:none}
}

/* ============================================================
   MOBILE SCROLL PASS
   One block of small-screen tightening so the game needs far
   less scrolling on a phone: slimmer page padding and section
   gaps, a compact presenter lineup, smaller Feud board and
   Sprint tiles (a board nearly fits one screen), compact host
   controls and buttons, a tighter docked timer, and a player
   answer pad whose Send button sits within easy reach.
   Layout only — no content, question, or behavior changes.
   ============================================================ */
@media (max-width:640px){
  /* Page frame + section rhythm */
  .ckd-feud{font-size:15px;overflow-x:clip}
  .ckd-feud .ckd-wrap{padding:10px 10px 28px}
  .topbar{gap:8px;margin-bottom:10px}
  .title-block h1{font-size:1.9rem}
  .title-block p{font-size:.88rem}
  .presenters{margin-bottom:10px}
  .presenters-head{margin-bottom:7px}
  .presenters-head h2{font-size:1.25rem}
  .presenter-grid{gap:6px}
  .presenter{padding:8px 9px;border-radius:10px}
  .presenter .p-num{font-size:.6rem}
  .presenter .p-name{font-size:1.02rem;white-space:normal;margin:2px 0 3px}
  .presenter .p-role{font-size:.78rem}
  .presenter .p-detail{font-size:.76rem;line-height:1.3}
  .class-note{padding:8px 10px;font-size:.85rem;margin-top:8px}
  .howto{gap:6px;margin-bottom:10px}
  .howto-card{padding:9px 11px}
  .howto-card b{font-size:1rem}
  .howto-card span{font-size:.84rem}
  .scoreboard{padding:9px;gap:6px}
  .team{padding:7px 9px}
  .team .tscore{font-size:1.8rem}
  .team input{font-size:1.15rem}
  .live-panel{padding:11px;margin-bottom:10px}
  .live-head h2{font-size:1.25rem}
  .live-box{padding:10px}
  .live-box input,.live-box select{padding:9px}
  .pin-big{font-size:2.4rem}
  .save-note{font-size:.8rem}
  .tabs{gap:6px;margin:10px 0}
  .tab{padding:7px 13px;font-size:.88rem}
  .panel{padding:13px;margin-bottom:10px}
  .panel h2{font-size:1.4rem}
  .ed-item{padding:10px}

  /* Feud board + Sprint tiles: nearly one screen */
  .stage{padding:12px 10px;border-radius:14px}
  .round-row{gap:6px;margin-bottom:8px}
  .pill{padding:5px 11px;font-size:.8rem}
  .pot{font-size:1.1rem;padding:3px 10px}
  .feud-q{font-size:1.28rem;margin:4px auto 10px}
  .feud-q .survey{font-size:.64rem;margin-bottom:4px}
  .board{gap:6px}
  .slot{min-height:44px;padding:7px 10px;gap:8px;border-radius:9px}
  .slot .num{width:29px;height:29px;font-size:1.02rem}
  .slot .ans{font-size:.92rem}
  .slot .pts{font-size:1.2rem}
  .slot .cover{font-size:.9rem}
  .k-q{font-size:1.28rem;margin-bottom:12px}
  .k-grid{gap:6px}
  .k-opt{min-height:48px;padding:10px 12px;font-size:.94rem;gap:9px}
  .k-opt .shape{width:24px;height:24px}
  .k-opt .shape svg{width:21px;height:21px}
  .timer-track{height:10px;margin-bottom:10px}
  .explain{padding:10px 12px;margin-top:10px}
  .back-nav{margin-bottom:10px;padding-bottom:8px}

  /* Host controls: compact and thumb-reachable */
  .host-check{margin-top:10px;padding:9px 10px}
  .host-check input{min-width:0;padding:9px 10px;font-size:.95rem}
  .guess-queue{margin-top:10px;padding:9px 10px}
  .strikes{gap:7px;margin:10px 0 2px}
  .strike-box{width:42px;height:42px;font-size:1.5rem}
  .controls{gap:6px;margin-top:10px}
  .btn{padding:9px 13px;font-size:.9rem}
  .btn.small{padding:7px 11px;font-size:.84rem}
  .hint{font-size:.8rem;margin-top:8px}

  /* Docked master timer on small screens (label stays visible) */
  body #mtimerDock .mtimer{padding:8px 10px;gap:8px 10px;margin-bottom:10px}
  body #mtimerDock .mtimer-label{display:block;font-size:.68rem}
  body #mtimerDock .mtimer-clock{font-size:1.55rem}
  body #mtimerDock .mtimer-btn{padding:8px 13px;font-size:.86rem}

  /* Player view + answer pad */
  .player-wrap{padding:10px 10px 28px}
  .pv-head{margin-bottom:8px}
  .pv-head h2{font-size:1.5rem}
  .pv-scores{gap:6px;margin-bottom:8px}
  .pv-board{gap:6px}
  .pv-slot{min-height:46px;padding:8px 10px;gap:8px}
  .pv-slot .ans{font-size:.94rem}
  .pv-slot .pts{font-size:1.25rem}
  .player-wrap .pv-slot{min-height:42px}
  .pv-status{margin-top:10px;font-size:.98rem}
  .pad{padding:10px;margin-bottom:10px}
  .pad-turn{font-size:.95rem}
  .pad-row{margin-top:8px}
  .pad-row input{padding:11px 12px;font-size:1rem}
  .pad-note{font-size:.87rem}
  .pad-mine li{font-size:.82rem;padding:4px 9px}
  .step-banner{padding:8px 10px}
  .step-banner strong{font-size:1.15rem}
  .faceoff-vs{font-size:1.35rem}
  .buzz-btn,.buzz-big{min-height:84px;font-size:1.45rem}
  .override{padding:10px}
  .strike-x{font-size:min(62vw,280px)}
}

/* ============================================================
   RENAL RUMBLE — guided survey round
   Face-off, step banner, strike X, round bank, 375px phones.
   Motion is decorative; reduced-motion drops it.
   ============================================================ */
.score-tag{
  font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:#d5e4f5;margin-top:4px;
}
.team.answering{outline:3px solid var(--gold);outline-offset:2px}
.step-banner{
  display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;justify-content:center;
  background:#081120;color:#f5efe4;border:2px solid #e8c95a;border-radius:12px;
  padding:10px 14px;margin:0 auto 12px;max-width:820px;text-align:center;
}
.step-banner strong{
  font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.25rem,3.2vw,1.85rem);letter-spacing:.04em;color:#f5efe4;font-weight:400;
}
.step-banner span{color:#f3e2a8;font-weight:800;font-size:1rem}
.faceoff{max-width:820px;margin:0 auto 12px;text-align:center}
.faceoff-vs{
  font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.45rem,4.6vw,2.5rem);line-height:1.15;color:#f5efe4;margin:0 0 10px;
}
.buzz-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.buzz-btn,.buzz-big{
  appearance:none;width:100%;min-height:96px;border-radius:16px;border:3px solid #ffd7d7;
  background:linear-gradient(#ff5c5c,#9d1010);color:#fff;font-weight:900;letter-spacing:.14em;
  font-size:clamp(1.4rem,4vw,2rem);text-shadow:0 2px 0 rgba(0,0,0,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 22px rgba(0,0,0,.35);
}
.buzz-btn small,.buzz-big small{display:block;letter-spacing:.04em;font-size:.78rem;font-weight:700;margin-top:4px}
.buzz-btn:disabled,.buzz-big:disabled{opacity:.38;cursor:not-allowed}
.buzz-btn:focus-visible,.buzz-big:focus-visible{outline:3px solid #fff;outline-offset:3px}
.faceoff-keys{color:#d5e4f5;font-size:.9rem;margin:8px 0 0}
.faceoff-winner{margin:8px 0 0;font-weight:800;color:#f3e2a8;font-size:1.15rem}
.host-playpass{display:flex;gap:10px;justify-content:center;margin-top:12px}
.host-playpass .btn{min-width:140px;font-size:1.15rem}
.watch-board{
  text-align:center;font-size:1.35rem;font-weight:800;color:#f5efe4;background:#081120;
  border:2px dashed #e8c95a;border-radius:12px;padding:22px 12px;margin-top:10px;
}
.pot small + span + small{display:block;font-family:"Inter",system-ui,sans-serif;font-size:.72rem;letter-spacing:.08em;color:#f3e2a8;font-weight:800}
.slot .cover,.pv-slot .cover{display:flex;flex-direction:column;align-items:center;justify-content:center;letter-spacing:0;gap:2px}
.cover-num{font-size:clamp(1.6rem,4vw,2.4rem);color:#f3e2a8;font-weight:800;letter-spacing:0;line-height:1}
.strike-overlay{
  position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:rgba(48,0,0,.62);pointer-events:none;
}
.strike-overlay[hidden]{display:none!important}
.strike-x{
  font-family:"Black Ops One",Impact,sans-serif;font-size:min(68vw,440px);line-height:.78;color:#ff2d2d;
  text-shadow:0 10px 0 #2a0000,0 0 28px rgba(0,0,0,.75);
}
.strike-overlay .strike-continue{pointer-events:auto;font-size:1.15rem;min-width:180px}
.override{
  max-width:820px;margin:14px auto 0;background:#081120;border:1px solid #e8c95a;border-radius:12px;
  padding:12px 14px;text-align:left;color:#f5efe4;
}
.override h3{font-size:1rem;letter-spacing:.08em;text-transform:uppercase;color:#f3e2a8;margin:0 0 8px}
.ov-grid{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.ov-grid label{display:flex;flex-direction:column;gap:4px;font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#d5e4f5}
.ov-grid select{
  min-width:160px;padding:8px;border-radius:8px;border:1px solid #3a5a86;background:#0d1b2e;color:#f5efe4;font:inherit;text-transform:none;letter-spacing:0;font-weight:600;
}
.ov-mult{flex:1 1 100%;flex-direction:row!important;align-items:center;gap:8px!important;text-transform:none!important;letter-spacing:0!important;font-size:.92rem!important;font-weight:700!important}
.ov-note{margin:8px 0 0;color:#d5e4f5;font-size:.82rem}
.game-sub{margin:2px 0 0;color:var(--gold);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.92rem}
@media (max-width:400px){
  .buzz-row{grid-template-columns:1fr}
  .faceoff-vs{font-size:1.35rem}
  .buzz-btn,.buzz-big{min-height:88px;font-size:1.55rem}
  .step-banner strong{font-size:1.15rem}
  .team .tscore{font-size:1.7rem}
  .score-tag{font-size:.62rem}
  .ov-grid select{min-width:0;width:100%}
  .ov-grid label{flex:1 1 100%}
  .host-playpass{flex-direction:column}
  .watch-board{font-size:1.2rem;padding:16px 10px}
}
@media (prefers-reduced-motion: reduce){
  .strike-overlay,.strike-x,.buzz-btn,.buzz-big,.slot,.pv-slot,.step-banner{animation:none!important;transition:none!important}
}
body.ckd-stage-on .step-banner{max-width:1120px}
body.ckd-stage-on .faceoff,body.ckd-stage-on .override{max-width:1120px}
body.ckd-stage-on .faceoff-vs{font-size:clamp(2rem,4vw,3rem)}
body.ckd-stage-on .buzz-btn{min-height:120px;font-size:2.2rem}
body.ckd-stage-on .step-banner strong{font-size:2rem}

/* A full room (up to 36 phones) has to stay readable on a projector. */
.live-roster{align-items:stretch}
.roster-side{min-width:0;max-height:none}
.roster-side ul{
  max-height:min(42vh,420px);overflow:auto;columns:2;column-gap:18px;
  list-style:none;padding-left:0;margin:0;
}
.roster-side li{break-inside:avoid;padding:3px 0;line-height:1.3}
.roster-line{display:flex;align-items:center;justify-content:space-between;gap:8px}
.roster-x{
  appearance:none;flex:none;border:1px solid #e05050;background:transparent;color:#ffb4b4;
  border-radius:999px;min-width:28px;height:28px;padding:0 7px;font-weight:800;cursor:pointer;line-height:1;
}
.roster-x:hover{background:#e05050;color:#fff}
.roster-face{color:#f3e2a8;font-weight:800}
.roster-side h4{position:sticky;top:0}
#guessQueueList{max-height:280px;overflow:auto}
@media (max-width:700px){
  .roster-side ul{columns:1;max-height:220px}
}
body.ckd-stage-on .roster-side ul{columns:3;max-height:38vh;font-size:1.05rem}
body.ckd-stage-on .live-roster{gap:22px}
/* Stage mode is a projector control. On a phone it was covering the first tile. */
@media (max-width:700px){
  body:has(#playerView:not([hidden])) .stage-toggle{display:none}
}
body:has(.ckd-feud.solo-on) .stage-toggle{display:none}

/* Join QR — black modules on a white card so a projected lobby scans. */
.join-qr{text-align:center;margin:2px 0 4px}
.join-qr-frame{
  display:flex;justify-content:center;align-items:center;
  background:#fff;width:min(350px,100%);
  margin:0 auto;padding:12px;border-radius:16px;
  border:3px solid #111;line-height:0;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.join-qr-frame svg{width:100%;height:auto;aspect-ratio:1;display:block;shape-rendering:crispEdges}
.join-qr-pin-label{
  margin:10px 0 0;text-align:center;font-size:.72rem;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;color:var(--gold);
}
.join-qr-url{
  margin:8px auto 0;max-width:34ch;text-align:center;font-size:.95rem;font-weight:700;
  line-height:1.35;word-break:break-all;color:var(--ink);
}
.join-qr-hint{text-align:center;margin:6px 0 0}
.qr-overlay{
  position:fixed;inset:0;z-index:10050;background:rgba(6,12,22,.86);
  display:flex;align-items:center;justify-content:center;padding:16px;
}
.qr-overlay[hidden]{display:none!important}
.qr-overlay-card{
  width:min(440px,100%);background:var(--surface,#12233a);color:var(--ink,#f5efe4);
  border:1px solid var(--line,rgba(201,162,39,.32));border-radius:18px;
  padding:16px 16px 14px;text-align:center;
  box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.qr-overlay-card h2{margin:0 0 10px;font-size:1.35rem}
.qr-overlay-card .btn{margin-top:12px}
.round-row .show-qr-btn{flex:none}

/* Phone opened with ?pin= — join form only. Host and solo stay on the normal page. */
.pin-join-lead{display:none;margin:0 0 12px;color:var(--ink)}
html.pin-join .site-head,
html.pin-join .twn-crumbs,
html.pin-join .site-foot,
html.pin-join .stage-toggle,
html.pin-join .ckd-feud .ckd-wrap > .wrap,
html.pin-join .ckd-feud .host-chip,
html.pin-join .ckd-feud .title-block > p:not(.game-sub),
html.pin-join .ckd-feud .presenters,
html.pin-join .ckd-feud .howto,
html.pin-join .ckd-feud .show-timer,
html.pin-join .ckd-feud .scoreboard,
html.pin-join .ckd-feud .side-tally,
html.pin-join .ckd-feud .save-note,
html.pin-join .ckd-feud .tabs,
html.pin-join .ckd-feud #view-feud,
html.pin-join .ckd-feud #view-fastmoney,
html.pin-join .ckd-feud #view-kahoot,
html.pin-join .ckd-feud #view-edit,
html.pin-join .ckd-feud #view-guide,
html.pin-join .ckd-feud .winner,
html.pin-join .ckd-feud .ckd-wrap > footer,
html.pin-join .ckd-feud .solo-entry,
html.pin-join .ckd-feud .live-box-host,
html.pin-join .ckd-feud .live-intro,
html.pin-join .ckd-feud .live-status,
html.pin-join .ckd-feud .live-box-join > p{display:none!important}
html.pin-join .ckd-feud .live-grid{grid-template-columns:1fr}
html.pin-join .ckd-feud .pin-join-lead{display:block}
html.pin-join,
html.pin-join body{background:#0a1524}
html.pin-join .ckd-feud{padding-bottom:24px;min-height:100vh;min-height:100dvh}
html.pin-join .ckd-feud .live-box-join{border-color:var(--gold)}

/* Solo: one player on this device. Class controls stay in the markup and are hidden here. */
.solo-entry{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
  border:1px solid var(--gold);border-radius:12px;padding:14px;margin:0 0 12px;background:#081120;
}
.solo-entry h3{margin:0 0 4px;color:#f5efe4;font-size:1.25rem}
.solo-entry p{margin:0;color:#d5e4f5;max-width:62ch}
.solo-panel{
  max-width:820px;margin:12px auto 0;background:#081120;border:1px solid #e8c95a;border-radius:12px;padding:12px 14px;color:#f5efe4;
}
.solo-panel h3{color:#f3e2a8;margin:0 0 6px}
.solo-status,.solo-panel p{margin:0 0 8px}
.solo-actions{display:flex;flex-wrap:wrap;gap:8px}
.solo-why{color:#d5e4f5;font-size:.92rem}
.solo-hints{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.solo-summary{margin-top:10px;border-top:1px solid #3a5a86;padding-top:8px}
.solo-summary ul{margin:6px 0 0;padding-left:18px}
.solo-summary li{margin:3px 0}
.ckd-feud.solo-on .live-grid,
.ckd-feud.solo-on .faceoff,
.ckd-feud.solo-on .override,
.ckd-feud.solo-on .guess-queue,
.ckd-feud.solo-on #stealBanner,
.ckd-feud.solo-on #turnSideBtn,
.ckd-feud.solo-on #strikeBtn,
.ckd-feud.solo-on #clearStrikesBtn,
.ckd-feud.solo-on #awardA,
.ckd-feud.solo-on #awardB,
.ckd-feud.solo-on #resetRoundBtn,
.ckd-feud.solo-on #callGameBtn,
.ckd-feud.solo-on #nextRoundBtn,
.ckd-feud.solo-on #teamCardB,
.ckd-feud.solo-on .vs{display:none!important}
.ckd-feud.solo-on .scoreboard{grid-template-columns:1fr}
@media (max-width:400px){
  .solo-entry{align-items:stretch}
  .solo-entry .btn{width:100%}
  .solo-hints .btn{min-height:44px}
}

/* Answer clock — a compact pill. It must not cover the board.
   15vh is the ceiling; the type does not grow in the low state. */
.answer-timer{
  max-width:440px;max-height:15vh;margin:0 auto 8px;background:#081120;color:#f5efe4;
  border:2px solid #e8c95a;border-radius:999px;padding:4px 12px;
  display:flex;align-items:center;gap:10px;overflow:hidden;
}
.answer-timer[hidden]{display:none!important}
.answer-timer-top{display:flex;align-items:baseline;gap:8px;flex:none}
.answer-timer-label{
  font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f3e2a8;
}
.answer-timer-num{
  font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.35rem, 4vh, 2rem);line-height:1;font-variant-numeric:tabular-nums;color:#f5efe4;
  min-width:1.2ch;text-align:center;
}
.answer-timer .timer-track{flex:1;height:8px;margin:0;min-width:48px}
.answer-timer.warn{border-color:var(--red-bright)}
.answer-timer.warn .answer-timer-num{color:var(--red-bright)}
.answer-timer .timer-fill.low{background:var(--red-bright)}
.answer-timer.warn{animation:answerPulse .7s ease-in-out infinite}
@keyframes answerPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(224,80,80,.15)}
  50%{box-shadow:0 0 0 4px rgba(224,80,80,.35)}
}
.player-wrap .answer-timer{max-width:none;margin:0 0 8px}
.game-setup{
  max-width:820px;margin:0 auto 14px;background:#081120;color:#f5efe4;
  border:3px solid #e8c95a;border-radius:16px;padding:16px;text-align:center;
}
.game-setup h2{margin:0 0 6px;font-size:clamp(1.4rem,3vw,2rem)}
.game-setup p{margin:0 0 12px}
.setup-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:flex-end;margin-bottom:12px}
.setup-row label{font-weight:800}
.setup-row select{display:block;margin-top:4px;padding:8px;border-radius:8px;background:#0d1b2e;color:#f5efe4;border:1px solid #3a5a86}
#startGameBtn{font-size:1.25rem;min-width:220px;min-height:52px}
.game-setup[hidden],#gameStage[hidden]{display:none!important}
.phone-buzzers-toggle{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;margin:0 auto 12px;max-width:820px}
.host-pick{
  max-width:820px;margin:0 auto 8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;
}
.host-pick-label,.host-pick-keys{font-size:.85rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#f3e2a8}
.host-pick select{padding:8px;border-radius:8px;background:#0d1b2e;color:#f5efe4;border:1px solid #3a5a86}
.host-pick .btn{min-width:120px}
.side-balance{margin:8px 0 0;font-weight:800;color:#f3e2a8}
.side-balance.lock{color:#ffb4b4}
.handoff-leaders{list-style:none;padding:0;margin:8px 0 14px;text-align:left}
.handoff-leaders li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-weight:800}

/* Host coach — always on the board, plain words, big type. */
.host-coach{
  max-width:820px;margin:0 auto 12px;background:#081120;color:#f5efe4;
  border:3px solid #e8c95a;border-radius:16px;padding:14px 16px 12px;text-align:center;
}
.coach-kicker{
  font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#e8c95a;margin:0 0 6px;
}
.coach-host,.coach-q{
  margin:0 0 6px;color:#f3e2a8;font-weight:800;font-size:1.05rem;
}
.coach-q{color:#f5efe4;font-size:clamp(1.15rem,2.4vw,1.45rem);line-height:1.25}
.coach-say{
  margin:8px 0;font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.35rem,3.1vw,2.15rem);line-height:1.2;letter-spacing:.01em;color:#fff;
}
.coach-do{margin:6px 0 8px;font-size:clamp(1.05rem,2vw,1.3rem);font-weight:800;color:#f3e2a8}
.coach-why{
  margin:0 0 8px;padding:8px 10px;border-radius:10px;background:rgba(232,201,90,.12);
  color:#f5efe4;font-weight:700;font-size:1rem;
}
.coach-why[hidden]{display:none!important}
.coach-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.practice-banner{
  max-width:820px;margin:0 auto 12px;background:#3d2a08;color:#fff8e8;
  border:2px solid #e8c95a;border-radius:12px;padding:10px 12px;
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;
  font-weight:800;
}
.practice-banner[hidden]{display:none!important}
.solo-timer-toggle,.ov-mult{cursor:pointer}
.coach-pulse{
  animation:coachPulse 1s ease-in-out infinite;
  outline:4px solid #e8c95a;outline-offset:3px;position:relative;z-index:2;
}
@keyframes coachPulse{
  0%,100%{outline-color:#e8c95a;box-shadow:0 0 0 0 rgba(232,201,90,.45)}
  50%{outline-color:#fff4c2;box-shadow:0 0 0 8px rgba(232,201,90,0)}
}
.handoff{
  position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;
  background:rgba(6,12,22,.88);padding:18px;
}
.handoff[hidden]{display:none!important}
.handoff-card{
  width:min(760px,100%);background:#081120;color:#f5efe4;border:3px solid #e8c95a;
  border-radius:18px;padding:28px 22px;text-align:center;
  box-shadow:0 18px 50px rgba(0,0,0,.5);
}
.handoff-kicker{margin:0;letter-spacing:.18em;text-transform:uppercase;color:#e8c95a;font-weight:800;font-size:.85rem}
.handoff-card h2{
  font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.8rem,4.6vw,3rem);line-height:1.15;margin:10px 0;
}
.handoff-card p{font-size:clamp(1.15rem,2.4vw,1.5rem);font-weight:700;margin:0 0 16px}
.handoff-card .btn{font-size:1.25rem;min-width:200px;min-height:56px}
.coach-modal{
  position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;
  background:rgba(6,12,22,.88);padding:16px;
}
.coach-modal[hidden]{display:none!important}
.coach-modal-card{
  width:min(720px,100%);max-height:min(92vh,860px);overflow:auto;
  background:#12233a;color:#f5efe4;border:2px solid #e8c95a;border-radius:16px;padding:18px 18px 14px;
}
.coach-modal-card h2{margin:0 0 8px;font-size:clamp(1.4rem,3vw,1.9rem)}
.coach-steps{margin:0;padding-left:1.2rem;font-size:1.05rem}
.coach-steps li{margin:8px 0}
.coach-diagram{
  display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;justify-content:center;
  margin:12px 0;font-weight:800;
}
.coach-diagram span{
  background:#081120;border:1px solid #e8c95a;border-radius:999px;padding:6px 10px;color:#f5efe4;
}
.coach-diagram .arr{background:transparent;border:0;color:#e8c95a;padding:0}
.pv-now{
  font-family:"Black Ops One","Fraunces",Georgia,serif;
  font-size:clamp(1.25rem,5.2vw,1.7rem);line-height:1.25;text-align:center;color:#f5efe4;
  background:#081120;border:2px solid #e8c95a;border-radius:12px;padding:12px 10px;margin:0 0 10px;
}
.strike-overlay.flash .strike-continue{display:none}
.ckd-feud.solo-on .host-coach,
.ckd-feud.solo-on .practice-banner,
.ckd-feud.practice-on .live-grid{display:none!important}
body.ckd-stage-on .host-coach,
body.ckd-stage-on .answer-timer{max-width:1120px}
body.ckd-stage-on .coach-say{font-size:clamp(1.8rem,3.4vw,2.6rem)}
body.ckd-stage-on .answer-timer-num{font-size:clamp(1.6rem, 4vh, 2.2rem)}
@media (max-width:400px){
  .coach-actions .btn,.practice-banner .btn{width:100%}
  .answer-timer .timer-track{height:16px}
}
@media (prefers-reduced-motion: reduce){
  .coach-pulse,.answer-timer.warn{animation:none}
}

/* ---------- Teaching card (Round 3) ---------- */
.teach-cta{text-align:center;margin:0 auto 12px}
.teach-open-btn{font-size:1.05rem;padding:12px 22px;min-height:48px}
.teach-overlay{
  position:fixed;inset:0;z-index:1300;overflow-y:auto;
  background:rgba(6,14,26,.88);
  padding:18px 12px 34px;
}
.teach-overlay[hidden]{display:none!important}
body.teach-open{overflow:hidden}
.teach-sheet{
  max-width:880px;margin:0 auto;
  background:linear-gradient(180deg,#16294A,#0c1a2c);
  border:2px solid var(--gold);border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.55);
  padding:26px 28px 30px;color:#eef3f8;
  font-family:"Inter",system-ui,sans-serif;
}
.teach-top{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-bottom:2px solid rgba(232,160,48,.45);padding-bottom:14px;margin-bottom:8px}
.teach-top h2{font-size:clamp(1.5rem,4.5vw,2.1rem);color:#f4b64a;margin:0}
.teach-close-btn{font-size:1rem;padding:11px 18px;min-height:46px;white-space:nowrap}
.teach-sec{padding:14px 0 6px}
.teach-sec + .teach-sec{border-top:1px solid rgba(232,160,48,.3)}
.teach-sec h3{font-size:clamp(1.3rem,3.8vw,1.7rem);color:#f4b64a;margin:0 0 10px}
.teach-sec h3 .teach-sub{display:block;font-family:"Inter",system-ui,sans-serif;font-size:.95rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a9bccd;margin-top:4px}
.teach-sec h4{font-size:1.05rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f3e2a8;margin:16px 0 6px}
.teach-line{font-size:clamp(1.1rem,3vw,1.3rem);line-height:1.55;margin:0 0 8px}
.teach-quote{font-size:clamp(1.15rem,3.2vw,1.4rem);line-height:1.55;font-style:italic;color:#f3e2a8;margin:0 0 8px}
.teach-list{margin:0 0 8px;padding-left:1.4em}
.teach-list li{font-size:clamp(1.1rem,3vw,1.3rem);line-height:1.5;margin:7px 0}
.teach-list li strong{color:#f3e2a8}
.teach-bottom{text-align:center;margin-top:18px}
@media (max-width:560px){
  .teach-sheet{padding:20px 16px 24px}
  .teach-top h2{font-size:1.35rem}
  .teach-open-btn{width:100%}
}
