:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#45283a;background:#f8f0f5;--wine:#902b63;--gold:#f5c05e;--cyan:#55e2d0}*{box-sizing:border-box}body{margin:0;min-width:320px}header{display:flex;align-items:center;gap:22px;padding:12px max(16px,calc((100% - 1120px)/2));background:white;border-bottom:1px solid #ead5e2}header img{width:145px;height:55px;object-fit:cover;border-radius:12px}header a{color:var(--wine);font-weight:750;text-decoration:none}header button{margin-left:auto}main{width:min(1120px,calc(100% - 28px));margin:26px auto 70px}.hero{position:relative;overflow:hidden;padding:44px;border-radius:28px;color:white;background:radial-gradient(circle at 92% 20%,#f5c05e45,transparent 22rem),linear-gradient(115deg,#4c123e,#922965 65%,#32234d);box-shadow:0 20px 45px #902b6320}.hero:after{content:'01';position:absolute;right:7%;top:12px;font-size:220px;line-height:1.2;font-weight:950;color:#ffffff09;pointer-events:none}.eyebrow{color:var(--gold);font-size:12px;font-weight:850;letter-spacing:.14em}h1{font-size:clamp(38px,6vw,66px);line-height:1.03;margin:18px 0;letter-spacing:-.045em}h1 em{font-style:normal;color:var(--cyan)}.hero p{color:#f1dce8}.hero-foot{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-foot span{border:1px solid #ffffff40;border-radius:30px;padding:8px 13px;font-size:12px;font-weight:750}.panel{border:1px solid #ecd9e4;background:white;border-radius:23px;padding:25px;margin-top:20px;box-shadow:0 8px 25px #60183d06}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;justify-content:space-between}.month-nav{display:flex;gap:10px;align-items:end}label{display:grid;gap:7px;font-size:12px;color:#755267;font-weight:800}button,select,input{font:inherit}button{border:0;padding:12px 17px;border-radius:11px;font-size:13px;font-weight:800;background:var(--wine);color:white;cursor:pointer}button:disabled{opacity:.4;cursor:default}.secondary,.month-nav button{background:#f5eaf1;color:var(--wine)}select{min-height:42px;padding:8px 13px;border:1px solid #dbc5d3;border-radius:10px;background:white;color:#45283a}.stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px;margin:24px 0}.stats>div{background:#faf3f7;padding:19px;border-radius:15px}.stats small{display:block;font-size:10px;letter-spacing:.1em;color:#916e84;font-weight:850}.stats strong{display:block;font-size:31px;line-height:1.3;margin-top:6px;color:var(--wine)}.stats .timestamp{font-size:16px;margin-top:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}caption{text-align:left;font-weight:850;font-size:19px;padding:10px 0 20px}th{background:#55143f;color:#fff;font-size:11px;padding:15px 13px;font-weight:750}th small{display:block;color:#dfbfd2;font-size:10px;margin-top:5px}td{padding:19px 13px;border-bottom:1px solid #f1e3ec;font-size:14px}tbody tr:nth-child(2n){background:#fdf9fb}tbody tr.podium{background:#fffcf3}tbody tr.podium td:first-child{border-left:3px solid var(--gold)}td.points{color:var(--wine);font-size:18px;font-weight:900}td.name{font-weight:800;white-space:normal;min-width:160px}.rank{display:inline-grid;place-items:center;border-radius:10px;background:#f2e2ed;width:30px;height:30px;font-weight:900}.podium .rank{background:var(--gold);color:#55143f}.up{color:#087762}.down{color:#ba315a}.neutral{color:#9c8191}.empty{text-align:center;padding:50px 20px;white-space:normal;color:#806475}.legend{font-size:12px;line-height:1.7;color:#866d7c}.connection{display:flex;gap:14px;align-items:start;background:#fffaf0}.connection h2{font-size:16px;margin:0 0 8px}.connection p{font-size:13px;line-height:1.5;margin:6px 0}.status-dot{background:#e6a323;flex:none;width:9px;height:9px;border-radius:50%;margin-top:5px}h2{font-size:21px}#admin p{font-size:13px;line-height:1.7;color:#806475}details{border-top:1px solid #ecdeE5;padding-top:19px;margin-top:23px}summary{cursor:pointer;font-weight:800;color:var(--wine)}input[type=file]{display:block;margin:15px 0;max-width:100%}#message{font-size:14px;color:#a31c5d;line-height:1.6}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}[hidden]{display:none!important}@media(max-width:650px){.hero{padding:29px 24px}.hero:after{font-size:160px;right:0;top:35px}.panel{padding:18px}.stats{grid-template-columns:1fr 1fr}.stats>div:last-child{grid-column:1/-1}.stats strong{font-size:27px}.toolbar{align-items:start}header{gap:12px}header img{width:110px;height:46px}header a,header button{font-size:12px}header button{padding:10px}td,th{padding:14px 10px}.month-nav{width:100%}.month-nav label{flex:1}}
.plan-editor{display:flex;align-items:center;gap:6px}.plan-input{width:100px;min-height:37px;border:1px solid #dec7d6;border-radius:9px;padding:8px;color:#55143f}.plan-save{padding:9px 11px;font-size:11px}.pct{display:inline-block;font-weight:850;border-radius:9px;padding:7px 9px;color:#902b63;background:#f9edf4}.pct.achieved{color:#067766;background:#e1faf3}tfoot th,tfoot td{background:#f4e3ee;color:#55143f;font-weight:900;font-size:15px;border-top:2px solid #902b63;padding:19px 13px}tfoot th{white-space:normal}#totalsNote{color:#a37326}

/* Keep league colours consistent with Brokeria zone. */
.hero{background:radial-gradient(circle at 92% 20%,#d996bb35,transparent 22rem),linear-gradient(115deg,#55143f,#902b63)}.eyebrow{color:#f6d5e8}h1 em{color:#f2c7df}tbody tr.podium{background:#faf0f6}tbody tr.podium td:first-child{border-left-color:var(--wine)}.podium .rank{background:var(--wine);color:white}tbody tr:hover{background:#f4e3ee}.connection{background:#fcf6fa}.status-dot{background:var(--wine)}.stats>div:first-child{background:#902b63}.stats>div:first-child small{color:#f5dbea}.stats>div:first-child strong{color:white}tfoot th,tfoot td{background:#55143f;color:white}#totalsNote{color:#87546f}

.participant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.participant-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;background:#fcf6fa;border:1px solid #ead5e2;border-radius:12px}.participant-item span{font-size:13px;font-weight:800}.participant-item small{display:block;color:#866d7c;font-size:11px;font-weight:500;margin-top:5px}.participant-remove{background:#f1dce9;color:#902b63;font-size:12px;padding:9px 12px}.participant-add{justify-content:flex-start}.participant-add label{min-width:220px}#participantMessage{font-size:13px;color:#902b63}@media(max-width:650px){.participant-list{grid-template-columns:1fr}.participant-add label{min-width:0;width:100%}}
