/* One decision at a time: call the total, throw a number, choose an innings. */
body.is-tossing .page{max-width:1100px}
body.is-tossing .layout{display:block}
body.is-tossing :is(.aside,.modebar,.banner,.foot){display:none}
.board.toss-screen{background-color:#264b3b;display:grid;grid-template-columns:1fr;grid-template-rows:64px minmax(0,1fr);height:min(800px,calc(100svh - 90px));min-height:600px}
.board.toss-screen .boardtop{color:#e8d49f;border-bottom-color:#e9d7a924}
.board.toss-screen #match-format{display:none}
.board.toss-screen .live:before{background:#efcc7e}
.board.toss-screen .arena{min-height:0;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:24px}
.board .toss-heading{display:flex;flex-direction:column;align-items:center;gap:12px;height:100px;flex-shrink:0;text-align:center}
/* Reserve the same title and hand space before and after the odd/even call. */
.board.toss-call .arena,.board.toss-pick .arena{justify-content:flex-start}
.board .toss-title{font:700 44px/1.1 Kalam,cursive;color:#f4e8be;margin:0;letter-spacing:-.6px;text-align:center}
.board.toss-screen .hands{height:280px;flex:0 1 280px;min-height:0;width:100%;max-width:640px;align-self:center;gap:24px;margin:0}
.board.toss-call .hands,.board.toss-pick .hands{flex-shrink:0}
.board.toss-screen .handgroup{height:100%;max-height:none;min-height:0;width:45%;flex:0 1 260px;display:flex;flex-direction:column;align-items:center}
.board.toss-screen .hands .hand{width:100%;height:calc(100% - 26px);min-height:0}
.board.toss-screen .handlabel{font-size:11px;line-height:16px;margin-top:8px;letter-spacing:1px;opacity:1}
.board.toss-screen .hand[data-pose="0"] canvas{transform:scale(1.45);transform-origin:50% 100%}
.board .toss-action{width:100%;max-width:640px;align-self:center;background:#f8f0d8;border:1px solid #f0da9c;border-top:5px solid #e7c56e;border-radius:10px;padding:20px;color:#234638}
.board .toss-action h2{font:700 38px/1.12 Kalam,cursive;margin:0 0 10px;color:#234638;letter-spacing:-.6px}
.board .toss-action p{font-size:14px;line-height:1.45;margin:0 0 20px}
.board .toss-action h3{font:700 12px/1.3 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:1px;margin:0 0 16px}
.board .toss-action .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;min-height:0}
.board .toss-action .actions:has(>button:only-child){grid-template-columns:1fr}
.board .toss-action .actions button{min-width:0;width:100%;min-height:66px;padding:12px 8px;border:1px solid #cfac58;border-radius:7px;background:#f1d184;color:#244435;box-shadow:0 4px 0 #b3934c;font-size:18px;font-weight:700}
.board .toss-action .actions button:hover{background:#ffe0a0;transform:none}
.board .toss-action .actions button:active{box-shadow:0 1px 0 #b3934c;transform:translateY(2px)}
.board .toss-action .actions button:focus-visible{outline:3px solid #254b3d;outline-offset:3px}
.board .toss-action .choice-cta{flex-direction:column;gap:8px;min-height:102px;font-size:17px}
.board .toss-action .choice-icon{height:38px;width:38px}
.toss-call-summary{align-self:center;max-width:100%;padding:9px 16px;background:#d2dcc0;border:1px solid #e7e7c8;border-radius:30px;color:#234638;font-size:14px;line-height:1.3}
.toss-call-summary strong{font-weight:700}
.board .toss-message h2{font:700 40px/1.14 Kalam,cursive;color:#f4e8be;margin:0 0 10px;letter-spacing:-.6px}
.board .toss-message p{font-size:14px;color:#d8ddc4;line-height:1.45;margin:0}
.board.toss-screen .controls{display:none}
.board.toss-screen .toss-decision .numbers{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0}
.board.toss-screen .toss-decision .number{height:66px;min-height:0;font-size:30px;padding:0}
@media(max-width:1024px){
 .board.toss-screen{height:min(760px,var(--board-height));min-height:0;grid-template-rows:58px minmax(0,1fr)}
 .board.toss-screen .arena{padding:20px 14px;gap:20px}
 .board .toss-heading{height:92px}
 .board .toss-title{font-size:36px}
 .board.toss-screen .hands{height:260px;flex-basis:260px;gap:10px}
 .board .toss-action{padding:18px 12px}
 .board .toss-action h2{font-size:32px}
 .board .toss-action p{font-size:13px;margin-bottom:18px}
 .board .toss-action h3{font-size:11px;margin-bottom:14px}
 .board .toss-action .actions{gap:10px}
 .board .toss-action .actions button{font-size:17px;min-height:62px}
 .board.toss-screen .toss-decision .number{height:62px;font-size:27px}
 .board.toss-screen .toss-decision .numbers{gap:6px}
 .board .toss-action .choice-cta{min-height:94px;font-size:16px}
 .board .toss-message h2{font-size:32px}
 .board .toss-message p{font-size:13px}
}
@media(max-width:1024px) and (max-height:700px){
 .board.toss-screen .arena{padding:14px 12px;gap:16px}
 .board .toss-heading{height:88px}
 .board .toss-title{font-size:32px}
 .board.toss-screen .hands{flex-basis:220px;height:220px}
 .board .toss-action{padding:14px 12px}
 .board .toss-action h2,.board .toss-message h2{font-size:29px}
 .board .toss-action .choice-cta{min-height:82px}
 .board .toss-action .choice-icon{width:32px;height:32px}
}
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape){
 .board.toss-screen{grid-template-columns:1fr 1fr;grid-template-rows:32px minmax(0,1fr);grid-template-areas:'meta meta' 'arena arena'}
 .board.toss-screen .arena{grid-area:arena;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr);padding:10px 18px;gap:8px 18px}
 .board.toss-screen .arena .hands{grid-column:1;grid-row:2;height:100%;max-height:180px;gap:8px}
 .board.toss-screen .toss-heading{grid-column:1;grid-row:1;gap:6px;height:68px}
 .board.toss-call .arena,.board.toss-pick .arena{grid-template-rows:68px minmax(0,1fr);gap:6px 48px;padding:8px 24px}
 .board.toss-call .arena .hands,.board.toss-pick .arena .hands{max-height:none}
 .board .toss-title{font-size:30px}
 .board.toss-rolling .arena .hands{grid-row:1/-1}
 .board.toss-screen .toss-message{grid-column:1;grid-row:1}
 .board.toss-screen .toss-message h2{font-size:24px;margin-bottom:4px}
 .board.toss-screen .toss-message p{font-size:11px}
 .board.toss-screen .toss-action{grid-column:2;grid-row:1/-1;padding:12px}
 .board .toss-action h2{font-size:27px;margin-bottom:6px}
 .board .toss-action p{font-size:12px;margin-bottom:12px}
 .board .toss-action h3{margin-bottom:10px;font-size:10px}
 .board .toss-action .actions button{min-height:46px;font-size:15px}
 .board.toss-screen .toss-decision .number{height:46px;font-size:23px}
 .board.toss-screen .toss-decision .numbers{gap:5px}
 .board .toss-action .choice-cta{min-height:78px}
 .toss-call-summary{font-size:12px;padding:5px 12px}
 .board.toss-screen .handlabel{font-size:10px;line-height:14px;margin-top:5px}
}
