/* Critter Party: unified TV-only mini-game play/preview visual language.
   Game-specific controls, boards, photo grids and results retain their own
   geometries. Do not alter mobile views or hide overflowing game content. */
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]){
 --ccc-tv-gold:#ffdd86;
 --ccc-tv-ice:#b6edff;
 --ccc-tv-glass:linear-gradient(132deg,#234d7b,#393c76 65%,#275780);
 --ccc-tv-line:#86b3e5;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-layout{
 width:min(1220px,97%);gap:clamp(7px,1.2vh,14px);
 padding-top:clamp(8px,1.3vh,17px);padding-bottom:clamp(9px,1.3vh,18px);
 box-sizing:border-box;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-title{
 font-size:clamp(30px,4.7vw,64px);line-height:1.05;margin:2px 0;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-subtitle{
 font-size:clamp(14px,1.3vw,20px);line-height:1.15;margin:1px 0;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-timer{
 font-size:clamp(14px,1.5vw,20px);line-height:1.1;
 margin:3px auto;padding:4px 13px;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-center{
 min-height:0;min-width:0;
}
/* Only simple icon+message games get a larger centrepiece. Complex
   board, camera, drawing, quiz and social layouts are deliberately excluded. */
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 .r20-mg-stage-main:has(> .r20-mg-glyph):not(:has(.ccc-closest-stage)){
 width:min(920px,100%);padding:clamp(16px,3vh,34px) clamp(18px,3vw,44px);
 background:var(--ccc-tv-glass);border:1.5px solid var(--ccc-tv-line);
 box-shadow:0 14px 36px #030b255e,inset 0 1px 1px #efffff35;
 border-radius:clamp(17px,2vw,28px);
 box-sizing:border-box;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-glyph{
 font-size:clamp(38px,5.5vw,74px);line-height:1.1;
 margin:0 auto 6px;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-spotlight{
 font-size:clamp(25px,3.1vw,44px);line-height:1.12;
 margin:6px auto;color:var(--ccc-tv-gold);text-wrap:balance;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-instruction{
 font-size:clamp(18px,1.65vw,24px);line-height:1.3;
 margin:10px auto 0;max-width:900px;text-wrap:balance;
}
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 :is(.r20-trivia-prompt,.r20-mg-question){
 font-size:clamp(29px,3.65vw,53px);
 line-height:1.15;text-wrap:balance;overflow-wrap:anywhere;
}
/* Keep elaborate screens visible rather than forcing a fixed 100vh crop. */
#r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
 :is(.r20-mg-stage-main,.r20-mg-center){max-height:none}
/* Smaller TVs get condensed chrome, not shortened answers. */
@media(max-height:760px){
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-layout{
  gap:5px;padding-top:5px;padding-bottom:7px;
 }
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"]) .r20-mg-title{
  font-size:clamp(27px,4vh,39px);
 }
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
  .r20-mg-stage-main:has(> .r20-mg-glyph):not(:has(.ccc-closest-stage)){
  padding:10px 18px;
 }
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
  .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-glyph{font-size:38px;margin:0}
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
  .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-spotlight{font-size:clamp(22px,2.7vw,32px)}
 #r20MiniGame.r20-mg-tv:is([data-stage="play"],[data-stage="preview"])
  .r20-mg-stage-main:has(> .r20-mg-glyph) > .r20-mg-instruction{font-size:clamp(15px,1.5vw,19px)}
}
