/* HFA v1 Reference UI V2
   Final visual authority: sports platform composition, light-first, compact and linear. */

:root{
 --green-900:#073d2e;--green-800:#07513b;--green-700:#087554;--green-600:#0b8a61;--green-500:#13a36f;
 --green-200:#bfe8d5;--green-100:#e3f4eb;--green-50:#f0f8f4;
 --white:#fff;--off-white:#f5f7f6;--gray-50:#f7f9f8;--gray-100:#eef2f0;--gray-200:#e2e8e4;
 --gray-300:#ccd5d0;--gray-500:#728078;--gray-700:#38453e;--gray-900:#14211b;
 --success:#087554;--warning:#a66b12;--danger:#c33d48;--info:#246da8;
 --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;
 --radius-xs:6px;--radius-sm:8px;--radius-md:10px;--radius-lg:12px;--radius-xl:14px;--radius-pill:999px;
 --shadow-xs:0 1px 2px rgba(20,33,27,.025);--shadow-sm:0 5px 16px rgba(20,33,27,.045);--shadow-md:0 12px 32px rgba(20,33,27,.07);--shadow-lg:0 24px 60px rgba(7,61,46,.13);
 --league-accent:var(--green-700);--hfa-primary:var(--green-700);--hfa-bg:var(--off-white);--hfa-surface:var(--white);--hfa-text:var(--gray-900);--hfa-border:#e5ebe7;
 --bg:var(--hfa-bg);--panel:var(--hfa-surface);--panel-2:var(--gray-50);--panel-tint:var(--green-50);--input-bg:#fff;
 --text:var(--hfa-text);--muted:#68766e;--muted-2:#445149;--text-soft:#849088;
 --line:var(--hfa-border);--line-soft:var(--gray-100);--line-strong:var(--gray-300);
 --accent:var(--green-700);--accent2:var(--green-800);--accent-light:#8cd4b1;--accent-ink:var(--green-800);--accent-soft-bg:var(--green-50);--accent-soft-line:var(--green-200);
 --surface-elevated:var(--gray-50);--surface-hover:var(--green-50);--surface-selected:var(--green-50);--surface-selected-border:var(--green-200);--surface-selected-text:var(--green-800);
 --ok:var(--success);--ok-bg:#e8f7ef;--ok-line:#b9e5cf;--ok-ink:#086344;--warn-bg:#fff7e8;--warn-line:#eed69f;--warn-ink:#87570a;
 --danger-bg:#fff0f1;--danger-line:#efc5c9;--danger-ink:#9f303a;--gray-bg:var(--gray-100);--gray-ink:#59675f;--purple-bg:#f1edfb;--purple-ink:#68549e;
 --navy:var(--green-900);--navy-2:#092f25;--on-navy:#fff;--on-navy-muted:#bfd4ca;--gold:#bd8f21;--gold-soft:#fff7de;--gold-ink:#725307;
 --topbar-bg:#10271e;--modal-overlay:rgba(5,25,18,.62);--shadow:var(--shadow-xs);--radius:var(--radius-lg);--radius-small:var(--radius-sm);--radius-medium:var(--radius-md);--radius-large:var(--radius-xl);
 --shell-sidebar:216px;--content-max:1440px;--mobile-nav-height:66px;--color-scheme:light;
}
:root[data-theme="dark"]{
 --hfa-bg:#0a120e;--hfa-surface:#111c17;--hfa-text:#eff5f1;--hfa-border:#27362f;--bg:var(--hfa-bg);--panel:var(--hfa-surface);--panel-2:#15221c;--panel-tint:#10291f;--input-bg:#0e1813;
 --text:var(--hfa-text);--muted:#a2afa7;--muted-2:#c0cbc4;--text-soft:#7f8f86;--line:var(--hfa-border);--line-soft:#1d2a24;--line-strong:#3a4b42;
 --accent:#55cf9a;--accent2:#80ddb5;--accent-ink:#76dcae;--accent-soft-bg:#123126;--accent-soft-line:#25573f;
 --surface-elevated:#15221c;--surface-hover:#162a20;--surface-selected:#123126;--surface-selected-border:#2b694b;--surface-selected-text:#eff8f3;
 --ok-bg:#113024;--ok-line:#26583f;--ok-ink:#72dda9;--warn-bg:#302712;--warn-line:#59471f;--warn-ink:#e8c46d;--danger-bg:#351719;--danger-line:#603037;--danger-ink:#f09299;
 --gray-bg:#1b2822;--gray-ink:#b4c0b9;--purple-bg:#271f3a;--purple-ink:#c4b3ee;--topbar-bg:#061b14;--modal-overlay:rgba(0,8,5,.78);--color-scheme:dark;
}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){--hfa-bg:#0a120e;--hfa-surface:#111c17;--hfa-text:#eff5f1;--hfa-border:#27362f;--bg:var(--hfa-bg);--panel:var(--hfa-surface);--panel-2:#15221c;--panel-tint:#10291f;--input-bg:#0e1813;--text:var(--hfa-text);--muted:#a2afa7;--muted-2:#c0cbc4;--text-soft:#7f8f86;--line:var(--hfa-border);--line-soft:#1d2a24;--line-strong:#3a4b42;--accent:#55cf9a;--accent2:#80ddb5;--accent-ink:#76dcae;--accent-soft-bg:#123126;--accent-soft-line:#25573f;--surface-elevated:#15221c;--surface-hover:#162a20;--surface-selected:#123126;--surface-selected-border:#2b694b;--surface-selected-text:#eff8f3;--ok-bg:#113024;--ok-line:#26583f;--ok-ink:#72dda9;--warn-bg:#302712;--warn-line:#59471f;--warn-ink:#e8c46d;--danger-bg:#351719;--danger-line:#603037;--danger-ink:#f09299;--gray-bg:#1b2822;--gray-ink:#b4c0b9;--topbar-bg:#061b14;--color-scheme:dark}}

*{box-sizing:border-box}html{overflow-x:clip;background:var(--bg);color-scheme:var(--color-scheme);scroll-behavior:smooth}body{min-width:320px;margin:0;overflow-x:clip;background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI Variable",Segoe UI,Roboto,Arial,sans-serif;font-size:13px;font-weight:450;line-height:1.45;letter-spacing:-.004em}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4,strong,b{letter-spacing:-.015em}::selection{background:var(--green-200);color:var(--green-900)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Header stack */
.hfa-utility-bar{position:relative!important;top:auto!important;z-index:60;display:flex!important;width:100%;height:30px;min-height:30px;padding:0 max(20px,calc((100vw - 1440px)/2 + 20px));border:0!important;background:var(--topbar-bg)!important;color:#dcebe4;box-shadow:none!important}
.hfa-utility-brand{display:flex;align-items:center;gap:9px;font-size:10px}.hfa-utility-brand strong{color:#fff;font-size:10px;letter-spacing:.1em}.hfa-utility-brand span{color:#9eb7ab}
.hfa-utility-bar .top-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.hfa-utility-bar .btn,.hfa-utility-bar .badge,.hfa-utility-bar .top-role-chip{min-width:0;min-height:22px;height:22px;padding:0 8px;border-color:rgba(255,255,255,.12);border-radius:5px;background:transparent;color:#c9d9d1;box-shadow:none;font-size:9px}.hfa-utility-bar .btn:hover{background:rgba(255,255,255,.08);color:#fff}.hfa-utility-bar .theme-toggle{order:8}.hfa-utility-bar #headerLoginBtn,.hfa-utility-bar #logoutBtn{order:9}.hfa-utility-bar #quickMatchBtn,.hfa-utility-bar .top-credit-chip{display:none!important}.hfa-utility-bar .top-role-chip{display:inline-flex!important;gap:5px}.hfa-utility-bar .top-role-chip svg{width:12px}.hfa-utility-bar .cloud-dot{width:5px;height:5px}
.hfa-global-nav{position:relative;z-index:55;display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr) auto;align-items:stretch;width:100%;height:60px;padding:0 max(20px,calc((100vw - 1440px)/2 + 20px));border-bottom:1px solid var(--line);background:var(--panel)}
.hfa-global-brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}.hfa-global-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--green-700)}.hfa-global-mark img{width:27px;height:27px;object-fit:contain}.hfa-global-brand>span:last-child{display:grid}.hfa-global-brand strong{font-size:13px;line-height:1.15}.hfa-global-brand small{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.12em}.hfa-global-links{display:flex;align-items:stretch;justify-content:flex-start;gap:4px;min-width:0}.hfa-global-links button{position:relative;padding:0 13px;border:0;background:transparent;color:var(--muted-2);font-size:12px;font-weight:650;cursor:pointer}.hfa-global-links button:after{content:"";position:absolute;right:13px;bottom:0;left:13px;height:2px;background:transparent}.hfa-global-links button:hover,.hfa-global-links button.active{color:var(--green-700)}.hfa-global-links button.active:after{background:var(--green-600)}.hfa-global-actions{display:flex;align-items:center;gap:8px}.hfa-global-actions button{min-height:34px;border:0;background:transparent;cursor:pointer}.hfa-club-link{padding:0 12px;color:var(--green-700);font-size:12px;font-weight:800}.hfa-account-link{display:grid;place-items:center;width:34px;border:1px solid var(--line)!important;border-radius:50%;color:var(--green-700)}.hfa-account-link span{font-size:10px}.hfa-global-mobile-season{display:none}

/* Match ticker */
.hfa-match-ticker{position:relative;z-index:50;display:flex;height:78px;border-bottom:1px solid var(--line);background:var(--panel)}.hfa-match-ticker[hidden]{display:none}.hfa-ticker-label{display:flex;flex:0 0 max(150px,calc((100vw - 1440px)/2 + 150px));align-items:center;justify-content:flex-end;gap:7px;padding:0 18px;border-right:1px solid var(--line);color:var(--accent);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.hfa-ticker-label span{font-size:8px}.hfa-ticker-track{display:flex;min-width:0;overflow-x:auto;scrollbar-width:none}.hfa-ticker-track::-webkit-scrollbar{display:none}.hfa-ticker-match{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:16px 1fr;align-items:center;column-gap:11px;min-width:244px;padding:9px 15px;border:0;border-right:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.hfa-ticker-match:hover{background:var(--surface-hover)}.hfa-ticker-match.is-current,.hfa-ticker-match.active,.hfa-ticker-match[aria-current="true"]{background:var(--surface-selected);box-shadow:inset 0 -2px var(--surface-selected-border);color:var(--surface-selected-text)}.hfa-ticker-match>small{grid-column:1/-1;min-width:0;padding-right:32px;overflow:hidden;color:var(--text-soft);font-size:8.5px;font-weight:750;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.hfa-ticker-match>span{display:flex;align-items:center;gap:6px;min-width:0}.hfa-ticker-match>span:last-of-type{justify-content:flex-end}.hfa-ticker-match>span b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.hfa-ticker-match>strong{font-size:15px;font-variant-numeric:tabular-nums}.hfa-ticker-match>em{position:absolute;right:14px;top:8px;color:var(--accent);font-size:9px;font-style:normal;font-weight:800}.hfa-ticker-match .team-logo{width:24px!important;height:24px!important}

/* Three-column product shell */
.app{display:grid!important;grid-template-columns:var(--shell-sidebar) minmax(0,1fr)!important;gap:18px;width:100%!important;max-width:var(--content-max)!important;min-height:0!important;margin:0 auto;padding:20px 22px 40px}.sidebar{position:sticky!important;top:18px!important;align-self:start!important;width:auto!important;height:max-content!important;min-height:0!important;padding:0!important;overflow:visible!important;border:1px solid var(--line)!important;border-radius:var(--radius-md);background:var(--panel)!important;color:var(--text)!important;box-shadow:none!important}.legacy-sidebar-brand,.sidebar-nav,.side-foot,.sidebar-collapse{display:none!important}.hfa-context-panel>header{padding:15px 16px 11px;border-bottom:1px solid var(--line)}.hfa-context-panel>header span,.hfa-context-group>span{display:block;color:var(--text-soft);font-size:8.5px;font-weight:850;letter-spacing:.13em}.hfa-context-panel>header h2{margin:4px 0 0;font-size:15px}.hfa-context-group{padding:12px 9px;border-bottom:1px solid var(--line)}.hfa-context-group:last-child{border:0}.hfa-context-group>span{padding:0 7px 7px}.hfa-context-group>button{display:grid;width:100%;min-height:36px;padding:7px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.hfa-context-group>button:hover{background:var(--surface-hover)}.hfa-context-group>button.active{border-color:var(--surface-selected-border);background:var(--surface-selected);color:var(--surface-selected-text);font-weight:750}.hfa-context-group>button.active small{color:var(--muted)}.hfa-context-group>button small{color:var(--text-soft);font-size:9px;font-weight:500}.hfa-context-group>p{padding:0 7px;color:var(--muted);font-size:11px}.main{min-width:0!important}.hfa-mobile-header{display:none}.content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.page{min-width:0}.page.active{animation:hfa-page-in .16s ease-out}.hfa-page-heading{display:flex;align-items:end;justify-content:space-between;min-height:46px;margin-bottom:14px;padding:0 1px 10px;border-bottom:1px solid var(--line)}.hfa-page-heading h1{margin:3px 0 0;font-size:20px}.hfa-page-heading>span{color:var(--muted);font-size:10px;font-weight:700}.kicker{color:var(--accent)!important;font-size:8.5px!important;font-weight:850!important;letter-spacing:.12em!important;text-transform:uppercase}

/* Compact primitives */
.card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);box-shadow:none}.section{padding:16px}.btn{min-height:36px;padding:0 12px;border:1px solid var(--line-strong);border-radius:8px;background:var(--panel);color:var(--text);box-shadow:none;font-size:11px;font-weight:700}.btn:hover{border-color:var(--surface-selected-border);background:var(--surface-hover);transform:none}.btn:disabled,.btn[aria-disabled="true"]{cursor:not-allowed;opacity:.52}.btn.small{min-height:32px;padding:0 10px;font-size:10px}.btn.primary{border-color:var(--green-700);background:var(--green-700);color:#fff;box-shadow:none}.btn.primary:hover{border-color:var(--green-800);background:var(--green-800)}.btn.primary:disabled{background:var(--green-700);color:#fff}.btn.danger{border-color:var(--danger-line);background:var(--danger-bg);color:var(--danger-ink)}.badge,.chip{min-height:20px;padding:3px 7px;border-radius:5px;font-size:8px;font-weight:850;letter-spacing:.02em}.hfa-text-link{min-height:32px;padding:0;border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:800;cursor:pointer}.hfa-text-link:hover{text-decoration:underline}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.section-title h3{margin:2px 0 0;font-size:16px}.section-title>div>span{color:var(--accent);font-size:8.5px;font-weight:850;letter-spacing:.1em}.empty{padding:22px 12px;color:var(--muted);font-size:11px;text-align:center}.empty.is-loading:before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid var(--surface-selected-border);border-top-color:var(--accent);border-radius:50%;vertical-align:-2px;animation:hfa-spin .7s linear infinite}
input,select,textarea{min-height:38px;border:1px solid var(--line-strong)!important;border-radius:8px!important;background:var(--input-bg)!important;color:var(--text)!important;box-shadow:none!important}input:focus,select:focus,textarea:focus{border-color:var(--accent)!important}.scope-switch,.segmented{padding:3px;border-radius:8px;background:var(--surface-elevated)}.scope-switch button,.segmented button{min-height:31px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:10px}.scope-switch button:hover,.segmented button:hover{background:var(--surface-hover);color:var(--text)}.scope-switch button.active,.segmented button.active{border-color:var(--surface-selected-border);background:var(--surface-selected);color:var(--surface-selected-text);box-shadow:var(--shadow-xs)}
.table-wrap{overflow:auto;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:var(--panel);box-shadow:none}.table{width:100%;border-collapse:collapse;font-size:11px}.table th{height:34px;padding:0 10px;border-bottom:1px solid var(--line);background:var(--gray-50);color:var(--text-soft);font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.table td{height:46px;padding:8px 10px;border:0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:var(--green-50)}

/* Home composition */
.hfa-detail-rail section>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.hfa-detail-rail>section,.hfa-player-rail>section{padding:14px 15px;border-bottom:1px solid var(--line)}.hfa-detail-rail>section:last-child,.hfa-player-rail>section:last-child{border-bottom:0}.hfa-detail-rail section>header button{padding:0;border:0;background:transparent;color:var(--green-700);font-size:9px;font-weight:800;cursor:pointer}.hfa-mini-table .head{display:grid;grid-template-columns:20px minmax(0,1fr) 28px 32px;gap:6px;padding:6px 4px;border-bottom:1px solid var(--line);color:var(--text-soft);font-size:7.5px;font-weight:850;text-transform:uppercase}.hfa-mini-table>button{display:grid;grid-template-columns:20px minmax(0,1fr) 28px 32px;align-items:center;gap:6px;width:100%;min-height:39px;padding:3px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.hfa-mini-table>button:last-child{border:0}.hfa-mini-table>button:hover{background:var(--green-50)}.hfa-mini-table>button>b:first-child{font-size:9px}.hfa-mini-table>button>span{display:flex;align-items:center;gap:5px;min-width:0}.hfa-mini-table>button>span strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.hfa-mini-table .team-logo{width:21px!important;height:21px!important}.hfa-mini-table>button>small,.hfa-mini-table>button>strong{text-align:right;font-size:9px;font-variant-numeric:tabular-nums}.hfa-compact-leaders>button{display:grid;grid-template-columns:18px 30px minmax(0,1fr) 28px;align-items:center;gap:7px;width:100%;min-height:45px;padding:4px 2px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.hfa-compact-leaders>button:last-child{border:0}.hfa-compact-leaders>button:hover{background:var(--green-50)}.hfa-compact-leaders>button>b{color:var(--muted);font-size:9px}.hfa-compact-leaders .player-avatar{width:28px!important;height:28px!important}.hfa-compact-leaders>button>span{display:grid;min-width:0}.hfa-compact-leaders strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.hfa-compact-leaders small{color:var(--text-soft);font-size:8.5px}.hfa-compact-leaders em{color:var(--green-700);font-size:14px;font-style:normal;font-weight:850;text-align:right}

/* Competition detail */
.competition-parent-back{min-height:28px;margin:0 0 8px;padding:0;border:0;background:transparent;color:var(--green-700);font-size:10px;font-weight:800}.competition-breadcrumb{display:none}.competition-detail-hero{display:flex;align-items:center;justify-content:space-between;min-height:116px;padding:16px 19px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel);box-shadow:none}.competition-detail-identity{display:flex!important;align-items:center;gap:15px}.competition-detail-mark{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--green-200);border-radius:12px;background:var(--green-50);color:var(--green-800);font-size:16px;font-weight:900}.competition-detail-mark img{position:absolute;width:64px;height:64px;border-radius:12px;object-fit:contain}.competition-detail-identity h1{margin:3px 0;font-size:25px}.competition-detail-subtitle{margin:0!important;color:var(--muted);font-size:10px}.competition-detail-status{align-self:center;margin-left:6px;padding:4px 7px;border-radius:5px;background:var(--green-50);color:var(--green-700);font-size:8px;font-weight:900;text-transform:uppercase}.competition-detail-tabs{display:flex;min-height:48px;margin-bottom:18px;border-bottom:1px solid var(--line);background:transparent}.competition-detail-tabs button{position:relative;min-width:86px;padding:0 13px;border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:750}.competition-detail-tabs button:after{content:"";position:absolute;right:13px;bottom:-1px;left:13px;height:2px;background:transparent}.competition-detail-tabs button.active{color:var(--green-700)}.competition-detail-tabs button.active:after{background:var(--green-700)}.hfa-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}.competition-detail-body{display:grid;gap:18px;min-width:0}.hfa-detail-rail{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}.hfa-detail-rail>section>header{margin-bottom:8px}.hfa-competition-facts{margin:0}.hfa-competition-facts>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line)}.hfa-competition-facts dt{color:var(--muted);font-size:10px}.hfa-competition-facts dd{margin:0;font-size:10px;font-weight:800}.competition-progress-card{display:grid;grid-template-columns:180px minmax(0,1fr) 42px;align-items:center;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel)}.competition-progress-card>div:first-child{display:grid}.competition-progress-card span{color:var(--muted);font-size:8px;text-transform:uppercase}.competition-progress-card strong{font-size:11px}.competition-progress-card>b{text-align:right;font-size:14px}.competition-progress-track{height:5px;border-radius:99px;background:var(--gray-100)}.competition-progress-track i{display:block;width:var(--progress);height:100%;border-radius:inherit;background:var(--green-500)}.competition-rounds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.competition-round-panel,.competition-form,.competition-detail-section,.competition-standings-preview,.competition-leaders{padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);box-shadow:none}.competition-round-panel>header,.competition-form>header,.competition-detail-section>header,.competition-standings-preview>header{display:flex;align-items:end;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid var(--line)}.competition-round-panel h3,.competition-form h3,.competition-detail-section h2,.competition-standings-preview h3{margin:2px 0 0;font-size:14px}.competition-match-card{padding:8px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.competition-match-card:last-child{border-bottom:0!important}.competition-match-meta{font-size:8px}.competition-match-teams>div{min-height:31px;padding:3px 0;border-bottom:1px solid var(--line-soft)}.competition-match-teams>div:last-child{border:0}.competition-match-teams strong{font-size:13px}.competition-form>header small{color:var(--muted);font-size:8px}.competition-form>div>article{min-height:42px;border-bottom:1px solid var(--line)}.competition-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px}.competition-detail-section>.table-wrap{margin:0 -14px -14px}.competition-match-filters{display:flex;gap:8px;padding:12px 0}.competition-match-filters label{font-size:9px}.competition-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.competition-fixture-groups>section>h3{margin:14px 0 4px;font-size:13px}.competition-stat-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.competition-stat-cards>.card{padding:12px;border-radius:8px}.bracket-node,.cup-tie-card{border-radius:8px!important;box-shadow:none!important}

