.discovery-group+.discovery-group{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.discovery-group h3{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin:7px 12px 6px}
.discovery-result{width:100%;text-align:start;gap:12px;min-height:64px}
.discovery-result>span:nth-child(2){flex:1;min-width:0}
.discovery-result strong{display:block;font-size:13px;line-height:1.4;color:var(--ink)}
.discovery-result small{display:block;margin-top:3px;font-size:11px;color:var(--muted);line-height:1.4}
.discovery-result>svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.discovery-result>.league-badge,.discovery-result>.flag{width:30px;height:30px}
.discovery-result:hover{background:var(--brand-soft);border-radius:8px}
.discovery-search-status{font-size:12px;line-height:1.5;color:var(--muted);padding:12px}
.discovery-empty{padding:30px 18px;color:var(--muted);font-size:13px;line-height:1.6;text-align:center}
#entity-view{min-width:0;scroll-margin-top:calc(var(--site-header-height,84px) + 14px)}
.entity-back{display:inline-flex;align-items:center;gap:5px;padding:8px 0 15px;font-size:12px;color:var(--muted)}
.entity-back svg{width:15px;height:15px}
.entity-card{overflow:hidden;background:var(--white);border:1px solid var(--line);border-radius:14px}
.entity-heading{display:flex;align-items:center;gap:18px;padding:25px 24px 22px}
.entity-heading>div:last-child{min-width:0}
.entity-badge{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:68px;height:68px}
.entity-badge>.league-badge,.entity-badge>.flag,.entity-badge>.league-mark{width:60px;height:60px}
.entity-badge>.team-crest{width:56px;height:62px;font-size:17px}
.entity-kind{font-size:10px;line-height:1.5;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--brand-red);margin-bottom:4px}
.entity-heading h2{font:800 25px/1.25 var(--display);letter-spacing:-.6px;overflow-wrap:anywhere}
.entity-heading p{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:var(--muted)}
.entity-heading p>.flag{width:18px;height:14px;font-size:14px}
.entity-tabs{display:flex;gap:22px;padding:0 24px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin}
.entity-tabs button{position:relative;flex-shrink:0;padding:13px 1px 15px;font-size:13px;font-weight:650;color:var(--muted)}
.entity-tabs button.active{color:var(--brand-red)}
.entity-tabs button.active:after{position:absolute;content:'';height:3px;inset-inline:0;bottom:0;background:var(--brand-red);border-radius:4px 4px 0 0}
.entity-body{min-height:170px;padding:19px 18px 22px}
.entity-match-section+.entity-match-section{margin-top:25px}
.entity-match-section>h3,.entity-competitions>h3{font-size:14px;font-weight:750;margin:0 0 11px}
.entity-match-group{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--white)}
.entity-match-group+.entity-match-group{margin-top:12px}
.entity-match-group>h4{margin:0;padding:9px 12px;background:#fafafa;border-bottom:1px solid var(--line);font-size:11px;font-weight:600;color:var(--muted)}
.entity-match-group .match-row:last-child{border-bottom:0}
.entity-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 18px 0;padding:11px 12px;background:#fff2e8;border:1px solid #f2d6c2;border-radius:8px;color:var(--orange-ink);font-size:12px;line-height:1.5}
.entity-notice button{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;white-space:nowrap;padding:6px 0}
.entity-notice button svg{width:15px;height:15px}
.entity-update{margin:14px 18px 0;font-size:11px;color:var(--muted)}
.entity-competitions{margin-bottom:24px}
.entity-competitions>div{display:flex;flex-wrap:wrap;gap:8px}
.entity-competitions button{display:flex;align-items:center;gap:7px;max-width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:11px;text-align:start}
.entity-competitions button>span:not(.league-badge):not(.flag){min-width:0}
.entity-competitions .league-badge,.entity-competitions .flag{width:20px;height:20px}
.entity-competitions button>svg{width:13px;height:13px;flex-shrink:0}
.entity-body>.table-scroll{margin:-6px -10px}
@media(max-width:767px){.entity-heading{gap:12px;padding:20px 18px}.entity-heading h2{font-size:23px}.entity-badge{width:58px;height:60px}.entity-badge>.league-badge,.entity-badge>.flag{width:50px;height:50px}.entity-tabs{gap:20px;padding-inline:18px}.entity-tabs button{font-size:12px}.entity-body{padding:17px 12px}.entity-notice{margin-inline:12px}.entity-match-group .match-main{padding-inline:9px}.entity-competitions button{font-size:10px}}
@media(max-width:380px){.entity-heading{padding-inline:13px;gap:10px}.entity-heading h2{font-size:21px}.entity-tabs{gap:17px;padding-inline:13px}.entity-tabs button{font-size:11px}.discovery-result{gap:9px}}

.match-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px;margin:0 0 24px;padding:16px;background:#fafafa;border:1px solid var(--line);border-radius:9px}
.match-facts dt{font-size:10px;line-height:1.4;color:var(--muted);margin-bottom:4px}
.match-facts dd{margin:0;font-size:12px;line-height:1.5;font-weight:650;color:var(--ink);overflow-wrap:anywhere}
.detail-empty{margin:0;padding:24px 12px;font-size:12px;line-height:1.6;text-align:center;color:var(--muted)}
@media(max-width:380px){.match-facts{gap:12px;padding:13px}.match-facts dd{font-size:11px}}

.search-categories{display:flex;align-items:center;gap:5px;margin:-8px 0 12px;padding:1px 20px 5px;overflow-x:auto;scrollbar-width:thin}
.search-categories button{flex:none;min-height:32px;padding:5px 12px;border:1px solid var(--line);border-radius:18px;color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap}
.search-categories button:hover{background:var(--canvas);color:var(--ink)}
.search-categories button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand-soft);color:var(--brand-red)}
.search-categories button:focus-visible{outline:2px solid var(--brand-red);outline-offset:-2px}
.search-player-photo{position:relative;display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--brand-soft);color:var(--brand-red)}
.search-player-photo .sports-asset-fallback{display:grid;place-items:center}
.search-player-photo svg{width:17px;height:17px}
.search-player-result strong{display:flex;align-items:center;gap:5px}
.search-player-result strong>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:420px){.search-categories{padding-inline:12px}.search-categories button{padding-inline:9px}}

.squad-position+.squad-position{margin-top:20px}
.squad-position h3{margin:0 0 8px;color:var(--ink);font-size:13px;font-weight:750}
.squad-position ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:6px;margin:0;padding:0;list-style:none}
.squad-position li{min-width:0}
.squad-player{display:flex;align-items:center;gap:9px;height:100%;min-height:55px;padding:8px;border:1px solid var(--line);border-radius:9px;color:var(--ink);text-align:start}
.squad-player:hover{background:var(--brand-soft);border-color:var(--brand-soft)}
.squad-player:focus-visible{outline:2px solid var(--brand-red);outline-offset:-2px}
.squad-player-info{min-width:0;flex:1}
.squad-player-info strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.squad-player-info small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.squad-number{display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:5px;background:var(--canvas);color:var(--muted);font-size:10px;font-weight:750}
.squad-player>svg{width:13px;height:13px;flex:none;color:var(--muted)}
.squad-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;padding:15px 7px;color:var(--muted);font-size:12px;text-align:center}
.squad-status:has(+.squad-position){justify-content:space-between;margin-bottom:9px;padding-top:0}
@media(max-width:380px){.squad-position h3{font-size:12px}.squad-player{gap:7px}}
