/* Critter Coin Chase — professional welcome + TV host dashboard.
   Scoped to the lobby and ordinary TV view. Never alter board-only fullscreen
   or the mini-game overlays. Keep existing IDs and controls functional. */
:root{--ccc-ink:#101936;--ccc-deep:#10183a;--ccc-night:#1c2356;--ccc-gold:#ffe08a;--ccc-amber:#f3b94d;--ccc-teal:#78e2d0;--ccc-muted:#b6c5e5;--ccc-border:#5c719c}
body{background:radial-gradient(ellipse 75% 55% at 12% 0%,#27477d 0%,transparent 72%),radial-gradient(ellipse 65% 65% at 90% 90%,#412c75 0%,transparent 75%),linear-gradient(140deg,#111b40,#11132e 72%);background-attachment:fixed}
body>header{background:linear-gradient(105deg,#182550ee,#23235def 62%,#172b51ee);border-bottom:1px solid #86add54e;box-shadow:0 5px 22px #05091f70}
body>header h1{font-weight:1000;font-size:clamp(23px,2.7vw,41px);letter-spacing:.015em;color:#fff0b0;text-shadow:0 3px 0 #714381,0 8px 14px #0007}
body>header .tag{color:#a5e9e4;font-weight:900;letter-spacing:.18em;font-size:clamp(9px,.85vw,12px)}
body>header #roomBadge{font-weight:850;color:#ffe6a0;background:#18224b;border-color:#b9ab75}
body>header #newBtn{color:#1b2542;background:linear-gradient(#ffe9a2,#eeb548);border:1px solid #fff2c1;box-shadow:0 4px 0 #926230,0 9px 20px #0005}
body button:focus-visible,body select:focus-visible,body input:focus-visible{outline:3px solid #92f4e4;outline-offset:3px}

/* LOBBY: clean split between host and joining players */
body:has(#joinbox:not(.hidden)){min-height:100dvh}
body:has(#joinbox:not(.hidden))>header{padding:18px clamp(16px,3vw,50px)}
body:has(#joinbox:not(.hidden))>header #roomBadge,
body:has(#joinbox:not(.hidden))>header #newBtn{display:none!important}
#joinbox:not(.hidden){
 position:relative;isolation:isolate;
 width:min(650px,calc(100% - 32px));max-width:650px;
 margin:clamp(24px,4.5vh,54px) auto 45px;padding:clamp(17px,2.6vw,30px);
 background:linear-gradient(150deg,#263b74 0%,#1c2d60 36%,#17234e 100%);
 border:2px solid #e8ca83;border-radius:28px;
 box-shadow:0 3px 0 #a76f46,0 18px 55px #0008,inset 0 2px 0 #ffffff30,inset 0 0 0 5px #ffffff09;
 overflow:visible;
}
#joinbox .ccc-create-section,#joinbox .ccc-join-section{
 position:relative;z-index:2;border:1px solid #6b86b58c;border-radius:20px;
 padding:clamp(17px,3vw,26px);
 background:linear-gradient(155deg,#203b78b7,#1b2a5ce6);
 box-shadow:inset 0 2px 0 #ffffff10
}
#joinbox .ccc-create-section{background:radial-gradient(ellipse at 50% 100%,#5c568b80,transparent 70%),linear-gradient(140deg,#27437d,#1a2857)}
#joinbox .ccc-lobby-eyebrow{font-size:11px;letter-spacing:.18em;text-align:center;font-weight:950;color:#9fe9de;margin-bottom:8px}
#joinbox h2{font-size:clamp(23px,3.2vw,32px);letter-spacing:-.025em;text-align:center;color:#fff4d0;margin:0 0 15px;line-height:1.16}
#joinbox #createRoomBtn{
 display:flex;align-items:center;justify-content:center;gap:12px;width:100%;
 min-height:67px;margin:0;padding:12px 20px;
 color:#172447;font-size:clamp(17px,2.6vw,25px);
 background:linear-gradient(180deg,#fff0a6 0%,#ffd76e 49%,#edae36 100%);
 border:2px solid #fff2c1;border-bottom:6px solid #ad712a;border-radius:19px;
 box-shadow:0 8px 23px #0005,0 0 25px #ffd65b30;text-shadow:none;white-space:normal;
}
#joinbox #createRoomBtn span{font-size:40px;line-height:16px;margin-left:5px}
#joinbox .ccc-lobby-divider{height:49px;display:flex;align-items:center;gap:15px;justify-content:center;color:#ffe9ab;font-weight:950}
#joinbox .ccc-lobby-divider:before,#joinbox .ccc-lobby-divider:after{content:'';height:1px;flex:1;background:#91acdb6a}
#joinbox .ccc-lobby-divider span{border-radius:99px;background:#243b74;border:1px solid #8aa1d4;padding:4px 15px;font-size:12px}
#joinbox .ccc-join-section h2{text-align:left;margin-bottom:17px}
#joinbox .ccc-join-section label{display:block;font-size:13px;font-weight:850;color:#c9dcf8;margin:12px 0 6px}
#joinbox .ccc-join-section input{
 display:block;width:100%;height:54px;min-height:54px;
 padding:10px 15px;border:1.5px solid #86a9d1;border-radius:12px;
 background:#0f2046;color:#fff;font-size:17px;font-weight:650;
 box-shadow:inset 0 2px 8px #0005;
}
#joinbox .ccc-join-section input::placeholder{color:#a4b5d1;font-weight:500}
#joinbox .ccc-lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
#joinbox .ccc-lobby-actions button{font-size:clamp(12px,1.5vw,16px);padding:12px 6px;min-height:55px;white-space:normal}
#joinbox .ccc-lobby-actions .secondary{
 color:#f7fffa;background:linear-gradient(165deg,#3b8794,#226a7b);
 border:1px solid #b8f9e9;border-bottom:5px solid #16435a;
 box-shadow:0 5px 15px #0006;text-shadow:none;
}
#joinbox .ccc-lobby-art{position:absolute;z-index:-1;display:flex;flex-direction:column;gap:22px;width:145px;pointer-events:none}
#joinbox .ccc-lobby-left{left:-174px;top:18%}
#joinbox .ccc-lobby-right{right:-174px;top:12%}
#joinbox .ccc-lobby-art img{
 display:block;width:125px;height:125px;object-fit:contain;border-radius:25px;
 border:2px solid #ffdf8dcc;box-shadow:0 12px 30px #030c3280;transform:rotate(-10deg)
}
#joinbox .ccc-lobby-art img:nth-child(2){margin-left:17px;transform:rotate(9deg)}
#joinbox .ccc-lobby-right img{transform:rotate(10deg)}
#joinbox .ccc-lobby-right img:nth-child(2){transform:rotate(-8deg)}
@media(max-width:1050px){#joinbox .ccc-lobby-art{display:none}}
@media(max-width:600px){#joinbox:not(.hidden){margin:13px auto;padding:12px;border-radius:22px}#joinbox .ccc-create-section,#joinbox .ccc-join-section{padding:16px;border-radius:15px}#joinbox .ccc-lobby-actions{gap:8px}#joinbox .ccc-lobby-actions button{font-size:12px}body:has(#joinbox:not(.hidden))>header .tag{font-size:9px}}

/* TV HOST DASHBOARD */
body.tv:not(.board-only) #app.layout{
 display:grid!important;grid-template-columns:minmax(0,1.78fr) minmax(335px,.92fr)!important;
 align-items:start!important;gap:clamp(12px,1.3vw,22px)!important;
 width:100%;max-width:1660px;padding:clamp(12px,1.2vw,21px);
 margin:0 auto;min-height:0;
}
body.tv:not(.board-only) #app>section.panel{
 min-height:0!important;height:auto!important;align-self:start!important;
 margin:0;padding:0!important;border:0!important;background:none!important;
 border-radius:0!important;box-shadow:none!important;
}
body.tv:not(.board-only) #app .ccc-board-toolbar{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 min-height:66px;margin:0 0 11px;padding:10px 17px;
 border:1px solid #7793c56a;border-radius:17px;
 background:linear-gradient(120deg,#253c76e6,#1b2d5edb);
 box-shadow:0 9px 22px #0004,inset 0 2px 0 #ffffff12;
}
body.tv:not(.board-only) .ccc-board-kicker{
 display:block;font-size:10px;letter-spacing:.14em;color:#9eece0;font-weight:950;
}
body.tv:not(.board-only) .ccc-board-heading h2{margin:1px 0 0;font-size:clamp(17px,1.7vw,24px);color:#fff0bb}
body.tv:not(.board-only) #phase{
 background:#132c53;color:#fff4c7;border-color:#7bbcc6;
 font-size:12px;letter-spacing:.02em;font-weight:900
}
body.tv:not(.board-only) #app #boardWrap{
 position:relative;display:block;width:100%!important;
 max-height:calc(100dvh - 205px)!important;min-height:0!important;
 aspect-ratio:16/10;margin:0 auto 13px!important;
 border:3px solid #d5bb76!important;outline:1px solid #fff0bc55;outline-offset:1px;
 border-radius:19px!important;
 box-shadow:0 6px 0 #66518d88,0 16px 36px #020b2585,inset 0 0 25px #08153e55!important;
}
body.tv:not(.board-only) #app #boardWrap #sceneHint{
 background:#13264fdb;border:1px solid #b4b9df;color:#edf9ff;
 box-shadow:0 6px 12px #0008;max-width:90%;font-size:clamp(10px,.8vw,12px);
}
body.tv:not(.board-only) #app #wheelBig.hidden{display:none!important}
body.tv:not(.board-only) #app #diceOutcome.hidden{display:none!important}

/* Host setup + live scoreboard: consistent cards, natural height, no stretch */
body.tv:not(.board-only) #app>aside#control{
 min-width:0;height:auto!important;min-height:0!important;align-self:start!important;
 display:flex;flex-direction:column;gap:12px;
 padding:clamp(12px,1.1vw,18px)!important;margin:0;
 background:linear-gradient(160deg,#202e64ed,#161e49f5);
 border:1.5px solid #7895b99d;border-radius:20px;
 box-shadow:0 14px 38px #0006,inset 0 2px 0 #ffffff1a;
}
body.tv:not(.board-only) #control .ccc-host-top{
 padding:5px 3px 12px;margin:0;border-bottom:1px solid #91b1db44;
}
body.tv:not(.board-only) #control .ccc-section-eyebrow{
 color:#a3e8d6;letter-spacing:.15em;font-size:10px;font-weight:1000
}
body.tv:not(.board-only) #control #who{font-size:clamp(18px,1.75vw,24px);font-weight:950;color:#fff4c5;line-height:1.2;margin:3px 0 8px}
body.tv:not(.board-only) #control #status{
 padding:9px 11px!important;font-size:clamp(12px,1.1vw,14px);font-weight:750;
 line-height:1.35;background:#111d47!important;border-left:3px solid #ffcf75;
 border-radius:11px;box-shadow:none!important;color:#e7f1ff;min-height:0
}
body.tv:not(.board-only) #control #actions{
 display:flex;flex-direction:column;align-items:stretch;gap:10px;
 padding:0;margin:0;min-width:0
}
body.tv:not(.board-only) #control #actions>.spacer{display:none}
body.tv:not(.board-only) #control .r20-quality-controls.r20-quality-lobby{
 position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr);
 gap:11px!important;max-width:100%!important;width:100%!important;
 margin:0!important;padding:13px!important;
 background:linear-gradient(145deg,#283e70,#213259)!important;
 border:1px solid #84a0c6!important;border-radius:16px!important;
 box-shadow:inset 0 2px 0 #ffffff19,0 7px 18px #0004!important;
}
body.tv:not(.board-only) #control .r20-quality-lobby .r20-q-heading{
 display:block!important;font-size:11px;letter-spacing:.14em;
 color:#ffdd91;margin-bottom:0
}
body.tv:not(.board-only) #control .r20-quality-lobby .r20-q-setting{
 display:grid!important;grid-template-columns:minmax(0,1fr);
 width:100%;min-width:0!important;max-width:none!important;gap:6px!important;margin:0!important;
}
body.tv:not(.board-only) #control .r20-q-setting label{font-size:12px;font-weight:850;color:#daedff}
body.tv:not(.board-only) #control .r20-q-setting select,
body.tv:not(.board-only) #control #actions select{
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:43px;min-height:43px;padding:7px 10px;border-radius:11px!important;
 background:#f8f9fc!important;border:1px solid #e1efff!important;color:#233451!important;
 box-shadow:0 2px 5px #0002;font-size:13px!important;font-weight:800;
}
body.tv:not(.board-only) #control .r20-championship-explain{
 display:none!important; /* unnecessary paragraph; the button and selections explain this mode */
}
body.tv:not(.board-only) #control .r20-championship-setup{
 margin-top:2px;padding:13px 0 0!important;border-top:1px solid #e1eafa30
}
body.tv:not(.board-only) #control .r20-q-practice,
body.tv:not(.board-only) #control .r20-q-championship{
 width:100%!important;min-height:47px!important;
 border-radius:11px!important;font:950 13px system-ui!important;
 letter-spacing:.02em;text-shadow:none!important;
}
body.tv:not(.board-only) #control .r20-q-practice{
 color:#142b45!important;background:linear-gradient(#ffe6a0,#e6b257)!important;
 border:1px solid #fff2c3!important;box-shadow:0 4px 0 #896337!important
}
body.tv:not(.board-only) #control .r20-q-championship{
 color:#0f343c!important;background:linear-gradient(#9df3df,#4ccdb5)!important;
 border:1px solid #cefff5!important;box-shadow:0 4px 0 #2f796e!important
}
body.tv:not(.board-only) #control #actions button:disabled{opacity:.50;cursor:default}
body.tv:not(.board-only) #control #actions button:not(:disabled):hover{filter:brightness(1.06)}
body.tv:not(.board-only) #control .ccc-sidebar-card{
 padding:12px 13px;background:#14244de0;
 border:1px solid #6989b69c;border-radius:15px;
 box-shadow:inset 0 2px 0 #ffffff10;
}
body.tv:not(.board-only) #control .ccc-sidebar-title h3{
 margin:0 0 9px;font-size:clamp(14px,1.2vw,17px);
 color:#ffedb3;font-weight:950;letter-spacing:.015em
}
body.tv:not(.board-only) #control .players{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
body.tv:not(.board-only) #control .players:empty:before{
 content:'Players will appear here when they join.';display:block;
 padding:7px 0;color:#aebdd7;font-size:12px
}
body.tv:not(.board-only) #control .player{
 background:linear-gradient(140deg,#304477,#22355e);
 border:1px solid #729bba;border-radius:12px;padding:9px 11px;
 box-shadow:none;color:#fff
}
body.tv:not(.board-only) #control .player.active{
 outline:2px solid #ffe08a;outline-offset:1px;box-shadow:0 0 15px #ffd25d33
}
body.tv:not(.board-only) #control #log{
 display:grid;gap:5px;max-height:145px;overflow-y:auto;overscroll-behavior:contain;
 font-size:12px;line-height:1.35;color:#c8d7ee
}
body.tv:not(.board-only) #control #log>div{
 border-bottom:1px solid #a5bcd522;padding:5px 3px
}
body.tv:not(.board-only) #control #log:empty:before{content:'Game updates will appear here.';color:#adbdda;font-size:12px}
body.tv:not(.board-only) #control #handSection{display:none!important}
body.tv:not(.board-only) #app>aside#control .spacer{display:none!important}
/* Mobile and narrow laptops: board above readable settings, not huge blank columns. */
@media(max-width:1060px){
 body.tv:not(.board-only) #app.layout{grid-template-columns:minmax(0,1fr)!important;max-width:920px}
 body.tv:not(.board-only) #app>aside#control{width:100%;max-width:none}
 body.tv:not(.board-only) #app #boardWrap{max-height:70vh!important}
 body.tv:not(.board-only) #control .r20-quality-controls.r20-quality-lobby{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tv:not(.board-only) #control .r20-quality-lobby .r20-q-heading{grid-column:1/-1}
}
@media(max-width:610px){
 body.tv:not(.board-only) #app.layout{padding:7px;gap:10px}
 body.tv:not(.board-only) #app #boardWrap{max-height:65vh!important}
 body.tv:not(.board-only) #control .r20-quality-controls.r20-quality-lobby{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){body button{transition:none!important}}

/* Laptop/desktop welcome-screen height fit.  This intentionally compresses
   vertical rhythm (not the type size) and keeps the two primary actions on
   screen at the same time at ordinary browser zoom.
   Use normal document overflow at extreme zoom / very short windows so no
   field or button can become inaccessible. */
@media (min-width:701px) and (max-height:960px){
 body:has(#joinbox:not(.hidden))>header{
  padding:clamp(9px,1.25vh,14px) clamp(16px,3vw,50px);
  min-height:0;
 }
 body:has(#joinbox:not(.hidden))>header h1{font-size:clamp(25px,3.65vh,35px);line-height:1.13}
 body:has(#joinbox:not(.hidden))>header .tag{font-size:10px;line-height:1.15}
 #joinbox:not(.hidden){
  width:min(650px,calc(100% - 32px));
  margin:clamp(12px,2.0vh,20px) auto clamp(10px,1.7vh,20px);
  padding:clamp(11px,1.8vh,18px);
  border-radius:24px;
 }
 #joinbox .ccc-create-section,#joinbox .ccc-join-section{
  padding:clamp(14px,2.1vh,20px);
  border-radius:17px;
 }
 #joinbox .ccc-lobby-eyebrow{margin-bottom:4px;font-size:10px}
 #joinbox h2{font-size:clamp(22px,3.0vh,28px);margin-bottom:10px;line-height:1.14}
 #joinbox #createRoomBtn{
  min-height:clamp(51px,6.8vh,60px);
  padding:7px 15px;
  border-radius:15px;
  font-size:clamp(18px,2.6vh,23px);
 }
 #joinbox #createRoomBtn span{font-size:32px}
 #joinbox .ccc-lobby-divider{height:clamp(25px,3.5vh,34px)}
 #joinbox .ccc-join-section h2{margin-bottom:8px}
 #joinbox .ccc-join-section label{margin:8px 0 4px;font-size:12px}
 #joinbox .ccc-join-section input{
  height:clamp(41px,5.5vh,48px);min-height:0;
  padding:8px 12px;font-size:15px;
 }
 #joinbox .ccc-lobby-actions{margin-top:13px}
 #joinbox .ccc-lobby-actions button{min-height:48px;padding:8px 6px}
 #joinbox .ccc-lobby-art{gap:17px}
 #joinbox .ccc-lobby-art img{width:118px;height:118px}
}
@media (min-width:701px) and (max-height:710px){
 body:has(#joinbox:not(.hidden))>header{padding-block:7px}
 #joinbox:not(.hidden){margin-block:7px;padding:9px}
 #joinbox .ccc-create-section,#joinbox .ccc-join-section{padding:10px 15px}
 #joinbox h2{font-size:21px;margin-bottom:6px}
 #joinbox .ccc-lobby-eyebrow{font-size:9px;margin-bottom:3px}
 #joinbox #createRoomBtn{min-height:45px;font-size:18px;padding:5px 10px}
 #joinbox .ccc-lobby-divider{height:24px}
 #joinbox .ccc-join-section label{margin:5px 0 3px}
 #joinbox .ccc-join-section input{height:39px}
 #joinbox .ccc-lobby-actions{margin-top:8px}
 #joinbox .ccc-lobby-actions button{min-height:42px;padding:5px}
}

/* Host dashboard 2026-11-03 — presentation-only premium finish.
   Deliberately does not touch WebGL camera, character coordinates, or gameplay. */
body.tv:not(.board-only) #app .ccc-board-toolbar{
 border-color:#e5bb72a8!important;background:linear-gradient(125deg,#244b84,#172653 70%)!important;
 box-shadow:0 4px 0 #b17b3659,0 12px 26px #030b2a91,inset 0 2px 0 #b9e5ff28!important;
}
body.tv:not(.board-only) #app #boardWrap{
 border:3px solid #f6cb78!important;
 box-shadow:0 5px 0 #a96e36,0 16px 38px #030b2c9c,0 0 0 2px #79a8f446,inset 0 0 26px #18336c66!important;
}
body.tv:not(.board-only) #app>aside#control{
 border:2px solid #e7bc77!important;
 background:linear-gradient(155deg,#243f79f8,#1b2a5ff8 55%,#131e48f9)!important;
 box-shadow:0 6px 0 #9a63316b,0 22px 45px #030922aa,inset 0 2px 0 #d9ebff27!important;
}
body.tv:not(.board-only) #control #who{
 font-size:clamp(21px,2vw,30px)!important;color:#fff0b7!important;
 text-shadow:0 3px 2px #0b1437,0 5px 12px #0006;
}
body.tv:not(.board-only) #control #status{border-left:4px solid #ffd175!important}
body.tv:not(.board-only) #control .r20-quality-controls.r20-quality-lobby,
body.tv:not(.board-only) #control .ccc-sidebar-card{
 border-color:#8faee1c9!important;
 background:linear-gradient(145deg,#29467bd9,#152652eb)!important;
 box-shadow:inset 0 2px 0 #c4e7ff1e,0 7px 17px #020b235c!important;
}
body.tv:not(.board-only) #control #actions button:not(:disabled),
body.tv:not(.board-only) #control .r20-q-practice:not(:disabled),
body.tv:not(.board-only) #control .r20-q-championship:not(:disabled){
 transition:filter .16s ease,transform .16s ease;
}
body.tv:not(.board-only) #control #actions button:not(:disabled):hover{
 filter:brightness(1.10);transform:translateY(-2px);
}
@media(prefers-reduced-motion:reduce){
 body.tv:not(.board-only) #control #actions button{transition:none!important}
}