/* Player profile */
.player-profile-pagehead{min-height:28px;margin:0 0 8px}.player-profile-pagehead .btn{margin-left:auto}.player-profile-hero{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;min-height:136px;padding:17px 20px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel);color:var(--text);box-shadow:none}.player-profile-avatar .player-avatar{width:78px!important;height:78px!important;border-radius:12px!important}.player-profile-main{display:grid;align-content:center;gap:4px}.player-profile-overline{color:var(--green-700);font-size:8px;font-weight:900;letter-spacing:.12em}.player-profile-name{display:flex;align-items:center;gap:7px}.player-profile-name h2{margin:0;font-size:25px}.player-profile-country{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.player-profile-country>span+span{padding-left:8px;border-left:1px solid var(--line)}.player-profile-team{display:none}.player-profile-performance{display:flex;align-items:stretch;border-left:1px solid var(--line)}.player-profile-performance>div{display:grid;align-content:center;justify-items:center;min-width:92px;padding:6px 16px;border-right:1px solid var(--line)}.player-profile-performance>div:last-child{border:0}.player-profile-performance span{color:var(--text-soft);font-size:8px;font-weight:850;text-transform:uppercase}.player-profile-performance strong{margin-top:3px;color:var(--text);font-size:19px}.player-profile-performance .category-badge{margin-top:4px}.player-profile-tabs{display:flex;min-height:48px;margin-bottom:16px;border-bottom:1px solid var(--line)}.player-profile-tabs button{position:relative;min-width:82px;border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:750}.player-profile-tabs button:after{content:"";position:absolute;right:12px;bottom:-1px;left:12px;height:2px;background:transparent}.player-profile-tabs button.active{color:var(--green-700)}.player-profile-tabs button.active:after{background:var(--green-700)}.hfa-player-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}.hfa-player-main{display:grid;gap:18px;min-width:0}.hfa-player-rail{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}.hfa-player-rail>section{display:grid;gap:7px}.hfa-player-rail>section>small,.hfa-player-rail>section>p{margin:0;color:var(--muted);font-size:9px}.hfa-player-team-card{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:8px 0;border:0;background:transparent;text-align:left}.hfa-player-team-card .team-logo{width:36px!important;height:36px!important}.hfa-player-team-card>span{display:grid}.hfa-player-team-card small{color:var(--muted);font-size:9px}.hfa-player-value{font-size:19px;color:var(--green-700)}.hfa-player-award{display:flex;align-items:center;gap:7px;min-height:32px;border-bottom:1px solid var(--line);font-size:10px}.hfa-player-award span{color:var(--gold)}.profile-filters-disclosure{border:1px solid var(--line);border-radius:8px;background:var(--panel)}.profile-filters-disclosure summary{min-height:40px;padding:0 12px;font-size:10px}.profile-filters-disclosure>div{padding:12px}.player-profile-primary,.player-profile-tab-panel,.profile-details{padding:14px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}.player-profile-stats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin-top:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.player-profile-stats>div{display:grid;gap:3px;padding:12px 8px;border-right:1px solid var(--line)}.player-profile-stats>div:last-child{border:0}.player-profile-stats span{color:var(--text-soft);font-size:8px;text-transform:uppercase}.player-profile-stats strong{font-size:16px;font-variant-numeric:tabular-nums}.player-match-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 120px;align-items:center;min-height:56px;padding:7px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.player-match-row:last-child{border:0}.player-match-row>div:first-child{display:grid;gap:3px}.player-match-row small{color:var(--text-soft);font-size:8.5px}.player-match-result{font-size:15px;font-weight:850;text-align:center}.player-match-chips{justify-content:flex-end}.player-match-chips span{padding:3px 6px;border-radius:5px;background:var(--green-50);color:var(--green-800);font-size:8px;font-weight:850}.player-ratings{display:flex;gap:6px}.player-ratings span{display:grid;place-items:center;width:38px;height:30px;border:0;border-bottom:3px solid var(--green-500);border-radius:5px;background:var(--green-50);color:var(--green-800)}.player-ratings span:before{display:none}.profile-details summary{min-height:38px;font-size:11px}.profile-details-content{padding-top:14px}.player-profile-tab-panel .card{border:0}

