/* Party preview typography and spacing, 2026-11-15.
   Only the five selected lobby previews; never touch the live mini-games.
   Keep each game's own artwork, panels, colours and game instructions. */

/* A selected game name is already a sufficient header: avoid the duplicate
   generic PARTY GAMES text that appeared on only three of these five. */
body.tv #cccLobbyModePreview:is(
 .ccc-signature-same_brain,
 .ccc-signature-clue_camouflage,
 .ccc-signature-emoji_undercover,
 .ccc-cascade-mode-preview
) > .ccc-lobby-preview-label {
 display:none!important;
}

/* The five previews use the same gold, legible title treatment.
   Spot the Fake has an internal title rather than the sibling h2. */
@media (min-width:800px) {
 body.tv #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover,
  .ccc-cascade-mode-preview
 ) > h2 {
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:calc(100% - 70px)!important;
  margin:0 auto clamp(2px,.45dvh,6px)!important;
  padding:0 8px!important;
  color:#ffe7a9!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(38px,min(5.1vw,6.3dvh),74px)!important;
  font-weight:1000!important;
  line-height:1.06!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  text-wrap:balance!important;
  -webkit-text-stroke:.4px #a16b38!important;
  text-shadow:0 2px 0 #fff1bb7a,0 4px 1px #835329,0 7px 2px #3f2b1d,0 11px 16px #000b,0 0 18px #eccb725e!important;
 }
 /* Remove the vacated generic label's vertical slot so the heading lines up
    near the Critter Cascade and Spot the Fake names, not lower down. */
 body.tv #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ) {
  padding-top:clamp(46px,5.4dvh,64px)!important;
  gap:clamp(3px,.55dvh,7px)!important;
 }
 body.tv.board-only #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ),
 body.tv #app:fullscreen #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ) {
  padding-top:clamp(20px,2.8dvh,33px)!important;
 }
 /* Keep the first content panel close to its headline, without changing
    the game-specific arrangements inside each stage. */
 body.tv #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ) > .ccc-signature-stage {
  margin-top:0!important;
 }
 /* Spot's castle layout deliberately embeds its own title. Match its font
    and header scale without moving the illustrated castle and question. */
 body.tv #cccLobbyModePreview.sf2-redesign .sf2-headline {
  font-family:Georgia,"Times New Roman",serif!important;
  color:#ffe7a9!important;
  font-size:clamp(38px,min(5.1vw,6.3dvh),74px)!important;
  font-weight:1000!important;
  letter-spacing:-.027em!important;
  line-height:1.06!important;
  text-transform:none!important;
  -webkit-text-stroke:.45px #a16b38!important;
  text-shadow:0 2px 0 #fff1bb78,0 4px 1px #835329,0 7px 2px #3f2b1d,0 10px 16px #000b,0 0 18px #eccb725e!important;
 }
}

/* On a small laptop don't let the headline and example compete for height. */
@media (min-width:800px) and (max-height:740px) {
 body.tv #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover,
  .ccc-cascade-mode-preview
 ) > h2,
 body.tv #cccLobbyModePreview.sf2-redesign .sf2-headline{
  font-size:clamp(29px,min(4.2vw,5.7dvh),48px)!important;
 }
 body.tv #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ){padding-top:clamp(40px,6dvh,53px)!important;}
 body.tv.board-only #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ),
 body.tv #app:fullscreen #cccLobbyModePreview:is(
  .ccc-signature-same_brain,
  .ccc-signature-clue_camouflage,
  .ccc-signature-emoji_undercover
 ){padding-top:clamp(9px,1.4dvh,17px)!important;}
}

/* All five previews already explain how to play. Remove the one-off footer
   beneath Spot the Fake, and hide the generic "Mode preview" notices. */
body.tv #cccLobbyModePreview:is(
 .ccc-signature-same_brain,
 .ccc-signature-clue_camouflage,
 .ccc-signature-emoji_undercover,
 .ccc-cascade-mode-preview,
 .sf2-redesign
 ) > small{
 display:none!important;
}
body.tv #cccLobbyModePreview.sf2-redesign {
 gap:0!important;
}
body.tv #cccLobbyModePreview.sf2-redesign>p{
 flex:1 1 0!important;
 min-height:0!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-world{
 height:100%!important;
 min-height:0!important;
}

/* Make Spot the Fake's 4 accurate gameplay steps feel as polished as
   the other shows' bottom step bars, without falsely reducing it to 3. */
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step{
 border:2px solid #d8c38f!important;
 border-radius:clamp(12px,1.1vw,18px)!important;
 box-shadow:inset 0 2px 0 #fff5,0 4px 0 #0a1d35,0 6px 10px #0007!important;
 background:linear-gradient(160deg,#245d77,#153856)!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step:nth-child(2){
 background:linear-gradient(160deg,#69437f,#3a2a60)!important;
 border-color:#d6a7e7!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step:nth-child(3){
 background:linear-gradient(160deg,#426e73,#234d5a)!important;
 border-color:#a4dfcd!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step:nth-child(4){
 background:linear-gradient(160deg,#8a613d,#604122)!important;
 border-color:#f5d49b!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step strong{
 font-size:clamp(13px,min(1.2vw,2dvh),20px)!important;
}
body.tv #cccLobbyModePreview.sf2-redesign .sf2-step small{
 font-size:clamp(10px,min(.95vw,1.55dvh),15px)!important;
}

/* Narrow previews must remain usable instead of enforcing desktop sizing. */
@media (max-width:799px){
 body.tv #cccLobbyModePreview.sf2-redesign .sf2-world{
  height:auto!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.tv #cccLobbyModePreview.sf2-redesign .sf2-step{
  transition:none!important;
 }
}
