:root{--bg:#f4f3ee;--surface:#fff;--surface-2:#eeece4;--text:#1b1d1a;--muted:#5b6058;--line:#dad7cc;--accent:#14563a;--accent-hover:#0f4630;--accent-ink:#fff;--accent-soft:#dceadf;--gold:#a8740a;--gold-soft:#f7ead0;--good:#17703f;--good-soft:#d6eedd;--bad:#b3261e;--bad-soft:#f8dedb;--focus:#2f7dd1;--radius:12px;--radius-s:8px;--shadow:0 1px 2px #0000000f, 0 2px 8px #0000000a;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--nav-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0f1310;--surface:#171c18;--surface-2:#202721;--text:#e8ebe5;--muted:#9aa297;--line:#2e362f;--accent:#4cb380;--accent-hover:#63c493;--accent-ink:#06130c;--accent-soft:#1b3829;--gold:#f0c35a;--gold-soft:#3a2f14;--good:#5fc98b;--good-soft:#163422;--bad:#ff8a7f;--bad-soft:#3c1c1a;--focus:#79b4ff;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font:16px/1.45 var(--font);font-variant-numeric:tabular-nums;margin:0}h1,h2,h3{margin:0 0 12px;line-height:1.2}h1{font-size:1.5rem}h2{font-size:1.15rem}h3{font-size:1rem}p{margin:0 0 12px}a{color:var(--accent)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app{flex-direction:column;min-height:100dvh;display:flex}.topbar{z-index:10;background:var(--surface);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top);position:sticky;top:0}.topbar-inner{align-items:center;gap:16px;max-width:1040px;height:56px;margin:0 auto;padding:0 16px;display:flex}.brand{color:var(--text);align-items:center;gap:10px;margin-right:auto;font-weight:700;text-decoration:none;display:flex}.brand img{width:28px;height:28px}.brand small{color:var(--muted);font-weight:500}.nav{gap:4px;display:flex}.nav a{color:var(--muted);border-radius:var(--radius-s);padding:8px 12px;font-weight:600;text-decoration:none}.nav a:hover{color:var(--text);background:var(--surface-2)}.nav a[aria-current=page],.nav a.active{color:var(--accent);background:var(--accent-soft)}main{flex:1;width:100%;max-width:1040px;margin:0 auto;padding:20px 16px 32px}@media (width<=719px){.topbar .nav{display:none}.tabbar{z-index:10;background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;inset:auto 0 0}.tabbar a{height:var(--nav-h);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:600;text-decoration:none;display:flex}.tabbar a svg{width:22px;height:22px}.tabbar a.active{color:var(--accent)}main{padding-bottom:calc(var(--nav-h) + 32px + env(safe-area-inset-bottom))}}@media (width>=720px){.tabbar{display:none}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;margin-bottom:16px;display:flex}.page-head h1{margin:0}.stack{gap:16px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grid-2{gap:16px;display:grid}@media (width>=860px){.grid-2{grid-template-columns:1fr 1fr}}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:16px}.card>h2:first-child{margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:.875rem}.center{text-align:center}.nowrap{white-space:nowrap}.btn{appearance:none;border-radius:var(--radius-s);border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-primary:hover{background:var(--accent-hover)}.btn-danger{color:var(--bad)}.btn-small{min-height:36px;padding:0 12px;font-size:.875rem}.btn-block{width:100%}.field{gap:6px;margin-bottom:14px;display:grid}.field label,.label{font-size:.9rem;font-weight:600}.input,select.input{border-radius:var(--radius-s);border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;padding:8px 12px;font-size:max(1rem,16px)}.input:focus{outline:2px solid var(--focus);outline-offset:0;border-color:#0000}.hint{color:var(--muted);font-size:.85rem}.notice{border-radius:var(--radius-s);background:var(--surface-2);margin-bottom:12px;padding:10px 12px}.notice-error{background:var(--bad-soft);color:var(--bad)}.notice-ok{background:var(--good-soft);color:var(--good)}.notice-warn{background:var(--gold-soft);color:var(--gold)}.badge{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.8rem;font-weight:700;display:inline-flex}.badge-open{background:var(--accent-soft);color:var(--accent)}.badge-scored{background:var(--good-soft);color:var(--good)}.badge-void{background:var(--bad-soft);color:var(--bad)}.badge-gold{background:var(--gold-soft);color:var(--gold)}.table-wrap{-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px;overflow-x:auto}.table-scroll{position:relative}.table-scroll:before,.table-scroll:after{content:"";pointer-events:none;opacity:0;z-index:2;width:28px;transition:opacity .15s;position:absolute;top:0;bottom:0}.table-scroll:before{background:linear-gradient(to right, var(--surface), transparent);left:-16px}.table-scroll:after{background:linear-gradient(to left, var(--surface), transparent);right:-16px}.table-scroll[data-more-left]:before,.table-scroll[data-more-right]:after{opacity:1}.table-sticky:before{display:none}.table-sticky .table-wrap{padding:0}.table-sticky th:first-child,.table-sticky td:first-child{z-index:1;background:var(--surface);padding-left:16px;position:sticky;left:0}.table-sticky:is([data-more-left],[data-more-right]) :is(th,td):first-child{box-shadow:inset -1px 0 0 var(--line)}.table-sticky th:last-child,.table-sticky td:last-child{padding-right:16px}.table-sticky .me>:first-child{background:var(--accent-soft)}table.table{border-collapse:collapse;width:100%;font-size:.95rem}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:9px 8px}.table th{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-size:.78rem;font-weight:700}.table td.num,.table th.num{text-align:right}.table tr:last-child td,.table tr:last-child th{border-bottom:0}.table .me td,.table .me th{background:var(--accent-soft)}.coupon{gap:0;display:grid}.coupon-row{border-bottom:1px solid var(--line);scroll-margin:96px 0 calc(var(--nav-h) + 120px);grid-template-columns:20px 1fr auto;align-items:center;gap:8px;padding:8px 0;display:grid}.coupon-row:last-child{border-bottom:0}.coupon-row-flash{animation:1.2s ease-out coupon-flash}@keyframes coupon-flash{0%{background:var(--accent-soft)}}@media (prefers-reduced-motion:reduce){.coupon-row-flash{background:var(--accent-soft);animation:none}}.coupon-num{color:var(--muted);text-align:right;font-size:.85rem;font-weight:700}.team{text-overflow:ellipsis;white-space:nowrap;font-weight:650;display:block;overflow:hidden}.coupon-teams{min-width:0;line-height:1.25}.coupon-teams .team{white-space:normal;overflow-wrap:break-word;font-size:.95rem;font-weight:650;display:block}.coupon-meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.8rem;display:block;overflow:hidden}.signs{grid-template-columns:repeat(3,44px);gap:6px;display:grid}.sign{appearance:none;border-radius:var(--radius-s);border:1.5px solid var(--line);background:var(--surface);height:44px;color:var(--text);font:inherit;cursor:pointer;font-size:1.05rem;font-weight:800}.sign[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.sign:disabled{cursor:not-allowed;opacity:.6}.coupon-foot{z-index:5;background:var(--surface);border-top:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius);grid-template-columns:1fr auto;align-items:center;gap:6px 12px;margin:4px -16px -16px;padding:10px 16px 12px;display:grid;position:sticky;bottom:0}.coupon-foot .progress{grid-column:1/-1}.coupon-foot-text{flex-wrap:wrap;gap:2px 12px;font-size:.875rem;display:flex}.coupon-foot .btn{white-space:nowrap}@media (width<=719px){.coupon-foot{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom));border-radius:0}}@media (width<=479px){.card.coupon-card{border-inline:0;border-radius:0;margin-inline:-16px;padding-inline:12px}.coupon-card .coupon-foot{margin-inline:-12px;padding-inline:12px}}.at-budget{font-weight:600}.over-budget{color:var(--bad);font-weight:600}.progress{background:var(--surface-2);border-radius:999px;height:8px;overflow:hidden}.progress>span{background:var(--accent);height:100%;display:block}.picks-grid th,.picks-grid td{text-align:center;padding:7px 6px}.picks-grid th:first-child,.picks-grid td:first-child{text-align:left}.pick{background:var(--surface-2);border-radius:6px;min-width:34px;padding:3px 6px;font-weight:700;display:inline-block}.pick-right{background:var(--good-soft);color:var(--good)}.pick-wrong{background:var(--bad-soft);color:var(--bad)}.outcome{font-weight:800}.teams-cell{min-width:128px;max-width:220px;font-size:.9rem}.teams-cell .team{font-weight:600}.picks-grid th:first-child,.picks-grid td:first-child{z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--line);position:sticky;left:0}@media (width<=719px){.teams-cell{max-width:150px;font-size:.85rem}}.teams-cell small{color:var(--muted);display:block}.stat{gap:2px;display:grid}.stat b{font-size:1.6rem;line-height:1.1}.stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.list{margin:0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.list li:last-child{border-bottom:0}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:16px;display:flex;overflow-x:auto}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;padding:10px 12px;font-weight:600;text-decoration:none}.tabs a.active{color:var(--accent);border-bottom-color:var(--accent)}@media (width<=719px){.tabs{flex-wrap:wrap;gap:6px;padding-bottom:12px;overflow:visible}.tabs a{border:1.5px solid var(--line);border-radius:999px;align-items:center;min-height:40px;padding:0 14px;display:inline-flex}.tabs a.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}}.chart svg{width:100%;height:auto;display:block}.chart .axis{stroke:var(--line)}.chart text{fill:var(--muted);font-size:11px}.legend{flex-wrap:wrap;gap:8px 16px;margin-top:8px;font-size:.875rem;display:flex}.legend-item{align-items:center;gap:6px;display:inline-flex}.legend-item i{border-radius:50%;width:10px;height:10px}.toast{left:50%;bottom:calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));z-index:20;border-radius:var(--radius-s);background:var(--text);max-width:calc(100% - 32px);color:var(--bg);padding:10px 16px;font-weight:600;position:fixed;transform:translate(-50%);box-shadow:0 4px 16px #0003}@media (width>=720px){.toast{bottom:24px}}.auth-page{max-width:452px;margin:8vh auto 0;padding:0 16px 32px}.copy-box{gap:8px;display:flex}.copy-box .input{font-family:var(--mono);font-size:.8rem}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:root{--c1:#1b7f5b;--c2:#c8364b;--c3:#2f6db5;--c4:#c98a12;--c5:#7a4fb3;--c6:#2a9aa3;--c7:#b8591a;--c8:#6b7f1b;--c9:#c2549d;--c10:#5c5c5c}@media (prefers-color-scheme:dark){:root{--c1:#5fc98b;--c2:#ff7d8c;--c3:#79a9ff;--c4:#f2c14e;--c5:#b99aff;--c6:#5ed1d9;--c7:#ff9e5e;--c8:#b6cf57;--c9:#f58ccc;--c10:#b3b3b3}}select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.install-hint{background:var(--accent-soft);border-color:#0000}.install-hint .row>span{flex:220px}.list-stacked>li.season-item{align-items:stretch;gap:10px;display:grid}.list-links li{padding:0}.row-link{width:100%;min-height:56px;color:inherit;align-items:center;gap:10px;padding:8px 0;text-decoration:none;display:flex}.row-link-main{flex:1;min-width:0;display:grid}.row-link .chevron{color:var(--muted);flex:none}.row-link:hover .row-link-main b,.row-link:focus-visible .row-link-main b{text-decoration:underline}.table .player-cell{text-transform:none;letter-spacing:0;color:var(--text);font-size:1rem;font-weight:600}.rank{min-width:1.4em;color:var(--muted);font-weight:700;display:inline-block}.tally{line-height:1.25}.tally>b,.tally>span{white-space:nowrap;display:block}.chips{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.chip{appearance:none;border:1.5px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:0 14px;font-weight:600}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}@media (width<=719px){.only-wide{display:none}}@media (width>=720px){.only-phone{display:none}}.row-link-action{border-top:1px solid var(--line);min-height:48px;color:var(--accent);margin-top:4px;font-weight:650}.inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.inline-form .input{max-width:none}@media (width<=479px){.inline-form-wide{grid-template-columns:1fr;justify-items:start}}.check{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.check input{width:20px;height:20px;accent-color:var(--accent);margin:0}.btn-row{flex-wrap:wrap;gap:8px;display:flex}@media (width<=719px){.btn-small{min-height:44px}}.people>li{gap:10px;padding:14px 0;display:grid}.people .person-head{flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.people .person-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.people .person-actions select.input{width:auto;min-width:150px}.my-result{flex:none;align-items:center;gap:8px;display:flex}.count-badge{background:var(--bad);min-width:18px;height:18px;color:var(--surface);vertical-align:1px;border-radius:999px;place-items:center;margin-left:6px;padding:0 5px;font-size:.7rem;font-weight:800;line-height:1;display:inline-grid}.tab-icon{display:inline-flex;position:relative}.tab-icon .count-badge{box-shadow:0 0 0 2px var(--surface);margin:0;position:absolute;top:-6px;right:-12px}.tabs a.active .count-badge{box-shadow:0 0 0 1.5px var(--accent-ink)}.email-editor{border-radius:var(--radius-s);background:var(--surface-2);justify-items:start;gap:8px;padding:12px;display:grid}.email-editor>label{font-weight:600}.email-editor .inline-form{width:100%}.email-editor .hint{margin:0}
