/* Unified READ / WATCH / READY screens for every active mini-game.
   Only the READY stage changes; actual gameplay and results remain untouched. */
.r20-minigame[data-stage="ready"] .ccc-ready-screen{
 --ccc-ready-gold:#ffe4a0;--ccc-ready-ink:#f7fbff;
 --ccc-ready-stroke:#76a6d4;
 color:var(--ccc-ready-ink);
}
.r20-minigame[data-stage="ready"] .ccc-ready-goal{
 color:#fff5d6;font-size:clamp(21px,3.45vh,39px);
 font-weight:950;line-height:1.14;text-wrap:balance;
 max-width:100%;margin:0 auto;text-align:center;
}
.r20-minigame[data-stage="ready"] .ccc-ready-rules{
 background:#1a355a;border:2px solid #70b7e8;
 border-radius:16px;padding:clamp(10px,1.5vh,18px) clamp(15px,2vw,26px);
 width:100%;text-align:left;box-shadow:inset 0 1px 0 #ffffff29;
}
.r20-minigame[data-stage="ready"] .ccc-ready-kicker{
 color:var(--ccc-ready-gold);text-align:center;
 font-size:clamp(19px,2.5vh,27px);letter-spacing:.055em;
 font-weight:950;line-height:1.14;margin:0 0 clamp(7px,1vh,12px);
}
.r20-minigame[data-stage="ready"] .ccc-ready-steps{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:stretch;gap:clamp(12px,1.5vw,24px);
}
.r20-minigame[data-stage="ready"] .ccc-ready-step{
 display:flex;align-items:center;gap:clamp(10px,1.3vw,17px);
 font-weight:800;font-size:clamp(17px,2.4vh,27px);
 line-height:1.27;min-width:0;text-align:left;
}
.r20-minigame[data-stage="ready"] .ccc-ready-step-text{overflow-wrap:break-word}
.r20-minigame[data-stage="ready"] .ccc-ready-number{
 display:grid;place-items:center;flex:none;
 width:clamp(33px,4.4vh,47px);height:clamp(33px,4.4vh,47px);
 background:#ffe4a0;color:#1b2c50;border-radius:11px;
 font-size:clamp(19px,2.7vh,29px);font-weight:1000;
}
.r20-minigame[data-stage="ready"] .ccc-ready-example{
 width:100%;min-width:0;display:flex;flex-direction:column;
 justify-content:center;gap:clamp(3px,.65vh,8px);
 background:#152b4c;border:2px solid #8fb9e6;border-radius:17px;
 padding:clamp(9px,1.2vh,16px) clamp(12px,2vw,27px);
}
.r20-minigame[data-stage="ready"] .ccc-ready-example-label{
 color:#ffe4a0;font-size:clamp(17px,2.1vh,24px);
 font-weight:1000;letter-spacing:.07em;line-height:1.16;
}
.r20-minigame[data-stage="ready"] .ccc-ready-example-content{
 color:#fff;font-size:clamp(24px,3.45vh,40px);
 line-height:1.15;font-weight:1000;letter-spacing:-.015em;
 overflow-wrap:break-word;text-wrap:balance;max-width:100%;
}
.r20-minigame[data-stage="ready"] .ccc-ready-reminder{
 width:100%;border:2px solid #e0ba69;border-radius:13px;
 padding:clamp(8px,1vh,13px) clamp(10px,2vw,22px);
 color:#ffebaf;background:#3e3855;
 font-size:clamp(18px,2.5vh,28px);
 font-weight:1000;line-height:1.19;letter-spacing:.01em;
 text-wrap:balance;overflow-wrap:break-word;
}
.r20-minigame[data-stage="ready"] .ccc-ready-reminder-warn{
 color:#fff2c6;background:#65452f;border-color:#f1b56d;
}
.r20-minigame[data-stage="ready"] .ccc-ready-reminder-danger{
 color:#fff;background:#713447;border-color:#ffb1a5;
}
.r20-minigame[data-stage="ready"] .ccc-ready-status{
 display:block;width:min(100%,810px);
 color:#d1ffed;background:#24566c;border:2px solid #73d8b5;
 border-radius:13px;font-size:clamp(21px,3.2vh,34px)!important;
 font-weight:1000;line-height:1.16;
 margin:0 auto!important;padding:clamp(8px,1vh,12px) 16px;
 text-transform:uppercase;font-variant-numeric:tabular-nums;
}
.r20-minigame[data-stage="ready"] .ccc-ready-prompt{
 font-size:clamp(14px,1.85vh,21px);font-weight:800;
 line-height:1.23;color:#dcefff;text-align:center;
}