/* Generic feedback and existing modules */
.toast{right:18px;bottom:18px;max-width:340px;padding:11px 14px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:var(--green-900);color:#fff;box-shadow:var(--shadow-lg);font-size:11px}.modal-back{background:var(--modal-overlay);backdrop-filter:blur(5px)}.modal{border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow-lg)}.modal-head,.modal-foot{padding:13px 16px;border-color:var(--line)}.modal-body{padding:16px}.mobile-bottom-nav,.mobile-sheet-backdrop{display:none}.pagehead{min-height:45px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}.pagehead h2{font-size:20px}.filterbar{gap:7px;margin-bottom:12px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:none}.filterbar .field{min-width:150px}.competition-catalog-card,.team-card,.player-card,.news-card,.match-card{border-radius:10px!important;box-shadow:none!important}.competition-catalog-grid,.team-grid,.player-grid{gap:12px}.news-grid{gap:14px}.admin-command>.pagehead,.admin-tool-head{border-radius:10px!important;box-shadow:none!important}

@keyframes hfa-page-in{from{opacity:.45;transform:translateY(2px)}to{opacity:1;transform:none}}@keyframes hfa-spin{to{transform:rotate(360deg)}}
@media(max-width:1180px){:root{--shell-sidebar:190px}.hfa-global-nav{grid-template-columns:240px minmax(0,1fr) auto}.hfa-global-links button{padding:0 8px}.hfa-global-links button:after{right:8px;left:8px}.hfa-detail-layout,.hfa-player-layout{grid-template-columns:minmax(0,1fr) 270px}.player-profile-performance>div{min-width:78px;padding-inline:10px}}
@media(max-width:960px){.hfa-global-brand{min-width:0}.hfa-global-nav{grid-template-columns:190px minmax(0,1fr) auto}.hfa-global-brand strong{font-size:11px}.hfa-global-links button{padding-inline:6px;font-size:10px}.app{grid-template-columns:170px minmax(0,1fr)!important;padding-inline:14px}.hfa-detail-layout,.hfa-player-layout{grid-template-columns:minmax(0,1fr)}.hfa-detail-rail,.hfa-player-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hfa-detail-rail>section,.hfa-player-rail>section{border-right:1px solid var(--line)}.player-profile-hero{grid-template-columns:82px minmax(0,1fr)}.player-profile-performance{grid-column:1/-1;margin-top:12px;border-top:1px solid var(--line);border-left:0}.player-profile-performance>div{flex:1}}

@media(max-width:760px){
 :root{--mobile-nav-height:66px}.hfa-utility-bar{display:none!important}.hfa-global-nav{position:sticky;top:0;z-index:80;display:grid;height:56px;padding:0 12px;grid-template-columns:1fr auto;border-bottom:1px solid var(--line)}.hfa-global-brand{gap:8px}.hfa-global-mark{width:34px;height:34px}.hfa-global-mark img{width:25px;height:25px}.hfa-global-brand strong{display:none}.hfa-global-brand small{display:block;color:var(--text);font-size:16px;letter-spacing:0}.hfa-global-links{display:none}.hfa-global-actions{gap:5px}.hfa-global-actions .hfa-club-link{display:none}.hfa-global-mobile-season{display:inline-flex;color:var(--muted);font-size:9px;font-weight:750}.hfa-account-link{width:34px;height:34px}.hfa-match-ticker{height:72px}.hfa-ticker-label{display:none}.hfa-ticker-track{width:100%;scroll-snap-type:x proximity}.hfa-ticker-match{min-width:225px;height:72px;padding:8px 13px;scroll-snap-align:start}.hfa-ticker-match .team-logo{width:22px!important;height:22px!important}.app{display:block!important;width:100%!important;max-width:100%!important;padding:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom))!important}.sidebar,.sidebar.open{display:none!important}.hfa-mobile-header{display:none}.content{padding:14px 12px 22px!important}.hfa-page-heading{display:none}.hfa-mini-table{background:var(--panel)}.hfa-mini-table>button{min-height:44px;padding-inline:7px}
 .competition-parent-back{margin-bottom:6px}.competition-detail-hero{min-height:102px;padding:13px}.competition-detail-mark{width:52px;height:52px}.competition-detail-mark img{width:52px;height:52px}.competition-detail-identity{gap:11px}.competition-detail-identity h1{font-size:20px}.competition-detail-status{margin-left:auto}.competition-detail-tabs{min-height:46px;margin:0 -12px 14px;padding:0 8px;overflow-x:auto;white-space:nowrap}.competition-detail-tabs button{min-width:78px}.hfa-detail-layout{display:block}.competition-detail-body{gap:14px}.hfa-detail-rail{display:grid;grid-template-columns:1fr;margin-top:14px}.hfa-detail-rail>section{border-right:0}.competition-progress-card{grid-template-columns:1fr 42px;gap:8px}.competition-progress-card .competition-progress-track{grid-column:1/-1;grid-row:2}.competition-rounds-grid{grid-template-columns:1fr;gap:12px}.competition-match-grid{grid-template-columns:1fr}.competition-detail-section,.competition-round-panel,.competition-form{padding:12px}.competition-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .player-profile-pagehead{margin-bottom:6px}.player-profile-hero{grid-template-columns:68px minmax(0,1fr);min-height:0;padding:13px}.player-profile-avatar .player-avatar{width:58px!important;height:58px!important;border-radius:10px!important}.player-profile-name h2{font-size:20px}.player-profile-performance{display:grid;grid-template-columns:repeat(3,1fr);grid-column:1/-1;margin-top:12px}.player-profile-performance>div{min-width:0;padding:9px 6px;border-right:1px solid var(--line)}.player-profile-performance strong{font-size:16px}.player-profile-tabs{min-height:46px;margin:0 -12px 12px;padding:0 8px;overflow-x:auto;white-space:nowrap}.player-profile-tabs button{min-width:75px}.hfa-player-layout{display:flex;flex-direction:column}.hfa-player-main{width:100%;gap:14px}.hfa-player-rail{display:grid;grid-template-columns:1fr;width:100%;margin-top:14px}.hfa-player-rail>section{border-right:0}.profile-filters-disclosure summary small{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-profile-stats{grid-template-columns:repeat(4,1fr)}.player-profile-stats>div:nth-child(4){border-right:0}.player-profile-stats>div:nth-child(-n+4){border-bottom:1px solid var(--line)}.player-match-row{grid-template-columns:minmax(0,1fr) 48px;min-height:58px}.player-match-chips{grid-column:1/-1;justify-content:flex-start;padding-top:5px}.player-profile-primary,.player-profile-tab-panel,.profile-details{padding:12px}
 .mobile-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:95;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:4px 4px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 96%,transparent);box-shadow:0 -5px 18px rgba(20,33,27,.05);backdrop-filter:blur(14px)}.mobile-bottom-nav button{position:relative;display:grid;place-items:center;align-content:center;gap:2px;min-width:44px;min-height:44px;padding:2px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:8px}.mobile-bottom-nav button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.mobile-bottom-nav button.active{color:var(--green-700);font-weight:850}.mobile-bottom-nav button.active:before{content:"";position:absolute;top:0;width:24px;height:2px;background:var(--green-600)}.mobile-sheet-backdrop{position:fixed;inset:0;z-index:110;display:block;background:rgba(4,22,16,.48);opacity:0;transition:opacity .16s}.mobile-sheet-backdrop[hidden]{display:none}.mobile-sheet-backdrop.open{opacity:1}.mobile-sheet{position:absolute;right:0;bottom:0;left:0;max-height:84vh;padding:8px 14px calc(18px + env(safe-area-inset-bottom));overflow:auto;border-radius:14px 14px 0 0;background:var(--panel);transform:translateY(16px);transition:transform .16s}.mobile-sheet-backdrop.open .mobile-sheet{transform:none}.mobile-sheet-handle{width:38px;height:4px;margin:0 auto 11px;border-radius:99px;background:var(--gray-300)}.mobile-sheet>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:11px;border-bottom:1px solid var(--line)}.mobile-sheet>header h2{margin:2px 0 0;font-size:18px}.mobile-sheet-group{padding:12px 0;border-bottom:1px solid var(--line)}.mobile-sheet-group-label{display:block;padding:0 6px 5px;color:var(--text-soft);font-size:8px;font-weight:850;letter-spacing:.1em}.mobile-sheet-group button{display:grid;grid-template-columns:28px 1fr 16px;align-items:center;width:100%;min-height:46px;padding:0 7px;border:0;background:transparent;text-align:left}.mobile-sheet-group button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.mobile-sheet-account{display:flex;align-items:center;gap:10px;padding:10px 5px}.mobile-sheet-account>span:last-child{display:grid}.mobile-sheet-account small{color:var(--muted);font-size:9px}.mobile-sheet-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--green-700);color:#fff}.mobile-sheet-avatar svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}
 .modal-back{align-items:flex-end;padding:0}.modal{width:100%!important;max-width:none!important;max-height:92dvh;border-radius:14px 14px 0 0}.toast{right:12px;bottom:calc(var(--mobile-nav-height) + 12px);left:12px;max-width:none}.table th,.table td{padding-inline:8px}.pagehead{align-items:flex-start;min-height:40px}.pagehead h2{font-size:18px}
}
@media(max-width:430px){.content{padding-inline:10px!important}.hfa-ticker-match{min-width:215px}.competition-detail-tabs,.player-profile-tabs{margin-inline:-10px}}
@media(max-width:390px){.content{padding-inline:9px!important}.mobile-bottom-nav button span{font-size:7.5px}.player-profile-country{gap:5px}.player-profile-country>span+span{padding-left:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* V2 extended sports modules ------------------------------------------------ */
#page-matches .scope-switch{display:inline-flex;margin-bottom:10px}#page-matches .toolbar{display:grid;grid-template-columns:1.35fr repeat(5,minmax(105px,1fr));padding:8px}#page-matches .toolbar .field{min-width:0}#page-matches .toolbar label{font-size:8px}#page-matches .table{min-width:1000px}#page-matches .table td{height:50px;font-size:10px}#page-matches .table th{font-size:7.5px}.hfa-mobile-match-list,.hfa-mobile-filter-toggle{display:none}
.hfa-player-matrix,.hfa-team-list{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.hfa-player-list-head,.hfa-player-list-row{display:grid;grid-template-columns:minmax(180px,1.8fr) minmax(120px,1fr) minmax(90px,.75fr) 55px 62px 66px 40px 36px 36px 14px;align-items:center;gap:8px;padding:0 11px}.hfa-player-list-head{min-height:34px;background:var(--gray-50);color:var(--text-soft);font-size:7.5px;font-weight:850;text-transform:uppercase}.hfa-player-list-row{width:100%;min-height:58px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font-size:10px;text-align:left;cursor:pointer}.hfa-player-list-row:last-child{border-bottom:0}.hfa-player-list-row:hover{background:var(--green-50)}.hfa-player-list-person{display:flex;align-items:center;gap:9px;min-width:0}.hfa-player-list-person>.player-avatar{width:36px!important;height:36px!important}.hfa-player-list-person>span{display:grid;min-width:0}.hfa-player-list-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hfa-player-list-person small{color:var(--muted);font-size:8.5px}.hfa-player-list-row>strong{font-size:12px;font-variant-numeric:tabular-nums}.hfa-player-list-row>i,.hfa-team-list>button>i{color:var(--muted);font-size:17px;font-style:normal}.players-area-tabs{margin-bottom:12px}
.hfa-team-list-head,.hfa-team-list>button{display:grid;grid-template-columns:minmax(200px,1.6fr) minmax(110px,1fr) minmax(130px,1fr) 70px 72px 18px;align-items:center;gap:10px;padding:0 12px}.hfa-team-list-head{min-height:34px;background:var(--gray-50);color:var(--text-soft);font-size:7.5px;font-weight:850;text-transform:uppercase}.hfa-team-list>button{width:100%;min-height:62px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font-size:10px;text-align:left;cursor:pointer}.hfa-team-list>button:last-child{border-bottom:0}.hfa-team-list>button:hover{background:var(--green-50)}.hfa-team-list-club{display:flex;align-items:center;gap:10px}.hfa-team-list-club>.team-logo{width:38px!important;height:38px!important}.hfa-team-list-club>span{display:grid}.hfa-team-list-club small{color:var(--muted);font-size:8.5px}
.competition-catalog{display:grid;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.competition-catalog-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,.75fr) auto;align-items:center;gap:16px;min-height:88px;padding:11px 13px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}.competition-catalog-card:last-child{border-bottom:0!important}.competition-catalog-card:hover,.competition-catalog-card:focus-within{background:var(--surface-hover)!important}.competition-catalog-top{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;align-items:center;gap:12px}.competition-catalog-mark{width:48px!important;height:48px!important;border-radius:9px!important}.competition-catalog-top h3{margin:2px 0!important;font-size:14px!important}.competition-catalog-kicker,.competition-catalog-status{font-size:8px!important}.competition-catalog-progress{display:grid!important;grid-template-columns:repeat(3,auto);gap:14px!important;margin:0!important;padding:0!important;border:0!important}.competition-catalog-progress i{grid-column:1/-1;height:4px}.competition-catalog-card>.card-actions{margin:0!important;white-space:nowrap}.competition-admin-actions>summary{background:var(--surface-elevated)}.competition-admin-actions>summary:hover,.competition-admin-actions[open]>summary{border-color:var(--surface-selected-border);background:var(--surface-hover);color:var(--surface-selected-text)}
.hfa-stats-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}.hfa-stats-main{display:grid;gap:14px;min-width:0}.hfa-stats-main>.stats-area-tabs{order:2;margin:0}.hfa-stats-main>.pagehead{order:1;margin:0}.hfa-stats-main>.scope-switch,.hfa-stats-main>.toolbar,.hfa-stats-main>.stats-kpi-grid,.hfa-stats-main>.stats-block,.hfa-stats-main>.stats-rank-grid,.hfa-stats-main>.stats-standings{order:3}.hfa-stats-rail{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}.hfa-stats-rail>section{padding:14px;border-bottom:1px solid var(--line)}.hfa-stats-rail>section:last-child{border:0}.hfa-stats-rail header{padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--green-700);font-size:8px;font-weight:850}.stats-kpi-grid{gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stats-kpi-grid>.stats-kpi{min-height:80px;padding:12px!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important}.stats-kpi-grid>.stats-kpi:last-child{border-right:0!important}.stats-kpi>strong{font-size:22px!important}.stats-block{margin-top:4px!important}.stats-leader-grid{gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stats-leader-grid>.stats-leader{min-height:82px;padding:11px!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important}.stats-leader-grid>.stats-leader:last-child{border-right:0!important}.stats-leader>strong{font-size:16px!important}.stats-team-insights{gap:7px!important}.stats-team-insights>.stats-kpi{padding:11px!important;border-radius:7px!important}.stats-rank-grid{gap:12px!important;margin-top:4px!important}.stats-rank-grid>.card,.stats-standings{border-radius:8px!important}.stats-record-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stats-record-grid article{padding:11px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}
.editorial-feature{gap:14px!important}.editorial-main,.editorial-item{border-radius:10px!important;box-shadow:none!important}.editorial-main-cover{aspect-ratio:16/7!important}.editorial-main-body{padding:17px!important}.editorial-main-body h3{font-size:25px!important}.editorial-list{gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.editorial-item{grid-template-columns:105px minmax(0,1fr)!important;min-height:86px;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}.editorial-item-cover{width:105px!important;height:86px!important}.editorial-item-body{padding:10px!important}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.news-card{display:grid;grid-template-columns:150px minmax(0,1fr);border-radius:9px!important}.news-card-link{display:contents}.news-card-cover{height:128px!important}.news-card-body{padding:12px!important}.news-card h3{margin:7px 0 5px!important;font-size:14px!important}.news-card p{font-size:10px!important;-webkit-line-clamp:2}.news-article{border-radius:10px!important;box-shadow:none!important}.news-article header{padding:28px 34px 22px!important}.news-article h1{font-size:34px!important}
.hfa-club-shell{gap:14px!important}.hfa-club-brand{min-height:112px;padding:18px 20px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:none!important}.hfa-club-brand:after{right:2%!important;bottom:-35px!important;color:var(--green-700)!important;font-size:120px!important}.hfa-club-brand span{color:var(--green-700)!important;font-size:8px!important}.hfa-club-brand h1{margin:2px 0!important;color:var(--text)!important;font-size:27px!important}.hfa-club-brand p{color:var(--muted)!important;font-size:10px}.hfa-credit-balance{border-color:var(--line)!important;border-radius:8px!important;background:var(--green-50)!important;color:var(--green-800)!important}.hfa-club-tabs{gap:0!important}.hfa-club-tabs button{min-height:44px!important;padding:0 13px!important;font-size:10px!important}.hfa-club-welcome{padding:15px!important;border-radius:9px!important;background:var(--panel)!important}.hfa-club-welcome h2{font-size:21px!important}.hfa-club-home-grid{gap:12px!important}.hfa-club-home-grid>.card,.hfa-market-card,.hfa-pack-card{border-radius:9px!important;box-shadow:none!important}
.match-center-hero{padding:15px 18px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:none!important}.match-center-eyebrow{color:var(--green-700)!important;font-size:8.5px!important}.match-sheet-type{border:0!important;border-radius:5px!important;background:var(--green-50)!important;color:var(--green-700)!important}.match-center-score{max-width:680px!important;margin:14px auto!important}.match-center-score>div{grid-template-columns:42px minmax(0,1fr) 54px!important;gap:9px!important}.match-center-score>div:last-child{grid-template-columns:54px minmax(0,1fr) 42px!important}.match-center-score .team-logo{width:40px!important;height:40px!important}.match-center-score strong{font-size:14px!important}.match-center-score b{width:50px!important;height:48px!important;border:1px solid var(--line)!important;border-radius:7px!important;background:var(--gray-50)!important;color:var(--text)!important;font-size:24px!important}.match-center-score>span{color:var(--green-700)!important}.match-center-status{color:var(--muted)!important;font-size:9px!important}.match-summary-grid{margin:0!important;transform:none!important;border-width:0 1px 1px!important;border-radius:0 0 8px 8px!important;box-shadow:none!important}.match-summary-grid>div{padding:9px 6px!important}.match-summary-grid strong{font-size:16px!important}.match-center-layout{gap:12px!important}.match-center-layout>.card,.match-sheet-side>.card,.match-gallery figure{border-radius:8px!important;box-shadow:none!important}.quick-event-panel{padding:14px!important;border-radius:8px!important}.quick-event-grid{gap:7px!important}.quick-event-grid button{min-height:52px!important;padding:8px!important;border-radius:7px!important}

/* Admin is a distinct workbench, not a public dashboard with extra controls. */
body[data-area="admin"] .hfa-match-ticker{display:none}body[data-area="admin"] .hfa-global-links>button{display:none}body[data-area="admin"] .hfa-global-links:before{content:"ADMINISTRACION HFA";display:flex;align-items:center;height:100%;color:var(--green-800);font-size:11px;font-weight:850;letter-spacing:.08em}body[data-area="admin"] .app{padding-top:18px}body[data-area="admin"] .sidebar{border-color:var(--green-200)}body[data-area="admin"] .hfa-context-panel>header{background:var(--green-900);color:#fff}body[data-area="admin"] .hfa-context-panel>header span{color:#8fd4b5}.admin-command>.pagehead,.admin-tool-head{padding:0 0 12px!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important}.admin-management-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 28px!important}.admin-management{gap:7px!important}.admin-management-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.admin-management-grid button{grid-template-columns:28px minmax(0,1fr) 18px!important;min-height:58px!important;padding:8px 11px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}.admin-management-grid button:last-child{border-bottom:0!important}.admin-management-grid button svg{width:18px!important;height:18px!important}.admin-management-grid button strong{font-size:11px}.admin-management-grid button small{font-size:9px}.admin-tool-rows{gap:0!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.admin-tool-row{min-height:58px;padding:8px 11px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}.admin-tool-row:last-child{border-bottom:0!important}.admin-tool-row:hover{background:var(--green-50)}

@media(max-width:1180px){#page-matches .toolbar{grid-template-columns:repeat(3,minmax(130px,1fr))}.hfa-player-list-head,.hfa-player-list-row{grid-template-columns:minmax(170px,1.6fr) minmax(110px,1fr) 52px 58px 62px 38px 34px 34px 14px}.hfa-player-list-head>:nth-child(3),.hfa-player-list-row>:nth-child(3){display:none}.hfa-stats-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:960px){.hfa-stats-layout{grid-template-columns:1fr}.hfa-stats-rail{display:grid;grid-template-columns:1fr 1fr}.competition-catalog-card{grid-template-columns:minmax(0,1fr) auto}.competition-catalog-progress{display:none!important}.hfa-team-list-head,.hfa-team-list>button{grid-template-columns:minmax(180px,1.5fr) 1fr 60px 72px 18px}.hfa-team-list-head>:nth-child(2),.hfa-team-list>button>:nth-child(2){display:none}}
@media(max-width:760px){#page-matches .toolbar{display:none}.hfa-mobile-filter-toggle{display:flex;width:100%;margin:0 0 14px;justify-content:space-between}#page-matches.filters-open .toolbar{display:flex}.hfa-desktop-match-table{display:none}.hfa-mobile-match-list{display:grid;gap:17px}.hfa-mobile-match-list section{background:var(--panel)}.hfa-mobile-match-list section>header{display:flex;justify-content:space-between;padding:0 2px 8px;border-bottom:1px solid var(--line);font-size:8.5px;text-transform:uppercase}.hfa-mobile-match-list section>header span{color:var(--green-700);font-weight:850}.hfa-mobile-match-list section>header b{color:var(--muted)}.hfa-mobile-match-list section>button{display:grid;grid-template-columns:41px minmax(0,1fr) 52px minmax(0,1fr) 12px;align-items:center;width:100%;min-height:58px;padding:6px 7px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.hfa-mobile-match-list section>button>em{color:var(--green-700);font-size:7.5px;font-style:normal;font-weight:900}.hfa-mobile-match-list section>button>span{display:flex;align-items:center;gap:5px;min-width:0}.hfa-mobile-match-list section>button>span:nth-of-type(2){flex-direction:row-reverse;text-align:right}.hfa-mobile-match-list section>button .team-logo{display:none!important}.hfa-mobile-match-list section>button strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.hfa-mobile-match-list section>button>b{text-align:center;font-size:13px}.hfa-mobile-match-list section>button>i{color:var(--muted);font-style:normal}.hfa-player-list-head,.hfa-team-list-head{display:none}.hfa-player-list-row{grid-template-columns:minmax(0,1fr) 54px 54px 32px;grid-template-rows:auto auto;gap:2px 8px;min-height:66px;padding:8px}.hfa-player-list-row>:not(.hfa-player-list-person):not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(7)):not(:last-child){display:none}.hfa-player-list-person{grid-row:1/3}.hfa-player-list-row>:nth-child(5){grid-column:2;grid-row:1}.hfa-player-list-row>:nth-child(6){grid-column:3;grid-row:1}.hfa-player-list-row>:nth-child(7){grid-column:3;grid-row:2;color:var(--muted);font-size:8px}.hfa-player-list-row>:nth-child(7):before{content:"PJ ";}.hfa-player-list-row>i{grid-column:4;grid-row:1/3}.hfa-team-list>button{grid-template-columns:minmax(0,1fr) 58px 60px 14px;min-height:66px;padding:7px}.hfa-team-list>button>:nth-child(2),.hfa-team-list>button>:nth-child(3){display:none}.hfa-team-list>button>:nth-child(4){font-size:11px}.hfa-team-list>button>:nth-child(4):after{content:" jug.";color:var(--muted);font-size:8px}.competition-catalog-card{grid-template-columns:1fr;gap:8px;min-height:0}.competition-catalog-card>.card-actions{padding-left:64px}.competition-catalog-card>.card-actions .btn{min-height:34px}.hfa-stats-layout{display:flex;flex-direction:column}.hfa-stats-main,.hfa-stats-rail{width:100%}.hfa-stats-rail{display:grid;grid-template-columns:1fr}.stats-kpi-grid{grid-template-columns:repeat(2,1fr)!important}.stats-kpi-grid>.stats-kpi:nth-child(2){border-right:0!important}.stats-leader-grid{display:grid!important;grid-template-columns:1fr!important}.stats-leader-grid>.stats-leader{grid-template-columns:85px minmax(0,1fr) auto;align-items:center;min-height:54px;border-right:0!important;border-bottom:1px solid var(--line)!important}.stats-team-insights{grid-template-columns:repeat(2,1fr)!important}.stats-record-grid{grid-template-columns:1fr!important}.editorial-main-cover{aspect-ratio:16/9!important}.editorial-main-body h3{font-size:21px!important}.news-grid{grid-template-columns:1fr!important}.news-card{grid-template-columns:112px minmax(0,1fr)}.news-card-cover{height:112px!important}.hfa-club-brand{align-items:flex-start!important;min-height:96px;padding:14px!important}.hfa-club-brand h1{font-size:22px!important}.hfa-club-brand p{display:none}.hfa-credit-balance{padding:8px 10px!important}.hfa-credit-balance strong{font-size:16px!important}.admin-management-sections{grid-template-columns:1fr!important;gap:18px!important}.admin-tool-row{align-items:center!important;flex-direction:row!important}.admin-tool-row .actions{display:flex!important}.admin-tool-row .btn{min-height:36px!important}body[data-area="admin"] .hfa-global-links:before{display:none}}
@media(max-width:760px){.competition-detail-section .mobile-standings .table,.competition-standings-preview .mobile-standings .table{min-width:0!important}.mobile-standings th:nth-child(n+4):nth-child(-n+8),.mobile-standings td:nth-child(n+4):nth-child(-n+8){display:none}.match-center-hero{padding:12px!important}.match-center-score{gap:7px!important}.match-center-score>div,.match-center-score>div:last-child{display:grid!important;grid-template-columns:1fr!important;justify-items:center}.match-center-score>div:last-child .team-logo,.match-center-score>div:last-child strong,.match-center-score>div:last-child b{order:initial!important}.match-center-score .team-logo{width:36px!important;height:36px!important}.match-center-score strong{max-width:105px;overflow:hidden;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}.match-center-score b{width:auto!important;height:auto!important;border:0!important;background:transparent!important;font-size:24px!important}.match-summary-grid{grid-template-columns:repeat(4,1fr)!important}.match-summary-grid>div:nth-child(n+5){border-top:1px solid var(--line)}.match-summary-grid>div:nth-child(5){border-left:0}.quick-event-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:760px){.btn,.btn.small,.page.active button,.page.active summary{min-height:44px}.page.active a{display:inline-flex;align-items:center;min-height:44px}.hfa-account-link{width:44px;height:44px}.hfa-text-link{min-height:44px}.competition-catalog-card>.card-actions .btn{min-height:44px}.admin-tool-row .btn{min-height:44px!important}}
@media(max-width:430px){.competition-catalog-top{grid-template-columns:46px minmax(0,1fr)}.competition-catalog-status{grid-column:2}.competition-catalog-card>.card-actions{padding-left:58px}.news-card p{display:none}.admin-tool-row{align-items:stretch!important;flex-direction:column!important}.admin-tool-row .actions{display:grid!important}}

/* Consolidated public navigation and administration control center. */
.hfa-global-more{position:relative;display:flex;align-items:stretch}.hfa-global-more>summary{display:flex;align-items:center;padding:0 13px;color:var(--muted-2);font-size:12px;font-weight:650;cursor:pointer;list-style:none}.hfa-global-more>summary::-webkit-details-marker{display:none}.hfa-global-more>summary:after{content:"⌄";margin-left:6px;font-size:10px}.hfa-global-more[open]>summary,.hfa-global-more:has(button.active)>summary{color:var(--green-700)}.hfa-global-more>div{position:absolute;top:calc(100% + 6px);right:0;z-index:90;display:grid;min-width:210px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:var(--shadow-lg)}.hfa-global-more>div button{min-height:38px;padding:0 11px!important;border-radius:6px;text-align:left}.hfa-global-more>div button:after{display:none}.hfa-global-more>div button:hover{background:var(--surface-hover)}
.admin-global-search{position:relative;z-index:12;margin-bottom:14px}.admin-global-search>label{display:block;margin-bottom:6px;color:var(--text-soft);font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.admin-global-search>input{width:100%;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font:inherit}.admin-global-search>input:focus{border-color:var(--green-500);outline:3px solid color-mix(in srgb,var(--green-500) 18%,transparent)}.admin-search-results{position:absolute;top:100%;right:0;left:0;max-height:360px;padding:6px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:var(--shadow-lg)}.admin-search-results>button{display:grid;grid-template-columns:95px minmax(0,1fr) minmax(90px,.5fr) 18px;align-items:center;width:100%;min-height:44px;padding:6px 9px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.admin-search-results>button:last-child{border:0}.admin-search-results>button:hover{background:var(--surface-hover)}.admin-search-results small{color:var(--muted)}.admin-season-value{font-size:18px!important}.admin-recent-activity{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.admin-recent-activity>div:not(.section-title){display:flex;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid var(--line)}.admin-recent-activity time{color:var(--muted);font-size:10px}.admin-row-menu{position:relative;margin-left:auto}.admin-row-menu>summary{display:grid;place-items:center;width:38px;min-height:36px;border:1px solid var(--line);border-radius:7px;cursor:pointer;list-style:none;letter-spacing:2px}.admin-row-menu>summary::-webkit-details-marker{display:none}.admin-row-menu>.actions{position:absolute;right:0;z-index:15;display:grid!important;min-width:190px;padding:6px;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:var(--shadow-lg)}.admin-row-menu>.actions .btn{justify-content:flex-start;border:0;background:transparent}.admin-row-menu>.actions .btn:hover{background:var(--surface-hover)}.player-profile-tabs{overflow-x:auto;scrollbar-width:thin}.player-history-timeline{display:grid}.player-history-timeline article{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.player-history-timeline time,.player-history-timeline small{color:var(--muted);font-size:10px}.player-history-timeline article>div{display:grid;gap:4px}.player-card-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.player-card-history article{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:8px}.player-card-history small{color:var(--muted)}.stats-scope-toolbar{align-items:end}
@media(max-width:760px){.hfa-global-more{display:none}.admin-search-results>button{grid-template-columns:75px minmax(0,1fr) 16px}.admin-search-results small{display:none}.admin-row-menu{width:100%}.admin-row-menu>summary{margin-left:auto}.admin-row-menu>.actions{position:static;margin-top:5px}.player-history-timeline article{grid-template-columns:88px minmax(0,1fr)}.player-profile-tabs{margin-inline:-12px;padding-inline:6px}.player-profile-tabs button{flex:0 0 auto}}

body[data-area="admin"] .hfa-global-more{display:none}

/* Capture canvas keeps its fixed export contract. */
.hfa-capture-canvas,.hfa-capture-canvas *{box-sizing:border-box}.hfa-capture-canvas{border-radius:0!important;box-shadow:none!important}

/* Partidos — galería pública (visitante sin rol admin/árbitro), en todos los anchos: filas
   deportivas agrupadas por competición/jornada en vez de la tabla administrativa densa. Admin
   y árbitro conservan .hfa-desktop-match-table/.hfa-mobile-match-list sin cambios. */
.hfa-match-gallery-public{display:grid!important;gap:16px}
.hfa-match-gallery-public section{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md,12px);overflow:hidden}
.hfa-match-gallery-public section>header{display:flex;justify-content:space-between;align-items:center;padding:11px 16px;border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.hfa-match-gallery-public section>header span{color:var(--green-700);font-weight:800}
.hfa-match-gallery-public section>header b{color:var(--muted);font-weight:700;text-transform:none;letter-spacing:0}
.hfa-match-gallery-public section>button{display:grid;grid-template-columns:64px minmax(0,1fr) 84px minmax(0,1fr) 18px;align-items:center;width:100%;min-height:62px;padding:10px 16px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;color:var(--text);text-align:left;cursor:pointer}
.hfa-match-gallery-public section>button:last-child{border-bottom:0}
.hfa-match-gallery-public section>button:hover{background:var(--surface-hover)}
.hfa-match-gallery-public section>button>em{color:var(--green-700);font-size:9.5px;font-style:normal;font-weight:900;letter-spacing:.03em}
.hfa-match-gallery-public section>button>span{display:flex;align-items:center;gap:8px;min-width:0}
.hfa-match-gallery-public section>button>span:nth-of-type(2){flex-direction:row-reverse;text-align:right}
.hfa-match-gallery-public section>button strong{overflow:hidden;font-size:13.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.hfa-match-gallery-public section>button>b{text-align:center;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.hfa-match-gallery-public section>button>i{color:var(--muted);font-style:normal;text-align:right}
@media(max-width:600px){.hfa-match-gallery-public section>button{grid-template-columns:48px minmax(0,1fr) 56px minmax(0,1fr) 14px;padding:9px 12px}.hfa-match-gallery-public section>button strong{font-size:12px}.hfa-match-gallery-public section>button .team-logo{display:none!important}}

/* v2/016 · filtros de jugadores, compactos y compatibles con Enterprise UI. */
.player-directory-filters{margin:0 0 12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}
.player-directory-filters>summary{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 11px;background:var(--gray-50);color:var(--text);font-size:10px;font-weight:850;text-transform:uppercase;cursor:pointer;list-style:none}
.player-directory-filters>summary::-webkit-details-marker{display:none}.player-directory-filters>summary:after{content:"⌄";margin-left:8px;color:var(--muted)}.player-directory-filters[open]>summary:after{transform:rotate(180deg)}.player-directory-filters>summary b{margin-left:auto;color:var(--green-700)}
.player-directory-filter-grid{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(6,minmax(112px,1fr)) auto;align-items:end;gap:8px;padding:10px 11px}
.player-directory-filter-grid .field{display:grid;gap:4px;min-width:0;margin:0}.player-directory-filter-grid .field>span{color:var(--text-soft);font-size:8px;font-weight:850;text-transform:uppercase}.player-directory-filter-grid :is(input,select){width:100%;min-width:0;min-height:34px}.player-directory-reset{min-height:34px;white-space:nowrap}
.player-filter-state{display:flex;gap:5px;flex-wrap:wrap;padding:0 11px 9px}.player-filter-state span{padding:3px 7px;border:1px solid var(--line);border-radius:4px;background:var(--gray-50);color:var(--text-soft);font-size:8.5px}.player-directory-empty{display:grid;justify-items:center;gap:7px;padding:34px 12px;color:var(--muted);text-align:center}.player-directory-empty strong{color:var(--text)}
.player-filter-reset{align-self:end}.player-filter-empty{flex-basis:100%;padding:7px 9px;border:1px dashed var(--line);background:var(--gray-50);color:var(--muted);font-size:10px}.profile-scope-label b{color:var(--text)}
.player-profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.player-profile-stats>div:nth-child(6n){border-right:0}
.hfa-player-list-head,.hfa-player-list-row{grid-template-columns:minmax(175px,1.65fr) minmax(105px,1fr) minmax(82px,.7fr) 50px 58px 60px 36px 34px 34px minmax(85px,.75fr) 14px}
@media(max-width:1180px){.player-directory-filter-grid{grid-template-columns:repeat(4,minmax(120px,1fr))}.hfa-player-list-head,.hfa-player-list-row{grid-template-columns:minmax(170px,1.6fr) minmax(110px,1fr) 52px 58px 62px 38px 34px 34px minmax(80px,.7fr) 14px}.hfa-player-list-head>:nth-child(3),.hfa-player-list-row>:nth-child(3){display:none}}
@media(max-width:760px){.player-directory-filters:not([open]){margin-bottom:10px}.player-directory-filters>summary{min-height:44px}.player-directory-filter-grid{grid-template-columns:1fr;padding:10px}.player-directory-filter-grid .field,.player-directory-reset{width:100%}.player-directory-filter-grid :is(input,select),.player-directory-reset{min-height:44px}.player-filter-state{padding:0 10px 10px}.player-profile-filters{grid-template-columns:1fr}.player-profile-filters label,.player-filter-reset{width:100%;min-width:0}.player-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.player-profile-stats>div:nth-child(2n){border-right:0}.hfa-player-list-row{grid-template-columns:minmax(0,1fr) 54px 54px 32px}.hfa-player-list-row>:not(.hfa-player-list-person):not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(7)):not(:last-child){display:none}}
