:root{--blue:#053b78;--blue2:#0d63b7;--red:#e41e35;--orange:#ff9f1c;--bg:#eef4ff;--ink:#071427;--muted:#64748b;--line:#dbe7fb;--card:#fff;--shadow:0 14px 32px rgba(5,59,120,.13);--radius:20px}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}.topbar{background:linear-gradient(135deg,#052d60,#0d63b7);color:white;padding:16px;border-radius:0 0 26px 26px;box-shadow:var(--shadow)}.topbar-inner{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:62px;height:62px;object-fit:contain;background:white;border-radius:18px;padding:4px}.brand h1{margin:0;font-size:24px}.brand p{margin:2px 0 0;color:rgba(255,255,255,.8);font-weight:700}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn,.actions a,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;padding:11px 15px;text-decoration:none;font-weight:900;cursor:pointer;background:#fff;color:var(--blue);box-shadow:0 8px 18px rgba(0,0,0,.08)}.btn.primary,button.primary{background:var(--blue);color:white}.btn.red,button.red{background:var(--red);color:white}.btn.orange,button.orange{background:var(--orange);color:#1d1300}.btn.ghost{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.3)}.wrap{max-width:1100px;margin:20px auto;padding:0 14px 30px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.dash-card{text-decoration:none;color:var(--ink);min-height:140px}.dash-card h2{margin:6px 0;color:var(--blue)}.icon{font-size:34px}.form-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;align-items:end}.form-grid.three{grid-template-columns:repeat(3,1fr)}label{display:block;font-size:12px;text-transform:uppercase;color:var(--muted);font-weight:900;margin-bottom:5px}select,input{width:100%;padding:13px;border:1px solid var(--line);border-radius:14px;font-size:15px;background:#fff}h2{margin:0 0 14px;color:var(--blue)}.table{width:100%;border-collapse:separate;border-spacing:0 8px}.table th{font-size:11px;color:var(--muted);text-transform:uppercase;text-align:left;padding:4px 8px}.table td{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 8px;font-weight:700}.table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.notice{padding:12px 14px;border-radius:16px;background:#dcfce7;color:#14532d;font-weight:900;margin-bottom:12px}.error{padding:12px 14px;border-radius:16px;background:#ffe4e6;color:#9f1239;font-weight:900;margin-bottom:12px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#052d60,#0d63b7,#e41e35);padding:20px}.login-box{width:100%;max-width:420px;background:white;border-radius:26px;padding:28px;text-align:center;box-shadow:0 24px 50px rgba(0,0,0,.26)}.login-box img{width:140px;max-width:45vw}.login-box h1{color:var(--blue);margin:8px 0 4px}.login-box p{color:var(--muted)}.player-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.team-box{background:#f8fbff;border:1px solid var(--line);border-radius:18px;padding:12px}.player-row{display:grid;grid-template-columns:44px 1fr 70px 34px 34px;gap:8px;align-items:center;background:white;border-radius:14px;padding:8px;margin-bottom:8px}.gol-input{width:70px;text-align:center;font-weight:1000}.cart{width:30px;height:30px;border-radius:7px;border:0}.yellow{background:#fbbf24}.redcard{background:#e11d48}.match-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.score-inputs{display:flex;align-items:center;gap:8px}.score-inputs input{width:74px;text-align:center;font-weight:1000}@media(max-width:760px){.topbar-inner{align-items:flex-start;flex-direction:column}.grid,.form-grid,.form-grid.three,.player-grid{grid-template-columns:1fr}.table{font-size:13px}.table th:nth-child(4),.table td:nth-child(4){display:none}.brand h1{font-size:21px}.card{padding:14px}.player-row{grid-template-columns:36px 1fr 66px 32px 32px}}
.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.cart-choice{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;cursor:pointer}.cart-choice input{display:none}.cart-choice span{width:30px;height:30px;border-radius:7px;display:block;border:2px solid transparent}.cart-choice input:checked+span{border-color:#071427;box-shadow:0 0 0 3px rgba(7,20,39,.14)}.player-row.head{background:transparent;color:var(--muted);font-size:12px;font-weight:1000;text-transform:uppercase;margin-bottom:2px}.played-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#dcfce7;color:#166534;font-weight:1000}.todo-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#fef9c3;color:#854d0e;font-weight:1000}@media(max-width:760px){.table-wrap .table{min-width:720px}.player-row{grid-template-columns:34px 1fr 62px 36px 36px}.cart-choice{width:32px;height:32px}.cart-choice span{width:28px;height:28px}}
