:root{--ink:#10251e;--muted:#718078;--green:#b7f56b;--line:#e7ece8;--paper:#f7f8f5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}.topbar{height:72px;padding:0 max(calc((100vw - 1120px)/2),22px);display:flex;align-items:center;justify-content:space-between;background:#071b16;color:white}.brand{display:flex;gap:9px;align-items:center;color:white;text-decoration:none;font:700 15px 'Space Grotesk';letter-spacing:1px}.brand-mark{background:var(--green);color:#071b16;width:29px;height:29px;border-radius:8px;display:grid;place-items:center}.brand-dot,footer i{color:var(--green)}button{cursor:pointer;font-family:inherit}.league-switch{display:flex;align-items:center;gap:10px;background:#122a22;border:1px solid #294238;color:white;padding:8px 12px;border-radius:9px;text-align:left}.league-switch b,.league-switch small,.week-pill small,.week-pill b{display:block}.league-switch b{font-size:10px;letter-spacing:1px}.league-switch small{font-size:8px;color:#91a79c;letter-spacing:1px;margin-top:2px}.online-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.avatar{background:#f0c77c;color:#5a4222;border:0;border-radius:50%;width:35px;height:35px;font-weight:800;font-size:11px}main{max-width:1120px;margin:auto;padding:54px 22px 0}.welcome{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:36px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#738078;margin:0 0 9px}.welcome .eyebrow{color:#637269}h1,h2,p{margin-top:0}h1{font:700 clamp(42px,6vw,65px)/.99 'Space Grotesk';letter-spacing:-3.5px;margin:0}h1 span{color:#83b83e}.intro{color:#7b8780;font-size:14px;margin:15px 0 0}.week-pill{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);padding:12px 15px;border-radius:11px}.week-pill small{font-size:8px;font-weight:800;letter-spacing:1px;color:#839087}.week-pill b{font-size:11px;letter-spacing:.6px;margin-top:4px}.layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,.9fr);gap:26px}.section-heading,.panel-heading{display:flex;justify-content:space-between;align-items:center}.section-heading{margin-bottom:15px}.section-heading h2,.panel-heading h2{font:600 22px 'Space Grotesk';letter-spacing:-.7px;margin:0}.section-heading .eyebrow,.panel-heading .eyebrow{margin-bottom:5px}.text-button{border:0;background:none;font-size:9px;font-weight:800;letter-spacing:1px;color:#6d7a72}.fixture-list{display:grid;gap:9px}.fixture,.panel{background:white;border:1px solid var(--line);border-radius:12px}.fixture{padding:15px 17px 12px}.fixture-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.match-time{font-size:9px;font-weight:800;letter-spacing:.6px;color:#7a877f}.kick-tag{font-size:8px;color:#7b887f;background:#f2f5f0;padding:5px 8px;border-radius:20px;font-weight:700}.teams{display:grid;grid-template-columns:1fr 83px 1fr;align-items:center}.team{display:flex;align-items:center;gap:8px;font-weight:700;font-size:12px}.team.away{justify-content:flex-end;text-align:right}.team-badge{width:27px;height:27px;border-radius:8px;background:#f1f4f1;display:grid;place-items:center;font-size:15px}.score-inputs{display:flex;align-items:center;justify-content:center;gap:6px}.score-inputs input{width:33px;height:35px;border:1px solid #e1e7e2;border-radius:7px;text-align:center;font:700 16px 'Space Grotesk';color:var(--ink);outline:none;background:#fbfcfa}.score-inputs input:focus{border-color:#91c657;box-shadow:0 0 0 3px #b7f56b33}.score-inputs span{font-size:12px;color:#9ba59e}.fixture-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:9px;border-top:1px solid #f0f2ef}.vote-count{font-size:9px;color:#929d96}.save-state{font-size:9px;font-weight:700;color:#7bae43;opacity:0}.save-state.visible{opacity:1}.scoring-note{display:flex;gap:11px;align-items:flex-start;margin-top:12px;border-radius:10px;background:#eef2e8;padding:13px 14px;color:#82ae46}.scoring-note b{font-size:11px;color:var(--ink)}.scoring-note p{font-size:10px;color:#718078;margin:3px 0 0}.scoring-note strong{color:#486f28}.sidebar{display:grid;align-content:start;gap:13px}.panel{padding:18px}.panel-heading h2{font-size:19px}.leader-sub{display:flex;justify-content:space-between;font-size:8px;font-weight:800;color:#99a29c;letter-spacing:1px;border-bottom:1px solid #edf0ed;padding:17px 2px 9px}.leader-row{display:grid;grid-template-columns:24px 28px 1fr auto;align-items:center;gap:8px;padding:11px 2px;border-bottom:1px solid #f1f3f1}.rank{font:600 11px 'Space Grotesk';color:#9aa49d}.person-avatar{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800}.person-name{font-size:11px;font-weight:700}.person-you{font-size:8px;color:#92a098;font-weight:500;margin-left:4px}.person-points{font:700 12px 'Space Grotesk'}.person-points small{font:500 8px 'DM Sans';color:#9ba59e;margin-left:2px}.invite-button{width:100%;background:#f2f6ee;border:0;border-radius:8px;color:#4e772d;padding:11px 12px;font:700 10px 'DM Sans';text-align:left;margin-top:12px}.invite-button span{float:right}.picks-count{font:700 10px 'Space Grotesk';color:#7aa641;background:#f2f7eb;padding:6px 8px;border-radius:6px}.progress{height:5px;background:#eef1ed;border-radius:5px;margin:16px 0 8px;overflow:hidden}.progress span{display:block;width:0;height:100%;background:#96ce55;transition:width .25s}.progress-caption{font-size:10px;color:#839087;margin:0}.rules-card{background:#172e25;border-radius:12px;color:white;padding:19px;position:relative;overflow:hidden;min-height:120px;display:flex;gap:12px;align-items:flex-start}.rules-card>span:first-child{color:var(--green)}.rules-card b{font:600 16px/1.25 'Space Grotesk'}.rules-card p{color:#9aafa3;font-size:10px;line-height:1.6;margin:7px 0 0}.rules-card .ball{position:absolute;right:14px;bottom:-18px;font-size:70px;opacity:.18}footer{display:flex;justify-content:space-between;padding:31px 0 20px;color:#9ba49e;font-size:8px;font-weight:800;letter-spacing:1.2px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#10251e;color:white;padding:11px 17px;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:3}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:0;border-radius:15px;padding:25px;width:min(420px,calc(100% - 32px));max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #00150f40;color:var(--ink)}dialog::backdrop{background:#071b1680;backdrop-filter:blur(3px)}.modal-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:24px;color:#87938b}.modal-title{font:600 22px 'Space Grotesk';margin:0 25px 8px 0}.modal-copy{font-size:13px;line-height:1.55;color:#718078}.invite-code{background:#f2f6ee;padding:14px;border-radius:9px;font:700 22px 'Space Grotesk';letter-spacing:3px;text-align:center;margin:15px 0}.primary-button{border:0;background:#9cdb5a;color:#17321e;font-weight:800;padding:12px 15px;border-radius:8px;width:100%}.input-label{font-size:10px;font-weight:800;letter-spacing:1px;display:block;margin:16px 0 6px}.text-input{width:100%;border:1px solid var(--line);border-radius:8px;padding:11px;font:14px 'DM Sans';outline:none}.text-input:focus{border-color:#91c657}@media(max-width:800px){main{padding:38px 18px 0}.layout{grid-template-columns:1fr;gap:21px}.sidebar{grid-template-columns:1fr 1fr;align-items:start}.sidebar>section:first-child{grid-row:span 2}.welcome{align-items:flex-start;gap:16px}h1{font-size:53px}}@media(max-width:540px){.topbar{height:62px;padding:0 15px}.brand{font-size:12px;gap:7px}.brand-mark{width:26px;height:26px}.league-switch{padding:7px 9px;gap:7px}.league-switch small{font-size:7px}.avatar{width:31px;height:31px}main{padding:30px 15px 0}.welcome{display:block;padding-bottom:27px}h1{font-size:49px;letter-spacing:-2.8px}.intro{font-size:12px;margin-top:11px}.week-pill{display:inline-flex;margin-top:18px}.section-heading h2{font-size:20px}.fixture{padding:14px 12px 11px}.teams{grid-template-columns:1fr 72px 1fr}.team{font-size:10px;gap:5px}.team-badge{width:24px;height:24px;font-size:13px}.score-inputs{gap:4px}.score-inputs input{width:29px;height:33px}.sidebar{grid-template-columns:1fr}.sidebar>section:first-child{grid-row:auto}footer{font-size:7px}}

.team-badge img{width:25px;height:25px;object-fit:contain;display:block}.team-badge{color:#536458;font-size:9px;font-weight:800}

.leaderboard-top{margin-bottom:24px}.leaderboard-top .panel-heading{margin-bottom:4px}.leaderboard-top #leaderRows{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 16px}.leaderboard-top .leader-row{grid-template-columns:42px 1fr auto}.leaderboard-top .rank{font-weight:800;color:#74994a}.leaderboard-top .person-name{font-size:12px}.leaderboard-top .invite-top{width:auto;margin:0;padding:9px 12px}.empty-board{font-size:12px;color:#758179;margin:14px 0}.sync-note{font-size:10px;color:#718078;margin:10px 0 0}.sync-note.sync-error{color:#a35843}.form-error{font-size:11px;color:#ad483a;min-height:16px;margin:6px 0}.modal-close[hidden]{display:none}.leader-sub{padding-top:14px}
.owner-actions{display:flex;align-items:center;gap:8px}.manage-list{display:grid;gap:9px;max-height:55vh;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior:contain;margin-top:14px}.manage-row{padding:12px;border:1px solid var(--line);border-radius:9px;display:grid;gap:10px}.manage-player{display:flex;align-items:center;justify-content:space-between;gap:10px}.manage-player b{font-size:13px}.manage-player small{font-size:10px;color:var(--muted);text-align:right}.manage-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.timeout-amount{width:65px;padding:8px;border:1px solid var(--line);border-radius:7px;font:12px 'DM Sans'}.timeout-unit{padding:8px;border:1px solid var(--line);border-radius:7px;background:white;font:12px 'DM Sans'}.manage-action{padding:8px 10px;border:0;border-radius:7px;background:#edf5e7;color:#426d24;font-size:10px;font-weight:800}.manage-action:disabled{opacity:.5}.ban-action{background:#fbefec;color:#9f3d30}.unban-action{justify-self:start}.manage-loading{font-size:12px;color:var(--muted);margin-top:15px}@media(max-width:540px){.owner-actions{gap:5px}.owner-actions .invite-button{font-size:8px;padding:8px}.manage-player{align-items:flex-start;flex-direction:column}.manage-player small{text-align:left}}
.remove-action{background:#fff2d9;color:#805600}

.player-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.player-nav{border:0;border-radius:8px;padding:10px 14px;background:#edf5e7;color:#426d24;font:700 12px 'DM Sans'}.player-position{font:700 13px 'Space Grotesk';color:var(--muted)}.single-manage-row{margin-bottom:4px}

.owner-self-note{font-size:12px;color:var(--muted);margin:0}
.prediction-board{margin-top:11px;padding:11px;border-radius:9px;background:#f7f9f5;border:1px solid #edf1eb}.prediction-title{font-size:9px;font-weight:800;letter-spacing:.8px;color:#7b887f;margin-bottom:7px}.prediction-list{display:grid;gap:5px}.prediction-row{display:flex;justify-content:space-between;align-items:center;padding:6px 2px;border-bottom:1px solid #e9eee8;font-size:11px}.prediction-row:last-child{border-bottom:0}.prediction-row span{font-weight:600}.prediction-row small{margin-left:6px;color:#82ae46;font-size:8px;font-weight:800}.prediction-row b{font:700 12px 'Space Grotesk'}.prediction-empty{font-size:10px;color:#8b958e;margin:4px 0}

.score-inputs input:disabled{opacity:.6;background:#f1f3f0;cursor:not-allowed}

#pullRefresh{position:fixed;z-index:10000;top:calc(env(safe-area-inset-top) + 8px);left:50%;transform:translate(-50%,-70px);opacity:0;pointer-events:none;padding:9px 16px;border:1px solid #dfe8dc;border-radius:999px;background:#fff;color:#264333;box-shadow:0 4px 18px #071b1622;font:700 12px "DM Sans",sans-serif;white-space:nowrap;transition:transform .12s ease,opacity .12s ease}#pullRefresh.visible{opacity:1}#pullRefresh.ready{background:#dff2c7;border-color:#9fce6c}

.link-code{background:#f2f6ee;border:1px solid #e5eddf;border-radius:10px;padding:16px;margin:14px 0;text-align:center;font:700 24px 'Space Grotesk';letter-spacing:3px;color:#355821}.form-error{min-height:18px;font-size:12px;color:#a45245;margin:8px 0}


.welcome-back{font:700 18px 'Space Grotesk';letter-spacing:-.3px;margin:0 0 14px;color:var(--ink)}@media(max-width:540px){.welcome-back{font-size:16px;margin-bottom:11px}}

.welcome-user-card{height:min(45svh,440px);min-height:300px;margin:0 0 22px;padding:clamp(24px,5vw,52px);border:1px solid #dfe9d8;border-radius:16px;background:linear-gradient(135deg,#edf5e6 0%,#f8faf5 72%);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden}.welcome-user-card .eyebrow{margin-bottom:18px}.welcome-user-card h1{font:700 clamp(36px,6vw,58px)/1.04 'Space Grotesk';letter-spacing:-2px;max-width:100%;overflow-wrap:anywhere;color:var(--ink)}@media(max-width:540px){.welcome-user-card{height:44svh;min-height:270px;margin-bottom:16px;padding:24px;border-radius:14px}.welcome-user-card .eyebrow{font-size:9px;margin-bottom:14px}.welcome-user-card h1{font-size:clamp(34px,9vw,48px);letter-spacing:-1.5px}}

.welcome-user-card{height:25svh;min-height:180px;max-height:260px;padding:clamp(20px,3vw,32px)}.welcome-user-card .eyebrow{margin-bottom:10px}@media(max-width:540px){.welcome-user-card{height:25svh;min-height:155px;max-height:210px;padding:19px}.welcome-user-card .eyebrow{margin-bottom:8px}.welcome-user-card h1{font-size:clamp(30px,7vw,38px)}}

.welcome-user-card{background:linear-gradient(180deg,#0c2b43 0%,#397da5 43%,#9fcce5 72%,#d9f2ff 100%);border-color:#b7d7e8}.welcome-user-card .eyebrow{color:#e9f6ff}.welcome-user-card h1{color:#092d47;text-shadow:0 1px 1px #ffffff66}

.welcome-user-card{background:linear-gradient(180deg,#0c2b43 0%,#397da5 43%,#83b8d8 72%,#a9d5ed 100%)}.welcome-user-card>.eyebrow{display:none}

.welcome-user-card h1{color:#fff;text-shadow:0 2px 8px #092d4766}

.welcome-user-card{background:linear-gradient(180deg,#08263f 0%,#104c73 18%,#176b9a 36%,#3289b8 54%,#62a8d1 72%,#91c5e4 88%,#b7def3 100%);border-color:#8dbedb}

body{background:linear-gradient(155deg,#c9e3f2 0%,#e5f2f9 28%,#b9d9ec 56%,#dcecf6 78%,#a9cfe6 100%);background-attachment:fixed}

body{background:linear-gradient(132deg,#bdeeff 0%,#78b9e8 22%,#c9dcff 44%,#78d0e8 64%,#a7c8f5 82%,#d8f4ff 100%);background-attachment:fixed}

body{background:var(--paper);background-attachment:scroll}

body{background:#0b2440;background-attachment:scroll;color:#eef7ff}.fixture,.panel{color:var(--ink)}.week-pill{color:var(--ink)}.welcome .eyebrow,.section-heading .eyebrow{color:#c1d6e9}.intro,.text-button{color:#d3e4f1}footer{color:#b7d1e6}

.welcome-user-card{background:#0b2440;border-color:#0b2440}.welcome-user-card h1{color:#fff;text-shadow:none}

.welcome-user-card{background:linear-gradient(180deg,#08263f 0%,#104c73 18%,#176b9a 36%,#3289b8 54%,#62a8d1 72%,#91c5e4 88%,#b7def3 100%);border-color:#8dbedb}.welcome-user-card h1{color:#fff;text-shadow:0 2px 8px #092d4766}

body{background:#08263f}

body{background:linear-gradient(180deg,#08263f 0%,#104c73 18%,#176b9a 36%,#3289b8 54%,#62a8d1 72%,#91c5e4 88%,#b7def3 100%);background-attachment:fixed}

.welcome,.section-heading,footer{color:#fff;text-shadow:0 1px 4px #00172acc}.welcome .eyebrow,.section-heading .eyebrow{color:#fff;text-shadow:0 1px 4px #00172acc}.intro,.text-button{color:#fff;text-shadow:0 1px 4px #00172acc}footer{color:#fff}

body{background:#255176;background-attachment:scroll}

body{background:#122742;background-attachment:scroll}

body{background:#255176;background-attachment:scroll}

body{background:#7048a3;background-attachment:scroll}.welcome-user-card{background:linear-gradient(180deg,#142b56 0%,#243d79 24%,#3f55a0 48%,#655fae 70%,#9289c9 88%,#b7b1dc 100%);border-color:#aaa4d4}.welcome-user-card h1{color:#fff;text-shadow:0 2px 8px #11113d88}

body{background:#0b2440;background-attachment:scroll}

.welcome-user-card{background:linear-gradient(180deg,#08263f 0%,#104c73 18%,#176b9a 36%,#3289b8 54%,#62a8d1 72%,#91c5e4 88%,#b7def3 100%);border-color:#8dbedb}.welcome-user-card h1{color:#fff;text-shadow:0 2px 8px #092d4766}

.premier-league-panel{margin:12px 0 28px;padding:20px}.premier-league-panel h2{font:600 21px 'Space Grotesk';margin:0}.pl-official-link{color:#426d9b;font-size:10px;font-weight:700;text-decoration:none}.pl-status{font-size:11px;color:#7b8780;margin:12px 0}.pl-table-wrap{max-height:480px;overflow:auto;border:1px solid #edf0ed;border-radius:9px}.pl-table{border-collapse:collapse;width:100%;min-width:470px;font-size:11px;text-align:left}.pl-table th{position:sticky;top:0;background:#f4f7f3;color:#849087;font-size:9px;letter-spacing:.7px;z-index:1}.pl-table th,.pl-table td{padding:10px 12px;border-bottom:1px solid #edf0ed}.pl-table td:first-child{color:#78994d;font-weight:800}.pl-table td:nth-child(2){font-weight:700}.pl-table td:last-child{font-weight:800;color:#294c70}.pl-table tbody tr:last-child td{border-bottom:0}.pl-attribution{font-size:9px;color:#89948d;margin:11px 0 0}@media(max-width:540px){.premier-league-panel{padding:16px;margin:8px 0 20px}.pl-table th,.pl-table td{padding:9px 8px}}

.liverpool-forever-card{min-height:190px;margin:20px 0 6px;padding:30px;border:1px solid #f3c55b;border-radius:16px;background:linear-gradient(135deg,#c8102e 0%,#a50d27 48%,#71091d 100%);display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;box-shadow:0 10px 28px #3c091c30}.liverpool-forever-card h2{font:700 clamp(30px,5vw,48px)/1.05 'Space Grotesk';letter-spacing:-1.5px;margin:0;color:#fff;text-shadow:0 2px 8px #48071880}@media(max-width:540px){.liverpool-forever-card{min-height:150px;padding:22px;margin:16px 0 4px}}

.leaderboard-top .leader-row{grid-template-columns:minmax(0,1fr) auto}.leader-place{display:inline-block;min-width:34px;margin-right:7px;font-weight:800;color:#78994d}.leader-place.medal{font-size:18px;vertical-align:-1px;color:initial}

.leaderboard-top{min-height:50svh;display:flex;flex-direction:column}.leaderboard-top .points-chart{margin-top:auto;padding-top:18px}.points-chart h3{font:700 13px 'Space Grotesk';margin:0 0 12px;color:var(--ink)}.points-chart-row{display:grid;grid-template-columns:minmax(65px,105px) minmax(60px,1fr) 38px;align-items:center;gap:9px;margin:8px 0}.points-chart-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;color:#394c5b}.points-chart-track{height:11px;overflow:hidden;border-radius:8px;background:#eef1f3}.points-chart-bar{display:block;height:100%;min-width:0;border-radius:8px;transition:width .35s ease}.points-chart-value{text-align:right;font:700 11px 'Space Grotesk';color:var(--ink)}.points-chart-empty{font-size:10px;color:#87939c;margin:0}@media(max-width:540px){.leaderboard-top{min-height:50svh}.points-chart-row{grid-template-columns:minmax(58px,80px) minmax(48px,1fr) 32px;gap:7px}}

.player-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.player-color-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 4px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.player-color-choice input{position:absolute;opacity:0;inset:0;cursor:pointer}
.player-color-swatch{width:28px;height:28px;border-radius:50%;background:var(--choice-color);border:2px solid #fff;box-shadow:0 0 0 1px #d5dfe2}
.player-color-choice input:checked+.player-color-swatch{box-shadow:0 0 0 3px #183d5c}
.player-color-choice small{font-size:9px;color:#66737c}
.player-color-choice:focus-within{outline:2px solid #3b82f6;outline-offset:2px}

.refresh-button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid #294238;border-radius:50%;background:#122a22;color:#eaf4ee;font:700 21px/1 'DM Sans',sans-serif}.refresh-button:active{transform:rotate(45deg);background:#294238}.refresh-button:disabled{opacity:.65}
@media(max-width:540px){.refresh-button{width:31px;height:31px;font-size:19px}}
.match-result{margin:9px 0 0;padding:8px 10px;border-radius:7px;background:#eef5e8;color:#4e772d;font-size:10px;font-weight:700}.match-result[hidden]{display:none}
.match-result{margin:9px 0 0;padding:8px 10px;border-radius:7px;background:#eef5e8;color:#4e772d;font-size:10px;font-weight:700}.match-result[hidden]{display:none}