/* TV: let the instructions fill the display, not the decorative header. */
.r20-mg-tv[data-stage="ready"]{overflow:hidden!important}
.r20-mg-tv[data-stage="ready"] .r20-mg-layout{
 height:100dvh;min-height:0!important;max-height:100dvh!important;
 width:min(1400px,98%)!important;
 padding:clamp(7px,1vh,14px) clamp(10px,1.3vw,21px)!important;
 gap:clamp(4px,.75vh,9px)!important;overflow:hidden;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-head{
 display:flex;justify-content:center;align-items:center;
 position:relative;min-height:clamp(42px,5.8vh,65px);
 flex:0 0 auto;max-width:100%;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-eyebrow,
.r20-mg-tv[data-stage="ready"] .r20-mg-subtitle,
.r20-mg-tv[data-stage="ready"] .r20-mg-timer,
.r20-mg-tv[data-stage="ready"] .r20-mg-footer,
.r20-mg-tv[data-stage="ready"] .r20-mg-scores{display:none!important}
.r20-mg-tv[data-stage="ready"] .r20-mg-title{
 margin:0!important;font-size:clamp(32px,4.7vh,55px)!important;
 line-height:1.08!important;max-width:70%;text-align:center;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-practice-bar,
.r20-mg-tv[data-stage="ready"] .r20-mg-champ-bar{
 position:absolute;right:0;top:50%;transform:translateY(-50%);
 margin:0!important;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-practice-back,
.r20-mg-tv[data-stage="ready"] .r20-mg-champ-exit{
 font-size:clamp(12px,1.55vh,17px)!important;
 padding:clamp(6px,.85vh,10px) 12px!important;
 min-height:37px!important;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-center{
 flex:1 1 auto;min-height:0!important;max-height:100%;
 align-items:stretch;overflow:hidden;
}
.r20-mg-tv[data-stage="ready"] .r20-mg-stage-main.ccc-ready-screen{
 width:100%!important;max-width:1340px!important;
 height:100%;min-height:0!important;max-height:100%;
 overflow:hidden;box-sizing:border-box;
 padding:clamp(10px,1.55vh,19px) clamp(13px,2vw,28px)!important;
 gap:clamp(6px,1.1vh,13px)!important;
 justify-content:space-evenly;align-items:center;
 border-radius:20px;
}
.r20-mg-tv[data-stage="ready"] .ccc-ready-prompt{margin:0}
@media(max-height:680px){
 .r20-mg-tv[data-stage="ready"] .r20-mg-title{font-size:clamp(27px,4.6vh,36px)!important}
 .r20-mg-tv[data-stage="ready"] .r20-mg-stage-main.ccc-ready-screen{gap:4px!important;padding:7px 14px!important}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-goal{font-size:clamp(19px,3.4vh,27px)}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-kicker{font-size:18px;margin:0 0 4px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-rules,
 .r20-mg-tv[data-stage="ready"] .ccc-ready-example{padding:6px 12px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-step{font-size:clamp(15px,2.65vh,19px)}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-number{width:30px;height:30px;font-size:18px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-example-content{font-size:clamp(20px,3.8vh,28px)}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-reminder{font-size:clamp(16px,2.65vh,20px);padding:6px 10px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-status{font-size:clamp(18px,3.1vh,24px)!important;padding:6px 10px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-prompt{font-size:13px}
}
@media(max-width:850px){
 .r20-mg-tv[data-stage="ready"] .r20-mg-title{max-width:62%}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-steps{grid-template-columns:1fr;gap:6px}
 .r20-mg-tv[data-stage="ready"] .ccc-ready-step{font-size:clamp(16px,2.45vh,21px)}
}
@media(max-width:630px){
 .r20-mg-tv[data-stage="ready"] .r20-mg-practice-bar,
 .r20-mg-tv[data-stage="ready"] .r20-mg-champ-bar{position:static;transform:none}
 .r20-mg-tv[data-stage="ready"] .r20-mg-head{display:flex;flex-wrap:wrap}
 .r20-mg-tv[data-stage="ready"] .r20-mg-title{max-width:100%}
}

/* Phone: full readable steps, the existing sticky READY action stays reachable. */
.r20-mg-phone[data-stage="ready"] .r20-mg-eyebrow,
.r20-mg-phone[data-stage="ready"] .r20-mg-subtitle,
.r20-mg-phone[data-stage="ready"] .r20-mg-timer,
.r20-mg-phone[data-stage="ready"] .r20-mg-scores,
.r20-mg-phone[data-stage="ready"] .r20-mg-footer{display:none!important}
.r20-mg-phone[data-stage="ready"] .r20-mg-layout{
 min-height:100dvh!important;height:auto!important;
 max-height:none!important;overflow:visible!important;
 gap:6px!important;
 padding:8px 10px calc(115px + env(safe-area-inset-bottom,0px))!important;
}
.r20-mg-phone[data-stage="ready"] .r20-mg-center{
 display:block!important;min-height:0!important;max-height:none!important;
 overflow:visible!important;flex:0 0 auto!important;
}
.r20-mg-phone[data-stage="ready"] .r20-mg-stage-main.ccc-ready-screen{
 display:flex;flex-direction:column;gap:9px;
 max-height:none!important;overflow:visible!important;
 padding:13px 11px!important;align-items:stretch;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-goal{
 font-size:clamp(19px,5vw,25px);text-align:center;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-steps{
 grid-template-columns:1fr;gap:9px;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-rules{padding:11px}
.r20-mg-phone[data-stage="ready"] .ccc-ready-kicker{font-size:19px}
.r20-mg-phone[data-stage="ready"] .ccc-ready-step{
 font-size:clamp(16px,4.2vw,20px);line-height:1.28;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-number{width:32px;height:32px;font-size:19px}
.r20-mg-phone[data-stage="ready"] .ccc-ready-example{padding:10px}
.r20-mg-phone[data-stage="ready"] .ccc-ready-example-label{font-size:15px}
.r20-mg-phone[data-stage="ready"] .ccc-ready-example-content{
 font-size:clamp(19px,5vw,26px);line-height:1.18;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-reminder{
 font-size:clamp(16px,4.1vw,20px);padding:10px;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-status{
 font-size:clamp(18px,4.8vw,24px)!important;padding:10px;
}
.r20-mg-phone[data-stage="ready"] .ccc-ready-prompt{
 font-size:14px;line-height:1.24;
}
@media(prefers-reduced-motion:reduce){
 .r20-minigame[data-stage="ready"] .ccc-ready-screen *{animation:none!important}
}

/* A short laptop/TV viewport must not push the readiness prompt offscreen.
   Players already see the Ready button on their phones. */
@media (max-height:600px) and (min-width:700px){
 #r20MiniGame.r20-mg-tv[data-game="animal_showdown"][data-stage="ready"] .readyTVPrompt{display:none!important}
 #r20MiniGame.r20-mg-tv[data-game="animal_showdown"][data-stage="ready"] .readyExample{padding:6px!important}
}
