:root{--bg:#12151c;--surface:#1c2230;--surface-2:#252d3d;--border:#3a4558;--text:#e8ecf4;--muted:#9aa5bb;--accent:#5b9aff;--accent-dim:#3d6fbf;--success:#3dba7a;--warn:#e8b84a;--danger:#e86a6a;--your-turn:#2a4a3a;--font:"Oxanium", system-ui, "Segoe UI", Roboto, sans-serif}*,:before,:after{box-sizing:border-box}html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg);min-height:100%;color:var(--text);font-family:var(--font);margin:0;font-size:15px;line-height:1.45}#app{max-width:960px;margin:0 auto;padding:1.25rem 1rem 3rem}#screen-fade-scrim{opacity:0;z-index:9999;pointer-events:none;background:#000;transition:opacity .8s ease-out;position:fixed;inset:0}#screen-fade-scrim.active{opacity:1}h1{margin:0 0 .25rem;font-size:1.5rem;font-weight:600}#app-logo-host{z-index:3;pointer-events:none;position:fixed;top:1rem;left:1rem}#app-logo-host.hidden{display:none}.app-logo{text-align:left;text-transform:uppercase;letter-spacing:.08em;margin:.25rem 0 1.25rem;font-size:2rem;font-weight:400;line-height:1}@media (width>=481px){.app-logo{font-size:4rem}}@media (width>=801px){.app-logo{font-size:6.5rem}}.app-logo-sub{letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#cfcfcf);opacity:0;margin:-.75rem 0 0 .15rem;font-size:1rem;font-weight:300}@media (width>=481px){.app-logo-sub{margin-top:-1.1rem;font-size:1.25rem}}@media (width>=801px){.app-logo-sub{margin-top:-1.6rem}}.app-logo-sub.animate{animation:1.6s ease-out .6s both logo-sub-in}.app-logo-sub.fade-out{animation:.5s ease-in both logo-sub-out}@keyframes logo-sub-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes logo-sub-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2px)}}.logo-letter{display:inline-block}.logo-letter.animate{opacity:0;filter:blur(4px);transform:translate(-14px)}.subtitle{color:var(--muted);margin:0 0 1.5rem;font-size:.9rem}.panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:1rem;padding:1rem 1.1rem}.panel h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 .75rem;font-size:.8rem}.setup-top-row{flex-wrap:wrap;align-items:stretch;gap:1rem;margin-bottom:1rem;display:flex}.setup-top-col{flex:240px;min-width:0;margin-bottom:0}.row-inline{align-items:stretch;gap:.5rem;display:flex}.row-inline input[type=text]{flex:auto;margin-bottom:0}.row-inline button{flex:none}.row.join-id-row{flex-wrap:nowrap;align-items:center}.row-inline.join-id-row input.join-id-part{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:.02em;flex:1 1 0;width:auto;min-width:0;max-width:9rem}.row.join-id-row>button{flex:none}.join-id-sep{color:var(--muted);-webkit-user-select:none;user-select:none;flex:none;font-weight:600}label{color:var(--muted);margin-bottom:.35rem;font-size:.85rem;display:block}input[type=text]{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);line-height:1;font:inherit;border-radius:6px;margin-bottom:.75rem;padding:.65rem .65rem .45rem}input:focus{outline:2px solid var(--accent);border-color:#0000}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}button,.tile-btn{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:6px;padding:.75rem .75rem .6rem;line-height:1}button:hover:not(:disabled),.tile-btn:hover:not(:disabled){border-color:var(--accent)}button:disabled,.tile-btn:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover:not(:disabled){background:var(--accent-dim)}button.primary-success{background:var(--success);border-color:var(--success);color:#0a1a12}button.primary-success:hover:not(:disabled){filter:brightness(1.08)}button.ghost{background:0 0}.status-bar{background:var(--surface-2);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:1rem;padding:.65rem .9rem;font-size:.9rem;display:flex}.status-bar.your-turn{background:var(--your-turn);border:1px solid #3d8b5a}.badge{background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:.34rem .55rem .2rem;font-size:.82rem;font-weight:600;line-height:1;display:inline-block}.badge.turn{background:var(--success);border-color:var(--success);color:#0a1a12}.error{color:var(--danger);border:1px solid var(--danger);background:#e86a6a1f;border-radius:6px;margin-bottom:1rem;padding:.5rem .75rem;font-size:.9rem}.hand{flex-wrap:wrap;gap:.4rem;display:flex}.tile-btn{text-align:center;font-variant-numeric:tabular-nums;min-width:3.2rem;font-weight:600}.tile-btn.selected{outline:2px solid var(--accent);border-color:var(--accent)}.tile-btn.playable{border-color:var(--success)}.trains{gap:.65rem;display:grid}.train-row{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:.55rem .65rem}.train-row.marked{border-color:var(--warn)}.train-row h3{margin:0 0 .35rem;font-size:.85rem;font-weight:600}.train-chain{color:var(--muted);word-break:break-word;font-size:.85rem}.train-meta{color:var(--muted);margin-top:.25rem;font-size:.8rem}.actions{flex-direction:column;gap:.4rem;display:flex}.actions button{text-align:left}.events{color:var(--muted);margin:0;padding:0;font-size:.85rem;list-style:none}.events li{border-bottom:1px solid var(--border);padding:.2rem 0}.events li:last-child{border-bottom:none}.match-list{margin:0;padding:0;list-style:none}.match-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.match-list-row[data-open-match]{cursor:pointer;border-radius:0;padding-inline:.35rem;transition:background .12s}.match-list-row[data-open-match]:hover{background:#ffffff0d}.match-list-row[data-open-match]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.match-list li:last-child{border-bottom:none}.scores{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem;display:grid}.score-card{background:var(--surface-2);border-radius:6px;padding:.5rem;font-size:.85rem}.score-card strong{font-size:1.1rem;display:block}.hidden{display:none!important}.board-3d-slot{background:#0e1117;border-radius:8px;width:100%;height:480px;position:relative;overflow:hidden}.board-3d-canvas{width:100%;height:100%;display:block}.board-3d-slot:after{content:"";z-index:1;pointer-events:none;background:radial-gradient(#0000 55%,#0000002e 75%,#00000073 100%);position:absolute;inset:0}.game-stage{z-index:10;background:#0e1117;position:fixed;inset:0;overflow:hidden}.game-stage .board-3d-slot{border-radius:0;width:100%;height:100%;position:absolute;inset:0}.board-3d-slot.setup-backdrop{z-index:0;pointer-events:none;border-radius:0;width:100vw;height:100vh;position:fixed;inset:0}.charity-card{color:inherit;opacity:.85;flex-direction:column;gap:.6rem;text-decoration:none;transition:opacity .15s;display:flex}.charity-card:hover,.charity-card:focus-visible{opacity:1}.charity-card--corner{z-index:2;mix-blend-mode:screen;width:min(300px,28vw);position:fixed;bottom:1rem;right:1rem}@media (width>=1100px){.charity-card--corner{width:400px}}@media (width>=1440px){.charity-card--corner{width:500px}.charity-card--corner .charity-caption{font-size:.85rem}}.charity-card--inline{gap:.45rem;display:none}.charity-card--inline .charity-caption{text-align:left}.charity-card--inline .charity-logo{width:min(240px,70%)}.charity-caption{color:#e8ecf4d9;text-align:right;margin:0;font-size:.78rem;line-height:1.35}.charity-logo{width:100%;height:auto;display:block}@media (width<=860px){.charity-card--corner{display:none}.charity-card--inline{display:flex}}.space-grid{z-index:0;pointer-events:none;background-image:linear-gradient(90deg,#ffffff0b 1px,#0000 1px),linear-gradient(#ffffff0b 1px,#0000 1px);background-position:0 0;background-size:72px 72px;position:fixed;inset:0}.hud-top.setup-hud-top{z-index:20;pointer-events:none;position:fixed;top:0;left:auto;right:0}.hud-top.setup-hud-top .menu-toggle{pointer-events:auto}.setup-content{z-index:1;position:relative}.setup-panels{--plus-half:11px;left:calc(1rem - var(--plus-half));width:calc(min(512px, calc(100vw - 2rem)) + var(--plus-half) * 2);z-index:2;max-height:calc(100vh - 6rem);padding:var(--plus-half);overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;gap:1.5rem;display:flex;position:fixed;bottom:1rem;overflow-y:auto}.setup-panels::-webkit-scrollbar{display:none}@keyframes setup-panel-in{0%{opacity:0;transform:translate(-140px)}to{opacity:1;transform:translate(0)}}.setup-panels[data-anim=in]>.setup-panel,.setup-panels[data-anim=in]>.row,.setup-panels[data-anim=in]>.charity-card{animation:.42s cubic-bezier(.22,.61,.36,1) both setup-panel-in}.setup-panels[data-anim=in]>:first-child{animation-delay:0s}.setup-panels[data-anim=in]>:nth-child(2){animation-delay:80ms}.setup-panels[data-anim=in]>:nth-child(3){animation-delay:.16s}.setup-panels[data-anim=in]>:nth-child(4){animation-delay:.24s}@keyframes setup-panel-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-140px)}}.setup-panels.leaving>.setup-panel,.setup-panels.leaving>.row,.setup-panels.leaving>.charity-card{animation:.26s ease-in both setup-panel-out}.setup-panels.leaving>:first-child{animation-delay:0s}.setup-panels.leaving>:nth-child(2){animation-delay:60ms}.setup-panels.leaving>:nth-child(3){animation-delay:.12s}.setup-panels.leaving>:nth-child(4){animation-delay:.18s}.setup-panels .setup-panel{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:0;margin-bottom:0;padding:.9rem 1rem;position:relative}.setup-panels .setup-panel:before{--plus-size:22px;--plus-half:11px;content:"";inset:calc(var(--plus-half) * -1);pointer-events:none;--panel-plus:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M11 2v18M2 11h18' stroke='rgba(255,255,255,0.66)' stroke-width='1' stroke-linecap='round'/></svg>");background:var(--panel-plus) 0 0 / var(--plus-size) var(--plus-size) no-repeat, var(--panel-plus) 100% 0 / var(--plus-size) var(--plus-size) no-repeat, var(--panel-plus) 0 100% / var(--plus-size) var(--plus-size) no-repeat, var(--panel-plus) 100% 100% / var(--plus-size) var(--plus-size) no-repeat;position:absolute}.hud-top,.hud-scores,.hud-log,.hud-actions,.hud-error{z-index:2;position:absolute}.hud-modal-scrim{z-index:100;position:absolute}.hud-top{pointer-events:none;background:0 0;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem 1rem;padding:.6rem .9rem;display:flex;top:0;left:0;right:0}.hud-top:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(#0c0f1666 0%,#0c0f1652 18%,#0c0f1638 38%,#0c0f161f 58%,#0c0f160f 76%,#0c0f1605 90%,#0c0f1600 100%);height:220%;position:absolute;top:0;left:0;right:0}.hud-top .hud-controls{pointer-events:auto}.hud-title{pointer-events:none;flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.hud-top .menu-toggle,.hud-top .hud-top-toggle{pointer-events:auto;flex:none}.hud-top .hud-top-toggle{text-align:center;min-width:2.4em;font-size:.95rem;font-weight:600}.hud-top .hud-top-toggle.off{opacity:.55}.hud-top .hud-top-toggle.on{opacity:1}.hud-top-secondary{opacity:0;pointer-events:none;align-items:center;gap:.5rem;transition:opacity .16s ease-out,transform .16s ease-out;display:flex;transform:translate(4px)}.hud-top-secondary.visible{opacity:1;pointer-events:auto;transform:translate(0)}.hud-top-secondary:not(.visible) .hud-top-toggle{pointer-events:none}.hud-top .hud-top-toggle .fa-solid{font-size:.9em;line-height:1}.hud-top .hud-top-toggle .hud-toggle-slash{transform-origin:50%;pointer-events:none;border-top:2px solid;position:absolute;inset:22% 12%;transform:rotate(-30deg)}.hud-top .hud-top-toggle{position:relative}.hud-title strong{font-size:1rem;font-weight:600}.hud-title .hud-sub{color:var(--muted);font-size:.8rem}.hud-turn{background:var(--surface-2);border:1px solid var(--border);pointer-events:auto;border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .7rem;font-size:.85rem;font-weight:600;display:inline-flex}.hud-turn.mine{background:var(--success);border-color:var(--success);color:#07150d}.hud-turn .dot{background:var(--muted);border-radius:50%;width:8px;height:8px}.hud-turn.mine .dot{background:#07150d}.hud-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.8rem;display:inline-flex}.hud-scores{pointer-events:none;flex-direction:column;gap:.3rem;max-width:40vw;display:flex;top:3.6rem;left:.9rem}.hud-score-chip{border:1px solid var(--border);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1c2230c7;border-radius:6px;justify-content:space-between;align-items:center;gap:.6rem;padding:.3rem .55rem .12rem;font-size:.8rem;line-height:1;display:flex}.hud-score-chip.me{border-color:var(--accent-dim)}.hud-score-chip.turn{border-color:var(--success)}.hud-score-chip strong{font-variant-numeric:tabular-nums}.hud-score-chip .delta{color:var(--warn);font-size:.72rem}.hud-log{pointer-events:none;width:min(280px,60vw);max-height:28vh;color:var(--muted);flex-direction:column;gap:.15rem;font-size:.78rem;display:flex;bottom:.9rem;left:.9rem;overflow:hidden}.hud-log .hud-log-line{background:#12151c99;border-radius:5px;padding:.26rem .5rem .1rem;line-height:1}.hud-log .hud-log-line:first-child{color:var(--text);background:#1c2230c7}.hud-actions{pointer-events:none;flex-direction:column;align-items:center;gap:.5rem;display:flex;bottom:1rem;left:50%;transform:translate(-50%)}.hud-action-row{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.hud-actions button{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1c2230eb;box-shadow:0 2px 10px #00000059}.hud-opening-sort{pointer-events:auto;color:var(--text);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer;background:#1c2230d9;border:1px solid #ffffff1f;border-radius:6px;font-size:.78rem}.hud-opening-sort:hover{background:#262e40e6}.hud-opening-sort-group{pointer-events:auto;gap:.25rem;display:inline-flex}.hud-opening-sort.active,.hud-opening-sort[disabled]{color:#fff;cursor:default;opacity:1;background:#485c8cf2;border-color:#ffffff4d}.hud-opening-sort{position:relative}.hud-opening-sort-caption{color:#e8ecf4;line-height:1;font-size:calc(.7rem * var(--text-scale,1));letter-spacing:.01em;white-space:nowrap;opacity:0;pointer-events:none;z-index:200;background:#141a26f5;border:1px solid #ffffff2e;border-radius:4px;padding:8px 10px 5px;font-weight:600;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)translateY(2px);box-shadow:0 4px 12px #0006}.hud-opening-sort-caption.visible{opacity:1;transform:translate(-50%)translateY(0)}.label-short{display:none}@media (width<=768px){.label-full{display:none}.label-short{display:inline}}.hud-hint{color:var(--text);text-align:center;pointer-events:none;background:#12151cb3;border-radius:8px;justify-content:center;align-items:center;min-height:2.5rem;padding:.4rem .7rem .2rem;font-size:.82rem;line-height:1;display:inline-flex}.hud-hint.waiting{color:var(--muted)}.hud-error{pointer-events:auto;max-width:90vw;color:var(--danger);border:1px solid var(--danger);background:#281212eb;border-radius:8px;padding:.5rem .85rem;font-size:.85rem;top:3.4rem;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0006}.hud-modal-scrim{pointer-events:auto;background:#080a0e99;justify-content:center;align-items:safe center;padding:1rem;display:flex;inset:0;overflow-y:auto}.hud-modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:min(420px,92vw);max-height:calc(100vh - 2rem);padding:1.25rem 1.4rem;overflow:hidden auto;box-shadow:0 12px 40px #00000080}.hud-modal .scores-grid{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin:.5rem 0 1rem;font-size:.85rem}.hud-modal .scores-grid thead th{text-align:center;color:#e8ecf4;border-bottom:1px solid #ffffff2e;padding:.72rem .5rem .5rem;font-weight:700;line-height:1}.hud-modal .scores-grid thead th:first-child{text-align:left}.hud-modal .scores-grid tbody th{text-align:left;color:#e8ecf4;white-space:nowrap;padding:.72rem .5rem .5rem;font-weight:600;line-height:1}.hud-modal .scores-grid tbody td{text-align:center;color:#c2c8d5;padding:.72rem .5rem .5rem;line-height:1}.hud-modal .scores-grid tbody td.total{color:#e8ecf4;border-left:1px solid #ffffff1a;font-weight:700}.hud-modal .scores-grid tbody tr:nth-child(2n){background:#ffffff08}.hud-modal .scores-grid.starting-draws .starting-draws-caption{caption-side:top;text-align:left;color:#e8ecf4a6;letter-spacing:.01em;padding:0 0 .3rem .5rem;font-size:.75rem;font-weight:500}.hud-modal .scores-grid.starting-draws tbody td.draw-tile{text-align:center;padding:.32rem .5rem .18rem;line-height:1}.hud-modal .scores-grid tbody tr.you{background:#ffd1a814}.hud-modal .scores-grid tbody tr.lead td.total{color:#b9f0d2}.hud-modal .scores-grid .self-tag{color:#ffd1a8;text-transform:uppercase;letter-spacing:.06em;background:#ffd1a833;border-radius:4px;margin-left:.4rem;padding:3px 5px 1px;font-size:.65rem;font-weight:700;line-height:1}.hud-modal h2{margin:0 0 .5rem;font-size:1.2rem}.hud-modal p{color:var(--muted);margin:0 0 1rem}.hud-modal .row{justify-content:flex-end}.game-loading{z-index:5;background:#0e1117;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;display:flex;position:fixed;inset:0}.row-labels-overlay{pointer-events:none;z-index:50;transition:opacity .12s ease-out;position:absolute;inset:0}.row-labels-overlay .row-label{line-height:1;font:600 .78rem var(--font);color:#e8ecf4;white-space:nowrap;letter-spacing:.01em;text-shadow:0 1px 2px #00000073;background:#1c2230d1;border-radius:6px;align-items:center;gap:.45rem;padding:.3rem .55rem .14rem;display:inline-flex;position:absolute;transform:translateY(calc(1px - 50%));box-shadow:0 1px 1px #00000059,0 4px 10px #00000059}.row-labels-overlay .row-label.turn{text-shadow:0 0 4px #000000d9,0 1px 3px #000000d9;background:#285aa0eb}.row-labels-overlay .row-label.internet{background:#1c2230b3;font-style:italic}.row-labels-overlay .row-label.bot .name{color:#aacfff}.row-labels-overlay .row-label .score{font-variant-numeric:tabular-nums;background:#ffffff1f;border-radius:4px;outline:none;padding:6px 8px 2px;font-weight:700;line-height:1;display:inline-block;position:relative}.row-labels-overlay .row-label{pointer-events:auto;cursor:help}.row-labels-overlay .row-label .score-caption{color:#e8ecf4;letter-spacing:.01em;white-space:nowrap;opacity:0;pointer-events:none;z-index:200;background:#141a26f5;border:1px solid #ffffff2e;border-radius:4px;padding:8px 10px 5px;font-size:.72rem;font-weight:600;line-height:1;transition:opacity .16s,transform .16s;position:absolute;top:50%;left:calc(100% + 6px);transform:translateY(-50%)translate(-2px);box-shadow:0 4px 12px #0006}.row-labels-overlay .row-label .score-caption.visible{opacity:1;transform:translateY(-50%)translate(0)}.row-labels-overlay .row-label .state{color:#b9f0d2;letter-spacing:.08em;text-transform:uppercase;background:#3dba7a38;border:1px solid #3dba7a8c;border-radius:4px;padding:3px 5px 1px;font-size:.62rem;font-weight:700;line-height:1}.game-stage{--text-scale:1}.game-stage.text-medium{--text-scale:1.45}.game-stage.text-large{--text-scale:1.75}.setup-content{font-size:15px}.setup-content.text-medium{font-size:17px}.setup-content.text-large{font-size:19px}.hud-modal.menu-modal.text-small{--text-scale:1}.hud-modal.menu-modal.text-medium{--text-scale:1.45}.hud-modal.menu-modal.text-large{--text-scale:1.75}.game-stage .hud-top,.game-stage .hud-log,.game-stage .hud-actions,.game-stage .hud-error,.game-stage .row-labels-overlay{transition:opacity .6s}.game-stage.idle .hud-top,.game-stage.idle .hud-log,.game-stage.idle .hud-actions,.game-stage.idle .hud-error,.game-stage.idle .row-labels-overlay{opacity:0;pointer-events:none}.game-stage .row-labels-overlay .row-label{font-size:calc(.78rem * var(--text-scale))}.game-stage .row-labels-overlay .row-label .state{font-size:calc(.62rem * var(--text-scale))}.game-stage .row-labels-overlay .row-label .score{font-size:calc(.78rem * var(--text-scale))}.game-stage .hud-title strong{font-size:calc(1rem * var(--text-scale))}.game-stage .hud-title .hud-sub,.game-stage .hud-meta{font-size:calc(.8rem * var(--text-scale))}.game-stage .hud-hint,.game-stage .hud-error{font-size:calc(.85rem * var(--text-scale))}.game-stage .hud-log-line{font-size:calc(.72rem * var(--text-scale))}.game-stage .hud-controls button,.game-stage .hud-actions button{font-size:calc(.85rem * var(--text-scale))}.game-stage .badge{font-size:calc(.72rem * var(--text-scale))}.game-stage .hud-turn{font-size:calc(.8rem * var(--text-scale))}.game-stage .row-labels-overlay .row-label .score-caption{font-size:calc(.7rem * var(--text-scale))}.game-stage .hud-modal h2,.hud-modal.menu-modal h2{font-size:calc(1.15rem * var(--text-scale))}.game-stage .hud-modal p,.hud-modal.menu-modal p{font-size:calc(.9rem * var(--text-scale))}.game-stage .hud-modal label,.hud-modal.menu-modal label{font-size:calc(.8rem * var(--text-scale))}.game-stage .hud-modal button,.hud-modal.menu-modal button,.game-stage .hud-modal .menu-info,.hud-modal.menu-modal .menu-info,.game-stage .hud-modal .scores-grid,.hud-modal.menu-modal .scores-grid{font-size:calc(.85rem * var(--text-scale))}.game-stage .hud-modal .self-tag,.hud-modal.menu-modal .self-tag{font-size:calc(.7rem * var(--text-scale))}.tile-badge{vertical-align:-1px;font-variant-numeric:tabular-nums;background:#f4f6fa;border:1px solid #3a2f22;border-radius:5px;align-items:stretch;margin:0 .4em;font-size:.92em;font-weight:800;line-height:1;display:inline-flex;overflow:hidden}.tile-badge .half{text-align:center;min-width:1.2em;padding:3px 6px 1px}.tile-badge .half+.half{border-left:1px solid #3a2f22}.hud-controls .menu-toggle{min-width:2.2rem;padding:.35rem .7rem;font-size:1.15rem;line-height:1}.share-row{position:relative}.share-row input{width:100%;margin:0;padding:.55rem 4.5rem .55rem .65rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.share-row .share-copy-btn{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:5px;padding:.4rem .75rem .2rem;font-size:.8rem;font-weight:600;line-height:1;position:absolute;top:50%;right:.3rem;transform:translateY(-50%)}.share-row .share-copy-btn:hover:not(:disabled){background:var(--accent-dim);border-color:var(--accent-dim)}.lobby-players{flex-direction:column;gap:.4rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.lobby-player{box-sizing:border-box;background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:.5rem;height:4rem;padding:.55rem .75rem;display:flex}.lobby-player.you{background:#ffd1a814;border-color:#ffd1a847}.lobby-player.empty{opacity:.7;font-style:italic}.lobby-player.empty button{opacity:1;font-style:normal}.lobby-player.bot{background:#78b4dc12;border-color:#78b4dc38}.lobby-player .badge.cpu{color:#c9e2f5;background:#78b4dc2e;border:1px solid #78b4dc73}.lobby-player-name{flex:1;padding-top:3px;font-weight:600;line-height:1}.bot-remove-btn{color:#ffffff8c;cursor:pointer;background:0 0;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:1.7rem;height:1.7rem;padding:3px 0 0;font-size:.85rem;line-height:1;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.bot-remove-btn:hover:not(:disabled){color:#ffd5d5;background:#e86a6a2e;border-color:#e86a6a99}.lobby-status-note{color:var(--muted);border:1px dashed #ffffff24;border-radius:6px;padding:.4rem .6rem;font-size:.85rem;line-height:1}.lobby-player-edit{border:1px solid var(--user-pip-color,#ffffff1f);width:1.7rem;height:1.7rem;color:var(--user-pip-color,#ffffff9e);cursor:pointer;background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:.72rem;line-height:1;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.lobby-player-edit:hover:not(:disabled){background:color-mix(in srgb, var(--user-pip-color,#5b9aff) 20%, transparent);border-color:var(--user-pip-color,#5b9aff8c);color:var(--user-pip-color,#dae7ff);filter:brightness(1.15)}.resume-banner{background:#ffd1a81a;border:1px solid #ffd1a852;border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.65rem .85rem;font-size:.92rem;display:flex}.resume-banner code{background:#ffffff0d;border-radius:4px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.resume-actions{align-items:center;gap:.5rem;display:flex}.match-list-row.lobby strong{color:#ffd1a8}.match-list-row.completed{opacity:.7}.match-list-actions{flex-shrink:0;align-items:center;gap:.4rem;display:inline-flex}.match-list-check{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.45rem;display:inline-flex}.match-list-check input[type=checkbox]{appearance:none;cursor:pointer;background:0 0;border:1.5px solid #ffffff59;border-radius:3px;flex-shrink:0;width:1.05rem;height:1.05rem;margin:0;transition:border-color .12s,background .12s;display:inline-block;position:relative}.match-list-check input[type=checkbox]:hover{border-color:#ffffff8c}.match-list-check input[type=checkbox]:checked{background:#ffd1a8;border-color:#ffd1a8}.match-list-check input[type=checkbox]:checked:after{content:"";border-bottom:2px solid #1a1f2c;border-right:2px solid #1a1f2c;width:.32rem;height:.6rem;position:absolute;top:.05rem;left:.25rem;transform:rotate(45deg)}.match-list-check input[type=checkbox]:focus-visible{outline-offset:1px;outline:2px solid #ffd1a88c}.match-list-check-label{color:var(--muted);font-size:.85rem;font-weight:600}.match-list-info{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;padding-top:3px;line-height:1;display:block;overflow:hidden}.match-list-check-label{padding-top:3px;line-height:1}.match-list-row.footer{background:0 0}.panel-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.panel-header h2{margin:0}.panel-header .segmented-control{flex:none}.panel-header-controls{flex:none;align-items:center;gap:.5rem;display:flex}.icon-btn{justify-content:center;align-items:center;width:2rem;height:2rem;padding:0;line-height:1;display:inline-flex}.icon-btn .fa-solid{font-size:.9em}.setup-panel.always-open>summary{cursor:default}.setup-panel>summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;padding:.5rem 0 .35rem;list-style:none;transition:filter .26s ease-out;display:flex}.setup-panel>summary::-webkit-details-marker{display:none}.setup-panels.has-open .setup-panel:not([open])>summary h2{color:var(--muted);opacity:.55}.setup-panels.has-open .setup-panel:not([open])>summary{filter:saturate(.6)}.setup-panels.has-open .setup-panel:not([open]){background:#ffffff08;transition:background .26s ease-out}.setup-panels .setup-panel{transition:background .26s ease-out}.setup-panels.has-open .setup-panel:not([open]):hover>summary h2{color:var(--text);opacity:.85}.setup-panel>summary h2{color:var(--text);text-transform:none;letter-spacing:0;flex:auto;margin:0;font-size:1.35rem;line-height:1;transition:color .26s ease-out,opacity .26s ease-out}.setup-panel>summary .panel-header{flex:auto;margin-bottom:0}.setup-panel:not([open])>summary .panel-header-controls{display:none}.hud-hint.selected{color:#faecc6;text-align:center;background:#ffd1a81a;border:1px solid #ffd1a852;border-radius:8px}.hud-line{font-size:calc(.95rem * var(--text-scale,1));color:#d8d4c2;line-height:1.4;display:inline-block}.hud-line strong{color:#faecc6;font-weight:600}.hud-modal.menu-modal{min-width:280px;width:min(92vw, calc(420px * var(--text-scale,1)));max-width:min(92vw, calc(420px * var(--text-scale,1)))}.menu-list{flex-direction:column;gap:.45rem;margin:0 0 1rem;padding:0;list-style:none;display:flex}.menu-list li button{text-align:left;width:100%}.menu-info{color:#d8d4c2;margin:0;font-size:.9rem;line-height:1.45}.menu-info+.menu-info{margin-top:.15rem}.menu-info strong{color:#faecc6;font-weight:600}.menu-pending-double{margin:.5rem 0 0}.hud-modal.menu-modal{position:relative}.hud-modal.menu-modal h2{margin-bottom:.5rem}.hud-modal.menu-modal .menu-list{margin-top:1rem}.modal-close{color:#ffecc6b3;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:2.1rem;height:2.1rem;padding:0;font-size:1.05rem;line-height:1;display:inline-flex;position:absolute;top:.5rem;right:.5rem}.modal-close:hover{color:#faecc6;background:#ffffff14}.menu-row{justify-content:space-between;align-items:center;gap:.75rem;margin:1.05rem 0;display:flex}.menu-row label{color:#d8d4c2;margin-bottom:0;font-size:.92rem;line-height:1}.hud-modal.menu-modal .menu-tabs{border-bottom:1px solid #ffffff1a;gap:0;margin:.4rem 0 .9rem;display:flex}.hud-modal.menu-modal .menu-tab{color:#e8ecf48c;font-size:calc(.95rem * var(--text-scale,1));cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;flex:auto;padding:.55rem .9rem;font-weight:600;transition:color .12s ease-out,border-color .12s ease-out}.hud-modal.menu-modal .menu-tab:hover{color:#fff}.hud-modal.menu-modal .menu-tab.active{color:#fff;border-bottom-color:#ffffffbf}.hud-modal.menu-modal .menu-tab:focus-visible{outline-offset:-2px;outline:2px solid #fff6}.hud-modal.menu-modal .menu-tab-panel[data-anim=in]{animation:.22s ease-out backwards menu-tab-swap}@keyframes menu-tab-swap{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.hud-modal-scrim[data-menu-scrim][data-anim=in]{animation:.18s ease-out both menu-scrim-in}.hud-modal-scrim[data-menu-scrim].is-closing{animation:.18s ease-in both menu-scrim-out}.hud-modal.menu-modal{transform-origin:top}.hud-modal.menu-modal[data-anim=in]{animation:.2s cubic-bezier(.2,.9,.35,1.1) backwards menu-modal-in}.hud-modal.menu-modal.is-closing{animation:.18s ease-in both menu-modal-out}@keyframes menu-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes menu-scrim-out{0%{opacity:1}to{opacity:0}}@keyframes menu-modal-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes menu-modal-out{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-6px)scale(.98)}}.segmented-control{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:7px;display:inline-flex;overflow:hidden}.loco-swatch-grid{flex-wrap:wrap;align-items:center;gap:.35rem;display:inline-flex}.loco-swatch{cursor:pointer;background:0 0;border:2px solid #ffffff2e;border-radius:6px;width:2rem;height:1.75rem;padding:0;transition:transform .12s,border-color .12s}.loco-swatch:hover{border-color:#ffffff80;transform:scale(1.08)}.loco-swatch.active{border-width:4px;border-color:#fff;box-shadow:0 0 0 2px #ffffff40}.loco-swatch{position:relative}.loco-swatch-caption{color:#e8ecf4;line-height:1;font-size:calc(.7rem * var(--text-scale,1));letter-spacing:.01em;white-space:nowrap;opacity:0;pointer-events:none;z-index:200;background:#141a26f5;border:1px solid #ffffff2e;border-radius:4px;padding:8px 10px 5px;font-weight:600;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)translateY(2px);box-shadow:0 4px 12px #0006}.loco-swatch:hover .loco-swatch-caption,.loco-swatch:focus-visible .loco-swatch-caption{opacity:1;transform:translate(-50%)translateY(0)}.loco-swatch-auto{color:#ffffffbf;letter-spacing:.05em;text-transform:uppercase;width:auto;height:1.5rem;padding:0 .55rem;font-size:.72rem;font-weight:700;line-height:1}.loco-swatch-auto.active{color:#fff}.segmented-control button{color:#ffffffb8;cursor:pointer;background:0 0;border:none;font-size:.85rem;transition:background .12s,color .12s}.segmented-control button:hover{color:#fff;background:#ffffff0f}.segmented-control button.active{color:#faecc6;background:#ffd1a838}.toggle-switch{cursor:pointer;background:#ffffff1a;border:1px solid #ffffff24;border-radius:999px;width:42px;height:22px;padding:0;transition:background .18s,border-color .18s;position:relative}.toggle-switch.on{background:#ffd1a859;border-color:#ffd1a88c}.toggle-thumb{background:#faecc6;border-radius:50%;width:16px;height:16px;transition:transform .18s;display:block;position:absolute;top:2px;left:2px}.toggle-switch.on .toggle-thumb{transform:translate(20px)}.menu-footer{gap:.5rem;margin-top:1rem;display:flex}.menu-footer>button{flex:1 1 0}.hud-end-sequence{pointer-events:none;z-index:60;flex-direction:column;align-items:center;gap:.5rem;padding:0 1rem;display:flex;position:absolute;bottom:4.5rem;left:0;right:0}.hud-end-sequence-text{pointer-events:auto;color:#e8ecf4;font-size:calc(.9rem * var(--text-scale,1));text-align:center;background:#141a26eb;border:1px solid #ffffff2e;border-radius:6px;max-width:min(90vw,640px);padding:.4rem .9rem;font-weight:600;box-shadow:0 4px 12px #0006}.hud-end-sequence-continue{pointer-events:auto}.hud-end-sequence-continue button{pointer-events:auto;font-size:calc(.85rem * var(--text-scale,1));color:var(--text);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer;background:#1c2230d9;border:1px solid #ffffff1f;border-radius:6px;padding-left:1.2rem;padding-right:1.2rem}.hud-end-sequence-continue button:hover{background:#262e40e6}.hud-hint.waiting.clickable{pointer-events:auto;cursor:pointer;color:inherit;background:#ffffff0d;border:1px solid #ffffff1a}.hud-hint.waiting.clickable:hover{background:#ffd1a81a;border-color:#ffd1a852}.hud-modal .scores-grid-scroll{margin:.5rem 0 1rem;padding-bottom:.6rem;overflow-x:auto}.hud-modal.wide-scores,.hud-modal.menu-modal.wide-scores{--sc-em:calc(.85rem * var(--text-scale,1));width:min(96vw, max(min(92vw, calc(420px * var(--text-scale,1))), calc((9 + var(--rounds,3) * 2.9 + 3.8) * var(--sc-em) + 2.8rem + 4px)));max-width:96vw;overflow:hidden auto}.hud-modal.wide-scores .scores-grid-scroll{padding-bottom:.6rem;overflow:auto hidden}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar{height:12px}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar-track{background:var(--surface-2);border-radius:999px}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar-corner{background:0 0}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar-thumb{background:var(--accent-dim);border:2px solid var(--surface-2);border-radius:999px;min-width:48px;min-height:48px}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent)}.hud-modal.wide-scores .scores-grid-scroll::-webkit-scrollbar-thumb:active{background:#8bb8ff}@supports not selector(::-webkit-scrollbar){.hud-modal.wide-scores .scores-grid-scroll{scrollbar-width:auto;scrollbar-color:var(--accent-dim) var(--surface-2)}}.hud-modal .scores-grid-scroll .scores-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;margin:0}.hud-modal .scores-grid-scroll .scores-grid th:first-child,.hud-modal .scores-grid-scroll .scores-grid td.total,.hud-modal .scores-grid-scroll .scores-grid thead th:last-child{z-index:1;background:var(--surface);position:sticky}.hud-modal .scores-grid-scroll .scores-grid th:first-child{left:0}.hud-modal .scores-grid-scroll .scores-grid td.total,.hud-modal .scores-grid-scroll .scores-grid thead th:last-child{right:0}.hud-modal .scores-grid-scroll .scores-grid tbody tr:nth-child(2n) th:first-child,.hud-modal .scores-grid-scroll .scores-grid tbody tr:nth-child(2n) td.total{background:linear-gradient(#ffffff08, #ffffff08), var(--surface)}.hud-modal .scores-grid-scroll .scores-grid tbody tr.you th:first-child,.hud-modal .scores-grid-scroll .scores-grid tbody tr.you td.total{background:linear-gradient(#ffd1a814, #ffd1a814), var(--surface)}.new-match-row{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:0 0 .9rem;display:flex}.new-match-row:first-of-type{margin-top:.4rem}.new-match-row>label{flex:0 0 9rem;margin:0;line-height:1}.new-match-row>.segmented-control{margin-left:auto}.new-match-footer{align-items:center;gap:1rem;margin-top:.4rem;display:flex}.new-match-footer>.train-meta{flex:auto;margin:0}.new-match-footer>button{flex:none}.hud-modal .scores-grid-scroll .scores-grid.fixed-cols{--round-w:2.9em;--total-w:3.8em;--name-min:9em;table-layout:fixed;width:max(100%, calc(var(--name-min) + var(--rounds) * var(--round-w) + var(--total-w)));min-width:0}.hud-modal .scores-grid.fixed-cols col.col-round{width:var(--round-w)}.hud-modal .scores-grid.fixed-cols col.col-total{width:var(--total-w)}.hud-modal .scores-grid.fixed-cols th.round,.hud-modal .scores-grid.fixed-cols td.round{white-space:nowrap;padding-left:0;padding-right:0}.hud-modal .scores-grid.fixed-cols tbody th{text-overflow:ellipsis;overflow:hidden}.hud-modal .scores-grid thead tr.score-chart-row th,.hud-modal .scores-grid thead tr.score-chart-row td{vertical-align:top;border-bottom:1px solid #ffffff14;padding:0}.hud-modal .scores-grid .sc-plot-cell{padding:.6rem 0 .4rem}.hud-modal .scores-grid .sc-plot{width:100%;display:block;overflow:visible}.hud-modal .scores-grid .sc-axis{margin:.6rem 0 .4rem;font-weight:400;position:relative}.hud-modal .scores-grid .sc-ytitle{white-space:normal;max-width:5.6em;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:600;line-height:1.2;position:absolute;top:50%;left:.5rem;transform:translateY(-50%)}.hud-modal .scores-grid .sc-ytick{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.7rem;line-height:1;position:absolute;right:.45rem;transform:translateY(-50%)}.hud-modal .scores-grid .sc-grid{stroke:#ffffff14;stroke-width:1px}.hud-modal .scores-grid .sc-col{stroke:#ffffff0f;stroke-width:1px}.hud-modal .scores-grid .sc-series:not(.you){opacity:.85}.hud-modal .scores-grid .sc-dot{fill:none;stroke-linecap:round}.hud-modal .scores-grid .sc-swatch{vertical-align:.2em;border-radius:999px;width:.85rem;height:.3rem;margin-right:.45rem;display:inline-block}@media (prefers-reduced-motion:reduce){@keyframes setup-panel-in{0%{opacity:0}to{opacity:1}}@keyframes setup-panel-out{0%{opacity:1}to{opacity:0}}@keyframes menu-modal-in{0%{opacity:0}to{opacity:1}}@keyframes menu-modal-out{0%{opacity:1}to{opacity:0}}@keyframes menu-tab-swap{0%{opacity:0}to{opacity:1}}@keyframes logo-sub-in{0%{opacity:0}to{opacity:1}}@keyframes logo-sub-out{0%{opacity:1}to{opacity:0}}*,:before,:after{scroll-behavior:auto!important;transition-property:opacity,color,background-color,border-color,box-shadow,filter!important}.loco-swatch:hover{transform:none}}.hud-modal.name-prompt{max-width:26rem}.hud-modal.name-prompt #name-prompt-input{width:100%;margin:.75rem 0 1rem}.hud-modal.name-prompt .name-prompt-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.row-labels-overlay .row-label .order{color:#e8ecf4d9;font-variant-numeric:tabular-nums;border:1px solid #ffffff59;border-radius:999px;justify-content:center;align-items:center;min-width:1.35em;height:1.35em;padding:.15em .2em 0;font-size:.85em;font-weight:700;line-height:1;display:inline-flex}.row-labels-overlay .row-label.turn .order{color:#12151c;text-shadow:none;background:#ffffffeb;border-color:#0000}.share-qr{align-items:center;gap:1rem;margin-top:.9rem;display:flex}.share-qr-code{background:#fff;border-radius:8px;flex:none;width:132px;height:132px;overflow:hidden}.share-qr-code svg{width:100%;height:100%;display:block}.share-qr .train-meta{margin:0}.hud-keys{z-index:2;pointer-events:none;font-size:calc(.72rem * var(--text-scale,1));color:var(--muted);background:#12151cb8;border-radius:8px;padding:.6rem .75rem .45rem;position:absolute;bottom:.9rem;right:.9rem}.hud-keys dl{grid-template-columns:max-content max-content;gap:.3rem .7rem;margin:0;display:grid}.hud-keys dt{justify-content:flex-end;gap:.2rem;display:flex}.hud-keys dd{align-self:center;margin:0}.hud-keys kbd{min-width:1.6em;font:600 .9em var(--font);text-align:center;color:var(--text);border:1px solid #ffffff40;border-bottom-width:2px;border-radius:4px;padding:.25em .4em .1em;line-height:1;display:inline-block}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.hud-modal .match-stats{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.5rem;margin:.4rem 0 .8rem;padding:0;list-style:none;display:grid}.hud-modal .match-stats li{background:#ffffff0d;border:1px solid #ffffff14;border-radius:8px;flex-direction:column;gap:.3rem;padding:.6rem .75rem .45rem;display:flex}.hud-modal .match-stat-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.72rem;font-weight:700;line-height:1}.hud-modal .match-stat-value{font-weight:600;line-height:1.2}.menu-row.install-hint .hud-hint-inline{text-align:right;color:var(--muted);margin-left:auto;font-size:.85em;line-height:1.3}.reaction-layer{pointer-events:none;z-index:60;position:fixed;inset:0;overflow:hidden}.reaction-float{filter:drop-shadow(0 4px 8px #00000080);will-change:transform, opacity;font-size:2.4rem;line-height:1;position:absolute}.reaction-picker{pointer-events:auto;background:#141a26f2;border:1px solid #ffffff26;border-radius:999px;gap:.25rem;padding:.35rem;display:flex;position:absolute;top:calc(100% + .4rem);right:0;box-shadow:0 6px 18px #00000073}.reaction-picker button{cursor:pointer;background:0 0;border:none;border-radius:999px;width:2.6rem;height:2.6rem;padding:0;font-size:1.5rem;line-height:1}.reaction-picker button:hover,.reaction-picker button:focus-visible{background:#ffffff1f}.hud-top .reaction-wrap{position:relative}.board-3d-canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.hud-modal .scores-grid thead th.round{color:var(--muted)}.hud-modal .scores-grid thead th.round.current{color:#fff}.hud-modal .scores-grid tbody td.round.future{color:#9aa5bb8c}.hud-modal .scores-grid .sc-col.current{stroke:#ffffff47;stroke-width:2px}.hud-modal .scores-grid .sc-hit{pointer-events:stroke;cursor:pointer}.hud-modal .scores-grid .sc-series .sc-dot,.hud-modal .scores-grid .sc-series .sc-line,.hud-modal .scores-grid .sc-series .sc-carry{pointer-events:none}.hud-modal .scores-grid .sc-dot{pointer-events:stroke}.hud-modal .scores-grid tbody tr[data-sc-pid]{cursor:pointer}.hud-modal .scores-grid .sc-series{transition:opacity .12s}.hud-modal .scores-grid.has-hl .sc-series:not(.sc-hl){opacity:.18}.hud-modal .scores-grid .sc-series.sc-hl .sc-line{stroke-width:4.5px}.hud-modal .scores-grid.has-hl tbody tr:not(.sc-hl){opacity:.55}.hud-modal .scores-grid tbody tr.sc-hl>*{background-color:#ffffff1a}.hud-modal .scores-grid tbody tr.sc-hl th:first-child,.hud-modal .scores-grid tbody tr.sc-hl td.total{background:linear-gradient(#ffffff1a, #ffffff1a), var(--surface)}.hud-keys.gamepad kbd.pad-face{color:#12151c;border-bottom-width:1px;border-radius:999px;min-width:1.7em}.hud-keys.gamepad kbd.pad-a{background:#3dba7a;border-color:#3dba7a}.hud-keys.gamepad kbd.pad-b{background:#e86a6a;border-color:#e86a6a}.hud-keys.gamepad kbd.pad-x{background:#5b9aff;border-color:#5b9aff}.hud-keys.gamepad kbd.pad-y{background:#e8b84a;border-color:#e8b84a}body.gamepad-active :focus{outline-offset:2px;outline:2px solid #fbbf24}.hud-keys.gamepad kbd.ps-cross,.hud-keys.gamepad kbd.ps-circle,.hud-keys.gamepad kbd.ps-square,.hud-keys.gamepad kbd.ps-triangle,.hud-keys.gamepad kbd.nin{background:#1c2230;border-color:#ffffff59;font-weight:800}.hud-keys.gamepad kbd.ps-cross{color:#7fa8ff}.hud-keys.gamepad kbd.ps-circle{color:#ff6b6b}.hud-keys.gamepad kbd.ps-square{color:#e88ad6}.hud-keys.gamepad kbd.ps-triangle{color:#3fd0a6}.hud-keys.gamepad kbd.nin{color:var(--text)}.hud-modal .scores-grid .sc-grid,.hud-modal .scores-grid .sc-col{shape-rendering:crispedges}
