:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17212b;background:#f4f5f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{background:#141b23;color:white;padding:26px max(20px,calc((100vw - 1160px)/2));}.brand{display:flex;gap:16px;align-items:center}.logo{display:grid;place-items:center;background:#f7d322;color:#141b23;border-radius:18px 11px;width:64px;height:64px;font-size:25px;transform:rotate(-5deg)}.brand strong{letter-spacing:2px;font-size:16px}.brand small{display:block;color:#b6bec7;margin-top:6px}.frozen{font-size:12px;color:#e5d780;margin:18px 0}nav{display:flex;gap:8px}button,select,input{font:inherit}button{cursor:pointer;border:1px solid #dce1e5;border-radius:10px;padding:11px 16px;background:white;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #a48b12;outline-offset:2px}nav button{border:0;background:transparent;color:#b9c1ca;font-weight:650}nav button.active{background:#f7d322;color:#17212b}main{max-width:1200px;margin:auto;padding:34px 20px}.eyebrow{font-size:11px;letter-spacing:3px;color:#907e29;font-weight:800}h1{font-size:clamp(29px,4vw,43px);letter-spacing:-1.5px;margin:10px 0}p{line-height:1.6;color:#6d7884}h2{font-size:21px;letter-spacing:-.5px;margin:0 0 12px}h3{margin:0 0 10px;font-size:17px}.filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;background:white;border:1px solid #e1e5e9;border-radius:16px;padding:18px;margin:25px 0}label{font-size:12px;color:#65727f;font-weight:650}select,input{display:block;background:white;color:#17212b;border:1px solid #d6dce1;border-radius:9px;padding:11px;margin-top:7px;min-width:180px;max-width:100%}.filters p{font-size:13px;margin:0 0 10px}.card{background:white;border:1px solid #e0e5e9;border-radius:18px;padding:25px;margin-bottom:20px}.tablewrap{overflow-x:auto}table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px}th,td{text-align:left;padding:13px 14px;border-bottom:1px solid #edf0f3;vertical-align:middle}th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#667582;background:#f6f7f9}td:not(:first-child){font-variant-numeric:tabular-nums}.cell{font-weight:700;text-align:center;white-space:nowrap}.cell small{display:block;font-weight:400;margin-top:4px;font-size:11px}.perfect{background:#008000;color:white}.good{background:#c6efd2;color:#17212b}.medium{background:#ffff99;color:#17212b}.low{background:#ff344a;color:white}.red{background:#ff1010;color:white}.neutral{background:#eceff2;color:#6b7680}.totals td{background:#f0f2f5;font-weight:750}.hint{font-size:12px;margin:14px 0 0}.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;margin-top:14px;color:#65717c}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:4px}.playerlink{border:0;padding:0;background:none;text-align:left;color:#17212b;font-weight:650;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#d6c149}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat{background:white;border:1px solid #e0e5e9;border-radius:16px;padding:22px}.stat small{display:block;font-size:11px;letter-spacing:.6px;color:#6a7682}.stat strong{font-size:30px;display:block;margin:10px 0 4px}.stat span{font-size:12px;color:#7a8590}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.barrow{display:grid;grid-template-columns:105px 1fr 28px;gap:12px;align-items:center;font-size:13px;margin-top:18px}.track{background:#edf0f4;border-radius:9px;overflow:hidden;height:9px}.track i{display:block;background:#f3ce23;height:100%;border-radius:9px}.unitrow{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eef0f3;font-size:13px}.unitrow small{color:#75808c}.back{margin-bottom:20px}footer{display:flex;justify-content:space-between;gap:16px;color:#87919b;font-size:11px;padding:18px 0}.empty{padding:30px;color:#6c7884;text-align:center}@media(max-width:700px){header{padding:20px}.brand strong{font-size:12px;letter-spacing:1.2px}.brand small{font-size:11px}main{padding:25px 12px}.card{padding:18px 12px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:26px}.two{display:block}th,td{padding:11px 8px;font-size:12px}th{font-size:10px}.cell{min-width:83px}td:first-child{min-width:130px}.filters{padding:14px}.filters label{flex:1}.filters select{width:100%}footer{display:block}footer span{display:block;margin-top:8px}.logo{width:48px;height:48px;font-size:20px}}

.club-links{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.club-links a,.profile-link{display:inline-block;border:1px solid #4c535a;border-radius:8px;padding:9px 13px;color:#f6d521;text-decoration:none;font-size:13px;font-weight:650}.profile-link{color:#655817;border-color:#d4c682;margin-top:10px}.frozen{font-size:clamp(20px,3vw,30px);font-weight:750;color:#f8d72f;line-height:1.3;margin:24px 0}.frozen small{display:block;font-size:12px;color:#bbc2c9;font-weight:400;margin-top:7px}.click-info{font-size:14px;color:#263440;background:#fff8ce;border-radius:9px;padding:13px 15px;margin:16px 0}.stats-period{margin-bottom:20px}

/* Mask only the white corners outside the original diamond; preserve the crest. */
.club-crest{display:block;width:88px;height:auto;flex-shrink:0;clip-path:polygon(50% .2%,99.8% 50.3%,50% 99.8%,.2% 50.3%)}.brand>.club-crest{margin-left:auto}.injury-toggle{padding:0;border:0;border-radius:2px;background:none;text-align:left;text-decoration:underline;text-decoration-color:#c5ac28;text-underline-offset:4px;font-weight:650}.injury-toggle[aria-expanded="true"]{color:#806900}.injury-detail{border-top:1px solid #e5e9ed;margin-top:20px;padding-top:20px}@media(max-width:700px){.club-crest{width:65px}.brand{gap:12px}.brand>div{min-width:0}.brand strong{font-size:11px;letter-spacing:.8px}.brand small{font-size:10px}}

.statpair{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.stat-average{font-size:18px;letter-spacing:normal;white-space:nowrap}.stat-average small{font-size:9px;letter-spacing:normal;line-height:1.5;margin-top:4px}.stat-average b{font-weight:750}@media(max-width:700px){.stat-average{font-size:14px}.stat-average small{font-size:8px}}

.graph-legend{display:flex;gap:13px;flex-wrap:wrap;margin:16px 0;font-size:11px;color:#697784}.graph-legend span{display:flex;align-items:center;gap:6px}.graph-legend i{display:inline-block;width:23px;height:3px;border-radius:2px}#roundgraph[hidden]{display:none}.attendance-graph{margin:25px 0}#periodslot .filters{margin-top:0}
