.rush-shell{--rush-ink:#665080;--rush-line:#cbbddb;--rush-mist:#eee8f5;min-width:0;overflow:hidden;border:1.5px solid var(--rush-line);border-radius:16px;background:#f7f3fa}.rush-main{min-width:0;padding:8px 10px 10px}.rush-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:6px;min-height:44px;max-width:400px;margin-inline:auto}.rush-stat{min-width:0;color:var(--rush-ink)}.rush-stat>span{display:block;font-size:9px;line-height:1.2;letter-spacing:.6px;font-weight:900}.rush-stat strong{display:block;font-family:Fredoka Variable,sans-serif;font-size:clamp(21px,6vw,27px);font-weight:550;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.rush-stat small{margin-left:2px;font-family:Nunito Variable,sans-serif;font-size:11px;color:#9786a9}.rush-stat[data-urgent=true]{color:#af6658}.rush-actions{display:flex;gap:6px}.rush-actions button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #cfc2de;border-radius:11px;background:#fffdf7;color:var(--rush-ink);font-size:20px;font-weight:900;touch-action:manipulation}.rush-actions button:disabled{opacity:.45}.rush-actions button:active:not(:disabled){background:#e5dcf0}.rush-progress{height:4px;max-width:400px;margin:8px auto;overflow:hidden;border-radius:4px;background:#ded4e9}.rush-progress>span{display:block;height:100%;border-radius:inherit;background:#9c81b8;transition:width .1s linear}.rush-board{position:relative;width:min(100%,400px,calc((100svh - 306px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857));aspect-ratio:5/7;margin-inline:auto;overflow:hidden;isolation:isolate;border:2px solid #aa96bf;border-radius:13px;background:#ded3ed;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.rush-scene{display:block;width:100%;height:100%;pointer-events:none}.rush-hit{position:absolute;top:24%;left:50%;z-index:2;transform:translateX(-50%);padding:6px 12px;border:1px solid #cf9175;border-radius:10px;background:#fff0dfe8;color:#9a573b;font-size:18px;font-weight:950;white-space:nowrap;pointer-events:none;animation:rush-hit-pop .55s ease-out both}.rush-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:10px;background:#ece5f4a3}.rush-overlay-card{width:100%;max-width:320px;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:18px 15px;border:1px solid #c4b3d5;border-radius:14px;background:#fffdf5f2;box-shadow:0 4px 0 #81639415;text-align:center}.rush-overlay-kicker{display:block;color:#9580a8;font-size:9px;letter-spacing:1px;font-weight:950}.rush-overlay-card h2{margin-top:7px;font-size:28px;line-height:1.1;letter-spacing:-.4px}.rush-overlay-card p{margin:10px auto 14px;max-width:250px;color:var(--muted);font-size:13px;line-height:1.5}.rush-overlay-card .rush-start{min-height:44px;padding:10px 16px;font-size:14px;gap:8px}.rush-overlay-card>small{display:block;margin-top:11px;color:#9786a9;font-size:11px;line-height:1.5}.rush-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:400px;min-height:60px;margin:10px auto 0;padding-inline:12px}.rush-controls button{display:grid;place-content:center;justify-items:center;flex-shrink:0;padding:0;border:1px solid #ffffffdf;border-radius:50%;color:var(--rush-ink);background:linear-gradient(145deg,#ffffffef,#f7f1fbcc);box-shadow:0 4px 12px #65507517,inset 0 1px 1px #ffffff,inset 0 -1px 2px #9c82b72b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;outline-offset:3px;transition:background .12s,box-shadow .12s,transform .12s}.rush-direction{width:56px;height:56px}.rush-left{order:1}.rush-dash{order:2}.rush-right{order:3}.rush-direction svg{width:32px;height:32px;pointer-events:none}.rush-direction>span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.rush-dash{width:60px;height:60px;gap:1px}.rush-dash svg{width:26px;height:26px;pointer-events:none}.rush-dash>span{font-size:10px;line-height:1.2;font-weight:950;letter-spacing:.5px}.rush-controls .rush-dash[data-ready=true]{border-color:#b29acb;background:linear-gradient(145deg,#ebddffef,#d9c7efed);color:#674583}.rush-controls .rush-dash[data-ready=false]{color:#9586a6;background:linear-gradient(145deg,#fcfaffef,#e8e0f0cc)}.rush-controls .rush-dash[data-active=true]:not(:disabled),.rush-controls button:active:not(:disabled),.rush-controls button[data-held=true]:not(:disabled){border-color:#a78ac2;background:linear-gradient(145deg,#e3d1f4ef,#c7afe1ed);box-shadow:0 2px 5px #65507514,inset 0 2px 4px #7b5b9a24;color:#58386f;transform:scale(.94)}.rush-controls button:disabled{opacity:.5;transform:none}.rush-controls .rush-dash[data-active=true]{opacity:1;border-color:#a78ac2;background:#dec8f3;color:#58386f;box-shadow:0 0 0 4px #c7afe13b}.rush-control-hint{margin-top:7px;color:#9586a6;text-align:center;font-size:11px;line-height:15px}.rush-side{min-width:0;padding:14px;border-top:1px solid #d7cce2;background:#fffdf6}.rush-note{display:none}.rush-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}.rush-records>div{min-width:0}.rush-records dt{color:#9586a6;font-size:10px;font-weight:850;line-height:1.4}.rush-records dd{margin:4px 0 0;font-family:Fredoka Variable,sans-serif;font-size:22px;line-height:1.2;color:var(--rush-ink);overflow-wrap:anywhere}.rush-guide{border:1px solid #e0d7e8;border-radius:10px;background:#faf7fd}.rush-guide summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:10px 13px;list-style:none;color:#72598b;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation}.rush-guide summary:after{content:"+";font-size:20px}.rush-guide[open] summary:after{content:"−"}.rush-guide p{padding:0 13px 13px;font-size:13px;line-height:1.7;color:var(--muted)}.rush-guide p>strong{display:block;color:var(--rush-ink)}.rush-guide kbd{padding:1px 4px;border:1px solid #d7cce2;border-radius:4px;font-size:11px;background:#fffdf6}.rush-save{display:flex;align-items:flex-start;gap:6px;margin-top:12px;color:#9c8da8;font-size:11px;line-height:1.6}.game-frame-rush.is-expanded .rush-shell{display:flex;height:100%;min-height:0}.game-frame-rush.is-expanded .rush-main{display:flex;flex:1;flex-direction:column;align-items:center;min-width:0;min-height:0;width:100%;padding:8px}.game-frame-rush.is-expanded .rush-controls,.game-frame-rush.is-expanded .rush-progress,.game-frame-rush.is-expanded .rush-toolbar{width:min(100%,400px);flex-shrink:0}.game-frame-rush.is-expanded .rush-board{flex-shrink:0;width:min(100%,400px,calc((100dvh - 240px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857));margin:auto}.game-frame-rush.is-expanded .rush-control-hint{flex-shrink:0}.game-frame-rush.is-expanded .rush-side{display:none}@media (max-width:760px){.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar{min-height:44px;height:44px;margin-bottom:6px}.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar>span{display:block}.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar button{position:static}.game-frame-rush:not(.is-expanded) .rush-shell:not([data-phase=ready]) .rush-board{width:min(100%,400px,calc((100svh - 230px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857))}}@media (max-height:640px),(max-width:360px){.rush-overlay-card>small,.rush-overlay-kicker{display:none}.rush-overlay-card{padding:13px 11px}.rush-overlay-card h2{margin-top:0;font-size:23px}.rush-overlay-card p{margin-block:8px 12px;font-size:12px}.rush-overlay-card .rush-start{padding-inline:12px;font-size:13px}}@media (max-width:360px){.rush-toolbar{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.rush-best{display:none}.rush-records{grid-template-columns:repeat(2,minmax(0,1fr))}.rush-control-hint{font-size:10px}}@media (min-width:761px) and (min-height:501px){.rush-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;border-radius:19px}.rush-main{padding:24px}.rush-toolbar{gap:12px}.rush-stat strong{font-size:30px}.rush-board{width:min(100%,400px);border-radius:16px}.rush-overlay{padding:20px}.rush-overlay-card{padding:24px 22px}.rush-overlay-card h2{font-size:33px}.rush-overlay-card p{font-size:14px;line-height:1.7;margin-block:13px 20px}.rush-overlay-card .rush-start{min-height:48px;font-size:15px}.rush-controls{min-height:64px;margin-top:14px}.rush-dash,.rush-direction{width:64px;height:64px;gap:2px}.rush-direction svg{width:28px;height:28px}.rush-direction>span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;font-size:9px;font-weight:950;letter-spacing:.7px;line-height:1.2}.rush-control-hint{margin-top:10px;font-size:12px;line-height:18px}.rush-side{padding:28px;border-top:0;border-left:1px solid #d7cce2}.rush-note{display:block}.rush-note>svg{width:38px;height:38px;padding:7px;border:1px solid #d1c1e0;border-radius:10px;color:#8765a8;background:#ede3f7}.rush-note .eyebrow{display:block;margin-top:14px;font-size:9px}.rush-note h2{margin-top:16px;font-size:31px;line-height:1.12}.rush-note p{margin-top:13px;color:var(--muted);font-size:14px;line-height:1.7}.rush-records{grid-template-columns:1fr;gap:18px;margin-block:28px}.rush-records dt{font-size:11px}.rush-records dd{font-size:26px}.rush-guide summary{font-size:14px}.rush-save{font-size:12px;margin-top:18px}}@media (orientation:landscape) and (max-height:500px){.rush-shell{display:block}.rush-main{display:grid;grid-template-columns:auto 180px;grid-template-rows:auto auto 1fr auto;align-items:center;justify-content:center;gap:7px 18px;padding:8px}.rush-board{grid-column:1;grid-row:1/5;width:min(400px,calc((100svh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857));margin:0}.rush-toolbar{grid-column:2;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));width:180px;min-height:44px;gap:6px}.rush-actions{grid-column:1/4;justify-content:center}.rush-stat strong{font-size:24px}.rush-progress{grid-row:2}.rush-controls,.rush-progress{grid-column:2;width:180px;margin:0}.rush-controls{grid-row:3;gap:6px;padding:0}.rush-direction{width:54px;height:54px}.rush-dash{width:60px;height:60px}.rush-control-hint{grid-column:2;grid-row:4;width:180px;margin:0;font-size:10px;line-height:14px}.rush-overlay{padding:8px}.rush-overlay-card{padding:12px 9px}.rush-overlay-card h2{font-size:21px}.rush-overlay-card p{font-size:11px;margin-block:7px 10px;line-height:1.45}.rush-overlay-card .rush-start{font-size:12px;padding:8px 10px}.rush-side{display:none}.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar{min-height:44px;height:44px;margin-bottom:4px}.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar>span{display:block}.game-frame-rush:not(.is-expanded):has(.rush-shell:not([data-phase=ready])) .game-frame-toolbar button{position:static}.game-frame-rush:not(.is-expanded) .rush-shell:not([data-phase=ready]) .rush-board{width:min(400px,calc((100svh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857))}.game-frame-rush.is-expanded .rush-main{display:grid;grid-template-columns:auto 180px}.game-frame-rush.is-expanded .rush-board{width:min(400px,calc((100dvh - 84px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .7142857));margin:0}.game-frame-rush.is-expanded .rush-controls,.game-frame-rush.is-expanded .rush-progress,.game-frame-rush.is-expanded .rush-toolbar{width:180px}}@media (prefers-reduced-transparency:reduce){.rush-controls button{-webkit-backdrop-filter:none;backdrop-filter:none}}@keyframes rush-hit-pop{0%{opacity:0;transform:translate(-50%,10px) scale(.9)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-25px) scale(1)}}