:root{--deep:#001628;--deep-raised:#04243c;--steel:#355464;--steel-soft:#2a4353;--ice:#99d9d9;--ice-dim:#6fb3b3;--boundless:#68a2b9;--alert:#e9072b;--alert-dim:#a8061f;--text:#eaf4f7;--text-muted:#9fb6c2;--text-on-ice:#032330;--radius:10px;--radius-sm:6px;--tap:44px;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0;padding:0}body{background:var(--deep);color:var(--text);font-family:var(--font);overscroll-behavior:none;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.4}#root{flex-direction:column;min-height:100%;display:flex}h1,h2,h3{letter-spacing:-.01em;margin:0;font-weight:700}button{font:inherit;color:inherit;cursor:pointer;min-height:var(--tap);border-radius:var(--radius-sm);touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:0 14px}button:focus-visible,[role=button]:focus-visible{outline:2px solid var(--ice);outline-offset:2px}.btn{background:var(--steel);color:var(--text);font-weight:600}.btn:hover:not(:disabled){background:var(--steel-soft)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--ice);color:var(--text-on-ice)}.btn-primary:hover:not(:disabled){background:var(--ice-dim)}.btn-danger{color:var(--alert);border:1px solid var(--alert-dim);background:0 0}.btn-ghost{color:var(--text-muted);border:1px solid var(--steel);background:0 0}.btn-sm{min-height:34px;padding:0 10px;font-size:13px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.board-shell{flex-direction:column;flex:1;min-height:100dvh;padding-bottom:76px;display:flex}.board-bar{z-index:20;padding:8px 12px;padding-top:max(8px, env(safe-area-inset-top));background:var(--deep);border-bottom:1px solid var(--steel-soft);flex-direction:column;gap:6px;display:flex;position:sticky;top:0}.board-bar.has-menu{z-index:40}.board-bar-top,.board-bar-bottom{align-items:center;gap:8px;min-width:0;display:flex}.board-bar-bottom{justify-content:space-between}.practice-chip{min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:baseline;gap:5px;padding:4px 0;display:flex}.practice-chip:disabled{cursor:default}.practice-chip-label{white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:700;overflow:hidden}.practice-chip-caret{color:var(--text-muted);flex-shrink:0;font-size:10px}.board-bar-meta{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.board-bar-actions{flex-shrink:0;gap:6px;display:flex}.btn-icon{flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:16px;line-height:1;display:inline-flex}.btn-icon.is-spinning{animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.btn-icon.is-spinning{opacity:.5;animation:none}}.menu-scrim{z-index:1;cursor:default;background:0 0;border:none;padding:0;position:fixed;inset:0}.board-menu{z-index:2;background:var(--deep-raised);border:1px solid var(--steel-soft);border-radius:12px;flex-direction:column;min-width:190px;padding:6px;display:flex;position:absolute;top:calc(100% - 4px);right:12px;box-shadow:0 12px 28px #00000073}.board-menu-item{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:11px 12px;font-size:15px}.board-menu-item:active{background:var(--steel-soft)}.stale-bar{z-index:18;background:var(--alert-dim);color:#fff;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex;position:sticky;top:84px}.stale-bar .btn-ghost{color:#fff;border-color:#fff6}.hint-bar{z-index:19;background:var(--ice);color:var(--text-on-ice);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex;position:sticky;top:84px}.hint-bar .btn-ghost{color:var(--text-on-ice);border-color:#0323304d}.toast{z-index:60;border-radius:var(--radius);background:var(--alert);color:#fff;text-align:center;max-width:calc(100vw - 32px);padding:10px 16px;font-size:13px;font-weight:600;position:fixed;bottom:96px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #0006}.teams{grid-template-columns:1fr 1fr;align-items:start;gap:8px;padding:8px;display:grid}.team-column{border-radius:var(--radius);min-width:0;padding:8px}.team-light{background:#99d9d91f;border:1px solid #99d9d959}.team-dark{border:1px solid var(--steel-soft);background:#000c1699}.team-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.team-header h2{text-transform:uppercase;letter-spacing:.08em;font-size:13px}.team-light .team-header h2{color:var(--ice)}.team-dark .team-header h2{color:var(--text-muted)}.team-count{font-variant-numeric:tabular-nums;color:var(--text-muted);background:#00000040;border-radius:999px;padding:1px 7px;font-size:12px}.line-block{margin-bottom:10px}.line-label{text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);margin-bottom:4px;font-size:10px;display:block}.slot-group{border:1px dashed var(--steel);border-radius:var(--radius-sm);margin-bottom:5px;padding:5px;transition:border-color .12s,background .12s}.slot-group.is-over{border-color:var(--ice);background:#99d9d924;border-style:solid}.slot-group.is-target{border-color:var(--ice-dim);border-style:solid}.slot-group.is-blocked{opacity:.4}.slot-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:3px;font-size:9px;display:block}.slot-members{flex-direction:column;gap:4px;display:flex}.slot-empty{border-radius:var(--radius-sm);background:#ffffff08;border:1px solid #ffffff0d;height:30px}.player-card{min-height:var(--tap);border-radius:var(--radius-sm);background:var(--steel);touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:grab;border:1px solid #0000;align-items:center;gap:6px;padding:6px 8px;font-size:14px;display:flex}.player-card-compact{min-height:34px;padding:4px 7px;font-size:13px}.player-card.is-selected{border-color:var(--ice);background:var(--steel-soft);box-shadow:0 0 0 2px #99d9d94d}.player-card.is-dragging{opacity:.3}.player-card.is-overlay{cursor:grabbing;border-color:var(--ice);transform:scale(1.04);box-shadow:0 10px 28px #0000008c}.player-card.is-maybe{border-style:dashed;border-color:var(--boundless)}.player-dot{background:var(--boundless);border-radius:50%;flex-shrink:0;width:8px;height:8px}.player-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.player-jersey,.player-position,.player-maybe{font-variant-numeric:tabular-nums;color:var(--text-muted);flex-shrink:0;font-size:10px}.player-position{color:var(--ice);background:#0000004d;border-radius:3px;padding:1px 4px;font-weight:700}.player-maybe{color:var(--boundless);font-weight:700}.pool{z-index:30;background:var(--deep-raised);border-top:1px solid var(--steel);border-radius:var(--radius) var(--radius) 0 0;max-height:46vh;padding-bottom:env(safe-area-inset-bottom);flex-direction:column;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000059}.pool.is-over{border-top-color:var(--ice);background:#08304a}.pool-handle{border-radius:var(--radius) var(--radius) 0 0;align-items:center;gap:8px;width:100%;min-height:48px;padding:0 14px;display:flex}.pool-title{text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);flex:1;font-size:13px;font-weight:600}.pool-count{font-variant-numeric:tabular-nums;background:var(--alert);color:#fff;border-radius:999px;padding:2px 9px;font-size:13px;font-weight:700}.pool-count.is-clear{background:var(--steel);color:var(--text-muted)}.pool-chevron{color:var(--text-muted);font-size:10px}.pool-members{flex-wrap:wrap;gap:6px;padding:0 12px 12px;display:flex;overflow-y:auto}.pool-members .player-card{flex:0 calc(50% - 3px)}.pool-empty{color:var(--text-muted);margin:0 0 8px;font-size:13px}@media (width>=720px){.teams{gap:16px;max-width:900px;margin:0 auto;padding:16px}.pool-members .player-card{flex:0 calc(25% - 5px)}.board-shell{padding-bottom:96px}}.player-shell{padding:16px;padding-top:max(16px, env(safe-area-inset-top));padding-bottom:max(16px, env(safe-area-inset-bottom));flex:1;width:100%;max-width:640px;margin:0 auto}.player-header{margin-bottom:16px}.player-header h1{font-size:20px}.player-you{color:var(--text-muted);margin:4px 0 0;font-size:14px}.player-you strong{color:var(--ice)}.player-teams{grid-template-columns:1fr 1fr;gap:10px;display:grid}.player-team{border-radius:var(--radius);min-width:0;padding:12px}.player-team h2{text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;font-size:12px}.player-team.team-light h2{color:var(--ice)}.player-team.team-dark h2{color:var(--text-muted)}.player-team.is-yours{box-shadow:0 0 0 2px var(--ice)}.player-line{margin-bottom:12px}.player-line-names{flex-direction:column;gap:3px;margin:0;padding:0;list-style:none;display:flex}.player-line-names li{padding:3px 0;font-size:14px}.player-line-names li.is-you{color:var(--ice);font-weight:700}.player-line-empty{color:var(--text-muted)}.waiting-card{text-align:center;border:1px dashed var(--steel);border-radius:var(--radius);margin-top:20vh;padding:28px 20px}.waiting-icon{margin-bottom:12px;font-size:34px;display:block}.waiting-message{margin:0 0 6px;font-size:17px;font-weight:600}.waiting-sub{color:var(--text-muted);margin:0;font-size:14px}.toast-info{background:var(--steel);color:var(--text);border:1px solid var(--ice-dim)}.app-footer{padding:24px 16px calc(24px + env(safe-area-inset-bottom));text-align:center}.footer-link{min-height:auto;color:var(--text-muted);opacity:.55;text-underline-offset:3px;padding:8px 12px;font-size:12px;text-decoration:underline}.footer-link:hover{opacity:1;color:var(--ice)}.loading-screen{flex:1;place-items:center;min-height:50vh;display:grid}.loading-dot{background:var(--ice);border-radius:50%;width:12px;height:12px;animation:1.1s ease-in-out infinite pulse}.saving-dot{background:var(--ice);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;animation:1.1s ease-in-out infinite pulse;display:inline-block}@keyframes pulse{0%,to{opacity:.25}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.loading-dot,.saving-dot{opacity:.8;animation:none}}.demo-banner{z-index:100;padding:6px 12px;padding-top:max(6px, env(safe-area-inset-top));background:var(--alert);color:#fff;text-align:center;letter-spacing:.02em;font-size:12px;font-weight:700;position:sticky;top:0}.referee-strip{border-bottom:1px solid var(--steel-soft);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 12px;display:flex}.referee-strip-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);flex-shrink:0;font-size:10px}.referee-strip-list{flex-wrap:wrap;gap:6px;display:flex}.referee-chip{border:1px solid var(--boundless);color:var(--text);background:#68a2b926;border-radius:999px;padding:3px 10px;font-size:12px}.live-card{border:1px solid var(--ice);background:var(--deep-raised);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;padding:10px 12px;display:flex}.live-card-main{align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.live-dot{background:var(--ice);border-radius:50%;flex-shrink:0;width:8px;height:8px;box-shadow:0 0 0 3px #99d9d92e}.live-warning{color:var(--alert);margin-top:8px}.practice-list{flex-direction:column;gap:6px;margin-top:6px;display:flex}.practice-row{border:1px solid var(--steel-soft);background:var(--deep-raised);border-radius:10px;align-items:center;gap:6px;padding:4px 6px 4px 10px;display:flex}.practice-row.is-current{border-color:var(--ice)}.practice-row-main{min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;gap:2px;padding:8px 0;display:flex}.practice-row-main.is-static{cursor:default}.practice-row-when{font-size:15px;font-weight:700}.practice-row-marks{color:var(--text-muted);font-size:12px}.practice-row-confirm{flex-shrink:0;gap:6px;display:flex}.practice-row-delete{color:var(--text-muted);flex-shrink:0}.jersey-input{font-variant-numeric:tabular-nums;max-width:5.5rem}.player-when{color:var(--text-muted);margin:2px 0 0;font-size:14px}.archive-block{padding-top:0}.archive-toggle{border:1px solid var(--steel);width:100%}.archive-list{flex-direction:column;gap:6px;margin:10px 0 0;padding:0;list-style:none;display:flex}.archive-row{background:var(--deep-raised);border:1px solid var(--steel-soft);border-radius:var(--radius-sm);text-align:left;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 12px;font-size:14px;display:flex}.archive-row.is-active{border-color:var(--ice)}.archive-name{color:var(--text-muted);font-size:12px}.prefs-card{border:1px solid var(--steel);border-radius:var(--radius);background:var(--deep-raised);margin-top:24px;overflow:hidden}.prefs-card.is-locked{text-align:center;border-style:dashed;padding:14px}.prefs-locked{color:var(--text-muted);margin:0;font-size:13px}.prefs-toggle{justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:0 14px;font-size:14px;font-weight:600;display:flex}.prefs-chevron{color:var(--text-muted);font-size:10px}.prefs-body{border-top:1px solid var(--steel-soft);padding:4px 14px 16px}.prefs-hint{color:var(--text-muted);text-transform:none;letter-spacing:0;margin-top:3px;font-size:12px;font-weight:400;display:block}.prefs-optin{align-items:flex-start;gap:12px}.prefs-message{color:var(--ice);margin:10px 0 0;font-size:13px}.stats-link{border:1px solid var(--steel);width:100%;margin-top:16px}.stats-header{align-items:center;gap:10px;display:flex}.stats-note{color:var(--text-muted);margin-top:16px;font-size:12px}.drill-block{margin-top:24px}.drill-heading{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);align-items:center;gap:8px;margin-bottom:10px;font-size:12px;display:flex}.drill-list{counter-reset:drill;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.drill-item{border:1px solid var(--steel-soft);border-radius:var(--radius-sm);background:var(--deep-raised);padding:10px 12px}.drill-title{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:14px;font-weight:600;display:flex}.drill-title a{color:var(--ice)}.drill-count{color:var(--text-muted);font-size:11px;font-weight:400}.drill-desc{color:var(--text-muted);margin:4px 0 0;font-size:13px}.drill-actions{justify-content:flex-end;gap:6px;margin-top:8px;display:flex}.attached-item{border-color:var(--ice-dim)}.library-block{margin-top:28px}.library-list{margin-top:10px}.player-tabs{z-index:15;padding:8px 12px;padding-top:max(8px, env(safe-area-inset-top));background:var(--deep);border-bottom:1px solid var(--steel-soft);gap:4px;display:flex;position:sticky;top:0}.player-tab{min-height:40px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;flex:1;padding:8px 4px;font-size:14px;font-weight:600}.player-tab.is-active{background:var(--deep-raised);border-color:var(--steel-soft);color:var(--text)}.player-tab:focus-visible{outline:2px solid var(--ice);outline-offset:2px}.player-panel{flex-direction:column;gap:12px;padding:16px 0;display:flex}.panel-notice{border:1px dashed var(--steel);color:var(--text-muted);border-radius:10px;margin:0;padding:10px 12px;font-size:14px}.drill-facts{flex-wrap:wrap;gap:5px;margin:4px 0 2px;display:flex}.drill-fact{letter-spacing:.02em;border:1px solid var(--steel-soft);color:var(--ice-dim);border-radius:999px;padding:2px 8px;font-size:12px}.drill-total{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:13px}.cue-list{color:var(--text-muted);flex-direction:column;gap:3px;margin:6px 0 0;padding-left:18px;font-size:14px;display:flex}.cue-list li::marker{color:var(--ice-dim)}.text-area{resize:vertical;min-height:72px;font-family:inherit;line-height:1.45}.field-grid{flex-wrap:wrap;gap:10px;display:flex}.field-grid .field{flex:90px}.roster-name-text{flex-direction:column;gap:1px;min-width:0;display:flex}.roster-meta{color:var(--text-muted);font-size:12px;font-weight:400}.player-position{opacity:.45}.player-position.is-on{opacity:1;background:var(--ice);color:var(--on-ice)}.player-position.is-switch{cursor:pointer;font:inherit;border:none;min-width:26px;min-height:26px;padding:0 6px}.player-position.is-switch:focus-visible{outline:2px solid var(--ice);outline-offset:1px}.player-note{border-left:2px solid var(--ice);background:var(--deep-raised);color:var(--text);border-radius:0 8px 8px 0;margin:8px 0 0;padding:10px 12px;font-size:14px;line-height:1.5}.btn-outline{border-color:var(--ice);color:var(--ice);background:0 0}.unsaved-flag{color:var(--alert)}.points-button{border:1px solid var(--steel-soft);min-width:34px;min-height:30px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border-radius:8px;padding:2px 8px;font-weight:700}.points-button.is-open{background:var(--ice);border-color:var(--ice);color:var(--on-ice)}.points-button:focus-visible{outline:2px solid var(--ice);outline-offset:2px}.split-row td{background:var(--deep);padding:0 0 10px}.line-breakdown{background:var(--deep-raised);border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.line-split{align-items:baseline;gap:10px;font-size:14px;display:flex}.line-split-label{min-width:56px;font-weight:700}.line-split-figures{color:var(--text-muted);font-variant-numeric:tabular-nums}.line-split-points{color:var(--ice);font-variant-numeric:tabular-nums;margin-left:auto;font-weight:700}.scoreline{border:1px solid var(--steel-soft);background:var(--deep-raised);border-radius:12px;justify-content:center;align-items:center;gap:14px;padding:16px 12px;display:flex}.scoreline-side{align-items:baseline;gap:8px;display:flex}.scoreline-name{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-size:13px}.scoreline-goals{font-variant-numeric:tabular-nums;font-size:30px;font-weight:700}.scoreline-dash{color:var(--text-muted)}.scorer-list{flex-direction:column;gap:5px;margin:6px 0 0;padding:0;list-style:none;display:flex}.scorer-list li{justify-content:space-between;gap:10px;font-size:15px;display:flex}.scorer-figures{color:var(--ice);font-variant-numeric:tabular-nums;white-space:nowrap}.line-goals{color:var(--ice);font-variant-numeric:tabular-nums}.show-everyone{align-self:flex-start;margin-top:4px}.line-scores{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.line-score{border:1px solid var(--steel-soft);background:var(--deep-raised);border-radius:10px;flex-direction:column;flex:88px;gap:2px;padding:8px 10px;display:flex}.line-score-label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:12px}.line-score-figures{font-variant-numeric:tabular-nums;font-size:18px;font-weight:700}.report-list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.report-row{border:1px solid var(--steel-soft);background:var(--deep-raised);border-left-width:3px;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;display:flex}.report-row.team-tag-light{border-left-color:var(--ice)}.report-row.team-tag-dark{border-left-color:var(--steel)}.report-who{flex-direction:column;flex:130px;gap:1px;min-width:0;display:flex}.report-name{font-weight:700}.report-where{color:var(--text-muted);font-size:12px}.report-stat{align-items:center;gap:4px;display:flex}.report-stat-label{color:var(--text-muted);min-width:12px;font-size:12px;font-weight:700}.report-stat-value{text-align:center;font-variant-numeric:tabular-nums;min-width:20px;font-weight:700}.drill-watch{color:var(--ice);margin-top:6px;font-size:14px;font-weight:600;display:inline-block}.suggest-prompt{border:1px dashed var(--steel);color:var(--text-muted);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;padding:12px;font-size:14px;display:flex}.sheet{flex-direction:column;flex:1;height:100dvh;min-height:0;display:flex}.sheet-body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:20px 16px;overflow-y:auto}.sheet-body:first-child{padding-top:max(20px, env(safe-area-inset-top))}.sheet-header{padding:10px 12px;padding-top:max(10px, env(safe-area-inset-top));border-bottom:1px solid var(--steel-soft);background:var(--deep);flex-shrink:0;align-items:center;gap:8px;display:flex}.sheet-back{flex-shrink:0;font-size:18px;line-height:1}.sheet-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:17px;overflow:hidden}.sheet-header-action{flex-shrink:0}.sheet-body h1{margin-bottom:20px;font-size:20px}.sheet-actions{padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--steel-soft);background:var(--deep);flex-shrink:0;gap:8px;display:flex}.sheet-actions .btn{flex:1}.field{margin-bottom:20px;display:block}.field-row{justify-content:space-between;align-items:center;display:flex}.field-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:8px;font-size:11px;display:block}.field-row .field-label{margin-bottom:0}.text-input{width:100%;min-height:var(--tap);border-radius:var(--radius-sm);border:1px solid var(--steel);background:var(--deep-raised);color:var(--text);padding:0 12px;font-family:inherit;font-size:16px}.text-input:focus{outline:2px solid var(--ice);outline-offset:1px}input[type=checkbox]{width:24px;height:24px;accent-color:var(--ice)}.segmented{gap:6px;display:flex}.segmented-wrap{flex-wrap:wrap}.segmented-wrap .segment{flex:40%}.segment{background:var(--deep-raised);border:1px solid var(--steel);font-variant-numeric:tabular-nums;flex:1;font-weight:700}.segment.is-active{background:var(--ice);color:var(--text-on-ice);border-color:var(--ice)}.option-list{flex-direction:column;gap:8px;display:flex}.option{text-align:left;background:var(--deep-raised);border:1px solid var(--steel);flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:10px 12px;display:flex}.option.is-active{border-color:var(--ice);background:#99d9d91f}.option-label{font-size:15px;font-weight:600}.option-hint{color:var(--text-muted);font-size:12px}.chip-row{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--deep-raised);border:1px solid var(--steel);border-radius:999px;min-height:36px;padding:0 12px;font-size:13px}.sheet-hint{color:var(--text-muted);margin:-12px 0 20px;font-size:13px}.roster-list{margin:0;padding:0;list-style:none}.roster-row{border-bottom:1px solid var(--steel-soft);padding:12px 0}.roster-row:last-child{border-bottom:none}.roster-name{align-items:center;gap:8px;margin-bottom:8px;font-size:15px;font-weight:600;display:flex}.roster-controls{align-items:center;gap:8px;margin-bottom:8px;display:flex}.segmented-sm{flex:1;max-width:180px}.segmented-sm .segment{min-height:38px;font-size:14px}.jersey-input{text-align:center;flex-shrink:0;width:64px;min-height:38px}.swatch-row{flex-wrap:wrap;gap:6px;display:flex}.swatch{border:2px solid #0000;border-radius:50%;flex-shrink:0;width:30px;height:30px;min-height:30px;padding:0}.swatch.is-active{border-color:var(--text);box-shadow:0 0 0 2px var(--deep), 0 0 0 4px var(--ice)}.queue{border:1px solid var(--boundless);border-radius:var(--radius);background:#68a2b91a;margin-bottom:24px;padding:12px}.queue-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);align-items:center;gap:8px;margin-bottom:10px;font-size:12px;display:flex}.queue-count{background:var(--boundless);color:var(--deep);border-radius:999px;padding:1px 8px;font-weight:700}.queue-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.queue-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.queue-text{flex-direction:column;gap:1px;min-width:0;font-size:14px;display:flex}.queue-text span{color:var(--text-muted);font-size:13px}.queue-note{font-style:italic}.queue-actions{flex-shrink:0;gap:6px;display:flex}.table-scroll{margin:0 -16px;padding:0 16px;overflow-x:auto}.stats-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.stats-table th,.stats-table td{text-align:right;border-bottom:1px solid var(--steel-soft);white-space:nowrap;padding:8px 6px}.stats-table thead th{border-bottom:1px solid var(--steel);padding:0}.stats-table .player-cell,.stats-table thead th:first-child{text-align:left;background:var(--deep);font-weight:600;position:sticky;left:0}.th-button{text-transform:uppercase;letter-spacing:.06em;width:100%;min-height:36px;color:var(--text-muted);text-align:right;padding:0 6px;font-size:11px}.stats-table thead th:first-child .th-button{text-align:left}.th-button.is-sorted{color:var(--ice)}.th-narrow{width:44px}.cell-strong{color:var(--ice);font-weight:700}.same-line-flag{border:1px solid var(--ice-dim);color:var(--text-muted);white-space:nowrap;border-radius:999px;margin-left:8px;padding:1px 6px;font-size:.7rem;font-weight:600}.table-empty{text-align:center;color:var(--text-muted);padding:24px 8px}.adjust-panel{border:1px solid var(--ice-dim);border-radius:var(--radius);background:var(--deep-raised);margin-top:20px;padding:16px}.adjust-title{margin-bottom:4px;font-size:16px}.adjust-hint{color:var(--text-muted);margin:0 0 16px;font-size:13px}.adjust-actions{gap:8px;display:flex}.adjust-actions .btn{flex:1}.stepper{align-items:center;gap:8px;display:flex}.stepper .btn{width:52px;font-size:20px}.stepper-value{text-align:center;font-variant-numeric:tabular-nums;flex:1;font-size:18px;font-weight:700}select.text-input{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);background-position:calc(100% - 18px),calc(100% - 13px);background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:34px}.signin-body{flex-direction:column;justify-content:center;display:flex}.signin-sub,.link-note{color:var(--text-muted);margin:-12px 0 20px;font-size:14px}.signin-sent-title{margin:0 0 6px;font-size:18px;font-weight:700}.signin-sent-sub{color:var(--text-muted);margin:0 0 16px}.create-button{width:100%;margin-top:12px}.team-list{flex-direction:column;gap:8px;margin:0 0 24px;padding:0;list-style:none;display:flex}.team-row{background:var(--deep-raised);border:1px solid var(--steel);text-align:left;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;display:flex}.team-row-name{font-weight:600}.team-row-state{color:var(--alert);font-size:12px}.team-row-state.is-linked{color:var(--ice)}.link-card{border:1px solid var(--ice-dim);border-radius:var(--radius);background:#99d9d914;margin-bottom:24px;padding:16px}.link-title{margin-bottom:12px;font-size:16px}.link-steps{margin:0 0 12px;padding-left:20px;font-size:14px;line-height:1.7}.link-steps code{font-family:var(--font-mono);background:#00000059;border-radius:4px;padding:1px 5px}.setup-code{letter-spacing:.08em;color:var(--ice);-webkit-user-select:all;user-select:all;margin-top:6px;font-size:17px;font-weight:700;display:block;padding:10px 12px!important}.submit-card{border:1px solid var(--steel);border-radius:var(--radius);background:var(--deep-raised);margin-top:28px;padding:16px}.submit-card.is-locked{text-align:center;border-style:dashed}.submit-locked,.submit-done{color:var(--text-muted);margin:0 0 10px;font-size:14px}.submit-done{color:var(--ice);font-weight:600}.submit-title{margin-bottom:2px;font-size:15px}.submit-sub{color:var(--text-muted);margin:0 0 14px;font-size:13px}.submit-stepper{margin:12px 0}.submit-button{width:100%;margin-top:12px}.submit-error{color:var(--alert);margin:10px 0 0;font-size:13px}.team-list-item{align-items:stretch;gap:6px;display:flex}.team-list-item .team-row{flex:1}.team-row-unlink{color:var(--alert);flex-shrink:0}.link-card-warn{border-color:var(--alert-dim);background:#e9072b14}.sheet-hint-top{margin-top:0}.ref-toggle{text-transform:uppercase;letter-spacing:.04em;border:1px solid var(--steel);min-height:28px;color:var(--text-muted);background:0 0;border-radius:999px;margin-left:auto;padding:2px 10px;font-size:11px;font-weight:700}.ref-toggle.is-active{background:var(--boundless);border-color:var(--boundless);color:var(--deep)}.roster-row.is-referee{opacity:.9}.ref-note{color:var(--text-muted);margin:0;font-size:12px;font-style:italic}.save-status{color:var(--text-muted);white-space:nowrap;font-size:12px}.save-status.is-error{color:var(--alert)}.history-body{flex-direction:column;gap:8px;padding-top:8px;display:flex}.history-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.history-row{border:1px solid var(--steel-soft);background:var(--deep-raised);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.history-row.needs-line{border-color:var(--alert-dim)}.history-head{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.history-who{font-weight:700}.history-what{color:var(--ice);font-variant-numeric:tabular-nums}.history-when{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.history-note{color:var(--text-muted);margin:0;font-size:14px}.history-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.history-status{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:12px}.history-status.is-approved{color:var(--ice)}.history-status.is-rejected{color:var(--alert)}.history-actions{flex-wrap:wrap;gap:6px;display:flex}.suggestions{border-bottom:1px solid var(--steel-soft);flex-direction:column;gap:10px;margin-bottom:4px;padding-bottom:12px;display:flex}.suggestion-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.suggestion-card{border:1px solid var(--ice-dim);background:var(--deep-raised);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.suggestion-card.is-rejected{border-color:var(--steel-soft);opacity:.8}.suggestion-head{flex-direction:column;gap:2px;display:flex}.suggestion-title{font-weight:700}.suggestion-meta{color:var(--text-muted);font-size:12px}.suggestion-link{color:var(--ice);font-size:13px}.suggestion-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}
