.rush-rival{margin:0 0 12px;padding:9px 12px;border:1px solid #9980b1;border-radius:10px;background:#342740;text-align:left}.rush-rival>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.rush-rival>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.rush-rival b{color:#e1fc91;white-space:nowrap}.rush-rival progress{display:block;width:100%;height:7px;margin:7px 0;accent-color:#dcfb78}.rush-rival small{display:block;font-size:12px;color:#e4d8ef;line-height:1.3}.rush-rival.rival-ahead{border-color:#dcfb78;background:#303d2c}.rival-ahead small{color:#e5ffb5}.rush-result-actions{display:grid;gap:9px;margin:20px 0 8px}.rush-result-actions>button{justify-content:center;min-height:48px;font-size:15px}.rush-result-actions>div{display:flex;gap:8px}.rush-result-actions>div>button{flex:1;justify-content:center;min-height:44px;font-size:12px}#rushShareDetails summary{cursor:pointer;padding:12px 0;min-height:44px;font-size:13px;color:#decee9}
/* Keep the active counter visible without scrolling on narrow phones. */
@media(max-width:600px){dialog:has(#rushStage){padding:30px 16px 16px}.rush-rival{padding:8px 10px;margin-bottom:9px}.rush-top{padding:0;gap:8px}.rush-top b{margin-top:3px}#rushTimer{margin:10px 0}.rush-order{font-size:64px;margin:5px 0}.rush-customer h2{font-size:23px!important}.rush-buttons{margin-top:10px}.rush-buttons button{min-height:88px}.rush-feedback{min-height:30px;margin:10px 0 6px!important}.rush-next{margin:6px 0}.rush-next span{font-size:22px;min-height:26px}.rush-combo{font-size:13px;padding:7px 12px}}
/* Short landscape: score/target on the left, orders and controls on the right. */
@media(min-width:650px) and (max-height:550px){dialog:has(#rushStage){width:min(850px,calc(100vw - 24px));max-height:calc(100dvh - 20px);padding:26px 18px 14px}.rush-stage{display:grid;grid-template-columns:1fr 1.25fr;grid-template-rows:auto auto auto auto auto;column-gap:20px;align-items:center}.rush-top{grid-column:1;grid-row:1;padding:0}.rush-top b{margin-top:3px}#rushTimer{grid-column:1;grid-row:2;margin:8px 0}.rush-rival{grid-column:1;grid-row:3;margin:0}.rush-combo{grid-column:1;grid-row:4;font-size:12px;padding:6px}.rush-customer{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:center;gap:12px;padding:0}.rush-order{font-size:44px;margin:0}.rush-customer h2{font-size:20px!important}.rush-next{grid-column:2;grid-row:3;margin:0}.rush-next span{display:inline;margin-left:8px}.rush-buttons{grid-column:2;grid-row:4/6;margin:8px 0 0;gap:7px}.rush-buttons button{min-height:96px}.rush-buttons span{font-size:28px}.rush-buttons strong{font-size:12px;margin:3px}.rush-buttons kbd{display:none}.rush-feedback{grid-column:1;grid-row:5;font-size:11px!important;min-height:30px;margin:4px 0!important;line-height:1.3}#rushPause{grid-column:1/-1;grid-row:6;min-height:38px;justify-content:center;margin-top:8px;padding:8px}}
