.game-root:has(>.ir-stage){background:#0d1a33;border-color:#94a3b847;padding:0;overflow:hidden}.ir-stage{color:#fff;-webkit-user-select:none;user-select:none;touch-action:none;background:#0d1a33;outline:none;width:100%;height:clamp(460px,72dvh,700px);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.35;position:relative;overflow:hidden;container-type:size}.ir-stage:fullscreen,.ir-stage:-webkit-full-screen{border-radius:0;width:100vw;height:100dvh;max-height:none}.ir-stage:fullscreen,.ir-stage:fullscreen{border-radius:0;width:100vw;height:100dvh;max-height:none}.ir-stage *,.ir-stage :before,.ir-stage :after{box-sizing:border-box}.ir-stage canvas{touch-action:none;width:100%;height:100%;display:block}.ir-stage #ir-hud{top:calc(14px + env(safe-area-inset-top));left:calc(16px + env(safe-area-inset-left));text-shadow:0 1px 3px #0000008c;pointer-events:none;z-index:6;transition:opacity .25s;position:absolute}.ir-stage #ir-hud.hidden{opacity:0}.ir-stage #ir-score-row{align-items:baseline;gap:9px;line-height:1;display:flex}.ir-stage #ir-score{letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-size:36px;font-weight:900}.ir-stage #ir-score-unit{opacity:.78;letter-spacing:0;margin-left:3px;font-size:14px;font-weight:800}.ir-stage #ir-mult{letter-spacing:.02em;font-variant-numeric:tabular-nums;color:#cfe6ff;text-shadow:none;background:#0c1a3e8c;border:1px solid #ffffff3d;border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:850;transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;display:inline-flex;transform:translateY(-4px)}.ir-stage #ir-mult.is-warm{color:#ffe885;background:#ffd84a38;border-color:#ffe0668c}.ir-stage #ir-mult.is-hot{color:#241600;background:linear-gradient(135deg,#ffe36e 0%,#ffb703 100%);border-color:#fff5bed9;transform:translateY(-4px)scale(1.06);box-shadow:0 0 18px #ffd24073}.ir-stage #ir-hud-sub{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:7px;margin-top:5px;font-size:13.5px;font-weight:700;display:flex}.ir-stage #ir-dist{opacity:.94}.ir-stage .hud-dot{opacity:.45}.ir-stage #ir-speed{opacity:.88;transition:color .15s}.ir-stage #ir-speed.is-boost{color:#ffe36e;opacity:1}.ir-stage #ir-speed.is-brake{color:#ff8c82;opacity:1}.ir-stage #ir-speed-state{letter-spacing:.08em;text-transform:uppercase;opacity:0;text-shadow:none;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:850;transition:opacity .14s,background-color .14s,color .14s;display:inline-block;transform:translateY(1px);box-shadow:0 2px 8px #00000059}.ir-stage #ir-speed-state.is-boost{opacity:1;color:#1f1400;background:#ffd84a}.ir-stage #ir-speed-state.is-brake{opacity:1;color:#fff;background:#ef4444}.ir-stage #ir-callout{top:calc(70px + env(safe-area-inset-top));z-index:7;pointer-events:none;-webkit-backdrop-filter:blur(10px);letter-spacing:.04em;text-transform:uppercase;color:#ffe678;opacity:0;white-space:nowrap;background:#0a1636b8;border:1px solid #ffe06673;border-radius:999px;padding:6px 14px;font-size:13.5px;font-weight:850;transition:opacity .2s,transform .22s cubic-bezier(.18,.9,.24,1);position:absolute;left:50%;transform:translate(-50%)translateY(6px)scale(.94);box-shadow:0 10px 28px #00000059}.ir-stage #ir-callout.show{opacity:1;transform:translate(-50%)translateY(0)scale(1)}.ir-stage #ir-callout.is-pb{color:#241600;background:linear-gradient(135deg,#ffe05ceb,#ffae18eb);border-color:#fffad2d9;box-shadow:0 8px 30px #ffc8287a}.ir-stage #ir-callout.is-milestone{color:#d8eeff;border-color:#84ccff8c}.ir-stage #ir-curve-warn{top:calc(108px + env(safe-area-inset-top));z-index:7;pointer-events:none;color:#ffd0ca;letter-spacing:.08em;text-transform:uppercase;opacity:0;background:#ef444438;border:1px solid #ff8a808c;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;font-weight:900;transition:opacity .15s;display:inline-flex;position:absolute;left:50%;transform:translate(-50%)}.ir-stage #ir-curve-warn.show{opacity:1;animation:.65s ease-in-out infinite alternate irPulseWarn}@keyframes irPulseWarn{0%{transform:translate(-50%)scale(.98)}to{transform:translate(-50%)scale(1.04)}}.ir-stage #ir-top-controls{top:calc(14px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right));z-index:20;align-items:center;gap:6px;display:flex;position:absolute}.ir-stage .pill-btn{color:#fff;letter-spacing:.02em;-webkit-backdrop-filter:blur(8px);cursor:pointer;background:#0a14307a;border:1px solid #ffffff42;border-radius:999px;justify-content:center;align-items:center;gap:5px;height:30px;padding:0 11px;font:650 12px/1 system-ui,-apple-system,sans-serif;transition:background .18s,border-color .18s,transform .12s;display:inline-flex}.ir-stage .pill-btn:hover{background:#14285ab8;border-color:#ffffff70}.ir-stage .pill-btn:active{transform:scale(.95)}.ir-stage .pill-btn.icon-only{width:30px;padding:0}.ir-stage .pill-btn.hidden{display:none}.ir-stage .pill-btn svg{width:14px;height:14px;display:block}.ir-stage #ir-btn-mute .icon-off,.ir-stage #ir-btn-mute.is-muted .icon-on{display:none}.ir-stage #ir-btn-mute.is-muted .icon-off{color:#ff9c92;display:block}.ir-stage #ir-btn-fullscreen .icon-exit,.ir-stage #ir-btn-fullscreen.is-fullscreen .icon-enter{display:none}.ir-stage #ir-btn-fullscreen.is-fullscreen .icon-exit{display:block}.ir-stage #ir-touch-pedals{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:15;touch-action:none;align-items:center;gap:12px;display:flex;position:absolute;transform:translate(-50%)}.ir-stage #ir-touch-pedals.hidden{display:none}.ir-stage .touch-pedal{color:#ffffffeb;letter-spacing:.04em;text-transform:uppercase;-webkit-backdrop-filter:blur(10px);touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer;background:#08122c8a;border:1px solid #ffffff47;border-radius:999px;min-width:96px;height:44px;padding:0 16px;font:800 13px/1 system-ui,-apple-system,sans-serif;transition:transform .1s,background .12s,border-color .12s,color .12s;box-shadow:0 6px 20px #00000052}.ir-stage #ir-touch-brake.active{color:#fff;background:#ef4444d9;border-color:#ffc4bed9;transform:scale(.95)}.ir-stage #ir-touch-boost.active{color:#201300;background:linear-gradient(135deg,#ffe36e 0%,#ffb703 100%);border-color:#fff5bee6;transform:scale(.95)}.ir-stage #ir-overlay{z-index:10;text-align:center;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));background:radial-gradient(#0a1e504d,#050c23a8);place-items:center;transition:opacity .28s;display:grid;position:absolute;inset:0}.ir-stage #ir-overlay.mode-over,.ir-stage #ir-overlay.mode-history,.ir-stage #ir-overlay.mode-pause,.ir-stage #ir-overlay.mode-credits,.ir-stage #ir-overlay.mode-share{padding-top:calc(52px + env(safe-area-inset-top));background:radial-gradient(#08163a75,#040a1cd1)}.ir-stage #ir-overlay.hidden{opacity:0;pointer-events:none}.ir-stage #ir-start-panel{align-self:start;max-width:520px;margin-top:clamp(68px,12cqh,96px)}.ir-stage #ir-overlay.mode-over #ir-start-panel,.ir-stage #ir-overlay.mode-history #ir-start-panel,.ir-stage #ir-overlay.mode-pause #ir-start-panel,.ir-stage #ir-overlay.mode-credits #ir-start-panel,.ir-stage #ir-overlay.mode-share #ir-start-panel{display:none}.ir-stage #ir-start-panel h2{letter-spacing:-.03em;text-shadow:0 4px 20px #00000073;margin:0 0 10px;font-size:clamp(30px,6cqw,60px);font-weight:900;line-height:1.05}.ir-stage #ir-start-panel p{text-shadow:0 1px 3px #00000080;margin:6px 0}.ir-stage #ir-start-panel .sub{opacity:.94;font-size:clamp(15px,2.2cqw,18px)}.ir-stage #ir-start-panel .keys{opacity:.78;font-size:13px;line-height:1.45}.ir-stage #ir-start-panel .go{color:#ffd84a;margin-top:18px;font-size:17px;font-weight:750}.ir-stage .start-best{-webkit-backdrop-filter:blur(10px);color:#ffffffeb;font-variant-numeric:tabular-nums;background:#0a1634a3;border:1px solid #ffffff2e;border-radius:999px;align-items:center;gap:10px;margin:12px auto 6px;padding:7px 10px 7px 14px;font-size:13px;font-weight:600;display:inline-flex;box-shadow:0 8px 24px #00000040}.ir-stage .start-best.hidden{display:none}.ir-stage .start-best svg{color:#ffd84a;flex-shrink:0;width:15px;height:15px}.ir-stage .start-best button{color:#ffe37a;cursor:pointer;background:#ffd84a2e;border:0;border-radius:999px;margin-left:2px;padding:5px 11px;font:700 12px/1 system-ui,-apple-system,sans-serif;transition:background .16s,transform .12s}.ir-stage .start-best button:hover{background:#ffd84a4d}.ir-stage .start-best button:active{transform:scale(.96)}.ir-stage #ir-loadbar{background:#ffffff2e;border-radius:99px;width:min(220px,60%);height:4px;margin:14px auto 0;transition:opacity .3s;overflow:hidden}.ir-stage #ir-loadbar.done{opacity:0;pointer-events:none}.ir-stage #ir-loadfill{background:#ffd84a;width:0%;height:100%;transition:width .12s linear}.ir-stage #ir-results-card{text-align:left;-webkit-backdrop-filter:blur(20px)saturate(140%);background:linear-gradient(168deg,#102046db 0%,#081128e6 100%);border:1px solid #ffffff29;border-radius:22px;flex-direction:column;gap:12px;width:min(480px,100%);max-height:min(100%,600px);padding:16px 18px 14px;display:none;position:relative;overflow:hidden;box-shadow:0 24px 70px #02081aad,inset 0 1px #ffffff2e}.ir-stage #ir-overlay.mode-over #ir-results-card,.ir-stage #ir-overlay.mode-history #ir-results-card{display:flex}.ir-stage #ir-results-card:before{content:"";opacity:.9;pointer-events:none;background:linear-gradient(90deg,#78b5f526,#84c6ffd9,#78b5f526);height:3px;position:absolute;top:0;left:0;right:0}.ir-stage #ir-results-card[data-tier=gold]:before{background:linear-gradient(90deg,#ffd84a33,#ffe885,#ffb703,#ffe885,#ffd84a33);height:3.5px}.ir-stage #ir-results-card[data-tier=silver]:before{background:linear-gradient(90deg,#d2e2ff26,#e8f1ff,#d2e2ff26)}.ir-stage #ir-results-card[data-tier=bronze]:before{background:linear-gradient(90deg,#eba26626,#f0ad70,#eba26626)}.ir-stage #ir-results-card[data-tier=gold]{border-color:#ffd84a57;box-shadow:0 24px 70px #02081ab3,0 0 42px #ffd24029,inset 0 1px #ffe88c47}.ir-stage #ir-results-card.anim-in{animation:.36s cubic-bezier(.18,.9,.24,1) both irCardPop}@keyframes irCardPop{0%{opacity:0;transform:translateY(16px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.ir-stage .results-left{flex-direction:column;flex-shrink:0;gap:11px;display:flex}.ir-stage .results-right{flex-direction:column;flex:auto;min-height:0;display:flex}.ir-stage .results-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ir-stage .cause-pill{color:#ffb0a6;letter-spacing:.01em;background:#ff6b5e26;border:1px solid #ff827647;border-radius:999px;align-items:center;gap:7px;padding:5px 11px;font-size:12.5px;font-weight:700;display:inline-flex}.ir-stage .cause-pill svg{flex-shrink:0;width:14px;height:14px}.ir-stage .rank-pill{letter-spacing:.02em;font-variant-numeric:tabular-nums;color:#cde8ff;background:#7ec0f826;border:1px solid #7ec0f84d;border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:12.5px;font-weight:800;display:inline-flex}.ir-stage .rank-pill svg{flex-shrink:0;width:13px;height:13px}.ir-stage .rank-pill.tier-gold{color:#ffe784;background:linear-gradient(135deg,#ffd84a47,#ffae1838);border-color:#ffdc6094;box-shadow:0 0 18px #ffd24038}.ir-stage .rank-pill.tier-silver{color:#eef5ff;background:#e2eeff2e;border-color:#e2eeff6b}.ir-stage .rank-pill.tier-bronze{color:#ffd1a6;background:#f0a56433;border-color:#f0a5646b}.ir-stage .score-block{text-align:center;padding:2px 0}.ir-stage .score-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:#cfe2ff9e;margin-bottom:2px;font-size:11px;font-weight:800}.ir-stage #ir-results-card[data-tier=gold] .score-eyebrow{color:#ffd84a}.ir-stage .score-value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;background:linear-gradient(#fff 15%,#cfe6ff 100%);color:#0000;filter:drop-shadow(0 4px 16px #00000059);-webkit-background-clip:text;background-clip:text;justify-content:center;align-items:baseline;gap:6px;font-size:clamp(36px,7cqw,52px);font-weight:900;line-height:1;display:inline-flex}.ir-stage #ir-results-card[data-tier=gold] .score-value{background:linear-gradient(#fffbe6 10%,#ffd84a 65%,#f5a623 100%);color:#0000;-webkit-background-clip:text;background-clip:text}.ir-stage .score-unit{letter-spacing:0;opacity:.78;font-size:.36em;font-weight:800}.ir-stage .score-delta{color:#d6e8ffc7;font-variant-numeric:tabular-nums;margin-top:6px;font-size:12.5px;font-weight:600}.ir-stage .score-delta.is-record{color:#ffe37a}.ir-stage .stats-grid{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.ir-stage .stat-tile{text-align:center;background:#ffffff0f;border:1px solid #ffffff17;border-radius:13px;padding:8px 6px}.ir-stage .stat-label{letter-spacing:.06em;text-transform:uppercase;color:#cfe2ff94;white-space:nowrap;margin-bottom:4px;font-size:10px;font-weight:700}.ir-stage .stat-val{letter-spacing:-.01em;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15.5px;font-weight:800;line-height:1.1}.ir-stage .stat-sub{color:#cfe2ff94;margin-left:2px;font-size:10.5px;font-weight:600}.ir-stage .history-only-header{justify-content:space-between;align-items:center;gap:10px;display:none}.ir-stage #ir-overlay.mode-history .results-summary{display:none}.ir-stage #ir-overlay.mode-history .history-only-header{display:flex}.ir-stage .history-only-title{letter-spacing:-.02em;margin:0;font-size:22px;font-weight:850}.ir-stage .history-only-sub{color:#cfe2ffb3;font-variant-numeric:tabular-nums;margin:3px 0 0;font-size:12.5px}.ir-stage .history-box{background:#040b1c75;border:1px solid #ffffff17;border-radius:16px;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.ir-stage .history-bar{border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.ir-stage .history-tabs{background:#ffffff12;border-radius:10px;padding:2px;display:inline-flex}.ir-stage .history-tab{color:#d6e8ffad;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 11px;font:700 12px/1 system-ui,-apple-system,sans-serif;transition:background .16s,color .16s}.ir-stage .history-tab.active{color:#fff;background:#ffffff29;box-shadow:0 1px 4px #0003}.ir-stage .history-tab:hover:not(.active){color:#fff}.ir-stage .history-tools{flex-shrink:0;align-items:center;gap:6px;display:flex}.ir-stage .history-count{color:#cfe2ff8f;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11.5px;font-weight:600}.ir-stage .history-clear{color:#d6e8ffa3;cursor:pointer;background:0 0;border:1px solid #ffffff24;border-radius:7px;padding:5px 8px;font:600 11px/1 system-ui,-apple-system,sans-serif;transition:background .16s,color .16s,border-color .16s}.ir-stage .history-clear:hover{color:#fff;background:#ffffff14}.ir-stage .history-clear.confirming{color:#ffb3ad;background:#ff5c5238;border-color:#ff6e6480}.ir-stage .history-list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#fff3 transparent;flex-direction:column;gap:4px;max-height:170px;padding:6px;display:flex;overflow-y:auto}.ir-stage #ir-overlay.mode-history .history-list{max-height:min(46cqh,320px)}.ir-stage .history-list::-webkit-scrollbar{width:5px}.ir-stage .history-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:99px}.ir-stage .history-row{background:#ffffff08;border:1px solid #0000;border-radius:11px;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;padding:7px 9px;transition:background .15s;display:grid}.ir-stage .history-row:hover{background:#fff1}.ir-stage .history-row.is-current{background:linear-gradient(90deg,#ffd84a2e,#ffd84a12);border-color:#ffd84a6b;box-shadow:inset 3px 0 #ffd84a}.ir-stage .row-rank{font-variant-numeric:tabular-nums;color:#dceaffbf;background:#ffffff12;border-radius:7px;justify-content:center;align-items:center;min-width:34px;height:24px;padding:0 6px;font-size:12px;font-weight:800;display:inline-flex}.ir-stage .row-rank.r1{color:#2b1a00;background:linear-gradient(135deg,#ffe577,#f5a623);box-shadow:0 2px 8px #ffc62a4d}.ir-stage .row-rank.r2{color:#132238;background:linear-gradient(135deg,#eef5ff,#b8cbe2)}.ir-stage .row-rank.r3{color:#2a1200;background:linear-gradient(135deg,#f5bf8a,#c87b42)}.ir-stage .row-main{min-width:0}.ir-stage .row-dist-line{align-items:center;gap:6px;line-height:1.2;display:flex}.ir-stage .row-dist{color:#fff;font-variant-numeric:tabular-nums;font-size:14.5px;font-weight:800}.ir-stage .row-tag{letter-spacing:.06em;text-transform:uppercase;color:#ffe680;background:#ffd84a40;border-radius:999px;padding:2px 6px;font-size:9.5px;font-weight:800}.ir-stage .row-meta{color:#cfe2ff94;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;margin-top:2px;font-size:11.5px;overflow:hidden}.ir-stage .row-time{color:#cfe2ff80;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;font-size:11px;font-weight:600}.ir-stage .history-pinned{background:#ffd84a0f;border-top:1px dashed #ffd84a52;flex-shrink:0;padding:6px}.ir-stage .history-pinned.hidden{display:none}.ir-stage .history-empty{text-align:center;color:#cfe2ff94;padding:22px 12px;font-size:13px}.ir-stage .results-actions{flex-direction:column;flex-shrink:0;gap:7px;display:flex}.ir-stage .action-row{gap:8px;display:flex}.ir-stage .btn-primary{color:#1c1300;letter-spacing:-.01em;cursor:pointer;background:linear-gradient(135deg,#ffe36e 0%,#ffc426 100%);border:0;border-radius:14px;flex:auto;justify-content:center;align-items:center;gap:10px;padding:11px 16px;font:850 15px/1 system-ui,-apple-system,sans-serif;transition:transform .14s,filter .16s,box-shadow .16s;display:inline-flex;box-shadow:0 8px 24px #ffc62a52,inset 0 1px #fff9}.ir-stage .btn-primary:hover{filter:brightness(1.06);box-shadow:0 10px 28px #ffc62a6b,inset 0 1px #ffffffb3}.ir-stage .btn-primary:active{transform:scale(.98)}.ir-stage .btn-primary kbd{color:#1c1300c7;background:#1c130024;border-radius:6px;padding:3px 6px;font:700 11px/1 ui-monospace,SFMono-Regular,monospace}.ir-stage .btn-secondary{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:14px;justify-content:center;align-items:center;padding:11px 16px;font:700 14px/1 system-ui,-apple-system,sans-serif;transition:background .16s;display:none}.ir-stage .btn-secondary:hover{background:#ffffff26}.ir-stage #ir-overlay.mode-history .btn-secondary{display:inline-flex}.ir-stage .btn-share{color:#e2f2ff;cursor:pointer;white-space:nowrap;background:#78b5f529;border:1px solid #84c6ff5c;border-radius:14px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font:750 14px/1 system-ui,-apple-system,sans-serif;transition:background .16s,border-color .16s,transform .12s;display:inline-flex}.ir-stage .btn-share:hover{background:#78b5f547;border-color:#9ad4ff94}.ir-stage .btn-share:active{transform:scale(.97)}.ir-stage .btn-share svg{flex-shrink:0;width:15px;height:15px}.ir-stage #ir-overlay.mode-history .btn-share{display:none}.ir-stage .action-hint{text-align:center;color:#cfe2ff85;font-size:11.5px}.ir-stage .glass-modal{-webkit-backdrop-filter:blur(20px)saturate(140%);text-align:center;background:linear-gradient(168deg,#102046e6 0%,#081128f0 100%);border:1px solid #ffffff2e;border-radius:22px;width:min(360px,100%);padding:20px 20px 18px;display:none;box-shadow:0 24px 70px #02081ab8,inset 0 1px #ffffff2e}.ir-stage #ir-overlay.mode-pause #ir-pause-card{animation:.24s cubic-bezier(.18,.9,.24,1) both irCardPop;display:block}.ir-stage #ir-overlay.mode-credits #ir-credits-modal{text-align:left;animation:.24s cubic-bezier(.18,.9,.24,1) both irCardPop;display:block}.ir-stage #ir-overlay.mode-share #ir-share-modal{flex-direction:column;gap:11px;animation:.24s cubic-bezier(.18,.9,.24,1) both irCardPop;display:flex}.ir-stage .share-modal{text-align:left;width:min(500px,100%);max-height:min(100%,580px);padding:16px 18px;overflow:hidden}.ir-stage .share-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.ir-stage .share-head h2{letter-spacing:-.02em;margin:0;font-size:20px;font-weight:900}.ir-stage .share-sub{color:#cfe2ffb8;margin:2px 0 0;font-size:12.5px}.ir-stage .share-close-x{color:#ffffffdb;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;transition:background .15s,color .15s;display:inline-flex}.ir-stage .share-close-x:hover{color:#fff;background:#ffffff2e}.ir-stage .share-close-x svg{width:15px;height:15px}.ir-stage .share-preview-wrap{background:#071127;border:1px solid #ffffff29;border-radius:14px;width:100%;overflow:hidden;box-shadow:0 12px 32px #0000006b}.ir-stage .share-preview{aspect-ratio:1200/630;object-fit:cover;width:100%;display:block}.ir-stage .share-status{color:#ffe37a;text-align:center;min-height:16px;font-size:12px;font-weight:700}.ir-stage .share-status:empty{display:none}.ir-stage .share-actions{flex-direction:column;gap:8px;display:flex}.ir-stage .share-native-btn.hidden{display:none}.ir-stage .share-native-btn svg{flex-shrink:0;width:16px;height:16px}.ir-stage .share-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.ir-stage .share-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff2e;border-radius:12px;justify-content:center;align-items:center;padding:10px 12px;font:700 13px/1 system-ui,-apple-system,sans-serif;transition:background .15s,border-color .15s,transform .1s;display:inline-flex}.ir-stage .share-btn:hover{background:#ffffff29;border-color:#ffffff52}.ir-stage .share-btn:active{transform:scale(.97)}.ir-stage .share-btn.hidden{display:none}.ir-stage .share-btn--accent{color:#ffea8a;background:linear-gradient(135deg,#ffe36e3d,#ffb7032e);border-color:#ffe06685}.ir-stage .share-btn--accent:hover{background:linear-gradient(135deg,#ffe36e57,#ffb70342);border-color:#ffe880bf}.ir-stage .glass-modal h2{letter-spacing:-.02em;margin:0 0 6px;font-size:23px;font-weight:900}.ir-stage .pause-sub{color:#cfe2ffb8;font-variant-numeric:tabular-nums;margin:0 0 16px;font-size:13px}.ir-stage .modal-stack{flex-direction:column;gap:9px;display:flex}.ir-stage .modal-btn-sec{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:13px;justify-content:center;align-items:center;padding:11px 16px;font:700 14px/1 system-ui,-apple-system,sans-serif;transition:background .16s;display:inline-flex}.ir-stage .modal-btn-sec:hover{background:#ffffff26}.ir-stage .credits-list{color:#d6e8ffdb;background:#040b1c80;border:1px solid #ffffff17;border-radius:14px;margin:12px 0 16px;padding:12px 14px;font-size:12.5px;line-height:1.6}.ir-stage .credits-list p{margin:0 0 10px}.ir-stage .credits-list p:last-child{margin-bottom:0}.ir-stage .credits-list a{color:#ffe37a;border-bottom:1px dotted #ffe37a80;text-decoration:none}.ir-stage .credits-list a:hover{color:#fff;border-bottom-color:#fff}.ir-stage #ir-debug{right:calc(10px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));z-index:20;pointer-events:none;background:#0000008c;border-radius:4px;padding:4px 8px;font:12px/1.4 ui-monospace,monospace;position:absolute}@media (width<=640px){.ir-stage{height:clamp(500px,74dvh,720px)}}@container (width<=480px){.ir-stage #ir-hud{top:calc(10px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left))}.ir-stage #ir-score{font-size:26px}.ir-stage #ir-hud-sub{gap:5px;margin-top:3px;font-size:12px}.ir-stage #ir-top-controls{top:calc(10px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));gap:4px}.ir-stage .pill-btn{height:28px;padding:0 8px;font-size:11px}.ir-stage .pill-btn.icon-only{width:28px;padding:0}.ir-stage #ir-start-panel{margin-top:66px}.ir-stage #ir-start-panel h2{margin-bottom:6px;font-size:28px}.ir-stage #ir-start-panel .sub{font-size:14px}.ir-stage #ir-start-panel .keys{font-size:12px}.ir-stage #ir-start-panel .go{margin-top:12px;font-size:15.5px}.ir-stage #ir-overlay{padding:12px}.ir-stage #ir-overlay.mode-over,.ir-stage #ir-overlay.mode-history,.ir-stage #ir-overlay.mode-pause,.ir-stage #ir-overlay.mode-credits,.ir-stage #ir-overlay.mode-share{padding-top:calc(46px + env(safe-area-inset-top))}.ir-stage #ir-results-card{border-radius:18px;gap:8px;padding:12px 12px 11px}.ir-stage .share-modal{border-radius:18px;gap:9px;padding:13px 12px}.ir-stage .share-head h2{font-size:18px}.ir-stage .share-btn{padding:9px 8px;font-size:12px}.ir-stage .btn-share{padding:11px 12px;font-size:13.5px}.ir-stage .results-left{gap:8px}.ir-stage .score-value{font-size:34px}.ir-stage .stats-grid{grid-template-columns:repeat(2,1fr);gap:5px}.ir-stage .stat-tile{padding:6px 5px}.ir-stage .stat-val{font-size:14.5px}.ir-stage .history-bar{gap:6px;padding:6px 7px}.ir-stage .history-tab{padding:5px 8px;font-size:11px}.ir-stage .history-count{font-size:10.5px}.ir-stage .history-clear{padding:4px 6px;font-size:10.5px}.ir-stage .history-list{max-height:116px}.ir-stage .action-hint,.ir-stage .btn-primary kbd{display:none}}@container (height<=540px) and (width>=560px){.ir-stage #ir-score{font-size:26px}.ir-stage #ir-hud-sub{font-size:12.5px}.ir-stage #ir-callout{top:calc(54px + env(safe-area-inset-top))}.ir-stage #ir-curve-warn{top:calc(90px + env(safe-area-inset-top))}.ir-stage #ir-start-panel{margin-top:12px}.ir-stage #ir-start-panel h2{margin-bottom:4px;font-size:32px}.ir-stage #ir-start-panel .sub{font-size:15px}.ir-stage #ir-start-panel .keys{font-size:12px}.ir-stage #ir-start-panel .go{margin-top:10px;font-size:16px}.ir-stage #ir-overlay.mode-over #ir-results-card{border-radius:20px;grid-template-rows:1fr auto;grid-template-columns:1fr 1.15fr;gap:10px 16px;width:min(720px,100% - 40px);max-height:min(92%,420px);padding:14px 16px;display:grid}.ir-stage #ir-overlay.mode-over .results-left{grid-area:1/1;justify-content:center;gap:9px}.ir-stage #ir-overlay.mode-over .results-actions{grid-area:2/1}.ir-stage #ir-overlay.mode-over .results-right{grid-area:1/2/span 2}.ir-stage #ir-overlay.mode-over .score-block{padding:2px 0}.ir-stage #ir-overlay.mode-over .score-value{font-size:34px}.ir-stage #ir-overlay.mode-over .stats-grid{grid-template-columns:repeat(2,1fr);gap:6px}.ir-stage #ir-overlay.mode-over .stat-tile{padding:6px}.ir-stage #ir-overlay.mode-over .stat-val{font-size:14.5px}.ir-stage #ir-overlay.mode-over .history-list{flex:auto;max-height:none}.ir-stage #ir-overlay.mode-over .action-hint{display:none}}
