.entity-directory{padding-top:65px;padding-bottom:90px;min-height:65vh}
.directory-tools{display:flex;align-items:center;gap:15px;margin:28px 0 32px;padding:13px 15px;border:1px solid #e1e7ed;border-radius:6px;background:#f8fafb}
.directory-tools label{font-size:9px;font-weight:900;letter-spacing:1.2px;color:#7e9200;white-space:nowrap}
.directory-tools input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:13px var(--body);color:#102740}
.directory-group{margin-top:34px}
.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.directory-heading h2{margin:0;font:700 32px/.95 var(--display);text-transform:uppercase;color:#0b1d31}
.directory-heading span{font-size:9px;font-weight:900;letter-spacing:1px;color:#869900}
.entity-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.entity-directory-card{display:flex;align-items:center;gap:12px;min-height:76px;padding:14px;border:1px solid #e3e9ef;border-radius:6px;background:#fff;transition:.2s}
.entity-directory-card:hover{border-color:#bedf36;transform:translateY(-2px);box-shadow:0 9px 22px #08182b0b}
.entity-avatar{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:#edf2f5;color:#213c56;font:800 17px var(--display);overflow:hidden}
.entity-avatar img{width:100%;height:100%;object-fit:contain;background:#fff}
.entity-card-copy{min-width:0;flex:1}
.entity-card-copy b{display:block;font-size:12px;color:#172d43;overflow:hidden;text-overflow:ellipsis}
.entity-card-copy small{display:block;margin-top:4px;font-size:9px;color:#8794a2}
.entity-card-arrow{color:#9dbb00;font-weight:900;font-size:16px}
.directory-empty{padding:30px;text-align:center;color:#7a8794;border:1px dashed #d1dbe3;border-radius:6px;font-size:12px}
.entity-detail-page{padding-top:32px;padding-bottom:85px;min-height:70vh}
.entity-breadcrumb{display:flex;align-items:center;gap:7px;margin-bottom:24px;color:#98a3af;font-size:10px}
.entity-breadcrumb a{color:#68798a;font-weight:700}
.entity-breadcrumb b{color:#20384f}
.entity-profile{display:flex;align-items:center;gap:22px;padding:28px 30px;border-radius:8px;background:#f3f6f8;border:1px solid #e4e9ef;margin-bottom:50px}
.entity-logo-placeholder{width:88px;height:88px;flex:none;border-radius:50%;display:grid;place-items:center;background:#08182b;color:#d7ff35;font:900 42px var(--display);letter-spacing:-2px}
.entity-logo-placeholder img{width:100%;height:100%;object-fit:contain;border-radius:50%;background:#fff;padding:8px}
.entity-profile h1{font:800 clamp(38px,5vw,58px)/.93 var(--display);text-transform:uppercase;color:#0b1d31;margin:9px 0 7px}
.entity-profile p{color:#657689;font-size:12px;line-height:1.7;margin:0 0 8px}
.entity-source-label{font-size:8px;font-weight:900;letter-spacing:1px;color:#8492a0}
.entity-source-label a{color:#0d2945;text-decoration:underline;text-underline-offset:3px}
.entity-content-section{margin-top:42px}
.entity-data-panel{border:1px solid #e2e8ee;border-radius:7px;background:#fff;overflow:hidden;min-height:110px}
.entity-secondary-section{margin-top:54px}
.entity-match-list{padding:0 18px}
.entity-match-row{display:grid;grid-template-columns:130px minmax(0,1fr) 38px minmax(0,1fr) 110px;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #edf0f3}
.entity-match-row:first-child{border-top:0}
.entity-match-meta{display:flex;flex-direction:column;gap:5px;min-width:0}
.entity-match-meta b{font-size:10px;color:#42566b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entity-match-meta small{font-size:9px;color:#8a96a2}
.entity-match-team{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;font-weight:800;color:#1e354b}
.entity-match-team span{overflow:hidden;text-overflow:ellipsis}
.entity-match-team img{width:24px;height:24px;object-fit:contain;flex:none}
.entity-match-score{text-align:center;font:800 21px var(--display);color:#08182b;white-space:nowrap}
.entity-match-state{text-align:right;color:#8794a1;font-size:8px;font-weight:900;letter-spacing:.7px}
.entity-data-note{padding:12px 16px;border-top:1px solid #edf0f3;background:#f9fafb;color:#8995a2;font-size:9px;letter-spacing:.5px}
.entity-stat-table-wrap{overflow-x:auto}
.entity-stat-table{width:100%;border-collapse:collapse;min-width:520px;font-size:11px;color:#536274}
.entity-stat-table th{padding:13px 10px;background:#f6f8fa;text-align:left;font-size:9px;font-weight:900;letter-spacing:.8px;color:#82909e}
.entity-stat-table td{padding:12px 10px;border-top:1px solid #edf0f3}
.entity-stat-table tbody tr:hover{background:#fbfcfd}
.entity-stat-table td:last-child,.entity-stat-table th:last-child{text-align:center;font-weight:900;color:#0c2944}
.entity-team-cell{display:flex;align-items:center;gap:9px;font-weight:800;color:#1b3045}
.entity-team-cell img{width:24px;height:24px;object-fit:contain}
.entity-api-error{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#68798a;font-size:12px;line-height:1.65}
.entity-api-error b{display:block;color:#21384e;margin-bottom:4px}
.entity-retry{border:0;border-radius:4px;padding:10px 13px;background:#08182b;color:#fff;font:700 10px var(--body);cursor:pointer;white-space:nowrap}
.entity-empty{padding:28px;text-align:center;color:#7c8a98;font-size:12px;line-height:1.7}
.entity-bracket{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:15px}
.entity-bracket-item{padding:13px;border:1px solid #e6ebef;border-radius:5px;font-size:11px;color:#30475c}
.entity-bracket-item b{display:block;margin-bottom:6px;color:#849600;font-size:9px;letter-spacing:1px}
@media(max-width:950px){.entity-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.entity-directory{padding-top:48px}.entity-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.entity-directory-card{padding:10px;gap:8px;min-height:68px}.entity-avatar{width:32px;height:32px}.entity-card-copy b{font-size:10px}.directory-heading h2{font-size:27px}.entity-profile{align-items:flex-start;padding:19px;gap:14px;margin-bottom:38px}.entity-logo-placeholder{width:58px;height:58px;font-size:30px}.entity-profile h1{font-size:40px}.entity-detail-page{padding-top:25px}.entity-match-list{padding:0 12px}.entity-match-row{grid-template-columns:1fr 25px 1fr;gap:7px;padding:13px 0}.entity-match-meta{grid-column:1 / -1;flex-direction:row;justify-content:space-between}.entity-match-team{font-size:10px;gap:5px}.entity-match-team img{width:20px;height:20px}.entity-match-score{font-size:18px}.entity-match-state{grid-column:1 / -1;text-align:right}.entity-api-error{align-items:flex-start;flex-direction:column}.entity-bracket{grid-template-columns:1fr}.directory-tools{gap:8px}.directory-tools label{font-size:8px}}

.entity-fixture-group{margin:0 0 20px}.entity-fixture-group h3{margin:0;padding:16px 18px 10px;font:700 25px var(--display);text-transform:uppercase;color:#102740;border-bottom:1px solid #edf0f3}.entity-fixture-group:first-child h3{padding-top:16px}

.entity-logo-placeholder.entity-logo-loaded{overflow:hidden;display:grid;place-items:center}
.entity-logo-placeholder.entity-logo-loaded img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}


/* PHASE 4 — DISCOVERY, NAVIGATION AND COMPETITION FIXTURES */
.global-search-page{padding-top:58px;padding-bottom:90px;min-height:70vh}.global-search-page h1{font:900 clamp(54px,7vw,88px)/.9 var(--display);text-transform:uppercase;color:#f4f7fb;margin:12px 0}.global-search-page h1 em{font-style:normal;color:#d7ff35}.global-search-page .listing-intro{color:#aab6c4;margin-bottom:27px}.global-search-form{padding:20px;background:#111923;border:1px solid #293443;border-top:3px solid #d7ff35;border-radius:4px}.global-search-form label{display:block;font-size:8px;color:#9eacbc;font-weight:900;letter-spacing:1.4px;margin-bottom:9px}.global-search-field{display:flex;gap:8px}.global-search-field input{flex:1;min-width:0;height:49px;padding:0 14px;background:#080d14;border:1px solid #344253;color:#f4f7fb;font:500 13px var(--body);outline:none}.global-search-field input:focus{border-color:#d7ff35}.global-search-field button{border:0;background:#d7ff35;color:#09111b;padding:0 20px;font:900 9px var(--body);letter-spacing:1px;cursor:pointer}.global-search-scope{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 25px}.global-search-scope button{background:#111923;color:#b8c4d0;border:1px solid #344151;border-radius:3px;padding:9px 13px;font:800 9px var(--body);cursor:pointer}.global-search-scope button.is-active,.global-search-scope button:hover{background:#d7ff35;border-color:#d7ff35;color:#07101a}.global-query-line{display:flex;gap:10px;align-items:center;border-bottom:1px solid #293443;padding:0 0 13px;margin-bottom:17px;color:#8190a0;font-size:8px;letter-spacing:1.3px;font-weight:900}.global-query-line b{color:#d7ff35;font-size:11px;letter-spacing:0}.global-result-group{margin:25px 0 30px}.global-result-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #293443;padding-bottom:10px;margin-bottom:12px}.global-result-heading h2{margin:0;color:#f4f7fb;font:800 25px var(--display);text-transform:uppercase}.global-result-heading span{color:#8492a2;font-size:8px;letter-spacing:1px;font-weight:900}.global-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.global-result-card{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;background:#111923;border:1px solid #293443;color:#f4f7fb}.global-result-card:hover{border-color:#d7ff35;transform:translateY(-1px)}.global-result-mark{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#202d3b;color:#d7ff35;font:900 16px var(--display)}.global-result-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.global-result-card small{color:#d7ff35;font-size:7px;letter-spacing:1px;font-weight:900}.global-result-card b{font-size:12px;overflow-wrap:anywhere}.global-result-card i{font-style:normal;color:#d7ff35;font-size:16px}.global-news-card img{width:78px;height:62px;object-fit:cover;flex:none}.global-news-card em{font-style:normal;color:#9eacbc;font-size:9px;line-height:1.5}.global-search-warning{color:#e5bf74;font-size:10px;line-height:1.6}.directory-shortcut{margin-top:-18px;margin-bottom:25px;color:#d7ff35;font-size:10px;font-weight:800}.directory-shortcut a{color:#d7ff35;text-decoration:underline;text-underline-offset:3px}.entity-quick-nav{display:flex;flex-wrap:wrap;gap:7px;margin:-26px 0 28px}.entity-quick-nav a{padding:9px 12px;background:#182330;border:1px solid #344151;color:#d7ff35;font-size:8px;font-weight:900;letter-spacing:.7px}.entity-quick-nav a:hover{background:#d7ff35;color:#09111b;border-color:#d7ff35}.entity-fixture-filters{display:flex;flex-wrap:wrap;gap:7px;padding:12px;background:#101721;border:1px solid #293443;border-bottom:0}.entity-fixture-filters button{border:1px solid #344151;background:#111923;color:#aeb9c6;padding:8px 11px;font:800 8px var(--body);cursor:pointer}.entity-fixture-filters button.is-active,.entity-fixture-filters button:hover{background:#d7ff35;color:#09111b;border-color:#d7ff35}.entity-fixture-list{padding:0 16px}.entity-competition-fixture{display:grid;grid-template-columns:115px minmax(0,1fr) 25px minmax(0,1fr) 82px 75px;align-items:center;gap:8px;padding:13px 0;border-top:1px solid #293443}.entity-competition-fixture:first-child{border-top:0}.entity-competition-fixture .fixture-date{font-size:9px;color:#98a6b6;line-height:1.5}.entity-competition-fixture .fixture-club{display:flex;align-items:center;gap:7px;min-width:0;color:#eef3f8;font-size:10px;font-weight:800}.entity-competition-fixture .fixture-club a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-competition-fixture .fixture-club img{width:23px;height:23px;object-fit:contain;flex:none}.entity-competition-fixture .fixture-vs{color:#d7ff35;text-align:center;font:900 16px var(--display)}.entity-competition-fixture .fixture-score{color:#d7ff35;text-align:center;font:900 18px var(--display)}.entity-competition-fixture .fixture-detail{color:#d7ff35;text-align:right;font-size:7px;letter-spacing:.7px;font-weight:900}.directory-search-count{color:#d7ff35;font-size:9px;margin:-20px 0 20px}.entity-profile,.entity-data-panel{background:#111923!important;border-color:#293443!important}.entity-profile h1{color:#f4f7fb!important}.entity-profile p{color:#aab6c4!important}.entity-breadcrumb b{color:#f4f7fb!important}.entity-breadcrumb a{color:#aab6c4!important}.entity-directory .directory-heading h2{color:#f4f7fb!important}.entity-directory .directory-tools{background:#111923!important;border-color:#293443!important}.entity-directory .directory-tools input{color:#f4f7fb!important}.entity-directory .entity-directory-card{background:#111923!important;border-color:#293443!important}.entity-directory .entity-card-copy b{color:#f4f7fb!important}.entity-directory .entity-card-copy small{color:#a1adbc!important}
@media(max-width:700px){.global-search-page{padding-top:38px}.global-search-form{padding:14px}.global-search-field{flex-direction:column}.global-search-field button{height:44px}.global-result-grid{grid-template-columns:1fr}.entity-quick-nav{margin:-15px 0 23px}.entity-competition-fixture{grid-template-columns:1fr 20px 1fr;gap:7px;padding:12px 0}.entity-competition-fixture .fixture-date{grid-column:1/-1;display:flex;justify-content:space-between}.entity-competition-fixture .fixture-detail{grid-column:1/-1;text-align:right}.entity-competition-fixture .fixture-club{font-size:9px}.entity-competition-fixture .fixture-club img{width:19px;height:19px}.entity-competition-fixture .fixture-score{grid-column:1/-1}.header-search-link{display:none}}
