/* V2.2 — identitat Estel + competicions */
:root{--yellow:#ffe500;--black:#070707;--bg:#f4f4f1}
a.btn{text-decoration:none}
.side-logo{margin:-2px -1px 14px;padding:10px;border-radius:16px;background:linear-gradient(135deg,#101010,#171500);border:1px solid #282400}
.side-logo img,.mobile-top img,.login-brand img,.login-logo,.public-top img,.boot img{object-fit:contain!important;background:var(--yellow)!important;padding:2px!important;border-color:var(--yellow)!important}
.side-logo img{width:54px;height:54px;box-shadow:0 0 0 1px rgba(255,229,0,.15),0 6px 20px rgba(0,0,0,.35)}
.side-logo strong{font-size:12px;letter-spacing:.02em}.side-logo small{color:#969069}
.sidebar{background:linear-gradient(180deg,#070707 0%,#0d0d0d 72%,#111000 100%)}
.nav button.active{box-shadow:0 5px 15px rgba(255,229,0,.16)}
.page-head{position:relative;padding-bottom:13px}.page-head:after{content:"";position:absolute;left:0;bottom:0;width:62px;height:5px;background:var(--yellow);border-radius:999px}
.hero{min-height:275px;background:radial-gradient(circle at 85% 12%,rgba(255,229,0,.22),transparent 28%),linear-gradient(115deg,#050505 0%,#111 60%,#211e00 100%)}
.hero:before{right:-105px;top:-160px;width:430px;height:430px;border-width:90px;opacity:.9}.hero:after{width:215px;height:215px;right:45px;bottom:-70px;opacity:.26;filter:none}
.hero-brand{display:flex;align-items:center;gap:9px;margin-bottom:18px}.hero-brand img{width:39px;height:39px;object-fit:contain;background:var(--yellow);border-radius:50%;padding:2px}.hero-brand span{font-size:10px;letter-spacing:.13em;font-weight:950;color:var(--yellow)}
.card{border-color:#e3e3df}.card.yellow{background:linear-gradient(145deg,#ffe500,#ffef62)}
.competition-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}.overview-chip{border:1px solid #dfdfda;background:#fff;border-radius:16px;padding:12px 14px;display:flex;align-items:center;gap:9px;text-align:left}.overview-chip strong{font-size:22px;color:#111}.overview-chip span{font-size:10px;color:#686b6d;font-weight:850}.overview-chip.active{background:#111;border-color:#111}.overview-chip.active strong{color:var(--yellow)}.overview-chip.active span{color:#fff}
.v22-card{padding:0 16px 16px;border-radius:20px}.v22-card:before{height:7px;background:linear-gradient(90deg,var(--yellow) 0 72%,#111 72%)}.team-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:18px}.team-code-box{width:48px;height:48px;border-radius:13px;background:#090909;color:var(--yellow);display:grid;place-items:center;font-size:13px;font-weight:1000;letter-spacing:.02em}.team-card-badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.v22-card h3{font-size:17px;margin-top:13px}.team-card-data{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px;padding:10px 0;border-top:1px solid #ededeb;border-bottom:1px solid #ededeb}.team-card-data span{font-size:9px;color:#777}.team-card-data b{font-size:15px;color:#111;display:block}.team-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}
.pill.comp{border:1px solid transparent}.pill.comp.fed{background:#111;color:#fff}.pill.comp.school{background:#fff1a3;color:#4a4200;border-color:#f1db37}.pill.comp.volley{background:#efefef;color:#333}.source-pill{display:inline-flex;padding:5px 7px;border-radius:999px;background:var(--yellow);color:#111;font-size:8px;font-weight:1000;letter-spacing:.06em}.source-pill.muted-source{background:#f0f0ee;color:#777}
.v22-team-head{position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 0%,#fff 72%,#fff8c8 100%)}.v22-team-head:after{content:"";position:absolute;right:-26px;top:-50px;width:165px;height:165px;border:38px solid var(--yellow);border-radius:50%;opacity:.32}.v22-team-head>*{position:relative;z-index:2}.team-head-main{flex:1;min-width:0}.team-head-logo{width:74px;height:74px;border-radius:50%;background:#ffe500;padding:3px;flex:0 0 auto}.team-head-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.team-badge{background:#111!important;color:var(--yellow)!important;border-color:#111!important}.head-pills{margin:0 0 6px}
.team-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.team-summary-grid>div{background:#f6f6f3;border-radius:13px;padding:11px}.team-summary-grid span{font-size:9px;color:#777;display:block}.team-summary-grid strong{font-size:20px;display:block;margin-top:3px}
.competition-panel{display:flex;gap:14px;align-items:flex-start;border-radius:18px;padding:17px;background:#0a0a0a;color:#fff;min-height:180px;position:relative;overflow:hidden}.competition-panel:after{content:"";position:absolute;width:150px;height:150px;border:35px solid var(--yellow);border-radius:50%;right:-70px;bottom:-85px;opacity:.65}.competition-panel.school{background:linear-gradient(125deg,#ffe500,#f6cc00);color:#111}.competition-panel.volley{background:linear-gradient(125deg,#151515,#2b2b2b)}.source-mark{width:56px;height:56px;border-radius:15px;background:var(--yellow);color:#111;display:grid;place-items:center;font-size:12px;font-weight:1000;flex:0 0 auto;position:relative;z-index:1}.competition-panel.school .source-mark{background:#111;color:var(--yellow)}.source-copy{position:relative;z-index:1}.source-copy h3{margin:5px 0 5px;font-size:20px}.source-copy p{margin:0 0 12px;font-size:11px;line-height:1.5;color:#aaa;max-width:530px}.competition-panel.school .source-copy p{color:#4c4300}.source-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.link-state{font-size:8px;font-weight:900;border-radius:999px;padding:5px 7px}.link-state.ready{background:#e5f5ea;color:#16733d}.link-state.pending{background:#fff4bd;color:#6b5900}.competition-panel.school .link-state.pending{background:rgba(255,255,255,.65)}
.source-big{display:flex;gap:14px;align-items:center;min-height:160px}.source-big .source-mark{width:66px;height:66px;font-size:14px}.source-big h2{margin:0 0 6px;font-size:23px}.source-big p{font-size:11px;color:#777;line-height:1.5}.source-big.fed .source-mark{background:#111;color:var(--yellow)}
.competition-mini{display:grid;gap:10px;margin-top:18px}.competition-mini>div{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.13)}.competition-mini>div:last-child{border-bottom:0}.competition-mini strong{font-size:24px}.competition-mini span{font-size:10px;font-weight:850}
.source-help{font-size:10px;line-height:1.5;color:#696d70;background:#f7f6ef;border-left:4px solid var(--yellow);padding:10px 11px;border-radius:8px;margin-top:4px}.track-link{white-space:nowrap}
.public-top{border-bottom:3px solid var(--yellow)}.public-hero{background:radial-gradient(circle at 82% 20%,rgba(255,229,0,.2),transparent 28%),linear-gradient(118deg,#050505,#131313 65%,#2d2900)}
.att-choice.present{border-color:#a8d7b9}.att-choice.absent{border-color:#efb1b1}.att-choice.present.active{box-shadow:0 0 0 2px rgba(16,148,71,.13)}.att-choice.absent.active{box-shadow:0 0 0 2px rgba(232,55,55,.12)}
@media(max-width:1050px){.competition-overview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.competition-overview{grid-template-columns:1fr 1fr}.overview-chip{padding:10px}.overview-chip strong{font-size:18px}.team-head-logo{width:58px;height:58px}.v22-team-head{align-items:flex-start}.team-summary-grid{grid-template-columns:1fr}.competition-panel{display:block}.source-mark{margin-bottom:10px}.source-big{align-items:flex-start}.source-big .source-mark{width:52px;height:52px}.hero-brand{margin-bottom:12px}}
