/* A phone is a controller, not a second TV. No decorative reaction dock. */
body:not(.tv) #r20-party-reactions{display:none!important}
body:not(.tv) #control{background:#182747!important;border-color:#3a5379!important;box-shadow:none!important}
body:not(.tv) #control #who{font-size:clamp(22px,6vw,30px)!important;margin-bottom:9px!important;color:#ffe1a0}
body:not(.tv) #control #status{margin:3px 0 13px!important;border-left:0!important;border-radius:12px!important;padding:11px 13px!important;background:#273c5a!important;color:#ecf8fc!important;font-size:clamp(15px,4.1vw,18px)!important;line-height:1.35!important}
body:not(.tv) #actions{display:flex;flex-direction:column;gap:8px}
body:not(.tv) #actions>button{width:100%!important;min-height:65px!important;padding:14px 14px!important;font-size:clamp(16px,4.6vw,21px)!important;border-radius:16px!important;box-shadow:none!important}
body:not(.tv) #actions>button.rollControlPrimary,body:not(.tv) #actions>button:not(.secondary):not(.card){min-height:78px!important;font-size:clamp(20px,5.5vw,25px)!important}
body:not(.tv) #actions .status{font-size:clamp(14px,3.8vw,17px)!important;margin:0!important;padding:9px 12px!important;line-height:1.3!important;background:#273c5a!important;border-left:0!important}
body:not(.tv) #actions .note{font-size:12px!important;line-height:1.35}
body:not(.tv) #control #handSection{margin-top:9px}
body:not(.tv) #control #handSection h3{font-size:15px!important;margin:4px 0 9px!important;color:#ffe4b0}
body:not(.tv) #control .hand .card{font-size:clamp(13px,3.6vw,16px)!important;min-height:68px!important}
body:not(.tv) #control .players{gap:5px!important}
body:not(.tv) #control .players>.player{padding:6px 9px!important;border-left-width:3px!important;border-radius:9px!important;box-shadow:none!important}
body:not(.tv) #control .playerTop{grid-template-columns:36px minmax(0,1fr) auto!important;gap:8px!important}
body:not(.tv) #control .playerAvatar,body:not(.tv) #control .playerAvatar:has(img){width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;font-size:23px!important}
body:not(.tv) #control .playerAvatar img{max-width:36px!important;max-height:36px!important}
body:not(.tv) #control .playerDetails small,body:not(.tv) #control .coinTrack{display:none!important}
body:not(.tv) #control .playerCoins{font-size:15px!important;color:#ffe39a}
body:not(.tv) #control .playerName{font-size:clamp(14px,3.8vw,17px)!important}
body:not(.tv) #control h3:has(+ #players){font-size:14px!important;margin:14px 0 7px!important;color:#c5d8ec}
body:not(.tv) #control #log,body:not(.tv) #control h3:has(+ #log),body:not(.tv) #control>.note{display:none!important}
body:not(.tv) #control>.spacer{height:5px!important}
@media(prefers-reduced-motion: reduce){body:not(.tv) #actions button{animation:none!important}}

/* 2026-11-03: small-phone controller usability; no changes to host/TV UI. */
@media(max-width:600px){
 body:not(.tv){overflow-x:hidden}
 body:not(.tv) #app.layout{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:8px!important}
 body:not(.tv) #app>aside#control{display:flex!important;flex-direction:column;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;padding:12px!important;margin:0!important;gap:7px!important;border-radius:18px!important}
 body:not(.tv) #actions,body:not(.tv) #handSection,body:not(.tv) .characterChooser{min-width:0!important;max-width:100%!important}
 body:not(.tv) .characterChooser{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body:not(.tv) .characterChoice{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;min-height:78px!important;padding:8px!important;gap:7px!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body:not(.tv) .characterChoice strong{font-size:clamp(12px,3.45vw,16px)!important;line-height:1.18!important}
 body:not(.tv) .characterChoice small{font-size:clamp(10px,2.8vw,12px)!important;line-height:1.15!important}
 body:not(.tv) #actions button,body:not(.tv) #handSection button{touch-action:manipulation}
 body:not(.tv) #actions>button{width:100%!important;white-space:normal!important;overflow-wrap:break-word!important}
 body:not(.tv) input,body:not(.tv) select{max-width:100%!important;min-width:0!important;font-size:16px!important}
 body:not(.tv) #control #status{overflow-wrap:break-word}
}
@media(max-width:355px){
 body:not(.tv) .characterChooser{grid-template-columns:1fr!important}
}


/* Board-race mini-game results: all players, earned board coins and Return
   to Board on the FIRST screen. Single standings table replaces the duplicate
   decorative podium; no scrolling on short TVs or landscape phones. */
#r20MiniGame.r20-mg-board-results{overflow:hidden!important}
#r20MiniGame.r20-mg-board-results .r20-mg-layout{
 height:100dvh!important;min-height:0!important;max-height:100dvh!important;
 width:min(850px,98%)!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;gap:clamp(3px,1vh,9px)!important;
 padding:clamp(4px,.9vh,11px) 7px!important;overflow:hidden!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-head{flex:0 0 auto!important}
#r20MiniGame.r20-mg-board-results .r20-mg-eyebrow,
#r20MiniGame.r20-mg-board-results .r20-mg-subtitle,
#r20MiniGame.r20-mg-board-results .r20-mg-timer,
#r20MiniGame.r20-mg-board-results .r20-mg-footer,
#r20MiniGame.r20-mg-board-results .r20-party-podium,
#r20MiniGame.r20-mg-board-results .r20-party-winner-sub,
#r20MiniGame.r20-mg-board-results .r20-mg-phone-info,
#r20MiniGame.r20-mg-board-results .r20-mg-phone-rules,
#r20MiniGame.r20-mg-board-results .r20-mg-phone-controls{display:none!important}
#r20MiniGame.r20-mg-board-results .r20-mg-title{
 font-size:clamp(19px,3.1vh,31px)!important;line-height:1.1!important;
 margin:0!important;text-shadow:none!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-center{
 flex:0 0 auto!important;min-height:0!important;display:block!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-stage-main{
 width:100%!important;padding:clamp(2px,.55vh,7px) 6px!important;
 border-radius:12px!important;box-shadow:none!important
}
#r20MiniGame.r20-mg-board-results .readyResultTitle,
#r20MiniGame.r20-mg-board-results .r20-mg-scores-heading{
 font-size:clamp(12px,1.9vh,18px)!important;line-height:1.1!important;
 margin:0 0 3px!important
}
#r20MiniGame.r20-mg-board-results .r20-party-winner-line{
 font-size:clamp(12px,2vh,20px)!important;margin:1px auto!important;
 line-height:1.15!important
}
#r20MiniGame.r20-mg-board-results .r20-results-favourite{display:none!important}
#r20MiniGame.r20-mg-board-results .r20-mg-scores{
 flex:0 0 auto!important;display:block!important;width:100%!important;
 margin:0!important;padding:clamp(3px,.7vh,8px)!important;border-radius:12px!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-score-row{
 min-height:0!important;display:grid!important;
 grid-template-columns:26px minmax(0,1fr) auto!important;
 align-items:center!important;gap:clamp(4px,1vw,10px)!important;
 padding:clamp(3px,.65vh,7px) 7px!important;
 margin:clamp(1px,.35vh,4px) 0!important;
 font-size:clamp(11px,1.7vh,17px)!important;border-radius:8px!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-rank{
 font-size:clamp(16px,2.8vh,24px)!important;width:auto!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-player-detail{
 gap:0!important;min-width:0!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-player-name{
 font-size:clamp(11px,1.9vh,17px)!important;line-height:1.1!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-final-points{
 font-size:clamp(10px,1.55vh,13px)!important;line-height:1.1!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-prize{
 min-width:0!important;gap:0!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-coin-gain{
 font-size:clamp(11px,2vh,18px)!important;line-height:1.1!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-coin-total{
 font-size:clamp(9px,1.45vh,13px)!important;line-height:1.1!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-board-return-bar{
 flex:0 0 auto!important;display:flex!important;
 width:min(420px,100%)!important;margin:2px auto!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-board-return{
 min-height:clamp(35px,6vh,50px)!important;padding:4px 10px!important;
 font-size:clamp(13px,2.1vh,20px)!important;border-radius:12px!important
}
#r20MiniGame.r20-mg-board-results .r20-mg-board-return-bar[hidden]{display:none!important}
#r20MiniGame.r20-mg-board-results .critter-inline-portrait{
 width:clamp(16px,2.5vh,24px)!important;height:clamp(16px,2.5vh,24px)!important
}
@media(max-height:500px){
 #r20MiniGame.r20-mg-board-results .r20-mg-stage-main .r20-party-winner-line{display:none!important}
 #r20MiniGame.r20-mg-board-results .r20-mg-title{font-size:18px!important}
}

/* Fact or Fib and Higher or Lower: one-screen reveal on TV and phones. */
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"]{overflow:hidden!important}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-layout{
 width:min(1030px,99%)!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 gap:clamp(2px,.7vh,7px)!important;padding:clamp(3px,.65vh,8px) 6px!important;overflow:hidden!important
}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-title{
 font-size:clamp(19px,3.3vh,35px)!important;line-height:1.05!important;margin:0!important
}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] :is(
 .r20-mg-eyebrow,.r20-mg-subtitle,.r20-mg-footer,.r20-mg-phone-info,.r20-mg-phone-controls,
 .r20-mg-phone-rules){display:none!important}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-timer{
 font-size:clamp(11px,1.8vh,17px)!important;margin:0!important;padding:2px 9px!important
}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-center{
 flex:0 1 auto!important;min-height:0!important;display:flex!important;align-items:center!important
}
#r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-stage-main{
 width:100%!important;max-width:100%!important;padding:clamp(3px,.6vh,8px)!important;
 border-radius:12px!important;box-shadow:none!important;overflow:hidden!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-stage{
 gap:clamp(2px,.5vh,5px)!important;width:100%!important;max-width:100%!important;
 padding:clamp(3px,.6vh,8px)!important;border:1px solid #b2a6e1!important;border-radius:12px!important;
 overflow:hidden!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-progress{
 font-size:clamp(10px,1.7vh,15px)!important;min-height:0!important;padding:1px 8px!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .fibVerdictCard{
 display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;margin:0!important;width:100%!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-question{
 font-size:clamp(13px,2.5vh,26px)!important;line-height:1.1!important;margin:0!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .fibStamp{
 font-size:clamp(14px,2.8vh,25px)!important;padding:1px 9px!important;margin:0!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-explanation{
 font-size:clamp(10px,1.75vh,17px)!important;line-height:1.12!important;margin:1px auto!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-round-scores.ccc-fib-standings{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:clamp(2px,.5vh,6px)!important;width:min(850px,100%)!important;margin:1px auto!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-standings-title{
 grid-column:1/-1!important;color:#ffe4a2!important;font-size:clamp(10px,1.7vh,15px)!important;margin:0!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-standing{
 display:grid!important;grid-template-columns:17px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
 align-items:center!important;gap:0 5px!important;min-height:0!important;
 padding:clamp(2px,.48vh,5px) 6px!important;font-size:clamp(10px,1.6vh,14px)!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-place{grid-row:1/3!important;grid-column:1!important;color:#ffe9ad!important}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-player-name{
 grid-row:1!important;grid-column:2!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;text-align:left!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-round-points{
 grid-row:2!important;grid-column:2!important;text-align:left!important;color:#b5f7d9!important
}
#r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-running-total{
 grid-row:1/3!important;grid-column:3!important;white-space:nowrap!important;color:#ffdf87!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-card-range{font-size:clamp(10px,1.7vh,15px)!important;margin:0!important}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .higherComparison{gap:clamp(5px,2vw,13px)!important;margin:1px auto!important}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .higherNumber{
 width:clamp(60px,15vh,100px)!important;min-height:clamp(52px,10vh,82px)!important;
 height:clamp(52px,10vh,82px)!important;font-size:clamp(25px,5vh,48px)!important;
 margin:0!important;gap:1px!important;border-radius:10px!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .higherNumber small{font-size:clamp(10px,1.6vh,14px)!important}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-answer{
 font-size:clamp(12px,2vh,19px)!important;margin:1px auto!important;line-height:1.1!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-results{
 width:min(810px,100%)!important;max-width:100%!important;margin:1px auto!important;
 padding:clamp(3px,.6vh,8px)!important;border-radius:10px!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-results-title{
 font-size:clamp(10px,1.6vh,15px)!important;margin:0 0 3px!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-result-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
 gap:clamp(4px,1.5vw,15px)!important;margin:clamp(1px,.3vh,3px) 0!important;
 padding:clamp(3px,.65vh,7px) 8px!important;min-height:0!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-result-name{
 font-size:clamp(11px,1.8vh,17px)!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] :is(.r20-mg-higher-result-points,.r20-mg-higher-result-total){
 font-size:clamp(11px,1.8vh,17px)!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important
}
#r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-result-total{color:#a7f3d0!important}
@media(max-height:500px){
 #r20MiniGame:is([data-game="fact_fib"],[data-game="higher"])[data-stage="reveal"] .r20-mg-title{font-size:18px!important}
 #r20MiniGame[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-explanation{font-size:10px!important}
 #r20MiniGame[data-game="higher"][data-stage="reveal"] .r20-mg-higher-results{padding:2px 5px!important}
}

/* MEMORY TRAIL: eight actual playable portraits, fully visible at once. */
#r20MiniGame[data-game="memory"] .ccc-trail-tile.ccc-trail-critter{
 overflow:hidden;display:grid;place-items:center;padding:clamp(2px,.6vh,6px);
 background:linear-gradient(150deg,#355785,#1c3358);border:2px solid #a6d8e5;
 box-shadow:0 3px 8px #06132f88;
}
#r20MiniGame[data-game="memory"] .ccc-trail-portrait{
 display:block;width:100%;height:100%;max-width:100%;max-height:100%;
 object-fit:contain;filter:drop-shadow(0 2px 3px #1020348c)
}
#r20MiniGame[data-game="memory"] .ccc-trail-grid.ccc-trail-input{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:clamp(3px,.9vw,9px)!important;width:min(100%,480px)!important;
 margin:4px auto!important
}
#r20MiniGame[data-game="memory"] .ccc-trail-input .ccc-trail-tile{
 width:100%!important;height:clamp(51px,12dvh,90px)!important;min-height:0!important;
 aspect-ratio:auto!important;padding:3px!important
}
#r20MiniGame[data-game="memory"] .readyTrail{
 width:min(100%,365px)!important;display:flex!important;gap:5px!important
}
#r20MiniGame[data-game="memory"] .readyTrail .ccc-trail-tile{
 width:24%!important;max-width:none!important;min-height:0!important
}
@media(max-height:450px){
 #r20MiniGame[data-game="memory"] .ccc-trail-input .ccc-trail-tile{
  height:clamp(44px,16dvh,65px)!important
 }
 #r20MiniGame[data-game="memory"] .ccc-trail-grid.ccc-trail-input{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(100%,320px)!important
 }
}

/* Phone lobby: equal spacing around every playable character tile. */
@media(max-width:700px){
 body:not(.tv) #actions .characterChooser{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:minmax(0,auto);
  align-items:stretch!important;
  justify-content:stretch!important;
  align-content:start!important;
  column-gap:8px!important;
  row-gap:8px!important;
  margin:8px 0!important;
  padding:0!important;
  width:100%!important;
  box-sizing:border-box!important;
 }
 body:not(.tv) #actions .characterChooser>.characterChoice{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  justify-items:start!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  min-height:78px!important;
  height:100%!important;
  margin:0!important;
  padding:8px!important;
  gap:7px!important;
  box-sizing:border-box!important;
 }
 body:not(.tv) #actions .characterChooser>.characterChoice .characterIcon{
  display:grid!important;
  place-items:center!important;
  width:50px!important;
  height:50px!important;
  margin:0!important;
 }
}
@media(max-width:370px){
 body:not(.tv) #actions .characterChooser{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
 }
 body:not(.tv) #actions .characterChooser>.characterChoice{
  grid-template-columns:42px minmax(0,1fr)!important;
  padding:5px!important;
  gap:5px!important;
 }
 body:not(.tv) #actions .characterChooser>.characterChoice .characterIcon{
  width:40px!important;height:40px!important;
 }
}

/* Fact or Fib: make the per-round verdict and scorecard fill the TV instead
   of the old miniature one-screen phone sizing. Still fits 720p displays. */
@media(min-width:800px) and (min-height:530px){
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .r20-mg-layout{
  width:min(1370px,98vw)!important;max-width:98vw!important;
  gap:clamp(5px,1.1vh,12px)!important;padding:clamp(7px,1.5vh,15px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .r20-mg-title{
  font-size:clamp(30px,4.8vh,49px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .r20-mg-stage-main{
  padding:clamp(9px,1.5vh,17px)!important;width:100%!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-stage{
  max-width:1200px!important;margin-inline:auto!important;
  gap:clamp(7px,1.4vh,15px)!important;padding:clamp(8px,1.4vh,16px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-question{
  font-size:clamp(25px,4.1vh,43px)!important;line-height:1.16!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .fibStamp{
  font-size:clamp(27px,4.7vh,51px)!important;padding:3px 19px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-explanation{
  font-size:clamp(16px,2.5vh,25px)!important;line-height:1.28!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-quiz-round-scores.ccc-fib-standings{
  width:min(1120px,100%)!important;gap:clamp(7px,1vh,12px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-standings-title{
  font-size:clamp(16px,2.4vh,22px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-standing{
  min-height:clamp(59px,8.3vh,82px)!important;
  padding:clamp(7px,1.1vh,12px)!important;
  grid-template-columns:27px minmax(0,1fr) auto!important;
  gap:2px 11px!important;
  font-size:clamp(15px,2.3vh,22px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="fact_fib"][data-stage="reveal"] .ccc-fib-running-total{
  font-size:clamp(17px,2.6vh,27px)!important;
 }
}

/* Classic glossy white dice with BLACK pips and soft rounded corners.
   These work identically on iOS, Android and TV instead of relying on
   colour-emoji dice glyphs that vary by platform. */
.ccc-pip-die{
 --ccc-die-size:clamp(98px,14vw,168px);
 width:var(--ccc-die-size)!important;
 height:var(--ccc-die-size)!important;
 aspect-ratio:1!important;
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-template-rows:repeat(3,minmax(0,1fr))!important;
 place-items:center!important;
 padding:13%!important;
 box-sizing:border-box!important;
 border:3px solid #fff!important;
 border-radius:22%!important;
 background:linear-gradient(135deg,#fff 0%,#fff 43%,#edf0f5 100%)!important;
 box-shadow:inset 3px 3px 6px #fff,inset -8px -10px 12px #bec3cf,
             0 8px 0 #b5bccb,0 18px 32px #03081988!important;
 font-size:0!important;color:transparent!important;text-shadow:none!important;
 line-height:1!important;
}
.ccc-pip-die>i{
 display:block!important;
 width:63%!important;
 aspect-ratio:1!important;
 border-radius:50%!important;
 background:radial-gradient(circle at 35% 30%,#363940 0%,#111316 55%,#050608 100%)!important;
 box-shadow:inset 1px 1px 2px #0008,0 1px 1px #fff7!important;
 visibility:hidden;
}
.ccc-pip-die[data-pips="1"]>i:nth-child(5),
.ccc-pip-die[data-pips="2"]>i:nth-child(1),
.ccc-pip-die[data-pips="2"]>i:nth-child(9),
.ccc-pip-die[data-pips="3"]>i:nth-child(1),
.ccc-pip-die[data-pips="3"]>i:nth-child(5),
.ccc-pip-die[data-pips="3"]>i:nth-child(9),
.ccc-pip-die[data-pips="4"]>i:nth-child(1),
.ccc-pip-die[data-pips="4"]>i:nth-child(3),
.ccc-pip-die[data-pips="4"]>i:nth-child(7),
.ccc-pip-die[data-pips="4"]>i:nth-child(9),
.ccc-pip-die[data-pips="5"]>i:nth-child(1),
.ccc-pip-die[data-pips="5"]>i:nth-child(3),
.ccc-pip-die[data-pips="5"]>i:nth-child(5),
.ccc-pip-die[data-pips="5"]>i:nth-child(7),
.ccc-pip-die[data-pips="5"]>i:nth-child(9),
.ccc-pip-die[data-pips="6"]>i:nth-child(1),
.ccc-pip-die[data-pips="6"]>i:nth-child(3),
.ccc-pip-die[data-pips="6"]>i:nth-child(4),
.ccc-pip-die[data-pips="6"]>i:nth-child(6),
.ccc-pip-die[data-pips="6"]>i:nth-child(7),
.ccc-pip-die[data-pips="6"]>i:nth-child(9){visibility:visible!important}
#manualDiceFace.ccc-pip-die{--ccc-die-size:clamp(100px,14vw,175px);margin:12px auto!important}
#coinDie.ccc-pip-die{--ccc-die-size:clamp(80px,14vw,155px);margin-inline:auto!important}
#coinDie.ccc-pip-die::before{content:none!important}
.partyRollingDie .ccc-pip-die{--ccc-die-size:clamp(105px,16vw,185px);margin:0 auto!important}
@media(max-width:650px){
 #manualDiceFace.ccc-pip-die{--ccc-die-size:104px}
 #coinDie.ccc-pip-die{--ccc-die-size:86px}
 .partyRollingDie .ccc-pip-die{--ccc-die-size:95px}
}
