:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#14213d;background:#f4f7fb;line-height:1.5;font-weight:500}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{max-width:1280px;margin:0 auto;padding:24px}.hero{border-radius:28px;background:linear-gradient(135deg,#0d47a1,#1565c0 45%,#00a2ff);color:#fff;padding:28px;box-shadow:0 20px 55px #0d47a140}.hero h1{margin:0;font-size:clamp(30px,6vw,58px);letter-spacing:-.04em;line-height:1}.hero p{max-width:820px;margin:14px 0 0;opacity:.9;font-weight:500}.hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;align-items:center}.pill{border:1px solid rgba(255,255,255,.35);background:#ffffff1f;padding:8px 12px;border-radius:999px;font-size:14px}.pill.dark{color:#14213d;background:#eef4ff;border-color:#d7e7ff}.topbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:18px 0}.tabs{display:flex;flex-wrap:wrap;gap:8px}.tab{border:0;background:#e9eef7;color:#38506f;padding:10px 14px;border-radius:999px;font-weight:800}.tab.active{background:#14213d;color:#fff}.tab:disabled{opacity:.45;cursor:not-allowed}.grid{display:grid;gap:16px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:960px){.cols-2,.cols-3,.cols-4{grid-template-columns:1fr}.app-shell{padding:14px}}.card{background:#fff;border:1px solid #dfe7f3;border-radius:22px;padding:18px;box-shadow:0 10px 30px #14213d0f}.card.soft{background:#f9fbff}.card h2,.card h3{margin:0 0 10px;letter-spacing:-.02em}.card p{margin:8px 0;color:#58708f}.muted{color:#6e829c;font-size:14px}.small{font-size:13px}.score{font-size:40px;font-weight:900;letter-spacing:-.05em}.spacer{height:16px}.btn{border:0;border-radius:14px;padding:10px 14px;background:#e9eef7;color:#14213d;font-weight:900}.btn.primary{background:#0d47a1;color:#fff}.btn.danger{background:#ffebe9;color:#b42318}.btn.ghost{background:transparent;border:1px solid #dfe7f3}.btn:disabled{opacity:.45;cursor:not-allowed}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.right{justify-content:flex-end}label{display:grid;gap:6px;color:#38506f;font-weight:800}input,select,textarea{width:100%;border:1px solid #ccd8ea;background:#fff;color:#14213d;border-radius:14px;padding:10px 12px;outline:none}input:focus,select:focus,textarea:focus{border-color:#0d47a1;box-shadow:0 0 0 3px #0d47a11f}textarea{min-height:96px;resize:vertical}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid #edf2f9;vertical-align:middle}th{color:#58708f;font-size:12px;text-transform:uppercase;letter-spacing:.05em}tr:last-child td{border-bottom:0}.rank{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eef4ff;font-weight:900}.team{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.flag{font-size:20px;line-height:1}.group-title{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}.group-badge{background:#eef4ff;color:#0d47a1;padding:6px 10px;border-radius:999px;font-weight:900}.badge{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#0d47a1;font-size:13px;font-weight:900;margin:3px 3px 3px 0}.done{background:#ecfdf3;color:#067647}.warn{background:#fff7e6;color:#b54708}.panel{display:none}.panel.active{display:block}.notice{border:1px solid #b8d8ff;background:#eef7ff;color:#174a7c;border-radius:18px;padding:14px}.error{border:1px solid #ffd0cb;background:#fff1f0;color:#b42318;border-radius:18px;padding:14px}.success{border:1px solid #b7ebc6;background:#eefcf3;color:#067647;border-radius:18px;padding:14px}.loading{opacity:.65;pointer-events:none}.toast{position:fixed;right:18px;bottom:18px;z-index:50;background:#14213d;color:#fff;border-radius:16px;padding:12px 14px;box-shadow:0 20px 40px #14213d40}.admin-lock{border:1px dashed #ccd8ea;border-radius:18px;padding:14px;background:#fbfdff}.footer{color:#6e829c;font-size:13px;padding:24px 4px 0}
