/* Temple of Trouble: TV readability pass, 18 Nov 2026.
   Keep 10-player results readable without changing scoring or game flow. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(12px,1.3vw,22px)!important;
  width:min(1280px,96%)!important;
  margin-inline:auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout > *{min-width:0!important;max-width:100%!important}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-recap{
  min-width:0!important;padding:clamp(9px,1vw,14px)!important;gap:8px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:7px!important;align-items:stretch!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-row{
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 align-items:stretch!important;min-width:0!important;min-height:clamp(61px,8dvh,86px)!important;
 padding:7px 9px!important;gap:4px!important;box-sizing:border-box!important;
 overflow:hidden!important;font-size:clamp(11px,1vw,15px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-result-identity{
 display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
 align-items:center!important;gap:7px!important;min-width:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-result-identity>b{
 flex:1 1 auto!important;max-width:none!important;min-width:0!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 overflow-wrap:normal!important;word-break:normal!important;
 font-size:clamp(12px,1.12vw,16px)!important;line-height:1.2!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-avatar{
 width:clamp(24px,3.1dvh,34px)!important;height:clamp(24px,3.1dvh,34px)!important;
 flex:0 0 auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-outcome{
 display:block!important;width:100%!important;text-align:left!important;line-height:1.18!important;
 font-size:clamp(10px,.95vw,13px)!important;overflow-wrap:normal!important;
 word-break:normal!important;white-space:normal!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-reward-mark{
 position:static!important;inset:auto!important;transform:none!important;
 display:block!important;max-width:100%!important;min-width:0!important;
 font-size:clamp(9px,.8vw,11px)!important;line-height:1.15!important;
 text-align:center!important;padding:2px 5px!important;white-space:normal!important;
}
/* Milestones are their own banner, not a word-wrapped sidebar card. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-reward-recap .temple-milestone-banner{
 width:100%!important;box-sizing:border-box!important;gap:4px 9px!important;
 padding:6px 8px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-milestone-names{
 font-size:clamp(11px,1.05vw,15px)!important;line-height:1.3!important;
 overflow-wrap:normal!important;word-break:normal!important;
}
/* Ten trivia results: five balanced columns, two tidy rows. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 width:min(1050px,96%)!important;gap:8px!important;margin-inline:auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-player{
 box-sizing:border-box!important;min-width:0!important;max-width:none!important;
 min-height:clamp(80px,10.5dvh,112px)!important;padding:8px 6px!important;gap:4px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-player .temple-result-identity{
 gap:5px!important;justify-content:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-player .temple-trivia-gem-name{
 min-width:0!important;max-width:none!important;font-size:clamp(12px,1vw,16px)!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 overflow-wrap:normal!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-player .temple-trivia-gem-portrait{
 width:clamp(25px,3.2dvh,35px)!important;height:clamp(25px,3.2dvh,35px)!important;
 flex:0 0 auto!important;
}
/* Mystery Switches: 3 clues must occupy a single symmetric row. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-switch-solving .temple-switch-clues{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:min(980px,100%)!important;gap:10px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-switch-solving .temple-switch-clue{
 min-width:0!important;min-height:clamp(82px,11dvh,118px)!important;
 padding:9px 12px!important;box-sizing:border-box!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-switch-solving .temple-switch-answers{
 width:min(780px,100%)!important;margin-inline:auto!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(max-width:1100px),(max-height:720px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows{gap:4px!important}
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-row{
  min-height:51px!important;padding:4px 6px!important;gap:2px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-player{
  min-height:68px!important;padding:4px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-switch-solving .temple-switch-clue{
  min-height:63px!important;padding:5px 8px!important;
 }
}
@media(max-width:760px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout{
  grid-template-columns:minmax(0,1fr)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

/* Adaptive room-size layout: match the number of visible competitors, not
   the maximum room capacity. Works for solo, 2–4, 5–6, and 7–10 players. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players{
 width:min(1140px,96%)!important;max-width:96%!important;
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 justify-content:center!important;align-content:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players:not(:has(>:nth-child(5))){
 grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(1000px,94%)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players:not(:has(>:nth-child(4))){
 grid-template-columns:repeat(3,minmax(0,1fr))!important;width:min(850px,94%)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players:not(:has(>:nth-child(3))){
 grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(610px,94%)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players:not(:has(>:nth-child(2))){
 grid-template-columns:minmax(0,1fr)!important;width:min(310px,94%)!important;
}
/* A short room uses a balanced one-row reward recap; a large room
   retains compact multi-row cards, with no narrow vertical name columns. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows:not(:has(>:nth-child(5))){
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows:not(:has(>:nth-child(4))){
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows:not(:has(>:nth-child(3))){
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows:not(:has(>:nth-child(2))){
 grid-template-columns:minmax(0,1fr)!important;
}
/* With only 1–3 players, give the illustration and reward panel equal
   horizontal real estate while keeping both panels vertically centred. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout:has(.temple-trap-reward-rows:not(:has(>:nth-child(4)))){
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:center!important;
}
/* Great Escape race: cards expand across the stage for a small party,
   but stay a compact maximum of five columns for large parties. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 width:100%!important;max-width:1160px!important;margin-inline:auto!important;
 justify-content:center!important;align-content:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid:not(:has(>:nth-child(5))){
 grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1060px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid:not(:has(>:nth-child(4))){
 grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1000px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid:not(:has(>:nth-child(3))){
 grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:700px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid:not(:has(>:nth-child(2))){
 grid-template-columns:minmax(0,1fr)!important;max-width:360px!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-player{
 min-width:0!important;height:auto!important;min-height:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-live-identity strong{
 min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
/* Race-progress lanes should not stretch to consume the height of the TV. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-racers.is-escape{
 height:auto!important;min-height:0!important;align-content:center!important;
 grid-auto-rows:minmax(0,auto)!important;gap:clamp(6px,1.2dvh,14px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-racers.is-escape .temple-racer{
 min-height:0!important;height:auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-racers.is-escape:not(:has(>:nth-child(5))){
 grid-template-columns:minmax(0,1fr)!important;
 width:min(1100px,100%)!important;margin-inline:auto!important;
}
/* Gate progress and recap cards shrink and centre as contestants leave the race. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-gate-race-panel{
 width:min(100%,1100px)!important;margin-inline:auto!important;justify-content:center!important;
}
@media(max-width:800px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout{
  grid-template-columns:minmax(0,1fr)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trivia-gem-players,
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-live-race .temple-solo-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"] .temple-trap-result-layout .temple-trap-reward-rows{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}


/* Temple Countdown result: the decorative clock previously exceeded the
   compact chamber's illustration row and covered the explanation beneath.
   Limit the ornament to its own row, without changing stopwatch timing. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  align-content:center!important;
  justify-items:center!important;
  row-gap:clamp(5px,.7dvh,9px)!important;
  min-height:clamp(142px,19dvh,194px)!important;
  box-sizing:border-box!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-stage{
  display:grid!important;
  height:clamp(64px,8.5dvh,84px)!important;
  min-height:0!important;
  margin:0!important;
  overflow:visible!important;
  place-items:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-clock{
  width:clamp(57px,7.7dvh,76px)!important;
  max-height:100%!important;
  min-height:0!important;
  border-width:3px!important;
  box-sizing:border-box!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-clock-ring{
  font-size:clamp(43px,6dvh,59px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-clock strong{
  font-size:clamp(25px,3.5dvh,35px)!important;
  line-height:1!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-clock small{
  bottom:3px!important;
  font-size:clamp(6px,.7dvh,8px)!important;
  line-height:1!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-heading,
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
.temple-classic-countdown.is-reveal .temple-classic-tag{
  position:relative!important;
  margin:0!important;
  max-width:100%!important;
  line-height:1.2!important;
  z-index:2!important;
}
@media(max-height:720px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
 .temple-classic-countdown.is-reveal{
   min-height:125px!important;
   row-gap:3px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
 .temple-classic-countdown.is-reveal .temple-classic-stage{
   height:58px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"]
 .temple-classic-countdown.is-reveal .temple-classic-clock{
   width:54px!important;
 }
}


/* Dense 9–10 player Temple trap recaps. Four readable columns instead
   of five compressed cards; preserve rewards and shadow status. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"]{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-rows:minmax(0,1fr)!important;
 gap:clamp(6px,.6vw,10px)!important;
 align-content:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-trap-reward-row{
 display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:stretch!important;
 gap:clamp(3px,.45dvh,6px)!important;
 min-width:0!important;min-height:clamp(75px,11dvh,115px)!important;
 height:auto!important;max-height:none!important;
 padding:clamp(5px,.65dvh,9px) clamp(6px,.6vw,10px)!important;
 overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-result-identity{
 display:flex!important;flex-direction:row!important;
 align-items:center!important;justify-content:flex-start!important;
 flex-wrap:nowrap!important;min-width:0!important;width:100%!important;
 gap:clamp(4px,.45vw,8px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-result-identity>b{
 display:block!important;flex:1 1 auto!important;min-width:0!important;
 max-width:100%!important;font-size:clamp(12px,1.05vw,17px)!important;
 line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;
 text-overflow:ellipsis!important;word-break:normal!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-trap-reward-avatar{
 width:clamp(27px,3.4dvh,38px)!important;height:clamp(27px,3.4dvh,38px)!important;
 flex:0 0 auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-trap-reward-outcome{
 display:block!important;width:100%!important;font-size:clamp(11px,.95vw,15px)!important;
 line-height:1.2!important;white-space:normal!important;overflow-wrap:normal!important;
 word-break:normal!important;text-align:left!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"] .temple-reward-mark{
 display:block!important;position:static!important;transform:none!important;
 max-width:100%!important;font-size:clamp(10px,.85vw,12px)!important;
 line-height:1.12!important;white-space:normal!important;padding:3px 5px!important;
 text-align:center!important;
}
/* Centre the incomplete final row for nine or ten players. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"]>:nth-last-child(2):nth-child(4n + 1){
 grid-column:2;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"]>:last-child:nth-child(4n + 1){
 grid-column:2 / span 2;
}
@media(max-width:900px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="round_standings"] .temple-trap-reward-rows[data-player-layout="five"]>*{
  grid-column:auto!important;
 }
}


/* 20 Nov: trivia answer reveal must fit a 10-player TV without cutting off
   the fastest-answer banner. Scope to the reveal stage only. */
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv{
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;
  gap:clamp(3px,.65dvh,8px)!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  margin-block:clamp(2px,.45dvh,6px)!important;
  padding-block:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-headline{
  margin:0!important;padding:0!important;
  font-size:clamp(14px,2dvh,22px)!important;line-height:1.15!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-players{
  flex:0 0 auto!important;align-content:start!important;align-items:stretch!important;
  grid-auto-rows:minmax(0,auto)!important;
  row-gap:clamp(5px,.7dvh,9px)!important;
  width:min(1140px,96%)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-player{
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;align-self:stretch!important;
  height:auto!important;min-height:0!important;max-height:clamp(124px,17dvh,170px)!important;
  padding:clamp(5px,.6dvh,8px)!important;gap:clamp(2px,.35dvh,4px)!important;
  overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-result-identity{
  min-height:0!important;margin:0!important;gap:clamp(4px,.5vw,7px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-portrait{
  width:clamp(25px,4dvh,38px)!important;height:clamp(25px,4dvh,38px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-award{
  margin:0!important;line-height:1.12!important;font-size:clamp(10px,1.4dvh,14px)!important;
  text-align:center!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-combined-resources{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:center!important;
  gap:clamp(2px,.4dvh,5px)!important;
  margin:0!important;padding:0!important;min-height:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-combined-resources>span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:2px 5px!important;
  font-size:clamp(9px,1.2dvh,12px)!important;line-height:1.1!important;
  white-space:nowrap!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-fastest-spark{
  position:relative!important;flex:0 0 auto!important;
  width:min(1140px,96%)!important;
  margin:clamp(4px,.6dvh,8px) auto 0!important;
  padding:clamp(5px,.65dvh,8px)!important;
  font-size:clamp(12px,1.75dvh,18px)!important;line-height:1.18!important;
}
#r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-fastest-spark small{
  display:block!important;line-height:1.15!important;
  font-size:clamp(10px,1.3dvh,13px)!important;
}
@media(max-height:750px){
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-player{
  max-height:clamp(100px,16dvh,125px)!important;padding:3px 5px!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="temple_trouble"][data-stage="reveal"] .temple-trivia-gem-reveal.is-tv .temple-trivia-gem-players{
  gap:4px!important;
 }
}