/* Keep the live 3D board visible while the host scrolls the right-hand
   controls. Stick the whole left panel: sticking #boardWrap alone fails
   because its immediate parent ends at the bottom of the board. */
@media (min-width:931px) and (min-height:520px){
  body.tv:not(.board-only) #app.layout > section.panel{
    position:sticky!important;
    top:10px!important;
    z-index:4;
    align-self:start!important;
  }
  body.tv:not(.board-only) #app.layout > section.panel #boardWrap{
    max-height:calc(100dvh - 112px)!important;
  }
}
/* Single-column layouts need ordinary page scrolling, not a pinned
   board that could cover the controls below it. */
@media (max-width:930px), (max-height:519px){
  body.tv:not(.board-only) #app.layout > section.panel{
    position:relative!important;
    top:auto!important;
  }
}

/* Main screen blue ray background — matched to Critter Cascade. */
body:not(.board-only){
 background:
  repeating-conic-gradient(from 10deg at 50% 6%,#76d2ff24 0deg 10deg,transparent 11deg 24deg),
  radial-gradient(ellipse at 51% 13%,#2575df 0%,transparent 48%),
  radial-gradient(circle at 9% 86%,#1a4db2 0%,transparent 34%),
  radial-gradient(circle at 90% 76%,#1d50b8 0%,transparent 39%),
  linear-gradient(145deg,#071943,#1047aa 49%,#081b55);
 background-attachment:fixed;
}

/* Main header blue spotlight rays — visual-only */
body:not(.board-only)>header{
 background:
  repeating-conic-gradient(from 10deg at 50% 95%,#76d2ff14 0deg 10deg,transparent 11deg 24deg),
  radial-gradient(ellipse at 50% 125%,#2575df 0%,#174aa5 48%,transparent 95%),
  linear-gradient(110deg,#0c2356 0%,#174d9d 50%,#0c2356 100%)!important;
}

/* Final host dashboard refinements: start CTA, mode spacing, board viewport. */
/* Keep the entire 3D preview comfortable within a desktop-height dashboard.
   No camera, world, board geometry, or board-only fullscreen changes. */
@media (min-width:931px) and (min-height:650px){
 body.tv.ccc-host-lobby:not(.board-only) #app #boardWrap{
  height:clamp(390px,calc(100dvh - 280px),700px)!important;
  max-height:calc(100dvh - 280px)!important;
  aspect-ratio:auto!important;
 }
}
/* Restrict the extra shine to the actual enabled board-game CTA. */
body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-settings .boardStartButton:not(:disabled){
 box-shadow:0 6px 0 #9b6a30,0 12px 25px #081c4670,0 0 0 2px #fff1b345,0 0 17px #ffd76a4d!important;
 transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-settings .boardStartButton:not(:disabled):hover{
 transform:translateY(-2px);filter:brightness(1.04);
}
body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-settings .boardStartButton:not(:disabled):active{
 transform:translateY(2px);
}
/* Trim empty air only; never shrink the four mode buttons or other controls. */
body.tv.ccc-host-lobby:not(.board-only) #control .r20-quality-controls.r20-quality-lobby{
 gap:8px!important;padding:11px 13px!important;
}
body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-settings{
 margin-top:9px!important;gap:9px!important;
}
body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-subtitle{
 margin-bottom:9px!important;
}
@media(prefers-reduced-motion:reduce){
 body.tv.ccc-host-lobby:not(.board-only) #control .r20-mode-settings .boardStartButton{transition:none!important}
}

/* Welcome / Create / Join room: shared blue-ray game-show backdrop. */
/* The welcome screen has a more specific legacy body:has(...) background;
   override only that canvas and its top header, not the join panels/art. */
body:has(#joinbox:not(.hidden)){
 background:
  repeating-conic-gradient(from 10deg at 50% 6%,#76d2ff24 0deg 10deg,transparent 11deg 24deg),
  radial-gradient(ellipse at 51% 13%,#2575df 0%,transparent 48%),
  radial-gradient(circle at 9% 86%,#1a4db2 0%,transparent 34%),
  radial-gradient(circle at 90% 76%,#1d50b8 0%,transparent 39%),
  linear-gradient(145deg,#071943,#1047aa 49%,#081b55)!important;
 background-attachment:fixed!important;
}
body:has(#joinbox:not(.hidden))>header{
 background:
  repeating-conic-gradient(from 10deg at 50% 95%,#76d2ff14 0deg 10deg,transparent 11deg 24deg),
  radial-gradient(ellipse at 50% 125%,#2575df 0%,#174aa5 48%,transparent 95%),
  linear-gradient(110deg,#0c2356 0%,#174d9d 50%,#0c2356 100%)!important;
}
