:root{--yellow:#f5c400;--ink:#111;--bg:#f6f6f4;--muted:#6b6b6b;--red:#c62828;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}.muted{color:var(--muted)}.small{font-size:.875rem}.loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.login{background:linear-gradient(160deg, var(--yellow) 0 38%, var(--bg) 38%);place-items:center;min-height:100vh;padding:16px;display:grid}.card{text-align:center;background:#fff;border-radius:16px;width:100%;max-width:360px;padding:32px 28px;box-shadow:0 10px 30px #0000001f}.crest{width:64px;height:64px}.card h1{letter-spacing:.5px;margin:8px 0 0}.card p{margin:4px 0 20px}form{flex-direction:column;gap:10px;display:flex}input{font:inherit;text-align:center;border:1px solid #ccc;border-radius:10px;padding:12px 14px}input:focus{outline:2px solid var(--yellow);border-color:var(--ink)}button{font:inherit;background:var(--ink);color:var(--yellow);cursor:pointer;border:0;border-radius:10px;padding:12px 14px;font-weight:600}button:disabled{opacity:.5;cursor:default}button.link{color:var(--muted);background:0 0;padding:4px;font-weight:400;text-decoration:underline}.error{color:var(--red);margin-top:12px!important}.divider{color:var(--muted);align-items:center;gap:10px;margin:20px 0 14px;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";background:#ddd;flex:1;height:1px}.google-btn{justify-content:center;min-height:44px;display:flex}.topbar{background:var(--yellow);border-bottom:2px solid var(--ink);justify-content:space-between;align-items:center;padding:10px 20px;display:flex}.brand{align-items:center;gap:8px;font-size:1.15rem;font-weight:800;display:flex}.brand img{width:30px;height:30px}.user{align-items:center;gap:10px;display:flex}main{max-width:960px;margin:0 auto;padding:24px 20px}a{color:inherit}.topbar{z-index:10;gap:16px;position:sticky;top:0}.brand{color:var(--ink);text-decoration:none}.topbar nav{flex:1;gap:4px;display:flex}.topbar nav a{border-radius:8px;padding:6px 12px;font-weight:600;text-decoration:none}.topbar nav a.active{background:var(--ink);color:var(--yellow)}@media (width<=560px){.hide-sm,.brand span{display:none}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.page-head h2{margin:8px 0}h3{margin:0 0 12px}h4{margin:18px 0 8px;font-size:.95rem}select{font:inherit;background:#fff;border:1px solid #ccc;border-radius:8px;padding:8px 10px}main input{text-align:left;border-radius:8px;padding:8px 10px}textarea{font:inherit;border:1px solid #ccc;border-radius:8px;width:100%;padding:8px 10px}button.sm{border-radius:7px;padding:5px 10px;font-size:.85rem}button.ghost{color:var(--ink);background:0 0;border:1px solid #ccc}button.ghost:hover{border-color:var(--ink)}.notice{color:#2e7d32;margin:8px 0 0}.error{margin:8px 0 0}.card-section{background:#fff;border-radius:12px;margin:16px 0;padding:18px;box-shadow:0 1px 3px #00000014}.card-section.danger{box-shadow:none;background:0 0;padding:0}.summary{background:var(--ink);color:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:22px;padding:14px 18px;display:flex}.summary>div:not(.form-strip){flex-direction:column;display:flex}.summary b{color:var(--yellow);font-size:1.4rem}.summary span{opacity:.7;text-transform:uppercase;font-size:.75rem}.form-strip{gap:4px;margin-left:auto;display:flex}.dot{border-radius:50%;place-items:center;width:24px;height:24px;font-size:.7rem;font-weight:700;display:grid}.dot.W,.badge.W{color:#fff;background:#2e7d32}.dot.D,.badge.D{color:#fff;background:#9e9e9e}.dot.L,.badge.L{background:var(--red);color:#fff}.badge{text-align:center;border-radius:6px;min-width:54px;padding:3px 8px;font-weight:700;display:inline-block}.badge.muted{background:#eee;font-weight:500}.fixtures{margin:0;padding:0;list-style:none}.fixtures li{border-bottom:1px solid #eee;grid-template-columns:170px 1fr auto 28px;align-items:center;gap:10px;padding:9px 0;display:grid}.fixtures li:last-child{border-bottom:0}.fixtures .date{color:var(--muted);font-size:.9rem}.fixtures .stage{color:var(--muted);font-size:.85rem}.fixtures .veo{text-align:center;color:var(--muted);text-decoration:none}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #eee;padding:7px 8px}th{text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:600}table.stats td:not(:first-child),table.stats th:not(:first-child){text-align:center}.num{min-width:22px;color:var(--muted);font-size:.85rem;display:inline-block}.tabs{gap:6px;margin-bottom:8px;display:flex;overflow:auto hidden;box-shadow:inset 0 -2px #e2e2e2}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:3px solid #0000;padding:8px 14px;font-weight:600;text-decoration:none}.tabs a.active{color:var(--ink);border-color:var(--yellow)}table.admin{background:#fff;border-radius:12px}table.admin input:not([type=checkbox]){width:100%;min-width:120px}table.admin.compact td{padding:4px 8px}tr.inactive td{opacity:.55}.w-code{text-transform:uppercase;width:70px!important;min-width:0!important}.w-num{width:68px!important;min-width:0!important}.w-pos,.w-id{width:110px!important;min-width:0!important}input.changed{background:#fff3e0;border-color:#ef6c00}.actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.row-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row-form .grow{flex:1;min-width:240px}.report{background:#fafafa;border-radius:8px;margin-top:12px;padding:10px 14px}.report p{margin:4px 0}.grid-form{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:12px;display:grid}.grid-form label{color:var(--muted);flex-direction:column;gap:4px;font-size:.85rem;display:flex}.grid-form label input,.grid-form label select,.grid-form label textarea{color:var(--ink)}.grid-form .wide{grid-column:1/-1}.pair{align-items:center;gap:6px;display:flex}.pair input{width:70px}.goal-list{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px;display:flex}.goal-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.goal-row .seq{width:22px;color:var(--muted);text-align:right}.goal-row .og{min-width:200px;color:var(--muted);font-style:italic}.chk{align-items:center;gap:5px;margin:6px 0;font-size:.9rem;display:inline-flex}.row-actions{gap:4px;display:inline-flex}@media (width<=560px){.fixtures li{grid-template-columns:100px 1fr auto 24px}.fixtures .time{display:block}.fixtures .sep{display:none}}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}th.sortable:hover,th.sorted{color:var(--ink)}td.sorted{font-weight:700}.th-inner{align-items:center;gap:3px;display:inline-flex}.arrow{width:8px;font-size:.6rem}@media (width<=560px){table.stats th,table.stats td{padding:7px 4px}table.stats td:first-child{white-space:normal}}.play{background:var(--yellow);width:26px;height:26px;color:var(--ink);border:1px solid var(--ink);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:inline-grid}.play:hover{background:var(--ink);color:var(--yellow)}.modal-backdrop{z-index:100;background:#000000bf;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.modal{color:#fff;background:#111;border-radius:12px;width:min(960px,100%);overflow:hidden}.modal-head{justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.modal-head .link{color:#fff;font-size:1.1rem;text-decoration:none}.modal video{background:#000;width:100%;max-height:80vh;display:block}.modal p{padding:0 14px 14px}.clip-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.clip-card video,.clip-card img,.clip-placeholder{aspect-ratio:16/9;object-fit:cover;background:#000;border-radius:8px;width:100%;display:block}.clip-card .small{margin-top:4px}.bookmarklet{background:var(--yellow);border:1px solid var(--ink);cursor:grab;border-radius:99px;padding:3px 10px;font-weight:700;display:inline-block;color:var(--ink)!important;text-decoration:none!important}details summary{cursor:pointer;color:var(--muted);margin:6px 0}details textarea{margin:6px 0;font-family:ui-monospace,monospace;font-size:.8rem}.clip-strip{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.clip-chip{background:#f3f3f0;border-radius:99px;align-items:center;gap:6px;padding:3px 10px 3px 4px;font-size:.85rem;display:inline-flex}main a{text-decoration:none}main a:hover{text-decoration:underline}.fixtures li.clickable{cursor:pointer}.fixtures li.clickable:hover{background:#fafafa}.btn{background:var(--ink);border-radius:10px;padding:9px 14px;font-weight:600;display:inline-block;color:var(--yellow)!important;text-decoration:none!important}.btn.ghost{background:0 0;border:1px solid #ccc;color:var(--ink)!important}.pre{white-space:pre-wrap;margin:0}.push{margin-left:auto}.strong{font-weight:700}.match-nav{justify-content:space-between;margin:4px 0 10px;display:flex}.scoreboard{background:var(--ink);color:#fff;text-align:center;border-top:6px solid #666;border-radius:14px;padding:18px}.scoreboard.W{border-top-color:#43a047}.scoreboard.L{border-top-color:var(--red)}.scoreboard.D{border-top-color:#9e9e9e}.scoreboard .meta{opacity:.75;font-size:.85rem}.scoreboard .teams{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:14px 0 8px;display:grid}.scoreboard .team{font-size:1.15rem;font-weight:700}.scoreboard .team:first-child{text-align:right;color:var(--yellow)}.scoreboard .team:last-child{text-align:left}.scoreboard .score{font-size:2.6rem;font-weight:800;line-height:1}.scoreboard .score i{opacity:.5;margin:0 6px;font-style:normal}.scoreboard .score small{opacity:.7;font-size:1rem;font-weight:500}.scoreboard .pens{opacity:.85;font-size:.9rem}.result-pill{border-radius:99px;margin-top:6px;padding:2px 12px;font-size:.8rem;font-weight:700;display:inline-block}.result-pill.W{background:#2e7d32}.result-pill.D{background:#757575}.result-pill.L{background:var(--red)}.scoreboard .links{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.scoreboard .btn{background:var(--yellow);color:var(--ink)!important}.scoreboard .btn.ghost{background:0 0;border-color:#555;color:#fff!important}@media (width<=560px){.scoreboard .team{font-size:.95rem}.scoreboard .score{font-size:2rem}}.goal-feed{margin:0;padding:0;list-style:none}.goal-feed li{border-bottom:1px solid #f0f0f0;gap:10px;padding:6px 0;display:flex}.goal-feed li:last-child{border-bottom:0}.goal-feed .min{width:30px;color:var(--muted);text-align:right}.tallies p{margin:6px 0;line-height:1.6}.lineup{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:12px;display:grid}.lineup-item{text-align:center;color:var(--ink);flex-direction:column;align-items:center;gap:2px;font-size:.9rem;display:flex}.tiles{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:12px 0;display:grid}.tile{background:#fff;border-radius:12px;flex-direction:column;padding:12px;display:flex;box-shadow:0 1px 3px #00000014}.card-section .tile{box-shadow:none;background:#f6f6f4}.tile b{font-size:1.6rem}.tile span{text-transform:uppercase;color:var(--muted);font-size:.75rem}.tile small{color:var(--muted);margin-top:2px;font-size:.75rem}.player-head{flex-wrap:wrap;align-items:center;gap:14px;margin:8px 0;display:flex}.player-head h2{margin:0}.badge.sm{min-width:44px;padding:2px 6px;font-size:.85rem}table.log td:nth-child(n+3),table.log th:nth-child(n+3){text-align:center}table.log td:nth-child(2),table.log th:nth-child(2){text-align:left}.roster{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-bottom:20px;display:grid}.roster-card{text-align:center;color:var(--ink);background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;display:flex;box-shadow:0 1px 3px #00000014}.roster-card:hover{box-shadow:0 3px 10px #0000001f;text-decoration:none!important}.user button{white-space:nowrap}@media (width<=560px){.topbar{gap:8px;padding:10px 12px}.topbar nav a{padding:6px 9px}}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px;display:flex}.section-head h3{margin:0}table.standings td.team{font-weight:500}table.standings tr.us td{background:#fff8d6;font-weight:700}table.standings tr.cutoff td{border-bottom:2px dashed #bbb}table.standings td:nth-child(2),table.standings th:nth-child(2){text-align:left}@media (width<=560px){table.standings td.team{white-space:normal}main{padding:16px 12px}.card-section{padding:14px 12px}table.stats th{letter-spacing:-.01em;font-size:.66rem}table.stats .th-inner{gap:1px}table.stats .arrow{width:6px}}.stack-form{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.stack-form label{color:var(--muted);flex-direction:column;gap:4px;min-width:260px;font-size:.85rem;display:flex}.stack-form label input,.stack-form label select{color:var(--ink)}.field-row{flex-wrap:wrap;gap:12px;display:flex}.field-row label{min-width:0}.fixtures .veo{place-items:center;display:grid}.fixtures .veo:hover{color:var(--ink)}
