/* Gameplay quality upgrade: clearly bounded host tools, calmer prompts and demos. */
.r20-quality-controls{position:fixed;top:12px;right:12px;z-index:100002;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:min(640px,93vw);border-radius:14px;padding:8px;background:#182648e8;border:1px solid #88b1da;box-shadow:0 5px 16px #0007;font:700 13px system-ui;color:#fff}
.r20-quality-controls[hidden],.r20-pause-screen[hidden]{display:none!important}
.r20-q-heading{font-weight:900;letter-spacing:.08em;color:#ffe29f}
.r20-q-setting{display:flex;flex-direction:column;gap:4px;min-width:165px}
.r20-q-setting label{font-size:11px;color:#dae9ff}
.r20-q-setting select{width:100%;min-height:36px;border-radius:8px;border:1px solid #9caeda;background:#fff;color:#1c2752;padding:5px;font:750 12px system-ui}
.r20-q-button,.r20-quality-controls button{padding:9px 13px!important;min-height:40px!important;font:850 12px system-ui!important;white-space:nowrap;border-radius:10px!important}
.r20-q-practice{margin-top:4px}
.r20-quality-controls .r20-q-button:disabled{opacity:.55}
.r20-pause-screen{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;background:#0c1635ee;color:#fff;font:800 16px system-ui;pointer-events:auto;padding:20px}
/* The Resume control is a direct child of the active mini-game fullscreen
   root, not its title/header. It must beat every game overlay and remain
   clickable in both normal browser and native fullscreen modes. */
#r20MiniGame:not([hidden]) > #r20PauseScreen{
 position:fixed!important;inset:0!important;width:100%!important;height:100%!important;
 z-index:2147483000!important;pointer-events:auto!important;
 visibility:visible!important;isolation:isolate;
}
#r20MiniGame:not([hidden]) > #r20PauseScreen[hidden]{display:none!important}
#r20MiniGame:not([hidden]) > #r20PauseScreen .r20-pause-resume{
 position:relative!important;z-index:2!important;
 pointer-events:auto!important;touch-action:manipulation!important;
}
.r20-pause-icon{font-size:clamp(42px,8vw,90px)}
.r20-pause-heading{font-size:clamp(26px,5vw,55px);letter-spacing:.07em}
.r20-pause-note{max-width:460px;color:#dce7fb;line-height:1.4}
.r20-demo{display:grid;gap:10px;padding:11px 14px;margin:10px auto 0;width:min(100%,650px);border:1px solid #93b8e0;border-radius:15px;background:#132954d9;overflow:hidden}
.r20-demo-label{font-size:clamp(11px,1.2vw,15px);font-weight:950;letter-spacing:.1em;color:#fff0aa}
.r20-demo-example{position:relative;display:flex;align-items:center;justify-content:center;gap:18px;min-height:87px;overflow:hidden;font-size:clamp(25px,4vw,43px);font-weight:950}
.r20-demo-explain{font-size:clamp(15px,2vw,20px);font-weight:850;color:#fff;line-height:1.3}
.r20-demo-glyph{font-size:clamp(30px,5vw,50px)}.r20-demo-prompt{font-size:clamp(18px,2.6vw,28px);line-height:1.3}
.r20-demo-cups{display:flex;gap:28px;align-items:center;justify-content:center}
.r20-demo-cup{font-size:50px;display:inline-block}.r20-demo-coin{position:absolute;top:0;left:calc(50% - 65px);font-size:23px;animation:r20-demo-coin-hide 4.2s infinite;z-index:2}
.r20-demo-cup-0{animation:r20-demo-cups-left 4.2s ease-in-out infinite}.r20-demo-cup-1{animation:r20-demo-cups-right 4.2s ease-in-out infinite}
@keyframes r20-demo-cups-left{0%,25%{transform:translateX(0)}50%,70%{transform:translateX(82px)}100%{transform:translateX(0)}}
@keyframes r20-demo-cups-right{0%,25%{transform:translateX(0)}50%,70%{transform:translateX(-82px)}100%{transform:translateX(0)}}
@keyframes r20-demo-coin-hide{0%,12%{opacity:1}25%,90%{opacity:0}100%{opacity:1}}
.r20-demo-rocket{display:inline-block;animation:r20-demo-launch 3.2s ease-in-out infinite}.r20-demo-target{font-size:26px}
@keyframes r20-demo-launch{0%,10%{transform:translate(0,16px) rotate(0)}62%{transform:translate(0,-21px) rotate(18deg)}80%,100%{transform:translate(0,8px) rotate(-7deg)}}
.r20-demo-lanes{width:min(100%,480px);display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.r20-demo-lane{border-radius:8px;background:#244e6b;padding:13px 8px;animation:r20-demo-lane 2.5s ease-in-out infinite}.r20-demo-lane:nth-child(2){background:#8b3d46}
@keyframes r20-demo-lane{50%{transform:translateY(9px)}}
.r20-demo-timing{background:linear-gradient(90deg,#2a92b9 49%,#ffe77f 50%,#2a92b9 51%)}.r20-demo-target-cross{font-size:50px}.r20-demo-needle{position:absolute;animation:r20-demo-slider 2s ease-in-out infinite alternate}@keyframes r20-demo-slider{from{transform:translateX(-120px)}to{transform:translateX(120px)}}
.r20-demo-colour{font-size:clamp(30px,6vw,56px)}
body[data-race-mode='relaxed'] .r20-minigame-stars,body[data-race-mode='relaxed'] .r20-mg-glyph,body[data-race-mode='relaxed'] .partyWinnerTrophy{animation:none!important}
body[data-race-mode='relaxed'] #partyParticles,body[data-race-mode='relaxed'] #victoryRain,body[data-race-mode='relaxed'] .r20-party-flight-layer{display:none!important}
body[data-race-mode='relaxed'] .partyMoment{transition:none!important}
body[data-race-mode='party'] .r20-mg-ready-total{color:#fff3bc}
@media(max-width:650px){
 .r20-quality-controls{top:5px;left:5px;right:5px;max-width:calc(100% - 10px);gap:4px;padding:6px;justify-content:center}
 .r20-q-setting{min-width:110px;max-width:170px}.r20-q-heading{display:none}.r20-q-button,.r20-quality-controls button{min-height:34px!important;padding:6px 9px!important}
 .r20-pause-icon{font-size:58px}
 .r20-demo{padding:8px}.r20-demo-example{min-height:65px}.r20-demo-cup{font-size:35px}.r20-demo-cups{gap:10px}
}
.r20-bonus-awards{margin:10px auto 0;padding:9px 12px;border-top:1px solid #dac9ff;max-width:600px;color:#ffedae}
.r20-awards-label{display:block;font-size:clamp(10px,1.3vw,13px);letter-spacing:.07em}
.r20-awards-grid{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:7px}
.r20-award-item{border:1px solid #e8d3a0;background:#293565d9;padding:5px 10px;border-radius:10px;display:flex;align-items:center;gap:5px;color:white;font-size:12px}
.r20-award-icon{font-size:21px}.r20-award-name{font-weight:850;color:#ffe29a}
@media(prefers-reduced-motion:reduce){.r20-demo-rocket,.r20-demo-cup,.r20-demo-coin,.r20-demo-needle,.r20-demo-lane{animation:none!important}}

.r20-quality-controls.r20-quality-lobby{position:static;z-index:auto;max-width:100%;display:flex;justify-content:space-between;margin:8px 0;background:#243660ec;border:1px solid #8dadd4;padding:10px}
.r20-quality-controls.r20-quality-lobby .r20-q-heading{display:block}
@media(max-width:650px){.r20-quality-controls.r20-quality-lobby{justify-content:stretch;gap:8px}.r20-quality-controls.r20-quality-lobby .r20-q-setting{min-width:45%;max-width:none;flex:1}}

.r20-quality-controls.r20-quality-inline{position:static;z-index:auto;width:100%;max-width:100%;display:flex;justify-content:flex-start;margin:8px 0;padding:4px 0;background:none;border:0;box-shadow:none}
.r20-quality-controls:not(.r20-quality-lobby):not(.r20-quality-inline){top:66px;left:12px;right:auto;max-width:210px}
.r20-mg-tv[data-stage="ready"] .r20-mg-glyph{display:none}
/* Controller-first phones: the TV carries the show, phones carry decisions. */
.r20-mg-phone:not([data-stage='results']) .r20-mg-scores,
.r20-mg-phone:not([data-stage='results']) .r20-mg-footer{display:none!important}
.r20-mg-phone[data-stage='ready'] .r20-mg-glyph,
.r20-mg-phone[data-stage='play'] .r20-mg-glyph{display:none!important}
.r20-mg-phone .r20-mg-phone-info{font-weight:750;line-height:1.35}
.r20-mg-phone .r20-mg-button{min-height:55px}

/* Host resume must stay clickable above the fullscreen pause layer. */
.r20-pause-resume{display:inline-flex!important;align-items:center;justify-content:center;
 min-height:58px!important;padding:14px 25px!important;margin-top:18px;
 color:#173450!important;background:#baf7d6!important;border:2px solid #f4fff8!important;
 border-radius:14px!important;font:900 20px system-ui!important;
 box-shadow:0 7px 22px #0006!important;pointer-events:auto!important;cursor:pointer!important}
.r20-pause-resume[hidden]{display:none!important}
.r20-pause-resume:focus-visible{outline:4px solid #ffe59a;outline-offset:5px}

/* Host dashboard — choose exactly one game mode before its settings. */
.r20-quality-controls.r20-quality-lobby{display:block;width:100%;box-sizing:border-box;padding:18px;margin:0 0 16px;background:linear-gradient(160deg,#243b72,#142247);border:1px solid #819acb;border-radius:22px}
.r20-mode-heading{text-align:center;color:#ffe5a0;letter-spacing:.09em;font-size:clamp(17px,2.5vw,25px);font-weight:950}
.r20-mode-subtitle{text-align:center;color:#d9e7fc;margin:5px 0 18px;font-size:14px}
.r20-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.r20-quality-controls .r20-mode-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:150px!important;padding:16px 10px!important;white-space:normal!important;text-align:center;background:linear-gradient(#344b83,#243764);border:2px solid #829cd1;border-radius:17px!important;color:#f5f8ff;cursor:pointer;box-shadow:0 5px 0 #0c1739}
.r20-quality-controls .r20-mode-choice:nth-child(2){background:linear-gradient(#28546c,#1b3a55)}
.r20-quality-controls .r20-mode-choice:nth-child(3){background:linear-gradient(#624c82,#3a305f)}
.r20-quality-controls .r20-mode-choice.selected{border-color:#ffe19b;box-shadow:0 0 0 2px #ffe19b,0 5px 0 #0c1739}
.r20-mode-emoji{font-size:38px;line-height:1.2}
.r20-mode-choice strong{font-size:clamp(13px,1.7vw,18px);font-weight:950}
.r20-mode-choice small{font-size:12px;line-height:1.35;font-weight:600;color:#e1e9ff}
.r20-mode-settings{margin-top:18px;padding:18px;border:1px solid #829acc;border-radius:17px;background:#122047;display:flex;flex-direction:column;gap:13px}
.r20-mode-settings h3{margin:0;color:#ffe5a0;font-size:19px}
.r20-mode-settings .r20-q-setting{width:100%;max-width:none}
.r20-mode-settings .r20-q-setting select{min-height:49px;font-size:15px}
.r20-mode-settings .r20-q-button{width:100%;min-height:55px!important;font-size:16px!important}
.r20-mode-settings .coinGoalChooser,.r20-mode-settings .raceEnvironmentLobby{width:100%;box-sizing:border-box;margin:0}
.r20-mode-settings button:disabled{opacity:.7}
@media(max-width:680px){.r20-mode-cards{gap:7px}.r20-quality-controls .r20-mode-choice{min-height:135px!important;padding:10px 5px!important}.r20-mode-emoji{font-size:30px}.r20-mode-choice strong{font-size:11px}.r20-mode-choice small{font-size:10px}.r20-mode-settings{padding:12px}}

/* Dashboard polish: sizing must respond to the sidebar, not the whole window. */
.r20-quality-controls.r20-quality-lobby{container-type:inline-size;padding:14px!important}
.r20-mode-heading{font-size:clamp(16px,2vw,22px);line-height:1.15}
.r20-mode-subtitle{margin:4px 0 13px}
.r20-mode-cards{gap:9px}
.r20-quality-controls .r20-mode-choice{box-sizing:border-box;min-width:0;width:100%;min-height:132px!important;padding:12px 7px!important;gap:5px;overflow-wrap:anywhere;word-break:normal;line-height:1.15}
.r20-mode-emoji{font-size:32px}
.r20-mode-choice strong{width:100%;max-width:100%;font-size:clamp(12px,1.15vw,15px);letter-spacing:0;overflow-wrap:anywhere}
.r20-mode-choice small{font-size:11px;line-height:1.25}
.r20-mode-settings{margin-top:13px;padding:14px;gap:10px}
.r20-mode-settings h3{font-size:17px}
.r20-mode-settings .raceEnvironmentLobby p{font-size:13px;line-height:1.3;margin:5px 0 0}
.r20-mode-settings .coinGoalChooser{padding:9px}
.r20-mode-settings .coinGoalOptions{gap:5px}
.r20-mode-settings .coinGoalButton{min-width:0!important;font-size:11px!important;padding:8px 3px!important}
@container (max-width:620px){
 .r20-mode-cards{grid-template-columns:1fr;gap:8px}
 .r20-quality-controls .r20-mode-choice{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:11px;row-gap:3px;min-height:74px!important;padding:10px 12px!important;text-align:left;justify-items:start;align-content:center}
 .r20-mode-emoji{grid-row:1/3;grid-column:1;font-size:29px;align-self:center}
 .r20-mode-choice strong{grid-row:1;grid-column:2;font-size:15px}
 .r20-mode-choice small{grid-row:2;grid-column:2;font-size:11px}
 .r20-mode-heading{font-size:19px}
 .r20-mode-settings .coinGoalOptions{flex-wrap:nowrap}
}

/* Sidebar-width-safe layout (do not rely on container queries for the modes). */
.r20-quality-controls.r20-quality-lobby .r20-mode-cards{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%;
}
.r20-quality-controls.r20-quality-lobby .r20-mode-choice{
 display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;align-content:center!important;
 justify-items:start!important;align-items:center!important;
 min-height:78px!important;width:100%!important;padding:11px 14px!important;
 gap:2px 12px!important;text-align:left!important;overflow:hidden!important;
}
.r20-quality-controls.r20-quality-lobby .r20-mode-choice .r20-mode-emoji{
 grid-column:1!important;grid-row:1/3!important;font-size:30px!important;align-self:center;
}
.r20-quality-controls.r20-quality-lobby .r20-mode-choice strong{
 grid-column:2!important;grid-row:1!important;width:auto!important;
 font-size:16px!important;line-height:1.16!important;overflow-wrap:break-word!important;
}
.r20-quality-controls.r20-quality-lobby .r20-mode-choice small{
 grid-column:2!important;grid-row:2!important;font-size:12px!important;line-height:1.25!important;
}
.r20-quality-controls.r20-quality-lobby .coinGoalOptions{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:7px!important;width:100%!important;
}
.r20-quality-controls.r20-quality-lobby .coinGoalOptions .coinGoalButton{
 box-sizing:border-box!important;min-width:0!important;width:100%!important;
 font-size:clamp(10px,1vw,13px)!important;line-height:1.2!important;
 white-space:normal!important;overflow-wrap:break-word!important;
 padding:10px 4px!important;
}
.r20-quality-controls.r20-quality-lobby .r20-mode-settings,
.r20-quality-controls.r20-quality-lobby .coinGoalChooser{min-width:0!important;max-width:100%!important}
@media(max-width:490px){
 .r20-quality-controls.r20-quality-lobby .coinGoalOptions{grid-template-columns:1fr!important}
 .r20-quality-controls.r20-quality-lobby .coinGoalOptions .coinGoalButton{font-size:14px!important}
}

/* Board game setup: one clear final action after the choices. */
.r20-mode-settings .boardStartButton{width:100%!important;min-height:58px!important;background:linear-gradient(#ffe19d,#eeb857)!important;color:#17264b!important;border:2px solid #fff0c4!important;font-size:16px!important;font-weight:950!important;white-space:normal!important}
.r20-mode-settings .boardStartButton:disabled{background:linear-gradient(#857b69,#6f6558)!important;color:#182344!important;border-color:#9d927c!important;opacity:.9!important;cursor:not-allowed}


/* Practice/Championship soundtrack selector: compact and readable. */
.r20-mini-music-setting{
 display:flex;flex-direction:column;gap:6px;
 background:linear-gradient(140deg,#203d66,#152b4d);
 border:1px solid #87b4d9;border-radius:13px;padding:10px;
 width:100%;box-sizing:border-box;
}
.r20-mini-music-setting>strong{font-size:14px;letter-spacing:.05em;color:#ffe6a1}
.r20-mini-music-setting>p{font-size:12px;color:#e0ecff;margin:0;line-height:1.35}
.r20-mini-music-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.r20-mini-music-row select{
 min-width:0;flex:1 1 auto;font-size:13px!important;
 min-height:40px!important;max-width:100%;
}
.r20-mode-settings .r20-mini-music-preview{
 width:auto!important;flex:0 0 auto;min-height:40px!important;
 padding:7px 12px!important;font-size:12px!important;
 color:#17284c;background:#ffda85;
}
@media(max-width:440px){
 .r20-mini-music-row{flex-direction:column;align-items:stretch}
 .r20-mode-settings .r20-mini-music-preview{width:100%!important}
}

/* Keep the live preview in view when browsing Practice and Championship settings.
   Desktop host lobby only: never affect actual gameplay, phone, or board-only views. */
@media (min-width:931px) and (min-height:540px){
 body.tv.ccc-host-lobby.ccc-practice-preview-sticky:not(.board-only) #app.layout{
  align-items:start;
 }
 body.tv.ccc-host-lobby.ccc-practice-preview-sticky:not(.board-only) #app>section.panel:first-child{
  position:sticky!important;
  top:12px!important;
  align-self:start!important;
  max-height:calc(100dvh - 24px);
  overflow:hidden;
  z-index:3;
 }
 body.tv.ccc-host-lobby.ccc-practice-preview-sticky:not(.board-only) #app>section.panel:first-child #boardWrap{
  width:100%!important;
  height:min(60vw,calc(100dvh - 128px))!important;
  min-height:0!important;
  max-height:calc(100dvh - 128px)!important;
  aspect-ratio:auto!important;
  margin-inline:auto;
 }
 body.tv.ccc-host-lobby.ccc-practice-preview-sticky:not(.board-only) #app>section.panel:first-child .spacer{
  height:0!important;min-height:0!important;
 }
}
/* Smaller screens retain the natural stacked page instead of overlaying the
   board preview on top of the practice controls. */

/* In active mini-games keep ROOM CODE and host PAUSE in separate,
   predictable positions. The mini-game host toolbar is nested inside the
   header but must not float over its room badge. */
body.tv #r20MiniGame:not([hidden]) .r20-quality-controls.r20-quality-mini-header{
 position:fixed!important;
 top:7px!important;left:clamp(165px,12vw,205px)!important;right:auto!important;
 width:max-content!important;max-width:160px!important;
 margin:0!important;padding:3px!important;gap:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 z-index:10040!important;
}
body.tv #r20MiniGame:not([hidden]) .r20-quality-controls.r20-quality-mini-header button{
 min-height:34px!important;padding:5px 11px!important;
 font-size:12px!important;
}
@media(max-width:850px){
 body.tv #r20MiniGame:not([hidden]) .r20-quality-controls.r20-quality-mini-header{
  top:44px!important;left:8px!important;
 }
}

/* Fourth mode: clear Party Games card and compact 3–10-player settings. */
.r20-quality-controls .r20-mode-choice:nth-child(4){background:linear-gradient(150deg,#6a385b,#382e60);border-color:#dfa7d8}
.ccc-party-mode-settings{display:grid;gap:10px}
.ccc-party-mode-settings>p{margin:0;line-height:1.3}
.ccc-party-active{padding:9px 12px;border-radius:10px;background:#135b4d;border:1px solid #7fe0b6;color:#e7fff3;font-weight:900;text-align:center}
.ccc-party-start-grid{display:grid;grid-template-columns:1fr;gap:8px}
.ccc-party-start-grid select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.ccc-party-start-grid button{width:100%;min-height:47px;border-radius:11px}
.ccc-party-mode-settings .r20-start-hint{font-size:clamp(12px,1.25vw,15px);line-height:1.3}


/* Host lobby final polish: clearer selected mode, accurate count and practical joining. */
body.tv.ccc-host-lobby:not(.board-only) #cccLobbyJoinedCount{
 display:inline-flex;align-items:center;justify-content:center;
 margin-inline:5px;padding:7px 13px;border:1px solid #9bd8ea;
 border-radius:999px;color:#c9f9ee;background:#24446b;
 font-weight:850;font-size:clamp(12px,1.1vw,17px);
 white-space:nowrap;box-sizing:border-box;
}
body.tv.ccc-host-lobby .r20-mode-choice{position:relative;isolation:isolate;transition:border-color .16s,box-shadow .16s,background .16s}
body.tv.ccc-host-lobby .r20-mode-choice.selected{
 border-color:#ffdc83!important;
 box-shadow:0 0 0 2px #ffe6a4,0 6px 0 #132441,0 0 16px #ffd36e55!important;
}
body.tv.ccc-host-lobby .r20-mode-choice.selected .ccc-lobby-selected-check{
 position:absolute;right:7px;top:5px;z-index:1;
 display:inline-flex;align-items:center;justify-content:center;
 padding:3px 7px;border-radius:14px;border:1px solid #ffe6a4;
 background:#184b49;color:#dbffdc;font-weight:950;
 font-size:clamp(9px,.8vw,12px);line-height:1.2;white-space:nowrap;
}
body.tv.ccc-host-lobby .ccc-lobby-mode-help{
 color:#dcf0ff;font-size:clamp(12px,1.05vw,15px);
 text-align:center;line-height:1.4;
 padding:6px 9px;margin:10px auto 0;
 background:#21385980;border-radius:10px;
}
body.tv.ccc-host-lobby .r20-mode-settings.r20-mode-enter{margin-top:9px}
body.tv.ccc-host-lobby .r20-mode-heading{margin-bottom:10px}
body.tv.ccc-host-lobby #app>section.panel:first-child h2{
 font-size:clamp(18px,1.6vw,23px);line-height:1.2;
}
body.tv.ccc-host-lobby .r20-mode-cards{gap:clamp(5px,.65vw,10px)}
body.tv.ccc-host-lobby .r20-mode-choice{min-width:0}
body.tv.ccc-host-lobby .r20-mode-choice small{line-height:1.25}
@media(max-width:850px){
 body.tv.ccc-host-lobby #cccLobbyJoinedCount{padding:5px 8px;font-size:12px}
 body.tv.ccc-host-lobby .r20-mode-choice.selected .ccc-lobby-selected-check{font-size:9px;padding:2px 4px}
}


/* Party Mode host settings: two clearly labelled play choices without needless scrolling. */
body.tv .ccc-party-mode-settings{gap:8px!important}
body.tv .ccc-party-mode-settings>h3{margin:0 0 3px!important}
body.tv .ccc-party-mode-settings .ccc-party-active{padding:7px 10px!important;line-height:1.25!important}
body.tv .ccc-party-mode-settings .ccc-party-start-grid{
 display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;
}
body.tv .ccc-party-mode-settings .ccc-party-option-group{
 display:flex!important;flex-direction:column!important;gap:7px!important;
 min-width:0!important;padding:12px!important;border:1px solid #728fb6;
 border-radius:15px;background:#1c3157a8;box-sizing:border-box;
}
body.tv .ccc-party-mode-settings .ccc-party-option-label,
body.tv .ccc-party-mode-settings .ccc-clue-rounds-label{
 display:flex!important;flex-direction:column!important;gap:5px!important;
 width:100%!important;min-width:0!important;
 font-weight:850!important;color:#e8f1ff!important;
 font-size:clamp(13px,1.18vw,17px)!important;line-height:1.25!important;
}
body.tv .ccc-party-mode-settings .ccc-party-option-group select{
 display:block!important;width:100%!important;max-width:100%!important;
 min-height:45px!important;height:auto!important;
 padding-block:8px!important;margin:0!important;
 font-size:clamp(14px,1.2vw,17px)!important;
}
body.tv .ccc-party-mode-settings .ccc-party-option-group button{
 display:block!important;width:100%!important;
 min-height:48px!important;padding:9px 12px!important;
 font-size:clamp(14px,1.35vw,18px)!important;line-height:1.2!important;
 box-sizing:border-box!important;
}
body.tv .ccc-party-mode-settings .ccc-party-option-explain{
 color:#cbdcf0!important;font-size:clamp(12px,1.05vw,15px)!important;
 line-height:1.3!important;text-align:center!important;
 margin:0!important;padding:1px 2px!important;
}
body.tv .ccc-party-mode-settings .ccc-clue-rounds-label[hidden]{
 display:none!important;
}
body.tv .ccc-party-mode-settings .r20-start-hint{margin:0!important;padding:3px 2px!important}
@media(max-width:700px){
 body.tv .ccc-party-mode-settings .ccc-party-option-group{padding:9px!important;gap:6px!important}
 body.tv .ccc-party-mode-settings .ccc-party-option-group select{min-height:44px!important}
 body.tv .ccc-party-mode-settings .ccc-party-option-group button{min-height:47px!important}
}


/* Keep the host Pause control clear of the room code in Spot the Fake.
   Avoid the former fixed left position that overlapped long room badges. */
body.tv #r20MiniGame.r20-mg-tv[data-game="spot_fake"]:not([hidden]) .r20-quality-controls.r20-quality-mini-header{
 position:fixed!important;top:9px!important;
 left:clamp(245px,19vw,315px)!important;right:auto!important;
 max-width:150px!important;transform:none!important;
}
@media(max-width:850px){
 body.tv #r20MiniGame.r20-mg-tv[data-game="spot_fake"]:not([hidden]) .r20-quality-controls.r20-quality-mini-header{
  top:50px!important;left:12px!important;
 }
}


/* Odd One Out lobby preview: replace the unrelated red toolbox with one
   correctly proportioned treasure chest, without affecting other previews. */
#cccLobbyModePreview .ccc-lobby-preview-icon.ccc-odd-preview-treasure{
 width:clamp(155px,18vw,235px)!important;
 height:clamp(126px,21dvh,181px)!important;
 flex:0 0 auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 font-size:0!important;line-height:0!important;
 filter:drop-shadow(0 7px 4px #020b2488) drop-shadow(0 0 6px #ffd56d55)!important;
 margin:0 auto!important;
}
#cccLobbyModePreview .ccc-lobby-preview-icon.ccc-odd-preview-treasure svg{
 width:100%!important;height:100%!important;display:block!important;
}
@media(max-height:650px){
 #cccLobbyModePreview .ccc-lobby-preview-icon.ccc-odd-preview-treasure{
  width:clamp(125px,14vw,185px)!important;height:clamp(98px,17dvh,140px)!important;
 }
}


/* Caption This! premium sample preview — scoped to this title only. */
.ccc-caption-premium-preview .ccc-party-preview-visual{width:min(100%,940px);margin-inline:auto}
.ccc-caption-premium-preview .ccc-party-preview-headline{color:#ffe58a;text-shadow:0 2px 13px #06172c;font-weight:950;letter-spacing:.045em}
.ccc-caption-premium-preview .ccc-party-preview-scene{width:100%;min-width:0}
.ccc-caption-preview-showcase{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:stretch;gap:clamp(10px,1.7vw,19px);width:100%;max-width:860px;margin:0 auto;text-align:center}
.ccc-caption-preview-feature,.ccc-caption-preview-contest{min-width:0;border-radius:20px;padding:clamp(12px,1.8vw,20px);box-shadow:0 12px 27px #03132988,inset 0 1px #ffffff36}
.ccc-caption-preview-feature{background:linear-gradient(154deg,#4e2383,#162b61 67%,#102646);border:2px solid #ffdc82;display:flex;flex-direction:column;align-items:center;gap:8px}
.ccc-caption-preview-tag,.ccc-caption-preview-contest-tag{display:block;font-weight:900;font-size:clamp(10px,1.1vw,14px);letter-spacing:.06em;color:#ffe6a1}
.ccc-caption-preview-portrait{width:min(100%,260px);aspect-ratio:5/4;position:relative;background:linear-gradient(135deg,#ad7de8,#4d80c5);border:5px solid white;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px #070c3670}
.ccc-caption-preview-portrait svg,.ccc-caption-preview-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.ccc-caption-preview-sticker{position:absolute;right:4px;top:3px;font-size:clamp(28px,3vw,44px);filter:drop-shadow(0 2px 4px #182344)}
.ccc-caption-preview-feature-label{font-size:clamp(13px,1.45vw,19px);line-height:1.2;color:white;text-wrap:balance}
.ccc-caption-preview-contest{display:flex;flex-direction:column;gap:8px;background:linear-gradient(155deg,#172f68,#28185a 75%,#3c1b5c);border:2px solid #8bceff}
.ccc-caption-preview-contest-title{margin:0!important;font-size:clamp(16px,1.8vw,25px)!important;color:#fff;line-height:1.18;text-wrap:balance}
.ccc-caption-preview-options{display:grid;gap:8px}
.ccc-caption-preview-option{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:center;text-align:left;background:#102447;border:1px solid #647eb0;border-radius:12px;padding:8px 10px;color:white;min-width:0}
.ccc-caption-preview-option.is-winning{background:linear-gradient(120deg,#174c5c,#1a3e60);border-color:#ffdf77;box-shadow:0 0 0 1px #ffdd7780,0 0 18px #f4c44a30}
.ccc-caption-preview-letter{display:grid;place-items:center;background:#b7dbff;color:#102447;border-radius:9px;font-size:18px;font-weight:950;min-height:35px}
.ccc-caption-preview-quote{font-size:clamp(11px,1.05vw,14px);font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.ccc-caption-preview-crown{grid-column:2;color:#ffe594;font-size:11px;font-weight:900;letter-spacing:.04em}
.ccc-caption-preview-callout{margin-top:auto;border-radius:10px;padding:9px 7px;background:#ffe4a6;color:#1d2450;font-size:clamp(10px,1.03vw,13px);font-weight:950;line-height:1.35}
.ccc-caption-premium-preview .ccc-party-preview-scene-note{font-size:clamp(12px,1.15vw,15px);color:#defaff;line-height:1.35}
@media(max-width:640px){.ccc-caption-preview-showcase{grid-template-columns:1fr;gap:10px}.ccc-caption-preview-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.ccc-caption-preview-tag{grid-column:1/-1}.ccc-caption-preview-portrait{width:100%;max-width:200px}.ccc-caption-preview-feature-label{font-size:14px}.ccc-caption-preview-contest{padding:12px}.ccc-caption-preview-option{grid-template-columns:32px minmax(0,1fr);padding:7px}.ccc-caption-preview-letter{min-height:30px}}
@media(prefers-reduced-motion:reduce){.ccc-caption-premium-preview *{animation:none!important;transition:none!important}}


/* Caption This! screen makeover: keeps all functional controls independent. */
.ccc-caption-premium-preview .ccc-caption-preview-real-photo{height:100%;width:100%;display:block;object-fit:cover;object-position:center}
#r20MiniGame[data-game="caption_this"] .ccc-caption-ready-example{width:min(100%,1160px);max-width:1160px;margin-inline:auto;padding:clamp(8px,1vw,13px);border:2px solid #c569ff;background:radial-gradient(circle at 50% 0,#7035aa55,transparent 65%),linear-gradient(140deg,#311355,#16296b 65%,#29154a);border-radius:22px;box-shadow:0 4px 32px #04132d99,inset 0 2px #ffffff3a;overflow:hidden}
#r20MiniGame[data-game="caption_this"] .ccc-caption-ready-example>.readyExampleLabel,#r20MiniGame[data-game="caption_this"] .ccc-caption-ready-example>.readyScreenshotHud{display:none!important}
.ccc-caption-ready-showcase{display:grid;gap:8px;color:#fff;text-align:center;min-width:0}
.ccc-caption-ready-overline{color:#ffe891;font-size:clamp(10px,1.1vw,15px);font-weight:900;letter-spacing:.09em}
.ccc-caption-ready-title{font-size:clamp(21px,2.4vw,33px)!important;font-weight:950!important;line-height:1.1;color:#fff5bf;text-shadow:0 0 15px #df36f6;margin:0!important}
.ccc-caption-ready-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(8px,1vw,14px);align-items:stretch;min-width:0}
.ccc-caption-ready-photo,.ccc-caption-ready-votes{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;gap:7px;border:2px solid #eaa5ff;border-radius:17px;background:linear-gradient(145deg,#4c2479,#152855);padding:clamp(7px,.8vw,12px)}
.ccc-caption-ready-photo{border-color:#ffe187;justify-content:center}
.ccc-caption-ready-photo-label{color:#ffe59e;font-size:clamp(11px,1.13vw,15px);font-weight:900;letter-spacing:.04em}
.ccc-caption-ready-person{height:clamp(135px,23vh,270px);width:100%;border:4px solid #fff;box-shadow:0 6px 22px #08112c88;border-radius:12px;object-fit:cover;object-position:center}
.ccc-caption-ready-meme{width:100%;padding:6px 10px;border-radius:8px;background:#fff9e8;color:#182447;font-size:clamp(17px,2vw,28px);font-weight:950;line-height:1.1;transform:rotate(-1deg)}
.ccc-caption-ready-votes-heading{color:#fff2aa;font-size:clamp(13px,1.45vw,21px);font-weight:950}
.ccc-caption-ready-vote{width:100%;min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center;text-align:left;background:#ece1ff;color:#182246;border:1px solid #aa91f2;border-radius:12px;padding:7px}
.ccc-caption-ready-vote.sample-winner{background:#ffeb9f;border:2px solid #ffdd62;box-shadow:0 0 16px #ffc84a55}
.ccc-caption-ready-vote-letter{display:grid;place-items:center;min-height:29px;border-radius:7px;background:#6b2e9c;color:white;font-weight:950}
.ccc-caption-ready-vote-text{font-size:clamp(11px,1.18vw,17px);font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.ccc-caption-ready-vote-crown{grid-column:2;font-size:11px;font-weight:900;color:#704500}
.ccc-caption-ready-reveal{width:100%;border-radius:8px;background:#caff9a;color:#173053;padding:7px;font-size:clamp(11px,1.12vw,15px);font-weight:950;margin-top:auto}
.ccc-caption-ready-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;font-size:clamp(11px,1.12vw,15px);font-weight:850}
.ccc-caption-ready-rules span{background:#502484b0;border:1px solid #bb91e8;border-radius:9px;padding:8px}
@media(max-width:690px){.ccc-caption-ready-body{grid-template-columns:1fr}.ccc-caption-ready-person{height:clamp(140px,24vh,230px)}.ccc-caption-ready-rules{grid-template-columns:1fr}}
@media(max-height:740px) and (min-width:691px){.ccc-caption-ready-person{height:clamp(115px,17vh,175px)}.ccc-caption-ready-showcase{gap:5px}.ccc-caption-ready-photo,.ccc-caption-ready-votes{padding:7px;gap:5px}.ccc-caption-ready-rules span{padding:5px}}


/* Caption This TV lobby: premium, uncluttered guide. All rules remain active on phone. */
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .r20-mg-layout{
 width:min(1480px,96%)!important;gap:clamp(7px,1.15dvh,15px)!important;
 padding-block:clamp(10px,1.6dvh,22px) clamp(12px,2dvh,25px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-ready-screen{
 width:100%;max-width:1480px;margin-inline:auto;gap:clamp(8px,1.1dvh,14px);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartySteps{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:clamp(9px,1vw,18px)!important;width:min(100%,1300px);margin-inline:auto;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartyStep{
 min-width:0;min-height:clamp(65px,9dvh,105px);padding:clamp(8px,1vw,16px)!important;
 border-radius:18px!important;box-shadow:inset 0 2px #ffffff30,0 7px 17px #05152b66!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartyStepTitle{
 font-size:clamp(17px,2.15vw,30px)!important;color:#ffe6a0!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartyStepDetail{
 font-size:clamp(12px,1.25vw,19px)!important;line-height:1.2!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-example{
 width:min(100%,1340px)!important;max-width:1340px!important;
 padding:clamp(10px,1.15vw,18px)!important;
 border:2px solid #ffe294!important;border-radius:24px!important;
 background:radial-gradient(ellipse at 50% 2%,#2864ae70,transparent 72%),linear-gradient(145deg,#193e6d,#10284c)!important;
 box-shadow:inset 0 2px #ffffff24,0 14px 28px #04112675!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-showcase{gap:clamp(7px,1dvh,12px)}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-overline{
 font-size:clamp(13px,1.25vw,20px);color:#ffe38c;letter-spacing:.085em;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-body{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.1vw,20px);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] :is(.ccc-caption-ready-photo,.ccc-caption-ready-votes){
 border-width:1.5px;border-radius:22px;padding:clamp(10px,1vw,17px);gap:clamp(6px,.85dvh,11px);
 box-shadow:0 8px 17px #07102965;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
 height:clamp(140px,26dvh,320px);border-width:3px;border-radius:15px;
 object-fit:cover;image-rendering:auto;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-meme{
 transform:none;font-size:clamp(19px,2.1vw,35px);padding:clamp(8px,1dvh,13px);border-radius:12px;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-votes-heading{
 font-size:clamp(15px,1.55vw,25px);line-height:1.18;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote{
 border:1px solid #b5a4ec;border-radius:14px;min-height:clamp(44px,6.4dvh,66px);
 padding:clamp(7px,.7vw,11px);grid-template-columns:clamp(30px,3vw,46px) minmax(0,1fr);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote.sample-winner{
 border:2px solid #ffe06e;box-shadow:0 0 17px #ffcf6060;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote-letter{
 min-height:clamp(30px,3vw,45px);font-size:clamp(15px,1.5vw,22px);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote-text{font-size:clamp(14px,1.3vw,21px)}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote-crown{
 font-size:clamp(10px,.85vw,14px);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-rules{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;font-size:clamp(12px,1.2vw,18px);
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-rules span{
 border:1px solid #a17bcf80;border-radius:14px;padding:clamp(7px,.75vw,12px);
 background:#49328aab;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyProgress{
 width:min(850px,90%)!important;margin-inline:auto!important;border-radius:18px!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyProgressTrack{
 height:clamp(13px,1.7dvh,21px)!important;border-radius:999px!important;overflow:hidden;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyProgressFill{
 background:linear-gradient(90deg,#41d9b6,#a2ffcb)!important;border-radius:999px!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-shared-ready-waiting{
 width:min(1100px,94%)!important;margin-inline:auto!important;
 border-radius:14px!important;min-height:40px;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-shared-ready-waiting-names{
 color:#ffe185!important;font-weight:1000!important;font-size:clamp(16px,1.65vw,26px)!important;
}
@media(max-height:800px){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{height:clamp(112px,19dvh,195px)}
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote{min-height:36px}
}
@media(max-width:760px){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-body{grid-template-columns:1fr}
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartySteps{gap:5px!important}
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyPartyStep{padding:6px!important}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-shared-ready-waiting{animation:none!important}
}


/* 2026-11-12 — Caption This preview: keep the complete camera visible.
   Its inherited 136px icon plus vertically centered content clipped the lens
   above the top of the preview on shorter TV layouts. */
#cccLobbyModePreview.ccc-caption-premium-preview{
  box-sizing:border-box!important;
  justify-content:safe center!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  gap:clamp(5px,.8dvh,10px)!important;
  padding-block:clamp(14px,2.4dvh,28px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-icon{
  display:block!important;
  flex:0 0 auto!important;
  font-size:clamp(46px,7dvh,76px)!important;
  line-height:1.2!important;
  height:auto!important;
  min-height:1.2em!important;
  margin:0 auto!important;
  overflow:visible!important;
  transform:none!important;
  filter:drop-shadow(0 5px 8px #0006)!important;
}
@media(max-height:700px){
 #cccLobbyModePreview.ccc-caption-premium-preview{
  gap:4px!important;
  padding-block:12px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-icon{
  font-size:clamp(40px,6dvh,56px)!important;
 }
}


/* Caption This — final ready/preview cohesion and crop safeguards (Nov 12).
   The introductory preview excites; ready screen explains and tracks readiness. */
#cccLobbyModePreview.ccc-caption-premium-preview{
  position:absolute!important;
  inset:clamp(10px,1.5dvh,22px) clamp(12px,1.6vw,25px)!important;
  width:auto!important;height:auto!important;
  max-height:calc(100% - clamp(20px,3dvh,44px))!important;
  min-height:0!important;
  padding:clamp(10px,1.55dvh,18px)!important;
  gap:clamp(4px,.7dvh,9px)!important;
  display:flex!important;flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:center!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  border-radius:clamp(17px,2vw,26px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-icon{
  display:grid!important;place-items:center!important;
  flex:0 0 auto!important;
  width:clamp(54px,8dvh,76px)!important;
  height:clamp(54px,8dvh,76px)!important;
  min-height:0!important;
  font-size:clamp(39px,5.7dvh,57px)!important;
  line-height:1!important;
  margin:0 auto!important;
  padding:3px!important;
  background:none!important;
  overflow:visible!important;
  vertical-align:middle!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-label{
  flex:0 0 auto!important;line-height:1.08!important;
  font-size:clamp(13px,1.55dvh,19px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > h2{
  flex:0 0 auto!important;
  font-size:clamp(31px,5.1dvh,61px)!important;
  line-height:1.05!important;
  margin:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > p{
  flex:0 0 auto!important;
  font-size:clamp(14px,2.0dvh,22px)!important;
  line-height:1.17!important;
  margin:0 auto!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-visual{
  width:min(100%,1080px)!important;
  max-width:1080px!important;
  min-height:0!important;
  flex:0 1 auto!important;
  margin:0 auto!important;
  padding:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-headline{
  font-size:clamp(20px,3.3dvh,35px)!important;
  margin:0 0 clamp(5px,.75dvh,10px)!important;
  line-height:1.08!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase{
  max-width:1010px!important;
  gap:clamp(8px,1vw,15px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview :is(.ccc-caption-preview-feature,.ccc-caption-preview-contest){
  padding:clamp(9px,1.25dvh,16px)!important;
  background:linear-gradient(145deg,#243d76,#202d63 60%,#35275c)!important;
  border:2px solid #ffe1a0!important;
  border-radius:19px!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
  width:min(100%,290px)!important;
  max-width:290px!important;
  border-radius:15px!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-crown{
  font-size:clamp(13px,1.8dvh,17px)!important;
  color:#ffe7a2!important;
  font-weight:1000!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-scene-note{
  font-size:clamp(13px,1.65dvh,17px)!important;
  line-height:1.13!important;
  margin:clamp(4px,.7dvh,8px) auto 0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > small{
  flex:0 0 auto!important;
  margin:0!important;
  font-size:clamp(10px,1.35dvh,13px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .r20-mg-layout{
  gap:clamp(4px,.6dvh,9px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-ready-screen{
  gap:clamp(5px,.65dvh,9px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-body{
  grid-template-columns:minmax(0,1.11fr) minmax(0,.89fr)!important;
  gap:clamp(9px,1.1vw,16px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
  height:clamp(165px,28dvh,310px)!important;
  width:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-meme{
  font-size:clamp(15px,1.5vw,22px)!important;
  font-weight:850!important;
  line-height:1.1!important;
  padding:clamp(5px,.6dvh,8px)!important;
  margin:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote{
  background:#e7e3ff!important;
  border:1px solid #c9b5f1!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-vote.sample-winner{
  background:#ffe7a2!important;
  border:2px solid #ffdc78!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-rules{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-rules span{
  font-size:clamp(13px,1.7dvh,18px)!important;
  padding:clamp(6px,.8dvh,10px)!important;
  background:#263d6d!important;
  color:#fff1bd!important;
  border-color:#7fa0d2!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-shared-ready-waiting{
  display:flex!important;gap:.45em!important;
  flex-wrap:wrap!important;justify-content:center!important;
  text-align:center!important;
  padding:clamp(8px,1dvh,12px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-shared-ready-waiting-label{
  font-size:clamp(16px,2.15dvh,23px)!important;
  line-height:1.13!important;
  color:#ffe5a2!important;
}
@media(max-height:760px){
 #cccLobbyModePreview.ccc-caption-premium-preview{
   padding:8px!important;gap:4px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-icon{
   width:48px!important;height:48px!important;font-size:39px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview > h2{
   font-size:clamp(28px,4.5dvh,45px)!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-feature,
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-contest{
   padding:8px!important;gap:5px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
   width:min(100%,230px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
   height:clamp(130px,20dvh,190px)!important;
 }
}
@media(max-width:760px){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-body{
  grid-template-columns:minmax(0,1fr)!important;
 }
}


/* Caption This mode preview: protect the final line from the board's gold rim.
   This is the lobby preview (#cccLobbyModePreview), NOT the in-game Ready view. */
#cccLobbyModePreview.ccc-caption-premium-preview{
  bottom:clamp(24px,4dvh,44px)!important;
  max-height:calc(100% - clamp(34px,5.5dvh,66px))!important;
  padding:clamp(8px,1.1dvh,12px) clamp(12px,1.4vw,19px)
          clamp(20px,3dvh,30px)!important;
  gap:clamp(3px,.5dvh,7px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-visual{
  flex:0 0 auto!important;
  width:min(100%,1000px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-headline{
  font-size:clamp(19px,2.9dvh,31px)!important;
  margin-bottom:clamp(3px,.45dvh,6px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase{
  max-width:960px!important;
  gap:clamp(7px,.9vw,12px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview :is(.ccc-caption-preview-feature,.ccc-caption-preview-contest){
  padding:clamp(7px,1dvh,12px)!important;
  gap:clamp(4px,.65dvh,8px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
  width:min(100%,245px)!important;
  max-width:245px!important;
  aspect-ratio:5/4!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-feature-label{
  font-size:clamp(13px,1.65dvh,18px)!important;
  line-height:1.14!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option{
  padding:clamp(5px,.65dvh,8px) 9px!important;
  gap:6px!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-letter{
  min-height:clamp(29px,3.6dvh,35px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-callout{
  margin-top:clamp(4px,.6dvh,8px)!important;
  padding:clamp(6px,.75dvh,9px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-scene-note{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  margin:clamp(8px,1.15dvh,13px) 0 0!important;
  padding:0 12px clamp(8px,1.2dvh,14px)!important;
  line-height:1.3!important;
  font-size:clamp(13px,1.7dvh,17px)!important;
  color:#e6f8ff!important;
  position:relative!important;
  z-index:2!important;
}
@media(max-height:820px){
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
  max-width:195px!important;
  width:min(100%,195px)!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-contest-title{
  font-size:clamp(15px,2.6dvh,22px)!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-quote{
  font-size:clamp(11px,1.65dvh,14px)!important;
 }
}


/* Caption This ready-screen final correction: preserve the whole example
   photograph, and leave the fully-visible player progress below it. */
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-photo{
  justify-content:center!important;
  overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:clamp(190px,26dvh,270px)!important;
  max-height:29dvh!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#172848!important;
  border:3px solid #fff8df!important;
  border-radius:14px!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-meme{
  flex:0 0 auto!important;
  margin:0!important;
  padding:clamp(5px,.65dvh,9px) 12px!important;
  font-size:clamp(17px,1.6vw,23px)!important;
  line-height:1.12!important;
  color:#18244a!important;
  background:#fff6de!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .readyScreenshotAction{
  display:none!important;
}
#r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-example{
  overflow:visible!important;
  padding-bottom:clamp(9px,1dvh,15px)!important;
}
@media(max-height:800px){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
  height:clamp(148px,20dvh,190px)!important;max-height:23dvh!important;
 }
}
@media(max-height:650px){
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-person{
  height:clamp(120px,18dvh,155px)!important;max-height:19dvh!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="caption_this"][data-stage="ready"] .ccc-caption-ready-example{
  padding:7px!important;
 }
}
/* Keep the caption preview's complete bottom line away from the gold border.
   No shared-game or phone rules are changed here. */
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-scene{
  box-sizing:border-box!important;
  padding-bottom:clamp(10px,1.4dvh,17px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-scene-note{
  margin-top:clamp(9px,1dvh,12px)!important;
  padding-bottom:clamp(10px,1.3dvh,15px)!important;
  line-height:1.3!important;
}


/* Caption This lobby preview: opaque cover for the 3D board beneath the inset
   preview panel. The outer breathing room must show the same blue background,
   never woodland, rivers or 3D board textures. */
#boardWrap:has(> #cccLobbyModePreview.ccc-caption-premium-preview)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:10;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 22%,#245ca6 0%,#183d77 45%,#0d2149 100%);
  border-radius:inherit;
}
#boardWrap > #cccLobbyModePreview.ccc-caption-premium-preview{
  z-index:11!important;
  background:radial-gradient(ellipse at 50% 18%,#2c5894 0%,#1b376b 55%,#0d2149 100%)!important;
}


/* Caption This! premium lobby preview redesign (12 Nov 2026).
   Scoped to the mode preview; in-game ready, scores, voting and phone UI remain
   untouched. One gold exterior border, clean two-column composition. */
#boardWrap:has(> #cccLobbyModePreview.ccc-caption-premium-preview)::before{
  content:""!important;position:absolute!important;inset:0!important;
  z-index:10!important;pointer-events:none!important;border-radius:inherit!important;
  background:radial-gradient(ellipse at 50% 20%,#16478c 0%,#09285c 53%,#071d41 100%)!important;
}
#boardWrap > #cccLobbyModePreview.ccc-caption-premium-preview{
  inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100%!important;height:100%!important;max-height:none!important;
  box-sizing:border-box!important;z-index:11!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;
  gap:clamp(3px,.45dvh,7px)!important;
  padding:clamp(12px,1.65dvh,20px) clamp(16px,2vw,32px) clamp(12px,1.6dvh,20px)!important;
  border:clamp(3px,.35vw,5px) solid #ffdc78!important;
  border-radius:clamp(18px,2vw,29px)!important;
  box-shadow:inset 0 0 0 2px #ffffff24,0 0 28px #0005!important;
  background:
    repeating-conic-gradient(from -20deg at 50% 17%,#17509b22 0deg 11deg,transparent 12deg 25deg),
    radial-gradient(ellipse at 50% 17%,#154b91 0%,#0d3270 40%,#071b3b 100%)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-width:thin!important;scrollbar-color:#7392c2 transparent;
  isolation:isolate!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-icon{
  flex:none!important;display:grid!important;place-items:center!important;
  height:clamp(38px,5.5dvh,58px)!important;width:clamp(42px,5.5dvh,62px)!important;
  min-height:0!important;padding:0!important;margin:0!important;
  font-size:clamp(34px,4.7dvh,48px)!important;line-height:1!important;
  filter:drop-shadow(0 3px 5px #0008)!important;
  overflow:visible!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > .ccc-lobby-preview-label{
  flex:none!important;color:#ffdc87!important;
  font-size:clamp(12px,1.5dvh,18px)!important;
  line-height:1.05!important;letter-spacing:.2em!important;margin:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > h2{
  flex:none!important;font-size:clamp(32px,5.2dvh,57px)!important;
  line-height:1.03!important;letter-spacing:-.025em!important;
  margin:0!important;color:#ffdc86!important;
  text-shadow:0 3px 0 #67491c,0 8px 15px #06172ccc!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > p{
  flex:none!important;
  font-size:clamp(14px,1.9dvh,21px)!important;line-height:1.15!important;
  margin:0 0 clamp(3px,.5dvh,8px)!important;
  max-width:100%!important;color:#edf6ff!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > p:not(:has(.ccc-party-preview-visual)){
  text-wrap:balance;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-visual{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:min(100%,1250px)!important;max-width:1250px!important;
  flex:0 0 auto!important;margin:0 auto!important;
  padding:clamp(9px,1.2dvh,17px) clamp(14px,1.6vw,25px) clamp(8px,1dvh,14px)!important;
  gap:clamp(5px,.7dvh,9px)!important;
  border:3px solid #ffda77!important;border-radius:clamp(16px,1.6vw,25px)!important;
  background:radial-gradient(ellipse at 50% 0%,#17549b80,transparent 70%),linear-gradient(140deg,#0b3167,#091d44)!important;
  box-shadow:inset 0 1px #ffffff3c,0 10px 24px #0005!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-headline{
  flex:none!important;display:block!important;
  font-size:clamp(21px,3.15dvh,36px)!important;line-height:1.08!important;
  font-weight:1000!important;letter-spacing:.018em!important;
  color:#ffdc80!important;text-shadow:0 3px 5px #06142b!important;
  margin:0!important;padding:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-scene{
  box-sizing:border-box!important;width:100%!important;
  display:block!important;margin:0!important;padding:0!important;
  flex:none!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase{
  position:relative!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:minmax(0,.97fr) minmax(0,1.13fr)!important;
  gap:clamp(18px,3vw,42px)!important;align-items:stretch!important;
  width:100%!important;max-width:100%!important;margin:0 auto!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase::after{
  content:"";position:absolute;top:3%;bottom:3%;left:46.3%;width:2px;
  background:linear-gradient(transparent,#ffe19f 13%,#ffe19f 87%,transparent);
  pointer-events:none;
}
#cccLobbyModePreview.ccc-caption-premium-preview :is(.ccc-caption-preview-feature,.ccc-caption-preview-contest){
  box-sizing:border-box!important;min-width:0!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;
  gap:clamp(5px,.75dvh,9px)!important;
  padding:clamp(4px,.6dvh,8px)!important;
  border:0!important;outline:0!important;border-radius:12px!important;
  background:transparent!important;box-shadow:none!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview :is(.ccc-caption-preview-tag,.ccc-caption-preview-contest-tag){
  color:#fff3d0!important;font-size:clamp(14px,1.9dvh,21px)!important;
  line-height:1.13!important;font-weight:950!important;letter-spacing:.045em!important;
  text-shadow:0 2px 3px #0008!important;margin:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
  box-sizing:border-box!important;flex:none!important;
  width:100%!important;max-width:100%!important;
  height:clamp(180px,29dvh,305px)!important;aspect-ratio:auto!important;
  border:clamp(3px,.4vw,5px) solid #f9f3e8!important;
  border-radius:clamp(13px,1.4vw,19px)!important;overflow:hidden!important;
  background:#182e51!important;box-shadow:0 6px 16px #0007!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-real-photo{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center 42%!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-feature-label{
  width:100%!important;box-sizing:border-box!important;
  margin:0!important;padding:clamp(7px,.9dvh,11px)!important;
  border-radius:12px!important;background:#fff0c8!important;color:#172f56!important;
  font-size:clamp(16px,2.2dvh,26px)!important;line-height:1.08!important;
  font-weight:1000!important;text-align:center!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-contest-title{
  color:#fff!important;line-height:1.11!important;
  font-size:clamp(18px,2.65dvh,29px)!important;
  font-weight:1000!important;margin:0 0 clamp(2px,.4dvh,5px)!important;
  text-align:center!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-options{
  width:100%!important;display:grid!important;
  gap:clamp(7px,1dvh,13px)!important;min-width:0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option{
  position:relative!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:clamp(35px,4.3dvh,48px) minmax(0,1fr)!important;
  align-items:center!important;gap:clamp(7px,1vw,13px)!important;
  width:100%!important;min-height:clamp(51px,6.2dvh,72px)!important;
  padding:clamp(6px,.85dvh,10px) clamp(9px,1vw,15px)!important;
  background:linear-gradient(140deg,#173967,#0b2148)!important;
  border:1.5px solid #5b84b7!important;border-radius:15px!important;
  box-shadow:inset 0 1px #ffffff1b!important;
  text-align:left!important;color:#f5f8ff!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-letter{
  display:grid!important;place-items:center!important;
  min-height:clamp(34px,4.5dvh,47px)!important;
  font-size:clamp(20px,2.8dvh,29px)!important;font-weight:1000!important;
  border-radius:10px!important;background:#b8ddff!important;color:#132e53!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-quote{
  font-size:clamp(13px,1.9dvh,21px)!important;
  font-weight:950!important;line-height:1.12!important;color:#fff!important;
  overflow-wrap:break-word!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option.is-winning{
  min-height:clamp(70px,9.3dvh,98px)!important;
  border:2px solid #ffdb67!important;
  background:linear-gradient(110deg,#244c73,#133354)!important;
  box-shadow:0 0 0 2px #ffe28144,0 0 20px #ffcc5599,inset 0 0 22px #ffca4d15!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option.is-winning .ccc-caption-preview-letter{
  background:#ffdc75!important;color:#152e58!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-crown{
  grid-column:2!important;justify-self:start!important;
  display:inline-block!important;width:auto!important;
  padding:clamp(3px,.45dvh,5px) 14px!important;
  border-radius:999px!important;color:#14274d!important;
  background:#ffdf78!important;font-size:clamp(11px,1.55dvh,16px)!important;
  font-weight:1000!important;letter-spacing:.025em!important;
  white-space:nowrap!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-callout{
  box-sizing:border-box!important;width:100%!important;
  margin:clamp(3px,.5dvh,7px) 0 0!important;
  padding:clamp(8px,1.1dvh,12px)!important;
  border-radius:13px!important;background:#ffe8a3!important;color:#192c56!important;
  font-size:clamp(12px,1.9dvh,20px)!important;line-height:1.1!important;
  font-weight:1000!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-support{
  font-size:clamp(14px,1.9dvh,21px)!important;
  line-height:1.15!important;font-weight:900!important;
  color:#e9f5ff!important;text-align:center!important;margin:0!important;
  padding:clamp(2px,.4dvh,5px) 0!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-mini-steps{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:min(100%,1050px)!important;margin:0 auto!important;
  gap:clamp(8px,1.2vw,17px)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-mini-steps > span{
  display:flex!important;justify-content:center!important;align-items:center!important;
  min-height:clamp(42px,5.8dvh,57px)!important;
  border:2px solid #9cdcff!important;border-radius:16px!important;
  background:linear-gradient(155deg,#257b91,#16506d)!important;
  padding:clamp(6px,.8dvh,10px)!important;
  font-size:clamp(15px,2.45dvh,26px)!important;font-weight:1000!important;
  color:#fff!important;box-shadow:inset 0 2px #ffffff4a!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-mini-steps > span:nth-child(2){
  border-color:#db9ff6!important;background:linear-gradient(155deg,#8654ac,#543575)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-mini-steps > span:nth-child(3){
  border-color:#ffcb78!important;background:linear-gradient(155deg,#ad7546,#75492b)!important;
}
#cccLobbyModePreview.ccc-caption-premium-preview > small{
  flex:none!important;color:#c6d9f4!important;
  font-size:clamp(10px,1.4dvh,14px)!important;
  line-height:1.2!important;margin:clamp(2px,.4dvh,5px) 0 0!important;
}
@media(max-height:800px){
 #cccLobbyModePreview.ccc-caption-premium-preview{
   gap:2px!important;padding:8px 15px 10px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-visual{
   padding:8px 12px!important;gap:3px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
   height:clamp(155px,25dvh,205px)!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-options{
   gap:5px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option{
   min-height:43px!important;padding:5px 7px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-option.is-winning{
   min-height:66px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-party-preview-mini-steps > span{
   min-height:38px!important;
 }
}
@media(max-width:700px){
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase{
   grid-template-columns:1fr!important;gap:7px!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-showcase::after{
   display:none!important;
 }
 #cccLobbyModePreview.ccc-caption-premium-preview .ccc-caption-preview-portrait{
   height:clamp(135px,26dvh,210px)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #cccLobbyModePreview.ccc-caption-premium-preview *{
   animation:none!important;transition:none!important;
 }
}


/* Practice previews: unified premium polish (2026-11-12) */
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example{
  box-sizing:border-box;
  width:min(100%,1040px);
  margin:clamp(8px,1.5dvh,16px) auto 0;
  padding:clamp(12px,2dvh,24px);
  border:1px solid rgba(158,209,255,.48);
  border-radius:clamp(16px,2vw,24px);
  background:linear-gradient(155deg,rgba(30,68,112,.95),rgba(12,33,69,.98));
  box-shadow:0 16px 38px rgba(3,17,43,.25),inset 0 1px rgba(255,255,255,.16);
  overflow:hidden;
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-head{
  display:block;
  max-width:100%;
  color:#fff4c5;
  font-size:clamp(17px,2.6dvh,29px);
  font-weight:900;
  line-height:1.16;
  letter-spacing:.012em;
  text-align:center;
  text-wrap:balance;
  overflow-wrap:anywhere;
  margin:0 0 clamp(12px,1.8dvh,20px);
  text-shadow:0 2px 12px rgba(0,0,0,.22);
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(8px,1.3vw,16px);
  align-items:stretch;
  width:100%;
}
#cccLobbyModePreview.ccc-practice-game-preview.ccc-practice-four-step-preview .ccc-practice-example-row{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card{
  box-sizing:border-box;
  min-width:0;
  min-height:clamp(132px,19dvh,190px);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  gap:clamp(5px,.9dvh,10px);
  padding:clamp(11px,1.5dvh,19px) clamp(8px,1.2vw,17px);
  text-align:center;
  background:linear-gradient(155deg,rgba(49,102,158,.8),rgba(20,54,104,.9));
  border:1.5px solid rgba(165,221,255,.54);
  border-radius:clamp(12px,1.5vw,19px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.19),0 5px 12px rgba(0,0,0,.12);
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card:nth-child(2){
  background:linear-gradient(155deg,rgba(77,84,165,.85),rgba(42,47,110,.96));
  border-color:rgba(194,187,255,.67);
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card:nth-child(3){
  background:linear-gradient(155deg,rgba(27,117,119,.84),rgba(13,70,89,.96));
  border-color:rgba(128,239,216,.62);
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card:nth-child(4){
  background:linear-gradient(155deg,rgba(126,83,143,.84),rgba(73,43,105,.96));
  border-color:rgba(226,173,245,.68);
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-emoji{
  display:grid;
  place-items:center;
  width:clamp(42px,6.5dvh,68px);
  height:clamp(42px,6.5dvh,68px);
  font-size:clamp(28px,4.5dvh,47px);
  line-height:1;
  flex:none;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.24));
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-name{
  color:#fff;
  font-size:clamp(13px,2dvh,21px);
  line-height:1.12;
  font-weight:900;
  letter-spacing:.03em;
  overflow-wrap:anywhere;
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-detail{
  color:#e9f5ff;
  font-size:clamp(12px,1.65dvh,17px);
  line-height:1.24;
  font-weight:650;
  overflow-wrap:anywhere;
}
#cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-preview-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(8px,1.5vw,16px);
  flex-wrap:wrap;
}
@media(max-width:760px){
  #cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-row,
  #cccLobbyModePreview.ccc-practice-game-preview.ccc-practice-four-step-preview .ccc-practice-example-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card{min-height:115px}
}
@media(max-width:430px){
  #cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-row,
  #cccLobbyModePreview.ccc-practice-game-preview.ccc-practice-four-step-preview .ccc-practice-example-row{
    grid-template-columns:1fr;
  }
  #cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card{
    min-height:0;
    padding:10px 12px;
  }
}
@media(prefers-reduced-motion:reduce){
  #cccLobbyModePreview.ccc-practice-game-preview .ccc-practice-example-card{
    animation:none;
    transition:none;
  }
}
