@font-face{font-family:Archivo Variable;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/touchtally/assets/archivo-latin-wdth-normal-DY7AcnAa.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Archivo Variable;font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/touchtally/assets/archivo-latin-ext-wdth-normal-7khWdh9v.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{--paper:#f3f5f1;--surface:#fff;--fill:#e9ede7;--ink:#0f1b2d;--muted:#5b677a;--faint:#b4bcc4;--line:#dbe1db;--accent:#0a7d4f;--accent-ink:#fff;--accent-soft:#dff1e7;--live:#e8480f;--danger:#c62828;--jersey-edge:#0f1b2d47;--scrim:#090f1a80;--font:"Archivo Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);--safe-l:env(safe-area-inset-left,0px);--safe-r:env(safe-area-inset-right,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#0b1320;--surface:#131d2e;--fill:#1c283d;--ink:#edf2f7;--muted:#95a3b8;--faint:#4a5a72;--line:#25334a;--accent:#35d08b;--accent-ink:#052015;--accent-soft:#12382a;--live:#ff7a45;--danger:#ff6b6b;--jersey-edge:#ffffff4d;--scrim:#02060ca8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--paper:#0b1320;--surface:#131d2e;--fill:#1c283d;--ink:#edf2f7;--muted:#95a3b8;--faint:#4a5a72;--line:#25334a;--accent:#35d08b;--accent-ink:#052015;--accent-soft:#12382a;--live:#ff7a45;--danger:#ff6b6b;--jersey-edge:#ffffff4d;--scrim:#02060ca8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{height:100%}#root{left:0;right:0;top:var(--view-top,0px);height:var(--view-height,100%);position:fixed}body{background:var(--paper);color:var(--ink);font:400 15px/1.4 var(--font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;margin:0;overflow:hidden}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.4}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.logo rect{fill:var(--accent)}.logo path{fill:none;stroke:var(--accent-ink);stroke-width:2.4px;stroke-linecap:round}.jersey{flex:none}.jersey text{font:700 19px var(--font);font-stretch:75%}.tally{flex:none;max-width:100%}.tally path{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round}.screen{height:100%;padding:var(--safe-t) var(--safe-r) 0 var(--safe-l);flex-direction:column;display:flex}.scroll{overscroll-behavior:contain;flex-direction:column;flex:1;gap:28px;min-height:0;padding:8px max(16px,50% - 310px) 32px;display:flex;overflow-y:auto}.brandbar,.topbar{flex:none;align-items:center;gap:10px;min-height:60px;padding:8px max(16px,50% - 310px);display:flex}.topbar{padding-left:max(6px,50% - 320px)}.brandbar .btn,.topbar-right{margin-left:auto}.topbar-right{align-items:center;gap:4px;display:flex}.wordmark{letter-spacing:-.02em;font-size:21px;font-weight:800;font-stretch:112%}.page-title,.topbar-title{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:21px;font-weight:750;overflow:hidden}.tabbar{background:var(--surface);border-top:1px solid var(--line);padding-bottom:var(--safe-b);flex:none;display:flex}.tabbar button{min-height:58px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:600;display:flex;position:relative}.tabbar button[aria-current=page]{color:var(--accent)}.tabbar button[aria-current=page]:before{content:"";background:var(--accent);border-radius:0 0 3px 3px;width:36px;height:3px;position:absolute;top:-1px}.actionbar{padding:10px max(16px, calc((100% - 620px) / 2)) calc(10px + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);flex:none}.actionbar-split{gap:8px;display:flex}.btn{background:var(--fill);white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-weight:650;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-danger{background:var(--danger);color:#fff}.btn-block{width:100%}.iconbtn{border-radius:12px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.iconbtn:active:not(:disabled),.iconbtn-ring{background:var(--fill)}.group{flex-direction:column;gap:12px;display:flex}.group-title{color:var(--muted);font-size:13px;font-weight:650}.hint{color:var(--muted);max-width:60ch;font-size:14px}.version{color:var(--faint);font-size:13px}.stack{flex-direction:column;gap:8px;display:flex}.pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.rows{background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.row,.fixture{text-align:left;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;display:flex}.row+.row,.fixture+.fixture{border-top:1px solid var(--line)}.row>.icon,.fixture>.icon{color:var(--faint)}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-main strong{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.row-main small{color:var(--muted);font-size:13px}.row-lineup{flex-wrap:wrap;row-gap:6px}.row-order{gap:4px;min-height:52px;padding:4px 6px 4px 14px}.row-lineup[data-out=true] .row-main,.row-lineup[data-out=true] .jersey{opacity:.45}.fixture-when{width:76px;color:var(--muted);font-variant-numeric:tabular-nums;flex-direction:column;flex:none;font-size:13px;display:flex}.fixture-live{color:var(--live);align-items:center;gap:5px;font-weight:700;display:inline-flex}.fixture-live i,.clock[data-phase=running] .clock-label:before{content:"";background:var(--live);border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite blink}.fixture-sides{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.fixture-side{color:var(--muted);align-items:center;gap:8px;display:flex}.fixture-side.won{color:var(--ink);font-weight:700}.fixture-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink);flex:1;overflow:hidden}.fixture-sides b{font-variant-numeric:tabular-nums;color:var(--ink);font-size:19px;font-weight:700;font-stretch:75%}.swatch{width:10px;height:10px;box-shadow:inset 0 0 0 1px var(--jersey-edge);border-radius:3px;flex:none}.swatch-away{background:var(--faint)}.tag{background:var(--fill);color:var(--muted);border-radius:6px;flex:none;margin-left:6px;padding:1px 7px;font-size:11px;font-weight:650;display:inline-block}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span{color:var(--muted);font-size:13px;font-weight:600}input:not([type=file]),select,textarea{border:1px solid var(--line);background:var(--surface);appearance:none;border-radius:12px;width:100%;min-width:0;min-height:46px;padding:0 12px;font-size:16px}input::placeholder{color:var(--faint)}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.form{flex-direction:column;gap:16px;display:flex}.addrow{gap:8px;display:flex}.addrow .input-number{text-align:center;flex:0 0 64px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);border-radius:19px;align-items:center;min-height:38px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.chip-small{min-height:30px;padding:0 10px;font-size:12px}.chip-static{color:var(--muted)}.segmented{background:var(--fill);border-radius:12px;padding:3px;display:flex}.segmented button{min-height:38px;color:var(--muted);white-space:nowrap;border-radius:9px;flex:1;padding:0 10px;font-size:14px;font-weight:600}.segmented button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #090f1a24}.segmented-small{flex:none}.segmented-small button{min-height:32px;padding:0 9px;font-size:13px}.stepper{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;height:46px;display:flex}.stepper button{flex:none;justify-content:center;align-items:center;width:44px;height:100%;display:inline-flex}.stepper output{text-align:center;font-variant-numeric:tabular-nums;flex:1;font-size:19px;font-weight:700;font-stretch:75%}.stepper small{color:var(--muted);margin-left:4px;font-size:13px;font-weight:500;font-stretch:100%}.toggle{background:var(--faint);border-radius:15px;flex:none;width:50px;height:30px;padding:3px;transition:background .15s}.toggle span{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;display:block}.toggle[aria-checked=true]{background:var(--accent)}.toggle[aria-checked=true] span{transform:translate(20px)}.swatches{flex-wrap:wrap;gap:10px;display:flex}.swatches button{width:36px;height:36px;box-shadow:inset 0 0 0 1px var(--jersey-edge);border-radius:50%}.swatches button[aria-pressed=true]{outline:3px solid var(--ink);outline-offset:2px}.tiles{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.tile{background:var(--surface);border-radius:12px;flex-direction:column;padding:10px 12px;display:flex}.sheet .tile{background:var(--fill)}.tile b{font-variant-numeric:tabular-nums;font-size:28px;font-weight:700;font-stretch:75%;line-height:1.1}.tile span{color:var(--muted);font-size:12px}.player-head{flex-direction:row;align-items:center;gap:16px}.player-head .addrow{flex:1;min-width:0}.empty{color:var(--muted);flex-direction:column;align-items:flex-start;gap:8px;padding:28px 4px;display:flex}.empty .tally{color:var(--accent);transform-origin:0;margin-bottom:8px;transform:scale(1.6)}.empty h2{color:var(--ink);letter-spacing:-.01em;text-wrap:balance;font-size:22px;font-weight:750}.empty p{max-width:44ch}.empty-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.scrim{z-index:20;background:var(--scrim);justify-content:center;align-items:flex-end;animation:.16s ease-out fade;display:flex;position:absolute;inset:0}.scrim-center{align-items:center;padding:24px}.scrim:has(.sheet-right){justify-content:flex-end;align-items:stretch}.sheet{background:var(--surface);flex-direction:column;min-height:0;display:flex}.sheet-bottom{width:100%;max-width:620px;max-height:calc(100% - 24px - var(--safe-t));padding-bottom:var(--safe-b);border-radius:20px 20px 0 0;animation:.22s cubic-bezier(.2,.8,.2,1) rise}.scrim:has(.sheet-top){align-items:flex-start}.sheet-top{width:100%;max-width:620px;max-height:calc(100% - 24px);padding-top:var(--safe-t);border-radius:0 0 20px 20px;animation:.22s cubic-bezier(.2,.8,.2,1) drop}.sheet-tall{height:calc(100% - 24px - var(--safe-t))}.sheet-right{width:min(380px,88%);padding:var(--safe-t) var(--safe-r) var(--safe-b) 0;animation:.22s cubic-bezier(.2,.8,.2,1) slide}.sheet-head{flex:none;justify-content:space-between;align-items:center;gap:8px;padding:10px 8px 6px 18px;display:flex}.sheet-head h2{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:19px;font-weight:750;overflow:hidden}.sheet-body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:14px;min-height:0;padding:6px 18px 18px;display:flex;overflow-y:auto}.sheet-foot{border-top:1px solid var(--line);flex:none;padding:10px 18px 14px}.sheet-foot:empty{display:none}.dialog{background:var(--surface);border-radius:18px;flex-direction:column;gap:8px;width:100%;max-width:340px;padding:20px;animation:.18s ease-out rise;display:flex}.dialog h2{text-wrap:balance;font-size:18px;font-weight:750}.dialog p{color:var(--muted)}.dialog-actions{gap:8px;margin-top:10px;display:flex}.dialog-actions .btn{flex:1}.toast{left:50%;bottom:calc(150px + var(--safe-b));z-index:30;background:var(--ink);max-width:calc(100% - 32px);color:var(--paper);text-align:center;pointer-events:none;border-radius:12px;padding:10px 16px;font-size:14px;font-weight:600;animation:.18s ease-out toast;position:absolute;transform:translate(-50%)}.export-text{resize:none;min-height:160px;padding:10px 12px;font-size:12px}.live{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);display:grid}.live-head{background:var(--surface);border-bottom:1px solid var(--line)}.live-top{align-items:center;gap:2px;padding:4px 6px 0;display:flex}.scoreline{border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;display:flex}.scoreline-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);text-align:left;flex:1 1 0;font-size:13px;font-weight:600;overflow:hidden}.scoreline-name:first-child{text-align:right}.scoreline b{font-variant-numeric:tabular-nums;font-size:30px;font-weight:750;font-stretch:75%;line-height:1}.scoreline i{color:var(--faint);font-style:normal}.live-clock{justify-content:space-between;align-items:center;gap:12px;padding:2px 12px 10px 16px;display:flex}.clock{flex-direction:column;min-width:0;display:flex}.clock-time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:38px;font-weight:750;font-stretch:75%;line-height:1}.clock-time em{color:var(--live);margin-left:6px;font-size:22px;font-style:normal}.clock[data-phase=paused] .clock-time{animation:1.4s ease-in-out infinite blink}.clock-label{color:var(--muted);align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.controls{gap:8px;display:flex}.gridwrap{scroll-snap-type:x proximity;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;scroll-padding-left:86px;overflow:auto}.grid{grid-template-columns:86px repeat(var(--cols), minmax(58px, 1fr));min-width:min-content;padding:0 8px 12px 0;display:grid}.grid-corner,.grid-player,.grid-label{background:var(--paper);position:sticky}.grid-corner{z-index:3;top:0;left:0}.grid-player{z-index:2;scroll-snap-align:start;flex-direction:column;align-items:center;gap:1px;min-width:0;padding:8px 2px 6px;display:flex;top:0}.grid-player span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;font-weight:650;overflow:hidden}.grid-label{z-index:1;align-items:center;padding:0 6px 0 14px;font-size:13px;font-weight:650;line-height:1.15;display:flex;left:0}.cell{background:var(--surface);min-height:56px;box-shadow:inset 0 0 0 1px var(--line);color:var(--faint);font-variant-numeric:tabular-nums;border-radius:12px;margin:3px;font-size:27px;font-weight:700;font-stretch:75%}.cell[data-filled=true]{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--accent)}.cell:active,.keeper-btn:active{background:var(--accent-soft);transform:scale(.95)}.live[data-idle=true] .cell,.live[data-idle=true] .keeper-btn{opacity:.5}.pop{display:inline-block}[data-filled=true]>.pop{animation:.2s ease-out pop}.live-side{padding:8px 12px calc(8px + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);flex-direction:column;gap:8px;display:flex}.keeper{align-items:stretch;gap:8px;display:flex}.keeper-who{text-align:left;flex:0 auto;align-items:center;gap:6px;min-width:0;max-width:34%;display:flex}.keeper-who span{flex-direction:column;min-width:0;line-height:1.15;display:flex}.keeper-who small{color:var(--muted);font-size:11px}.keeper-who strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.keeper-buttons{flex:1;gap:6px;min-width:0;display:flex}.keeper-btn{background:var(--paper);min-width:0;min-height:52px;box-shadow:inset 0 0 0 1px var(--line);text-align:left;border-radius:12px;flex:1;justify-content:space-between;align-items:center;gap:6px;padding:4px 12px;display:flex}.keeper-btn[data-filled=true]{box-shadow:inset 0 0 0 1.5px var(--accent)}.keeper-btn span{font-size:12px;font-weight:650;line-height:1.15}.keeper-btn b{font-variant-numeric:tabular-nums;font-size:26px;font-weight:700;font-stretch:75%}.keeper-missing{color:var(--muted);font-size:13px}.live-actions{gap:8px;display:flex}.live-actions .btn{flex:1;min-width:0}.picklists{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.picklist{flex-direction:column;gap:6px;display:flex}.picklist h3{color:var(--muted);font-size:13px;font-weight:650}.pick{background:var(--fill);text-align:left;border-radius:12px;align-items:center;gap:8px;min-height:48px;padding:6px 10px;font-weight:600;display:flex}.pick span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pick[aria-pressed=true]{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.scorerow{align-items:center;gap:12px;display:flex}.scorerow strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.scorerow b{text-align:center;font-variant-numeric:tabular-nums;width:40px;font-size:32px;font-weight:750;font-stretch:75%}.events{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.event{border-bottom:1px solid var(--line);grid-template-columns:62px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:48px;font-size:14px;display:grid}.event time{font-variant-numeric:tabular-nums;font-size:15px;font-weight:700;font-stretch:75%;line-height:1.1}.event-mark{min-height:34px;color:var(--muted);font-size:13px;font-weight:650}.event-mark time{font-weight:600}.hero{flex-direction:column;gap:2px;display:flex}.hero-when{color:var(--muted);margin-bottom:4px;font-size:13px}.hero-side{align-items:center;gap:10px;display:flex}.hero-name{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em;flex:1;min-width:0;font-size:22px;font-weight:750;overflow:hidden}.hero-side b{font-variant-numeric:tabular-nums;font-size:44px;font-weight:750;font-stretch:75%;line-height:1.05}.summary{flex-direction:column;gap:14px;display:flex}.statlines{flex-direction:column;display:flex}.statline{border-bottom:1px solid var(--line);align-items:center;gap:8px;min-height:44px;display:flex}.statline-head{min-height:26px;color:var(--muted)}.statline>:first-child{flex:42%;min-width:0;font-weight:600}.statline>:nth-child(2){min-width:0;color:var(--accent);flex:30%;display:flex;overflow:hidden}.statline small,.statline-half,.statline b{text-align:right;font-variant-numeric:tabular-nums;flex:0 0 46px}.statline small{white-space:nowrap;font-size:11px;font-weight:600}.statline-half{color:var(--muted)}.statline b{font-size:21px;font-weight:750;font-stretch:75%}.statline[data-zero=true] b,.statline[data-zero=true] .statline-name{color:var(--faint)}.tablewrap{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:12px;overflow-x:auto}.ptable{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.ptable th,.ptable td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--line);padding:9px 10px}.ptable th:first-child{text-align:left;background:var(--surface);font-weight:650;position:sticky;left:0}.ptable thead th{color:var(--muted);font-size:12px;font-weight:650}.ptable-number{min-width:22px;color:var(--muted);font-weight:700;font-stretch:75%;display:inline-block}.ptable td[data-zero=true],.ptable tr[data-unused=true]{color:var(--faint)}.ptable tfoot td,.ptable tfoot th{border-bottom:0;font-weight:750}@media (orientation:landscape) and (max-height:540px){.live{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto}.live-head{grid-column:1/-1;align-items:center;display:flex}.live-top{flex:1;min-width:0;padding:2px 6px}.live-clock{flex:none;padding:2px 12px}.clock{flex-direction:row;align-items:baseline;gap:8px}.clock-time{font-size:30px}.live-side{width:168px;padding:8px calc(8px + var(--safe-r)) calc(8px + var(--safe-b)) 8px;border-top:0;border-left:1px solid var(--line);overflow-y:auto}.live-side,.keeper,.keeper-buttons,.live-actions{flex-direction:column}.keeper-who{max-width:none}.keeper-btn{flex:none;min-height:46px}.live-actions .btn{flex:none;font-size:13px}.cell{min-height:46px}.grid-player{padding:4px 2px}.tabbar button{min-height:48px}.toast{bottom:calc(24px + var(--safe-b))}}@keyframes pop{0%{transform:scale(1.4)}}@keyframes blink{50%{opacity:.35}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}}@keyframes drop{0%{opacity:0;transform:translateY(-24px)}}@keyframes slide{0%{opacity:0;transform:translate(40px)}}@keyframes toast{0%{opacity:0;transform:translate(-50%,8px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}select{background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 19px) 20px,calc(100% - 14px) 20px;background-repeat:no-repeat;background-size:5px 5px;padding-right:36px}
