
:root{--ink:#172b29;--muted:#64736d;--line:#dce4de;--paper:#f4f6f0;--green:#214e40;--lime:#d8ed98}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Segoe UI,Arial,sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #be7019;outline-offset:4px}a{color:inherit}.masthead{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1220px;margin:auto;padding:24px 30px}.brand{font-size:20px;font-weight:850;letter-spacing:-.7px;text-decoration:none;display:flex;align-items:center;gap:12px}.brand-mark{background:var(--green);color:var(--lime);padding:6px 10px;border-radius:10px;font-size:16px}.masthead>a:last-child{font-size:14px;font-weight:650;text-underline-offset:5px}.page{max-width:1220px;padding:8px 30px 40px}.card{border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:none;margin-bottom:22px}.page>.card:first-child{background:var(--green);color:white;padding:34px 38px;position:relative;overflow:hidden}.page>.card:first-child:after{content:'✳';position:absolute;right:36px;top:0;font-size:170px;line-height:1;color:var(--lime);opacity:.18;pointer-events:none}.page>.card:first-child h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px;line-height:1.12;margin:16px 0}.page>.card:first-child>.muted{color:#d8e5de;max-width:650px}.badge{background:#ffffff18;color:#eaf4e4;font-weight:500;font-size:12px;letter-spacing:.4px}.stats{gap:0;margin-top:28px;position:relative;z-index:1}.stat{background:none;border:0;border-left:1px solid #ffffff30;border-radius:0;padding:4px 24px}.stat:first-child{border:0;padding-left:0}.stat-label{color:#c5d7cc;font-size:12px;margin-bottom:2px}.stat-value{font-size:34px;font-weight:650}.notice:empty{display:none}.notice.ok{color:inherit}.notice.error{background:#fff0ec;color:#9b2419;padding:12px;border-radius:8px}.tabs{gap:6px;padding:6px;background:#e6ebe3;border-radius:13px;width:fit-content;margin:26px 0}.tab-btn{border:0;background:transparent;border-radius:9px;color:#58665d;padding:11px 24px}.tab-btn.active{background:#fff;color:var(--ink);box-shadow:0 2px 4px #142e1710}.btn{background:var(--green)}.btn-secondary{background:#eaf0e7}.btn,.btn-secondary,.btn-danger{border-radius:10px;min-height:44px}.grid-2{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:22px}h2{font-size:20px;letter-spacing:-.5px;margin-bottom:22px}.muted,.small-muted{color:var(--muted)}.leaderboard-row{position:relative;overflow:hidden;min-height:98px;border-radius:12px;margin-bottom:12px;padding:18px;border-left:5px solid var(--team-color,var(--line));background:linear-gradient(90deg,var(--team-tint,#fff),#fff)}.leaderboard-row:last-child{margin-bottom:0}.rank{background:#fff9;width:32px;font-size:16px}.rank-wrap{gap:15px}.rank-wrap strong{font-size:17px}.score{font-size:32px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums}.team-dot{width:10px;height:10px}.history-item{border:0;border-bottom:1px solid var(--line);padding:12px 0;border-radius:0;margin:0}.history-item:last-child{border:0}.input,select{border-radius:9px;border-color:#cbd7ce;min-height:46px}.rule-box{background:#f5f7f1;border-color:var(--line);border-radius:10px}.inline-info{background:#edf3e5;border:0;border-radius:10px}#competitionsList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.comp-item{margin:0;padding:18px;border-color:var(--line);border-radius:12px}.comp-item strong{font-size:15px}.footer{max-width:1220px;margin:auto;padding:0 30px 24px;color:var(--muted);font-size:12px}.preview-note{background:#e7edda;padding:10px 24px;text-align:center;font-size:13px;color:#344b2a}.search{margin-bottom:20px;max-width:480px}.container{max-width:1220px;padding:35px 30px;margin:auto}.display-page{background:#142d27;color:#f3f7ef;min-height:100vh}.display-page .masthead{border-bottom:1px solid #ffffff20}.display-page .brand-mark{background:var(--lime);color:var(--green)}.display-page h1{text-align:left;font-size:clamp(34px,5vw,64px);letter-spacing:-2px;margin:14px 0}.display-page .message,.display-page .updated{text-align:left;color:#bacfc3}.chart-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:24px;min-height:420px;padding:20px 0}.bar-card{width:auto;align-items:stretch}.bar-score{font-size:clamp(32px,5vw,62px);letter-spacing:-2px}.bar-outer{width:100%;height:270px;background:#ffffff06;border-radius:14px}.bar-inner{border-radius:14px 14px 0 0;min-height:0}.bar-rank{font-size:14px;color:#c8d9ce}.bar-team{text-align:left;font-size:20px}.bar-subtext{text-align:left;color:#a8beb0}.display-page .footer{color:#a8beb0}.display-page .preview-note{background:#d8ed98;color:#254733}
@media(max-width:700px){.masthead{padding:18px}.page,.container{padding:6px 16px 28px}.page>.card:first-child{padding:25px}.page>.card:first-child:after{font-size:100px;right:10px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:4px 12px}.stat-value{font-size:27px}.stat-label{font-size:11px}.grid-2,.grid-2-even{grid-template-columns:1fr}.card{padding:20px}.tabs{width:100%;gap:0}.tab-btn{flex:1;padding:11px 5px;font-size:13px}#competitionsList{grid-template-columns:1fr}.chart-wrap{gap:12px;min-height:300px}.bar-outer{height:180px}.bar-team{font-size:13px;overflow-wrap:anywhere}.bar-score{font-size:30px}.bar-dot{display:none}.rank-wrap{gap:9px}.rank-wrap strong{font-size:15px}.footer{padding:0 18px 20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.weights-panel{margin:24px 0 30px}.weights-panel>p{max-width:850px}.weight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.weight-card{background:white;border:1px solid #dce4de;padding:18px;border-radius:14px}.weight-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.weight-heading h3{font-size:16px;margin:0}.weight-heading>span{font-size:12px;white-space:nowrap;color:#476b38}.weight-team{display:flex;justify-content:space-between;gap:8px;font-size:13px;padding:7px 0}.weight-team strong{font-variant-numeric:tabular-nums}.display-page .weight-card{background:#1b3930;border-color:#375247}.display-page .weight-heading>span,.display-page .weights-panel .small-muted{color:#c6d8c7}.display-page .weights-panel h2{margin-bottom:8px}@media(max-width:950px){.weight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.weight-grid{grid-template-columns:1fr}.weight-team{font-size:14px}}
