/* Deal or Steal: coordinated TV and phone presentation. */
#r20MiniGame .deal-step{color:#ffe49c;font-size:clamp(13px,2.4vh,23px);font-weight:950;letter-spacing:.07em;margin:0 auto 7px}
#r20MiniGame .deal-box-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(5px,1.5vh,14px);width:100%;max-width:860px;margin:0 auto}
#r20MiniGame .r20-mg-stage-main:has(.deal-box-grid){width:min(940px,100%);padding:clamp(9px,1.5vh,22px)}
#r20MiniGame .deal-box-card{display:flex;flex-direction:column;min-width:0;gap:4px;padding:clamp(5px,1.2vh,10px);border-radius:17px;background:#112743cc;border:1px solid #aecbea5c}
#r20MiniGame .deal-box-player{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;font-size:clamp(13px,2.1vh,21px);color:#fff4d4}
#r20MiniGame .deal-portrait{width:clamp(22px,4vh,38px);height:clamp(22px,4vh,38px);object-fit:contain}
#r20MiniGame .deal-mystery{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-height:clamp(88px,15vh,158px);border-radius:14px;overflow:hidden;box-shadow:inset 0 6px #ffffff33,0 7px 0 #071936aa}
#r20MiniGame .deal-mystery.ruby{background:linear-gradient(135deg,#ea6a7e,#b72858)}
#r20MiniGame .deal-mystery.ocean{background:linear-gradient(135deg,#56bced,#1675ad)}
#r20MiniGame .deal-mystery.emerald{background:linear-gradient(135deg,#4ae3ab,#097c6a)}
#r20MiniGame .deal-mystery.royal{background:linear-gradient(135deg,#b38df6,#7038bd)}
#r20MiniGame .deal-lid{font-size:clamp(27px,5vh,52px);filter:drop-shadow(0 6px 6px #142e4677)}
#r20MiniGame .deal-question{font-size:clamp(18px,3vh,33px);font-weight:1000;position:absolute;right:11px;top:3px}
#r20MiniGame .deal-box-name{font-size:clamp(13px,2.3vh,20px);font-weight:900;color:#fff5d8}
#r20MiniGame .deal-prize{opacity:0;transform:translateY(12px) scale(.8);position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:#124c43e9;color:#c4ffe0;font-weight:1000;font-size:clamp(23px,4.1vh,46px);text-shadow:0 2px 6px #001b1d}
#r20MiniGame .deal-prize.bad{background:#782b50e9;color:#ffdfdd}
#r20MiniGame .deal-opened .deal-prize{animation:dealReveal .45s cubic-bezier(.2,1.5,.3,1) both;animation-delay:calc(.55s + var(--reveal-order,0)*1.15s)}
@keyframes dealReveal{from{opacity:0;transform:translateY(12px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}
#r20MiniGame .deal-outcome,#r20MiniGame .deal-locked{font-size:clamp(11px,1.6vh,15px);line-height:1.2;color:#d5e8ff;min-height:1em}
#r20MiniGame .deal-standings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;width:min(100%,790px);margin:7px auto 0;padding:7px 11px;background:#122741;border:1px solid #92afcf;border-radius:12px}
#r20MiniGame .deal-standings-title{grid-column:1/-1;color:#ffe19c;font-size:clamp(12px,1.8vh,17px)}
#r20MiniGame .deal-standings-entry{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:3px 5px;font-size:clamp(11px,1.8vh,16px);color:#e7f3ff}
#r20MiniGame .deal-standings-entry span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#r20MiniGame .deal-standings-entry strong{color:#c4ffe1;white-space:nowrap}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-standings{padding:5px;gap:3px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-standings-entry{font-size:11px}
#r20MiniGame .deal-tv-caption{margin:9px auto 0;color:#a8f3dc;font-weight:850;font-size:clamp(13px,2.2vh,21px)}
#r20MiniGame .deal-phone-guide{font-size:14px;line-height:1.35;color:#e2f5fc;margin:4px auto 9px}
#r20MiniGame .deal-phone-actions{display:flex;flex-direction:column;gap:7px;width:100%;max-width:550px;margin:0 auto}
#r20MiniGame .deal-choice{min-height:48px;padding:9px 12px;font-size:clamp(15px,4.1vw,20px);border:2px solid #fff3bb;border-radius:12px;background:#286d89;color:#fff;font-weight:850;cursor:pointer}
#r20MiniGame .deal-choice.keep{background:#146b56}
#r20MiniGame .deal-choice.shield{background:#7054ad}
#r20MiniGame .deal-choice.steal{background:#963d67}
#r20MiniGame .deal-choice:disabled{opacity:.5}
#r20MiniGame .deal-steal-heading{font-size:14px;color:#ffde9c;font-weight:900;margin-top:4px}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:not([data-stage="results"]) .r20-mg-scores,
#r20MiniGame.r20-mg-phone[data-game="deal_steal"]:not([data-stage="results"]) .r20-mg-scores{display:none}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-box-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-mystery{min-height:64px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-lid{font-size:24px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-box-player{font-size:12px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-box-card{padding:4px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-box-name{font-size:12px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-prize{font-size:16px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-outcome{font-size:10px}
@media(max-height:730px){#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery{min-height:80px}#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout{gap:6px;padding-block:6px}#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-scores{display:none}}
@media(prefers-reduced-motion:reduce){#r20MiniGame .deal-opened .deal-prize{animation:none;opacity:1;transform:none}}

/* Protect the suspense: reveal each player's result after that box opens.
   Updated standings only appear after the last gift has opened. */
#r20MiniGame .deal-box-card .deal-outcome{opacity:0;animation:dealAfterReveal .35s both;animation-delay:calc(1.25s + var(--reveal-order,0)*1.15s)}
#r20MiniGame .deal-standings{opacity:0;animation:dealAfterReveal .45s both;animation-delay:5.25s}
#r20MiniGame .deal-phone-result{display:inline-block;opacity:0;animation:dealAfterReveal .35s both;animation-delay:5.1s}
@keyframes dealAfterReveal{to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame .deal-box-card .deal-outcome,#r20MiniGame .deal-standings,#r20MiniGame .deal-phone-result{animation:none;opacity:1}
}


/* A short, readable explanation stays on-screen while choices are secret. */
#r20MiniGame[data-game="deal_steal"] .deal-swap-rules{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(3px,.45vh,6px) clamp(8px,1vw,14px);
 width:min(100%,910px);margin:clamp(4px,.5vh,7px) auto 0;
 padding:clamp(7px,.8vh,11px) 13px;
 text-align:left;color:#e9f6ff;background:#102943d9;
 border:1px solid #83b9d9;border-radius:12px;
}
#r20MiniGame[data-game="deal_steal"] .deal-swap-rules-title{
 grid-column:1/-1;color:#ffe3a3;font-weight:950;
 font-size:clamp(12px,1.85vh,17px);
}
#r20MiniGame[data-game="deal_steal"] .deal-swap-rules span{
 font-size:clamp(11px,1.5vh,15px);line-height:1.25;
}
#r20MiniGame[data-game="deal_steal"] .deal-swap-report{
 width:min(100%,910px);margin:clamp(4px,.5vh,7px) auto;
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:3px 12px;padding:7px 12px;
 border:1px solid #e2bf83;border-radius:12px;
 color:#e9f6ff;background:#172b47e8;
}
#r20MiniGame[data-game="deal_steal"] .deal-swap-report-title{
 grid-column:1/-1;color:#ffe3a3;
 font-size:clamp(12px,1.7vh,17px);
}
#r20MiniGame[data-game="deal_steal"] .deal-swap-report-line{
 font-size:clamp(11px,1.5vh,15px);line-height:1.2;overflow-wrap:anywhere;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-swap-rules{
 grid-template-columns:1fr;padding:6px 8px;margin:3px auto;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-swap-rules span{
 font-size:11px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-swap-report{
 grid-template-columns:1fr;padding:6px 8px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-swap-report-line{font-size:11px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-phone-guide{
 font-size:12px;line-height:1.25;margin:3px auto 6px;
}
@media(max-height:700px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules,
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-report{
  padding:4px 8px;gap:2px 8px;
 }
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules span,
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-report-line{
  font-size:11px;line-height:1.15;
 }
}


/* Fullscreen lock-in: progress and rules stay inside the viewport. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-subtitle{display:none}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-timer{
 font-size:clamp(17px,2.7vmin,24px);font-weight:900;padding:5px 16px
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-layout{
 gap:clamp(3px,.7dvh,9px);padding-bottom:clamp(13px,2dvh,24px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-center{
 min-height:0;align-items:flex-start;justify-content:center
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-stage-main{
 width:min(960px,100%);padding:clamp(5px,.9dvh,11px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-step{
 margin:0 auto 4px;font-size:clamp(14px,2.1dvh,21px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid{gap:clamp(4px,1dvh,10px)}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-card{
 gap:3px;padding:clamp(4px,.75dvh,8px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-mystery{
 min-height:clamp(75px,13dvh,133px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-progress{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:clamp(7px,1vw,16px);width:min(100%,860px);
 margin:clamp(3px,.6dvh,7px) auto;padding:clamp(5px,.65dvh,8px) 10px;
 border:1px solid #69bea7;border-radius:11px;background:#163a43;
 color:#c4ffea;font-weight:900
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-progress-label{
 font-size:clamp(14px,2dvh,19px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-markers{display:flex;gap:7px}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-marker{
 display:grid;place-items:center;width:clamp(21px,2.7dvh,27px);height:clamp(21px,2.7dvh,27px);
 border:1px solid #7396a8;border-radius:50%;background:#23374c;color:#b5cedd;font-size:16px
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-marker.is-locked{
 background:#286454;border-color:#99f2c8;color:#d9ffee
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
 width:min(100%,890px);gap:4px 12px;margin:4px auto 0;
 padding:clamp(5px,.6dvh,8px) 12px;text-align:center
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact .deal-swap-rules-title{
 font-size:clamp(12px,1.6dvh,16px)
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact span{
 font-size:clamp(11px,1.6dvh,15px);line-height:1.3
}
@media(max-height:720px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-mystery{min-height:66px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-lid{font-size:26px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact{padding:4px 8px}
}

/* Ten-player Party Deal or Steal: all boxes visible on TV in a compact grid.
   The standard 2–4 player reveal stays unchanged. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:5px!important;max-width:1340px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-stage-main:has(.deal-box-grid-party){
 width:min(100%,1430px)!important;padding:5px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-box-card{
 gap:2px!important;padding:4px!important;border-radius:10px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-box-player{
 font-size:clamp(11px,1.35vw,15px)!important;gap:3px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-portrait{
 width:24px!important;height:24px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-mystery{
 min-height:clamp(60px,10dvh,93px)!important;border-radius:9px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-lid{
 font-size:clamp(22px,3dvh,33px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-box-name{
 font-size:clamp(10px,1.15vw,13px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-prize{
 font-size:clamp(16px,2.3dvh,26px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-outcome{
 font-size:clamp(9px,.95vw,12px)!important;line-height:1.08!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-box-grid-party .deal-opened .deal-prize{
 animation-delay:calc(.35s + var(--reveal-order,0)*.40s)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-box-grid-party .deal-box-card .deal-outcome{
 animation-delay:calc(.85s + var(--reveal-order,0)*.40s)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-standings-party{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:2px!important;max-width:1300px!important;margin-top:5px!important;
 animation-delay:5.2s!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-standings-party .deal-standings-entry{
 font-size:clamp(10px,1.2vw,14px)!important;gap:3px!important;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-steal-target-picker{
 width:100%;min-height:49px;font:800 clamp(15px,4vw,19px) system-ui;
 color:#fff;background:#25456d;border:2px solid #92c5e8;
 border-radius:11px;padding:7px 10px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-phone-actions{
 gap:7px!important;
}
@media(max-width:1100px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-standings-party{animation:none!important;opacity:1!important}
}

/* Deal or Steal: game-show ready guide, no wall of instructions or repeated ready list. */
#r20MiniGame[data-game="deal_steal"] .deal-ready-screen{
 display:flex;flex-direction:column;align-items:center;
 gap:clamp(7px,1dvh,12px)!important;
 width:min(100%,1150px)!important;
 margin:0 auto!important;
 padding:clamp(8px,1.4dvh,16px)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-tagline{
 color:#fff3cb;font-weight:900;
 font-size:clamp(17px,2.5dvh,29px);
 text-align:center;line-height:1.16;margin:0;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:clamp(6px,.9vw,12px);width:100%;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-width:0;gap:3px;padding:clamp(8px,1.1dvh,14px);
 border:2px solid #ffffff6b;border-radius:15px;
 color:white;text-align:center;
 box-shadow:inset 0 2px #ffffff2d,0 4px 0 #09182f8c;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action.keep{background:linear-gradient(140deg,#13856a,#075443)}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action.steal{background:linear-gradient(140deg,#a04f85,#643051)}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action.shield{background:linear-gradient(140deg,#816bc0,#51427f)}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action-icon{font-size:clamp(24px,3.7dvh,41px)}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action strong{font-size:clamp(16px,2.2dvh,23px);letter-spacing:.05em}
#r20MiniGame[data-game="deal_steal"] .deal-ready-action span:last-child{font-size:clamp(12px,1.65dvh,17px);line-height:1.25}
#r20MiniGame[data-game="deal_steal"] .deal-ready-prizes{
 width:100%;padding:clamp(8px,1dvh,13px);border:1px solid #83b9d8;
 border-radius:13px;background:linear-gradient(110deg,#203b5e,#1a3250);
 display:flex;flex-direction:column;align-items:center;gap:7px;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-prize-title{color:#ffe3a1;font-size:clamp(15px,2dvh,21px)}
#r20MiniGame[data-game="deal_steal"] .deal-ready-prize-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-value{
 background:#186b58;border-radius:8px;padding:6px;text-align:center;
 color:#eafff1;font-size:clamp(19px,2.7dvh,29px);font-weight:950;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-value.loss{background:#813e5a;color:#ffe5e7}
#r20MiniGame[data-game="deal_steal"] .deal-ready-clarifier{
 font-size:clamp(12px,1.6dvh,16px);line-height:1.3;
 color:#dbecff;text-align:center;max-width:950px;margin:0;
}
#r20MiniGame[data-game="deal_steal"] .deal-ready-progress{
 width:min(100%,850px)!important;margin:3px auto 0!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="ready"] .r20-mg-scores{display:none!important}
/* Three independent stages. Swaps are reported with prizes not yet visible. */
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage,
#r20MiniGame[data-game="deal_steal"] .deal-party-leaderboard{
 width:min(100%,1080px);margin:0 auto;
 padding:clamp(12px,2dvh,25px);
 border:2px solid #9ecce5;border-radius:18px;
 background:linear-gradient(145deg,#253f62,#182d4b);
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-heading,
#r20MiniGame[data-game="deal_steal"] .deal-party-leaderboard-title{
 font-size:clamp(20px,3.3dvh,34px);font-weight:950;
 color:#ffe4a6;text-align:center;margin:0 0 12px;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-list{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(7px,1.1dvh,12px);
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item{
 padding:clamp(11px,1.75dvh,18px);
 background:linear-gradient(130deg,#1b5260,#1a3d57);
 color:white;border:2px solid #70d5ba;border-radius:13px;
 font-size:clamp(15px,2.15dvh,22px);font-weight:850;line-height:1.22;
 opacity:0;animation:dealPartySwapArrive .5s ease-out both;
 animation-delay:calc(var(--deal-swap-order,0)*.28s);
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item.blocked{background:#5b354d;border-color:#f4a4a0}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item.shield{background:#3d437e;border-color:#cfb8ff}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-next,
#r20MiniGame[data-game="deal_steal"] .deal-party-next,
#r20MiniGame[data-game="deal_steal"] .deal-party-stage-note{
 color:#bdf5de;font-size:clamp(13px,2dvh,20px);
 font-weight:850;text-align:center;margin:9px auto 0;
}
@keyframes dealPartySwapArrive{
 from{opacity:0;transform:translateY(10px) scale(.96)}
 to{opacity:1;transform:translateY(0) scale(1)}
}
/* Reveal boxes in pairs, not one at a time: 10 players fit a short show. */
#r20MiniGame[data-game="deal_steal"] .deal-party-box-reveal{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 width:min(100%,1360px)!important;max-width:1360px!important;gap:6px!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card{
 min-width:0;padding:5px!important;gap:2px!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-mystery{
 min-height:clamp(70px,11dvh,110px)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{
 opacity:0;transform:translateY(12px) scale(.82);
 animation:dealReveal .4s cubic-bezier(.2,1.5,.3,1) both!important;
 animation-delay:calc(.5s + var(--deal-pair,0)*.95s)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-portrait{width:25px!important;height:25px!important}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-box-player{font-size:clamp(11px,1.35vw,16px)!important}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-lid{font-size:clamp(24px,4dvh,42px)!important}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{font-size:clamp(17px,3dvh,30px)!important}
/* Compact two-column running rankings: no giant duplicated table. */
#r20MiniGame[data-game="deal_steal"] .deal-party-leaderboard-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank-card{
 display:grid;grid-template-columns:27px minmax(0,1fr) auto;
 grid-template-rows:auto auto;gap:2px 6px;
 align-items:center;padding:8px 10px;
 border-radius:10px;background:#29476c;border:1px solid #7799c0;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank-card.leader{border-color:#ebc87e}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank-card.is-you{background:#345777}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank{grid-row:1/3;color:#ffe3a1;font-weight:950;font-size:clamp(14px,2dvh,19px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-name{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(12px,1.9dvh,18px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-total{grid-column:3;grid-row:1/3;white-space:nowrap;color:#bcffe0;font-size:clamp(15px,2.2dvh,22px);font-weight:950}
#r20MiniGame[data-game="deal_steal"] .deal-party-gain{grid-column:2;grid-row:2;color:#c8dcf4;font-size:clamp(10px,1.35dvh,14px)}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-swap-list,
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-leaderboard-grid{
 grid-template-columns:1fr;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-box-reveal{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-ready-action-grid{gap:4px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-ready-action{padding:6px 4px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-ready-action span:last-child{font-size:11px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-ready-clarifier{font-size:12px}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-party-swap-item,
 #r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{animation:none!important;opacity:1!important;transform:none!important}
}

/* Reveal every secret decision, not only successful steals. */
#r20MiniGame[data-game="deal_steal"] .deal-party-choices-intro{
 margin:0 0 9px;color:#e7f4ff;font-size:clamp(12px,1.8dvh,17px);font-weight:700;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item.deal-choice-reveal{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:3px 8px;text-align:left;padding:clamp(7px,1.1dvh,12px);
 font-size:clamp(12px,1.6dvh,17px);min-width:0;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal-name{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal-decision{
 color:#fff0b6;text-align:right;white-space:nowrap;font-weight:950;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal-result{
 grid-column:1/-1;color:#d9f2ff;font-size:clamp(11px,1.35dvh,14px);font-weight:700;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.steal{background:#4b416e;border-color:#bca4f0}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.quiet{background:#254e58;border-color:#75b8b6}
@media(max-height:700px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-stage{padding:8px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-list{gap:5px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-heading{margin-bottom:5px!important}
}


/* Consistent secret choice reveal in Party, Practice, Championship and board games. */
#r20MiniGame[data-game="deal_steal"] .deal-choice-identity{display:flex;align-items:center;gap:7px;min-width:0}
#r20MiniGame[data-game="deal_steal"] .deal-choice-identity .deal-portrait{width:clamp(22px,3.5dvh,32px);height:clamp(22px,3.5dvh,32px);object-fit:cover;flex:none;border-radius:50%}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item.deal-choice-reveal{
 animation-delay:calc(var(--deal-swap-order,0)*.16s - var(--deal-elapsed,0s));
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal .deal-choice-reveal-result{
 opacity:0;animation:dealPartySwapArrive .34s ease-out both;
 animation-delay:calc(1.1s + var(--deal-swap-order,0)*.16s - var(--deal-elapsed,0s));
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.success{background:#155b58;border-color:#6af4b6;box-shadow:0 0 12px #52efaa55}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.blocked{background:#65364d;border-color:#ff9e9e}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large{width:min(100%,1260px);padding:clamp(8px,1.2dvh,14px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-party-swap-heading{font-size:clamp(18px,2.6dvh,28px);margin-bottom:5px}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-party-swap-list{gap:clamp(4px,.65dvh,8px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-party-swap-item{padding:clamp(5px,.8dvh,9px);font-size:clamp(11px,1.6dvh,15px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-choice-reveal-result{font-size:clamp(10px,1.3dvh,12px)}
#r20MiniGame[data-game="deal_steal"] .deal-party-box-reveal.deal-box-grid-small-reveal{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:850px!important}
#r20MiniGame[data-game="deal_steal"] .deal-party-box-reveal.deal-box-grid-medium-reveal{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1020px!important}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{
 animation-delay:calc(.5s + var(--deal-pair,0)*.75s - var(--deal-elapsed,0s))!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-stage-main:has(.deal-party-swap-stage),
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-stage-main:has(.deal-party-leaderboard){width:min(100%,1350px);padding:clamp(7px,1dvh,14px)}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:has(.deal-party-swap-stage) .r20-mg-layout,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:has(.deal-party-leaderboard) .r20-mg-layout{gap:clamp(4px,.7dvh,9px);padding:clamp(7px,1dvh,14px)}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-standings-large .deal-party-leaderboard-grid{gap:4px}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-standings-large .deal-party-rank-card{padding:5px 8px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-swap-stage,
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-leaderboard{padding:9px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-box-reveal{grid-template-columns:1fr!important;max-width:350px!important}
@media(max-height:700px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-party-choices-intro{margin-bottom:4px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-stage.deal-swap-large .deal-party-swap-next{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-choice-reveal .deal-choice-reveal-result{animation:none;opacity:1}
}


/* Reveal/show polish: distinct choices, box-opening, and standings screens. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:is([data-stage="swap_reveal"],[data-stage="reveal"],[data-stage="round_standings"]) .r20-mg-layout{
 width:min(1450px,98%);gap:clamp(5px,.8dvh,11px);
 padding:clamp(8px,1.2dvh,15px) 8px clamp(8px,1.2dvh,15px);
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:is([data-stage="swap_reveal"],[data-stage="reveal"],[data-stage="round_standings"]) .r20-mg-center{
 min-height:0;align-items:center;justify-content:center;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]:is([data-stage="swap_reveal"],[data-stage="reveal"],[data-stage="round_standings"]) .r20-mg-stage-main{
 width:min(100%,1370px);min-width:0;padding:clamp(7px,1.15dvh,13px);
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-stage{
 width:min(100%,1200px);border-color:#9bdcda;
 box-shadow:0 14px 32px #081b3c70,inset 0 1px #ffffff30;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-swap-item.deal-choice-reveal{
 border-width:2px;box-shadow:inset 0 1px #ffffff28;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.shield-success{
 background:linear-gradient(140deg,#314b85,#2c6282);border-color:#acf9e8;
 box-shadow:0 0 15px #6af5da45;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-box-reveal{
 align-items:stretch;gap:clamp(7px,1dvh,13px)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card{
 border:2px solid #8dbde089!important;border-radius:17px!important;
 background:linear-gradient(140deg,#183857,#172e4f)!important;
 padding:clamp(6px,.9dvh,11px)!important;
 box-shadow:0 9px 22px #030c2780,inset 0 1px #ffffff24;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-mystery{
 min-height:clamp(94px,14dvh,152px)!important;border-radius:13px!important;
 box-shadow:inset 0 3px #ffffff58,0 6px 0 #091c38b3;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{
 color:#f4ffe6!important;background:linear-gradient(130deg,#18896e,#116759,#0c514c)!important;
 text-shadow:0 3px 8px #062f2f88!important;
 font-size:clamp(21px,3.2dvh,38px)!important;letter-spacing:.015em;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card .deal-prize.bad{
 color:#fff2eb!important;
 background:linear-gradient(130deg,#b83e6a,#8b2d5d,#682f57)!important;
}
#r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card:has(.deal-prize){
 animation:dealCardRise .55s ease-out both;
 animation-delay:calc(var(--deal-pair,0)*.13s - var(--deal-elapsed,0s));
}
@keyframes dealCardRise{from{opacity:.75;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#r20MiniGame[data-game="deal_steal"] .deal-party-leaderboard{box-shadow:0 14px 32px #081b3c70}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank-card{
 min-width:0;background:linear-gradient(135deg,#2a5273,#263c62);
}
#r20MiniGame[data-game="deal_steal"] .deal-party-rank-card.leader{border:2px solid #ffd78c}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-party-reveal-card .deal-mystery{
 min-height:clamp(64px,10dvh,100px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid-party .deal-party-reveal-card .deal-prize{
 font-size:clamp(16px,2.6dvh,28px)!important;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-party-reveal-card .deal-mystery{
 min-height:110px!important;
}
@media(max-height:710px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-reveal-card .deal-mystery{
  min-height:clamp(66px,11dvh,96px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{
  font-size:clamp(17px,2.8dvh,26px)!important;
 }
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-stage{padding:9px}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-party-reveal-card:has(.deal-prize){animation:none!important}
}


/* One readable standings table between rounds; never on the prize reveal. */
#r20MiniGame[data-game="deal_steal"] .deal-round-table{
 width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 4px;
 font-size:clamp(13px,2dvh,19px);color:#f4fbff;text-align:left;font-variant-numeric:tabular-nums;
}
#r20MiniGame[data-game="deal_steal"] .deal-round-table th{
 padding:5px 10px;color:#b8e9ef;text-transform:uppercase;
 font-weight:950;font-size:clamp(10px,1.5dvh,15px);
}
#r20MiniGame[data-game="deal_steal"] .deal-round-table th:nth-child(1){width:12%}
#r20MiniGame[data-game="deal_steal"] .deal-round-table th:nth-child(2){width:44%}
#r20MiniGame[data-game="deal_steal"] .deal-round-table th:nth-child(3){width:22%}
#r20MiniGame[data-game="deal_steal"] .deal-round-table th:nth-child(4){width:22%}
#r20MiniGame[data-game="deal_steal"] .deal-round-table td{
 padding:clamp(5px,.75dvh,10px) 10px;background:#294765;
 vertical-align:middle;line-height:1.2;
}
#r20MiniGame[data-game="deal_steal"] .deal-round-table tr:nth-child(even) td{background:#203956}
#r20MiniGame[data-game="deal_steal"] .deal-round-table tr.is-leader td{
 background:#39526b;border-top:1px solid #ebc67d;border-bottom:1px solid #ebc67d;
}
#r20MiniGame[data-game="deal_steal"] .deal-round-table td:first-child{border-radius:9px 0 0 9px;color:#ffe3aa;font-weight:950}
#r20MiniGame[data-game="deal_steal"] .deal-round-table td:last-child{border-radius:0 9px 9px 0}
#r20MiniGame[data-game="deal_steal"] .deal-round-identity{display:flex;align-items:center;gap:8px;min-width:0}
#r20MiniGame[data-game="deal_steal"] .deal-round-identity .deal-portrait{
 flex:none;width:clamp(22px,3.4dvh,33px);height:clamp(22px,3.4dvh,33px);object-fit:contain;border-radius:8px;
}
#r20MiniGame[data-game="deal_steal"] .deal-round-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#r20MiniGame[data-game="deal_steal"] .deal-round-gain{font-weight:950;white-space:nowrap}
#r20MiniGame[data-game="deal_steal"] .deal-round-gain.positive{color:#b9ffdf}
#r20MiniGame[data-game="deal_steal"] .deal-round-gain.negative{color:#ffc1c9}
#r20MiniGame[data-game="deal_steal"] .deal-round-total{font-weight:1000;color:#ffe2a2;white-space:nowrap}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-round-table{font-size:clamp(11px,3vw,14px)}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-round-table th{font-size:9px;padding:5px 2px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-round-table td{padding:6px 3px}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-round-identity .deal-portrait{display:none}
@media(max-height:650px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-round-table{font-size:clamp(11px,1.65dvh,15px);border-spacing:0 2px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-round-table td{padding:3px 8px}
}


/* Clearly differentiate a player's choice from the outcome of another steal. */
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.victim{
 background:linear-gradient(135deg,#63344d,#483756);
 border-color:#ffb9b7;
 box-shadow:inset 0 1px #ffffff20,0 0 11px #ff888833;
}
#r20MiniGame[data-game="deal_steal"] .deal-choice-reveal.victim .deal-choice-reveal-result{
 color:#ffe0db;font-weight:950;
}

/* Deal or Steal premium game-show visual language: TV only. Never change phone controls. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"]{
 --deal-gold:#ffe09a;--deal-edge:#ffd16a;--deal-night:#061b47;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout{
 border:clamp(2px,.38vmin,5px) solid #ffd37c;
 border-radius:clamp(17px,2.5vmin,33px);
 background:radial-gradient(ellipse at 50% 8%,#2984ef55,transparent 48%),linear-gradient(145deg,#10347748,#06194b43);
 box-shadow:inset 0 0 0 2px #fff4cb66,inset 0 0 65px #02173980,0 0 30px #ffbc6140;
 padding:clamp(5px,1.2dvh,16px)!important;
 gap:clamp(4px,.8dvh,10px)!important;
 min-height:0;max-height:100dvh;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-title{
 color:#ffe4a2!important;font-weight:1000;letter-spacing:.035em;
 text-shadow:0 2px 0 #a96825,0 5px 1px #62370d,0 9px 12px #051631,0 0 18px #ffcc6d55;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-eyebrow{
 color:#cce8ff!important;letter-spacing:.15em;font-weight:1000;
 text-shadow:0 2px 8px #06183b;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-timer{
 background:linear-gradient(170deg,#133663,#091c43)!important;
 border:2px solid #ffcd70!important;border-radius:999px!important;
 color:#ffe5a3!important;box-shadow:inset 0 1px #ffffff8a,0 3px 0 #a16525,0 6px 16px #0007!important;
 font-weight:1000!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-screen-focus{color:#e4f4ff!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-stage-main{
 border-color:#ffd17b99!important;
 background:linear-gradient(170deg,#14356ab0,#061b46b0)!important;
 box-shadow:inset 0 1px #ffffff44,0 10px 24px #0316347b!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-step,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-tagline{
 color:#ffe3a0!important;font-weight:1000!important;
 text-shadow:0 3px 9px #07152e,0 0 12px #ffc45d45;
 letter-spacing:.07em;
}
/* Ready: jewel-coloured lacquered cards with elegant gold edges. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="ready"] .r20-mg-stage-main{
 width:min(100%,1290px)!important;
 background:linear-gradient(160deg,#0b2453bb,#0a275e9c)!important;
 padding:clamp(7px,1.2dvh,15px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-screen{
 width:min(100%,1240px)!important;gap:clamp(5px,.9dvh,11px)!important;
 padding:clamp(5px,.65dvh,10px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action{
 border:2px solid #ffd77e!important;border-radius:clamp(12px,1.4vmin,22px)!important;
 box-shadow:inset 0 3px 0 #ffffff73,inset 0 -10px 22px #07152d65,0 4px 0 #8f581e,0 8px 17px #0008,0 0 11px #ffd06b40!important;
 background-image:linear-gradient(165deg,#ffffff38,transparent 38%,#0005)!important;
 gap:clamp(2px,.4dvh,5px)!important;
 padding:clamp(7px,1.15dvh,14px)!important;min-height:clamp(96px,15dvh,140px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action.keep{background-color:#056b50!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action.steal{background-color:#943265!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action.shield{background-color:#5d459c!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action strong{
 color:#ffe3a4!important;text-shadow:0 2px 0 #603d1e,0 4px 8px #0007!important;
 font-size:clamp(21px,3.2dvh,37px)!important;letter-spacing:.04em;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action-icon{
 filter:drop-shadow(0 3px 5px #030d2488);font-size:clamp(27px,4.2dvh,50px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action span:last-child{color:white!important;font-weight:800!important;text-shadow:0 2px 4px #02102f}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-prizes,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-progress{
 border:2px solid #ffd37e!important;border-radius:clamp(13px,1.6vmin,24px)!important;
 background:linear-gradient(155deg,#10346a,#071d4b 80%)!important;
 box-shadow:inset 0 2px #ffffff49,0 5px 0 #865224,0 8px 20px #0007!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-prize-title,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .readyProgressLabel{
 color:#ffe7a6!important;font-weight:1000!important;letter-spacing:.12em!important;
 text-shadow:0 2px 6px #051835;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-value{
 color:#f6fffa!important;background:linear-gradient(165deg,#13976b,#006441)!important;
 border:2px solid #ffdd88!important;border-radius:999px!important;
 text-shadow:0 3px 4px #041e1c;box-shadow:inset 0 3px #ffffff57,0 4px 0 #173d3a,0 7px 13px #0007;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-value.loss{background:linear-gradient(165deg,#d34b70,#8d204c)!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .readyProgressTrack{
 background:#091e49!important;border:2px solid #e9d49a!important;border-radius:999px!important;overflow:hidden;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .readyProgressFill{
 background:linear-gradient(90deg,#14b88e,#70ffe0,#b4ffd6)!important;box-shadow:0 0 13px #55ffbd!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .readyPlayerIcons span{
 border:1px solid #e6d7a0;border-radius:999px;background:#0b2a57;padding:2px 8px;
}
/* Playing: framed mystery gifts, 2x2 or compact 5x2 according to player count. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-stage-main{
 width:min(100%,1450px)!important;padding:clamp(5px,1dvh,12px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid{
 width:100%!important;max-width:1300px!important;
 gap:clamp(7px,1.3dvh,14px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-card{
 border:2px solid #ffd27d!important;border-radius:clamp(13px,1.5vmin,21px)!important;
 background:linear-gradient(160deg,#123566,#081d47)!important;
 box-shadow:inset 0 2px #ffffff57,0 4px 0 #89572c,0 9px 20px #0008,0 0 12px #ffd27a33!important;
 padding:clamp(5px,.8dvh,10px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-player{
 color:#f9fbff!important;font-weight:1000!important;
 text-shadow:0 2px 6px #00183a;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-player .deal-portrait{
 border:2px solid #ffe2a1;border-radius:9px;box-shadow:0 3px 6px #0008;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery{
 border:2px solid #ffdd9b!important;border-radius:clamp(10px,1.2vmin,17px)!important;
 background-image:radial-gradient(ellipse at 48% 25%,#ffffff51,transparent 48%),repeating-conic-gradient(from 8deg at 50% 45%,#ffffff0e 0deg 10deg,transparent 12deg 26deg),linear-gradient(150deg,#ffffff2b,transparent 38%,#0005)!important;
 box-shadow:inset 0 3px 0 #ffffff9c,inset 0 -7px 14px #06173455,0 5px 0 #091a40,0 9px 17px #0006!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery.ruby{background-color:#bd2355!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery.ocean{background-color:#0676cb!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery.emerald{background-color:#048a72!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-mystery.royal{background-color:#873dd1!important}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-lid{
 filter:drop-shadow(0 5px 6px #0b163e88) drop-shadow(0 0 12px #fff3b55c);
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-name{
 color:#ffe6ae!important;font-weight:1000!important;
 text-shadow:0 2px #744a25,0 4px 7px #06132f!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-question{color:#fff8d6!important;filter:drop-shadow(0 2px 4px #06122d)}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-locked{color:#e3efff!important;font-weight:850}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-progress,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact{
 width:min(100%,1300px)!important;border:2px solid #ffdb88!important;
 border-radius:999px!important;background:linear-gradient(170deg,#12376c,#061d49)!important;
 box-shadow:inset 0 2px #ffffff46,0 4px 0 #946025,0 7px 14px #0007!important;
 color:#ffe7af!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-marker.is-locked{
 background:linear-gradient(140deg,#008b56,#086744)!important;border:2px solid #d5ffbf!important;
 color:white!important;box-shadow:0 0 11px #55eb9a70!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-marker:not(.is-locked){
 border:2px solid #a1bee3!important;background:#152c55!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-title{color:#ffe3a0!important;font-weight:1000}
/* The same finish extends to swap announcements, prize openings and standings. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-stage,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-leaderboard{
 border:2px solid #ffd17d!important;border-radius:20px!important;
 background:linear-gradient(150deg,#123a70,#071d48)!important;
 box-shadow:inset 0 2px #ffffff5c,0 8px 0 #74491d,0 15px 29px #0008!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-item{
 box-shadow:inset 0 2px #ffffff45,0 3px 0 #4c5277,0 5px 12px #0006!important;
 border-color:#f2d08b!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-round-table tr.is-leader td{
 background:linear-gradient(135deg,#315b7c,#32436b)!important;border-color:#ffe09f!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-reveal-card .deal-prize{
 border:2px solid #ffdf98;border-radius:11px;box-shadow:inset 0 2px #ffffff65,0 4px 10px #0007;
}
@media(max-height:760px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout{gap:4px!important;padding:5px 9px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action{min-height:80px!important;padding:5px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action-icon{font-size:27px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-ready-action strong{font-size:21px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-box-grid{gap:6px!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-mystery{min-height:clamp(55px,11dvh,95px)!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-progress,
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-swap-rules-compact{padding:3px 8px!important;margin:2px auto!important}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-lid{animation:none!important}
}
/* Matching Deal or Steal mode preview, only while this game is selected. */
#cccLobbyModePreview[data-game="deal_steal"]{
 border:clamp(3px,.45vmin,6px) solid #ffdc88!important;
 border-radius:clamp(19px,2.7vmin,36px)!important;
 background:radial-gradient(ellipse at 50% 18%,#2278d865,transparent 47%),
 repeating-conic-gradient(from -10deg at 50% 29%,#82c7ff16 0deg 9deg,transparent 12deg 23deg),
 linear-gradient(145deg,#082357,#104d9c 55%,#071c4b)!important;
 box-shadow:inset 0 0 0 2px #fff5c9a3,inset 0 0 70px #03153f8c,0 0 30px #ffcd7870!important;
}
#cccLobbyModePreview[data-game="deal_steal"] .ccc-lobby-preview-icon{
 font-size:clamp(95px,17vmin,220px)!important;
 filter:drop-shadow(0 10px 6px #061c4a) drop-shadow(0 0 22px #ffe6a8a6);
 animation:dealPreviewGift 3.8s ease-in-out infinite;
}
#cccLobbyModePreview[data-game="deal_steal"] .ccc-lobby-preview-label,
#cccLobbyModePreview[data-game="deal_steal"] .ccc-party-preview-steps{
 border:2px solid #ffdd8b!important;border-radius:999px!important;
 background:linear-gradient(160deg,#0d326b,#061e49)!important;
 box-shadow:inset 0 2px #ffffff75,0 4px 0 #9d6123,0 9px 17px #0006!important;
 color:#ffe5a7!important;letter-spacing:.12em!important;
}
#cccLobbyModePreview[data-game="deal_steal"] h2{
 color:#ffe3a1!important;font-weight:1000!important;
 font-size:clamp(42px,6.7vmin,100px)!important;
 letter-spacing:.02em;text-shadow:0 3px 0 #a56726,0 7px 0 #5f371b,0 12px 15px #061b4b,0 0 19px #ffd17966!important;
}
#cccLobbyModePreview[data-game="deal_steal"] p{
 color:#f7f9ff!important;max-width:1100px!important;font-weight:700!important;
 font-size:clamp(19px,2.65vmin,37px)!important;text-align:center;
}
#cccLobbyModePreview[data-game="deal_steal"] small{color:#d4e6ff!important}
@keyframes dealPreviewGift{50%{transform:translateY(-7px) scale(1.045)}}
@media(prefers-reduced-motion:reduce){#cccLobbyModePreview[data-game="deal_steal"] .ccc-lobby-preview-icon{animation:none}}

/* Gameplay upgrade: twist announcement, steal spotlight and final gamble. */
#r20MiniGame[data-game="deal_steal"] .deal-active-twist{
 width:min(100%,1090px);margin:2px auto 8px;padding:clamp(7px,1.1dvh,15px) 15px;
 border:2px solid #ffe49b;border-radius:16px;
 background:linear-gradient(130deg,#925027,#9b2664,#243d8e);
 color:#fff6c9;text-align:center;font-size:clamp(16px,2.7dvh,31px);
 font-weight:1000;letter-spacing:.018em;
 box-shadow:inset 0 2px #ffffff80,0 5px 0 #66361a,0 0 23px #ffa65780;
 animation:dealTwistEntrance .62s cubic-bezier(.16,.9,.3,1.3) both;
}
@keyframes dealTwistEntrance{from{opacity:0;transform:translateY(-25px) scale(.91)}to{opacity:1;transform:none}}
#r20MiniGame[data-game="deal_steal"] .deal-steal-spotlight{
 display:grid;gap:4px;justify-items:center;margin:4px auto 8px;padding:8px 15px;
 border:2px solid #ffdb83;border-radius:15px;
 background:linear-gradient(130deg,#153d7b,#2f306f);
 color:#ffedaf;text-align:center;font-size:clamp(13px,2dvh,22px);
 box-shadow:0 0 17px #ffcb7262,inset 0 2px #ffffff50;
}
#r20MiniGame[data-game="deal_steal"] .deal-steal-spotlight span{color:#e9f3ff;font-size:.72em}
#r20MiniGame[data-game="deal_steal"] .deal-grand-finale{
 width:min(100%,1350px);margin:0 auto;padding:clamp(8px,1.4dvh,23px);
 border:3px solid #ffe09b;border-radius:24px;
 background:radial-gradient(ellipse at top,#3157aa,#101d50 85%);
 box-shadow:inset 0 3px #fff2c97f,0 8px 0 #885321,0 13px 36px #0009;
 display:grid;justify-items:center;gap:clamp(7px,1.4dvh,20px);
 color:#f7faff;
}
#r20MiniGame[data-game="deal_steal"] .deal-finale-eyebrow{
 color:#ffe2a2;font-size:clamp(15px,2.5dvh,25px);font-weight:1000;letter-spacing:.13em;text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-finale-title{
 color:#ffde89;font-size:clamp(28px,5.4dvh,59px);font-weight:1000;
 text-shadow:0 3px #90541b,0 5px 9px #0008;margin:0;text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-finale-explainer{
 font-size:clamp(15px,2.2dvh,23px);line-height:1.35;text-align:center;max-width:1080px;margin:0;
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-count{
 padding:7px 18px;background:#092852;border:1px solid #ffe298;border-radius:999px;
 color:#c8ffe7;font-weight:1000;font-size:clamp(16px,2.5dvh,27px);text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-choices-preview{
 width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.8vw,20px);
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-bank-card,
#r20MiniGame[data-game="deal_steal"] .deal-gamble-risk-card{
 border:2px solid #ffdc8c;border-radius:18px;padding:clamp(17px,3dvh,36px) 10px;
 text-align:center;color:#fffce4;font-size:clamp(18px,3.3dvh,36px);font-weight:1000;
 box-shadow:inset 0 3px #ffffff60,0 6px 0 #07163d,0 0 18px #ffbe6744;
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-bank-card{background:linear-gradient(155deg,#11765a,#075042)}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-risk-card{background:linear-gradient(155deg,#a84c32,#6d2460)}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-results-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,1dvh,13px);width:100%;
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-results-grid.deal-gamble-many{
 grid-template-columns:repeat(5,minmax(0,1fr));
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result{
 display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;
 min-width:0;min-height:clamp(95px,17dvh,185px);padding:clamp(6px,.9dvh,12px);
 border:2px solid #ffe4a0;border-radius:15px;background:linear-gradient(155deg,#115846,#13365c);
 box-shadow:inset 0 3px #ffffff4a,0 5px 0 #08182f,0 8px 14px #0007;
 text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result.won{background:linear-gradient(145deg,#258b5a,#155779);box-shadow:inset 0 2px #ffffff88,0 0 22px #74ffc86b}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result.lost{background:linear-gradient(145deg,#96354e,#571d55)}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result-name{color:white;font-size:clamp(12px,2dvh,21px);overflow-wrap:anywhere}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result-icon{font-size:clamp(24px,5dvh,50px)}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result-label{color:#ffe7a5;font-weight:1000;font-size:clamp(12px,1.8dvh,20px)}
#r20MiniGame[data-game="deal_steal"] .deal-gamble-result-points{color:#eaffd6;font-size:clamp(12px,2dvh,22px)}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-results-grid{grid-template-columns:1fr!important}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-choices-preview{grid-template-columns:1fr}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-actions{display:grid;gap:11px;width:100%}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-your-prize{
 text-align:center;color:#ffe4a4;font-weight:1000;font-size:22px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-button{
 min-height:75px;border:2px solid #ffdf94;border-radius:16px;
 color:#fff;font-size:clamp(18px,5vw,25px);font-weight:1000;
 background:linear-gradient(145deg,#137b5d,#075740);box-shadow:inset 0 2px #fff7,0 5px 0 #183e31;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-button.gamble{background:linear-gradient(145deg,#b05236,#8c2764)}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-locked{
 display:block;color:#c3ffe4;text-align:center;font-size:24px;padding:16px;
}
#r20MiniGame[data-game="deal_steal"] .deal-fun-awards{
 display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px auto;
 width:min(100%,1000px);
}
#r20MiniGame[data-game="deal_steal"] .deal-fun-award{
 border:2px solid #ffdf91;border-radius:13px;padding:9px 14px;
 background:linear-gradient(145deg,#213d78,#0c2758);
 color:#fff2c9;font-weight:900;font-size:clamp(13px,1.7vw,20px);
}
@media(max-height:730px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-grand-finale{gap:5px;padding:7px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-gamble-result{min-height:77px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-gamble-result-icon{font-size:24px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-finale-explainer{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-active-twist{animation:none}
}

/* A short individual spotlight for each resolved action; large parties still finish in seven seconds. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-item.deal-choice-reveal{
 animation:dealSpotlightArrival .52s cubic-bezier(.18,.85,.28,1.25) both!important;
 animation-delay:calc(var(--deal-swap-order,0)*.48s - var(--deal-elapsed,0s))!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-reveal .deal-choice-reveal-result{
 animation-delay:calc(.45s + var(--deal-swap-order,0)*.48s - var(--deal-elapsed,0s))!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-reveal.shield-success{
 border:3px solid #b5ffdd!important;
 background:radial-gradient(ellipse at 50% 15%,#4ccca777,#263e83 75%)!important;
 box-shadow:inset 0 2px #ffffff8f,0 0 24px #64ffe68a!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-choice-reveal.shield-success .deal-choice-reveal-decision{
 color:#b3ffe6!important;text-shadow:0 0 9px #56f7c0;
}
@keyframes dealSpotlightArrival{
 0%{opacity:0;transform:translateY(-17px) scale(.92);filter:brightness(1.6)}
 68%{opacity:1;transform:translateY(2px) scale(1.02);filter:brightness(1.15)}
 100%{opacity:1;transform:none;filter:brightness(1)}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-party-swap-item.deal-choice-reveal{
 animation:none!important;opacity:1!important;transform:none!important;
 }
}

/* Final gamble on phones: decisions must be immediately visible without scrolling. */
#r20MiniGame.r20-mg-phone[data-game="deal_steal"][data-stage="gamble_choice"] .r20-mg-layout{
 gap:clamp(5px,1dvh,10px);padding:clamp(7px,1.2dvh,14px);
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"][data-stage="gamble_choice"] .r20-mg-center{
 flex:1 1 auto;min-height:0;justify-content:flex-start;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-grand-finale.deal-gamble-phone-panel{
 width:100%;max-width:100%;padding:clamp(9px,1.5dvh,18px);
 gap:clamp(7px,1.4dvh,14px);box-sizing:border-box;border-width:2px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-gamble-choices-preview,
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-finale-explainer{
 display:none!important;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-finale-title{
 font-size:clamp(23px,6.4vw,34px);line-height:1.12;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-finale-eyebrow{
 font-size:clamp(12px,3.3vw,17px);
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-gamble-count{
 font-size:clamp(13px,3.7vw,18px);padding:5px 12px;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-gamble-button{
 width:100%;min-height:clamp(62px,10dvh,90px);white-space:normal;touch-action:manipulation;
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-gamble-phone-panel .deal-gamble-your-prize{
 margin:2px 0;font-size:clamp(17px,4.4vw,24px);
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"][data-stage="gamble_choice"] :is(.r20-mg-scores,.r20-mg-footer){display:none!important}

/* Deal or Steal: dramatic server-timed winner countdown and finale celebration. */
#r20MiniGame[data-game="deal_steal"] .deal-winner-suspense{
 position:relative;isolation:isolate;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:clamp(8px,2dvh,22px);
 min-height:clamp(320px,58dvh,630px);width:min(100%,1180px);margin:auto;
 padding:clamp(14px,3dvh,35px);box-sizing:border-box;overflow:hidden;
 border:3px solid #ffdb87;border-radius:clamp(18px,2.5vmin,30px);
 background:radial-gradient(ellipse at 50% 38%,#375cba,#0b285b 67%,#071938);
 box-shadow:inset 0 2px #fff9ce8c,0 9px 0 #7d4f27,0 15px 35px #0008;
 text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-suspense:before{
 content:"";position:absolute;inset:-50%;z-index:-1;
 background:repeating-conic-gradient(from -7deg at 50% 50%,#bfe4ff13 0deg 10deg,transparent 11deg 23deg);
 animation:dealWinnerRays 12s linear infinite;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-crest{
 color:#ffe7a8;font-size:clamp(16px,2.7dvh,30px);font-weight:1000;letter-spacing:.12em;
 text-shadow:0 2px 9px #081731;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-heading{
 font-size:clamp(26px,5dvh,57px);color:#fff4cd;
 font-weight:1000;line-height:1.08;margin:0;text-shadow:0 4px 12px #0009;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-countdown{
 position:relative;width:min(100%,340px);height:clamp(160px,30dvh,320px);
 border-radius:50%;display:grid;place-items:center;
 background:radial-gradient(circle,#ffdb7248 0%,#ffa42f21 42%,transparent 72%);
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-number{
 position:absolute;inset:0;display:grid;place-items:center;
 font-size:clamp(115px,28dvh,295px);line-height:1;font-weight:1000;
 color:#ffe6a5;-webkit-text-stroke:2px #fff2cb;
 text-shadow:0 6px 0 #b2732e,0 13px 14px #000a,0 0 37px #ffda78;
 opacity:0;transform:scale(.35);
 animation:dealWinnerNumber .92s cubic-bezier(.19,.9,.2,1) both;
 animation-delay:calc(.15s + var(--deal-count-order)*1s - var(--deal-count-elapsed,0s));
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-last-line{
 color:#ffe3a4;font-weight:1000;font-size:clamp(18px,3.4dvh,38px);
 letter-spacing:.06em;text-shadow:0 3px 10px #0009;
 opacity:0;animation:dealWinnerFinalLine .7s ease-out both;
 animation-delay:calc(3.2s - var(--deal-count-elapsed,0s));
}
@keyframes dealWinnerNumber{
 0%{opacity:0;transform:scale(.3) rotate(-10deg)}
 20%{opacity:1;transform:scale(1.18) rotate(2deg)}
 40%,74%{opacity:1;transform:scale(1)}
 100%{opacity:0;transform:scale(1.45)}
}
@keyframes dealWinnerFinalLine{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes dealWinnerRays{to{transform:rotate(360deg)}}
#r20MiniGame[data-game="deal_steal"] .deal-winner-celebration{
 display:grid;justify-items:center;gap:clamp(6px,1.5dvh,13px);
 margin:4px auto 10px;padding:clamp(10px,1.8dvh,23px);
 width:min(100%,1000px);border:3px solid #ffe6a3;border-radius:23px;
 background:radial-gradient(ellipse at 50% 10%,#277f8588,transparent 68%),linear-gradient(145deg,#154880,#10285e);
 box-shadow:inset 0 2px #fff9c5ab,0 7px 0 #9a6428,0 0 31px #ffdb8080;
 animation:dealWinnerCelebrate .75s cubic-bezier(.16,.85,.25,1.18) both;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-won{
 color:#ffe2a0;font-size:clamp(17px,3dvh,32px);font-weight:1000;
 text-align:center;letter-spacing:.06em;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-names{
 display:flex;flex-wrap:wrap;justify-content:center;gap:12px;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-person{
 display:flex;align-items:center;gap:clamp(7px,1vw,17px);
 padding:5px 16px;border-radius:18px;
 background:#132d5bba;border:1px solid #ffdb84;
 color:#fff8d7;font-size:clamp(22px,4.7dvh,49px);font-weight:1000;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-portrait{
 width:clamp(35px,7dvh,68px);height:clamp(35px,7dvh,68px);
 object-fit:cover;border-radius:12px;border:2px solid #ffdb8e;
}
#r20MiniGame[data-game="deal_steal"] .deal-winner-score{
 color:#c0ffe0;font-size:clamp(18px,3dvh,30px);font-weight:1000;
}
@keyframes dealWinnerCelebrate{
 from{opacity:0;transform:translateY(28px) scale(.85)}
 75%{opacity:1;transform:translateY(0) scale(1.04)}
 to{transform:none}
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="winner_suspense"] :is(.r20-mg-scores,.r20-mg-footer){display:none!important}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"][data-stage="winner_suspense"] .deal-winner-suspense{
 min-height:clamp(250px,47dvh,460px);
}
@media(max-height:700px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-winner-suspense{min-height:48dvh;padding:8px;gap:6px}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-winner-countdown{height:23dvh}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-winner-number{font-size:22dvh}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-winner-celebration{padding:8px;gap:4px}
}
@media(prefers-reduced-motion:reduce){
 #r20MiniGame[data-game="deal_steal"] .deal-winner-suspense:before{animation:none}
 #r20MiniGame[data-game="deal_steal"] .deal-winner-number{
 animation:none;opacity:0;
 }
 #r20MiniGame[data-game="deal_steal"] .deal-winner-number:nth-child(3){opacity:1;transform:none}
 #r20MiniGame[data-game="deal_steal"] .deal-winner-last-line{animation:none;opacity:1}
 #r20MiniGame[data-game="deal_steal"] .deal-winner-celebration{animation:none}
}

/* Compact, complete Deal or Steal Party results: exactly one winner banner,
   ten visible player standings, all replay controls inside the TV viewport. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-layout{
 height:100dvh;max-height:100dvh;min-height:0!important;
 padding:clamp(6px,.8dvh,12px)!important;gap:clamp(3px,.55dvh,8px)!important;
 display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] :is(.r20-mg-scores,.r20-mg-footer){
 display:none!important
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-head{
 flex:0 0 auto;min-height:0!important;padding:0!important;margin:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-head :is(.r20-mg-subtitle,.r20-mg-eyebrow,.r20-mg-timer){
 display:none!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-title{
 font-size:clamp(18px,2.6dvh,27px)!important;line-height:1.08!important;margin:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-center{
 flex:1 1 auto;min-height:0!important;display:flex!important;justify-content:center!important;
 align-items:center!important;overflow:hidden!important;padding:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-stage-main.deal-final-compact{
 flex:1 1 auto;width:min(100%,1320px)!important;min-height:0!important;max-height:100%!important;
 padding:clamp(5px,.7dvh,9px)!important;margin:0 auto!important;overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-final-compact{
 width:100%;height:100%;min-height:0;
 display:flex;flex-direction:column;align-items:stretch;
 gap:clamp(4px,.65dvh,9px)!important;overflow:hidden;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-final-kicker{
 text-align:center;line-height:1;color:#b7eaff;font-weight:950;
 font-size:clamp(11px,1.6dvh,17px);letter-spacing:.11em;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-final-title{
 margin:0;text-align:center;font-weight:1000;color:#ffe5a0;
 font-size:clamp(19px,3.2dvh,36px);line-height:1.06;
 text-shadow:0 3px 6px #001c49;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-champion{
 display:flex;justify-content:center;align-items:center;gap:clamp(12px,1.5vw,22px);
 padding:clamp(5px,.85dvh,10px) 12px;margin:0 auto;width:min(100%,1000px);
 box-sizing:border-box;min-height:0;border:2px solid #ffd983;border-radius:15px;
 background:linear-gradient(145deg,#264d91,#193068 65%,#112650);
 box-shadow:inset 0 2px #ffffff67,0 3px 0 #94601b,0 7px 15px #0008;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-champion-crown{font-size:clamp(23px,4.5dvh,45px);line-height:1}
#r20MiniGame[data-game="deal_steal"] .deal-compact-winner-names{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;min-width:0}
#r20MiniGame[data-game="deal_steal"] .deal-compact-winner{display:flex;align-items:center;gap:8px;color:#fff8e2;font-size:clamp(18px,3.2dvh,34px);min-width:0}
#r20MiniGame[data-game="deal_steal"] .deal-compact-winner-portrait{width:clamp(30px,4.5dvh,47px);height:clamp(30px,4.5dvh,47px);object-fit:cover;border:2px solid #ffde89;border-radius:9px}
#r20MiniGame[data-game="deal_steal"] .deal-compact-winning-score{color:#b8ffe8;font-size:clamp(17px,3dvh,29px);white-space:nowrap}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rankings{
 width:min(100%,1180px);margin:0 auto;min-height:0;display:flex;flex-direction:column;
 gap:clamp(3px,.48dvh,7px);flex:0 1 auto;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-section-title{
 font-size:clamp(14px,2.2dvh,22px);font-weight:950;color:#ffdc93;
 margin:0;text-align:center;line-height:1.15;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(3px,.5dvh,7px) clamp(6px,.8vw,13px);
 min-height:0;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-card{
 display:grid;grid-template-columns:clamp(41px,5vw,67px) minmax(0,1fr) auto;
 align-items:center;gap:clamp(4px,.55vw,9px);
 min-height:clamp(32px,4.4dvh,45px);padding:2px clamp(6px,.85vw,11px);
 box-sizing:border-box;border:1px solid #709dca;border-radius:10px;
 background:linear-gradient(130deg,#214975,#102e56);
 box-shadow:inset 0 1px #ffffff39;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-card.is-first{border:2px solid #ffe39c;background:linear-gradient(130deg,#64502c,#284d78)}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-number{font-size:clamp(13px,1.8dvh,18px);font-weight:950;color:#ffe6a7}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-identity{display:flex;align-items:center;min-width:0;gap:clamp(4px,.55vw,9px)}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-avatar{width:clamp(24px,3.5dvh,35px);height:clamp(24px,3.5dvh,35px);object-fit:cover;flex:none;border-radius:7px}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(13px,1.95dvh,20px);color:#fff}
#r20MiniGame[data-game="deal_steal"] .deal-compact-rank-points{color:#ffdf97;white-space:nowrap;font-weight:1000;font-size:clamp(13px,1.85dvh,19px)}
#r20MiniGame[data-game="deal_steal"] .deal-compact-awards{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:clamp(3px,.45dvh,6px);margin:0 auto;max-width:100%;
}
#r20MiniGame[data-game="deal_steal"] .deal-compact-award{
 font-size:clamp(10px,1.55dvh,16px);font-weight:850;color:#ffe9ad;
 border:1px solid #ffcf78;border-radius:999px;padding:clamp(3px,.5dvh,5px) 10px;
 background:#12356a;white-space:nowrap;
}
/* The next-game controls are part of the results, not a cut-off footer. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore{
 width:min(100%,970px)!important;max-width:100%!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:center;gap:clamp(3px,.5dvh,6px)!important;
 padding:clamp(5px,.7dvh,9px)!important;margin:0 auto!important;
 border:1px solid #b9d7ff;border-radius:13px;background:#132e5e;
 box-sizing:border-box;flex:0 0 auto;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore h3{
 grid-column:1/-1;font-size:clamp(12px,1.9dvh,19px)!important;margin:0!important;line-height:1.1;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore :is(.ccc-party-again,.ccc-party-menu){
 grid-column:auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore :is(button,select){
 min-height:clamp(30px,4.5dvh,45px)!important;padding:3px 9px!important;
 font-size:clamp(12px,1.7dvh,18px)!important;margin:0!important;line-height:1.15;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore .ccc-party-again{order:0}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact .ccc-party-encore .ccc-party-menu{order:4}
@media(max-height:720px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .r20-mg-head{display:none!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact{gap:3px!important}
 #r20MiniGame[data-game="deal_steal"] .deal-compact-rank-card{min-height:28px}
 #r20MiniGame[data-game="deal_steal"] .deal-compact-champion{padding:3px 8px}
 #r20MiniGame[data-game="deal_steal"] .deal-compact-award{font-size:11px;padding:2px 8px}
}

/* TV: use the available vertical space for 5x2 mystery boxes, not an empty
   band between the top headline and a tiny game grid. Phone UI unchanged. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-layout{
 height:100dvh!important;max-height:100dvh!important;min-height:0!important;
 display:flex!important;flex-direction:column!important;
 justify-content:space-between!important;overflow:hidden!important;
 padding:clamp(9px,1.3dvh,17px)!important;gap:clamp(4px,.8dvh,11px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-head{
 flex:0 0 auto!important;max-height:clamp(125px,21dvh,190px);
 padding:clamp(4px,.7dvh,9px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-center{
 display:flex!important;flex:1 1 auto!important;min-height:0!important;max-height:100%!important;
 align-items:center!important;justify-content:center!important;margin:0 auto!important;
 padding:0!important;width:100%!important;overflow:hidden!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-stage-main:has(.deal-box-grid-party){
 width:min(100%,1450px)!important;max-width:100%!important;flex:0 1 auto!important;
 padding:clamp(6px,1dvh,12px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party{
 gap:clamp(6px,1dvh,12px)!important;
 max-width:1360px!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-box-card{
 padding:clamp(5px,.7dvh,9px)!important;gap:clamp(3px,.5dvh,6px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-mystery{
 min-height:clamp(102px,15.3dvh,162px)!important;
 display:flex;align-items:center;justify-content:center;flex-direction:column;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-box-player{
 font-size:clamp(14px,2dvh,22px)!important;
 line-height:1.15!important;min-height:0!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-box-name{
 font-size:clamp(16px,2.3dvh,26px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-lid{
 font-size:clamp(32px,5.3dvh,55px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-locked{
 font-size:clamp(11px,1.65dvh,16px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-choice-progress,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-swap-rules-compact{
 width:min(100%,1350px)!important;margin:clamp(4px,.7dvh,8px) auto!important;
}
/* Smaller televisions still get all ten cards on screen with no scroll. */
@media(max-height:800px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-mystery{min-height:clamp(69px,11dvh,100px)!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-box-grid-party .deal-lid{font-size:clamp(24px,4dvh,34px)!important}
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .r20-mg-head{max-height:15dvh}
}


/* Deal or Steal show polish: a brief two-pulse special-round announcement.
   Delay is offset by the server's phase time, so state refreshes cannot reflash it. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="play"] .deal-active-twist{
  animation:dealTwistShowtime 1.65s ease-out both!important;
  animation-delay:calc(0s - var(--deal-twist-elapsed,0s))!important;
}
@keyframes dealTwistShowtime{
  0%{opacity:.55;transform:translateY(-12px) scale(.97);filter:brightness(1)}
  16%{opacity:1;transform:translateY(0) scale(1.025);filter:brightness(1.8)}
  32%{opacity:1;transform:none;filter:brightness(1)}
  49%{opacity:1;transform:scale(1.018);filter:brightness(1.65)}
  68%,100%{opacity:1;transform:none;filter:brightness(1)}
}
/* The TV-wide gold edge is part of this game's show style, but should be
   subtle enough not to compete with the cards or sit behind the host toolbar. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout{
  border-width:2px!important;
  border-color:#efca79!important;
  box-shadow:inset 0 0 0 1px #fff1bf50,inset 0 0 48px #03153865,0 0 18px #ffbc6129!important;
  box-sizing:border-box!important;
}
/* Ten-player standings: preserve the bottom gold border and its shadow inside
   the actual viewport instead of clipping the panel against the fixed footer. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"]{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .r20-mg-layout,
#app:fullscreen #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .r20-mg-layout{
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  justify-content:flex-start!important;
  gap:clamp(4px,.65dvh,8px)!important;
  padding-top:clamp(72px,9dvh,94px)!important;
  padding-bottom:clamp(28px,4dvh,45px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .r20-mg-center{
  flex:0 0 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:flex-start!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .r20-mg-stage-main{
  box-sizing:border-box!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding:4px 8px 12px!important;
  margin:0 auto!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-party-leaderboard{
  box-sizing:border-box!important;
  width:min(100%,1060px)!important;
  padding:clamp(9px,1.3dvh,14px) clamp(12px,1.5vw,22px) clamp(13px,1.7dvh,20px)!important;
  margin:0 auto 13px!important;
  overflow:visible!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-party-leaderboard-title{
  margin:0 0 clamp(5px,.8dvh,9px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-round-table{
  border-spacing:0 clamp(2px,.35dvh,4px)!important;
  font-size:clamp(12px,1.7dvh,17px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-round-table td{
  padding:clamp(3px,.5dvh,6px) 9px!important;
  line-height:1.1!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-round-identity .deal-portrait{
  width:clamp(21px,3dvh,30px)!important;
  height:clamp(21px,3dvh,30px)!important;
}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-party-next{
  margin:clamp(6px,.9dvh,10px) 0 0!important;
}
@media(max-height:800px){
  #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .r20-mg-layout{
    padding-top:57px!important;padding-bottom:28px!important;gap:3px!important;
  }
  #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-round-table td{
    padding:2px 7px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .deal-active-twist{
    animation:none!important;opacity:1!important;transform:none!important;filter:none!important;
  }
}


/* One framed gameplay panel, matching Mystery Doors. The previous outer
   .r20-mg-layout gold frame created two large nested borders on TV.
   Keep the smaller gold edges on the actual cards, swap and results panels. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout,
#app:fullscreen #r20MiniGame.r20-mg-tv[data-game="deal_steal"] .r20-mg-layout{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
/* Let the dedicated choices/reveal panel remain the visual focus. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="swap_reveal"] .deal-party-swap-stage,
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="round_standings"] .deal-party-leaderboard{
  border:2px solid #ffd17d!important;
}

/* The swap counterfactual appears after the animated mystery-box openings. */
#r20MiniGame[data-game="deal_steal"][data-stage="reveal"] .deal-what-if{width:min(98%,1120px);box-sizing:border-box;margin:clamp(3px,.7dvh,8px) auto 0;padding:clamp(7px,.8dvh,11px) clamp(10px,1.2vw,17px);border:1px solid #ffda8c;border-radius:15px;background:linear-gradient(130deg,#092c59,#124075);box-shadow:0 0 16px #ffcf6229;color:#fff;animation:dealWhatIfReveal .55s ease-out both;animation-delay:calc(5.1s - var(--deal-elapsed,0s))}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-title{margin:0 0 6px;text-align:center;font-size:clamp(14px,1.9dvh,21px);color:#ffe3a1}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-row{display:flex;align-items:center;flex-wrap:wrap;gap:2px 9px;min-width:0;padding:5px 9px;background:#0b2449;border:1px solid #b2c8e144;border-radius:9px;font-size:clamp(11px,1.45dvh,15px)}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-name{min-width:0;overflow-wrap:anywhere}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-values{flex:1 1 auto;color:#dceaff}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-delta{white-space:normal}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-row.won .deal-what-if-delta{color:#8bffb6}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-row.lost .deal-what-if-delta{color:#ffbdab}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-row.even .deal-what-if-delta{color:#ffe2a0}
@keyframes dealWhatIfReveal{0%{opacity:0;transform:translateY(12px) scale(.98)}100%{opacity:1;transform:none}}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-what-if-list{grid-template-columns:minmax(0,1fr)}
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="reveal"] .r20-mg-stage-main:has(.deal-what-if){overflow-y:auto!important}
@media(max-height:700px){#r20MiniGame[data-game="deal_steal"] .deal-what-if-row{padding:3px 6px}#r20MiniGame[data-game="deal_steal"] .deal-what-if{padding:5px 8px}}
@media(prefers-reduced-motion:reduce){#r20MiniGame[data-game="deal_steal"] .deal-what-if{animation:none!important}}

/* TV swap comparison: readable two-column cards rather than one compressed line. */
#r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="reveal"] .deal-what-if{
 width:min(100%,1180px);padding:clamp(9px,1.2dvh,15px) clamp(11px,1.5vw,20px);
 margin:clamp(7px,1dvh,13px) auto 0;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-title{
 font-size:clamp(18px,2.5dvh,27px);margin-bottom:clamp(7px,1dvh,12px);letter-spacing:.02em
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-list{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(7px,1.1dvh,13px)
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-row{
 display:flex;flex-direction:column;align-items:stretch;gap:5px;
 padding:clamp(7px,1dvh,12px);text-align:center;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-name{
 font-size:clamp(15px,2dvh,21px);line-height:1.1;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-values{
 display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 width:100%;align-items:center;gap:8px;flex:initial;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-number{
 display:flex;flex-direction:column;align-items:center;gap:1px;
 background:#041c3a80;border-radius:9px;padding:5px 4px;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-number span{
 color:#d3e5ff;font-size:clamp(10px,1.35dvh,13px);font-weight:750;letter-spacing:.05em;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-number strong{
 color:#fff;font-size:clamp(21px,3dvh,31px);line-height:1.08;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-arrow{
 color:#ffd77d;font-size:clamp(11px,1.5dvh,15px);font-weight:900;
}
#r20MiniGame[data-game="deal_steal"] .deal-what-if-delta{
 display:block;width:100%;font-size:clamp(14px,2dvh,20px);
 line-height:1.18;letter-spacing:.01em
}
#r20MiniGame.r20-mg-phone[data-game="deal_steal"] .deal-what-if-row{
 padding:9px;gap:5px;
}
@media(max-height:750px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="reveal"] .deal-what-if{padding:6px 10px}
 #r20MiniGame[data-game="deal_steal"] .deal-what-if-row{padding:5px;gap:3px}
 #r20MiniGame[data-game="deal_steal"] .deal-what-if-number{padding:2px 4px}
 #r20MiniGame[data-game="deal_steal"] .deal-what-if-number strong{font-size:clamp(18px,2.6dvh,25px)}
}

/* Give small-party final results visual balance on large TV canvases. */
@media(min-height:850px){
 #r20MiniGame.r20-mg-tv[data-game="deal_steal"][data-stage="results"] .deal-final-compact{
  justify-content:center!important;
 }
}
