.club-home{max-width:1200px;margin:0 auto;padding:28px 32px 64px;color:var(--cc-text)}
.club-home-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;background:linear-gradient(115deg,#39060d,#890718);border:1px solid #9a3843;border-radius:24px;padding:42px 48px;color:#fff}
.club-home-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;color:#e9cd91;margin:0 0 20px}
.club-home-hero h1{font-size:clamp(30px,3.5vw,48px);line-height:1.12;letter-spacing:-.035em;margin:0 0 18px}
.club-home-hero h1 em{font-style:normal;color:#ecd29b}
.club-home-hero p:not(.club-home-kicker){max-width:490px;line-height:1.6;color:#f0dfe1}
.club-home-hero>img{width:160px;height:200px;object-fit:contain;filter:drop-shadow(0 12px 18px #18010566)}
.club-home-primary{padding:14px 20px;border:0;border-radius:10px;background:#efd7a4;color:#39060d;font:inherit;font-weight:800;cursor:pointer;margin-top:12px}
.club-home-primary span{margin-left:20px}
.club-home-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:30px 0 18px}
.club-home-heading h2{font-size:22px;margin:0}.club-home-heading p{font-size:13px;color:var(--cc-muted);margin:0}
.club-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.club-home-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:16px;min-width:0;padding:24px;border:1px solid var(--cc-border);border-radius:16px;background:var(--cc-panel);color:var(--cc-text);font:inherit;cursor:pointer;transition:transform .18s,border-color .18s}
.club-home-card:hover{transform:translateY(-3px);border-color:var(--cc-brand-text)}
.club-home-card-top{display:flex;align-items:center;gap:10px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--cc-brand-text)}
.club-home-card-top img{width:20px;height:20px}.club-home-card-top span:last-child{margin-left:auto;color:var(--cc-muted)}
.club-home-card strong{font-size:20px;line-height:1.3;letter-spacing:-.02em}
.club-home-description{font-size:14px;line-height:1.65;color:var(--cc-muted)}
.club-home-open{margin-top:auto;padding-top:12px;border-top:1px solid var(--cc-border);font-size:13px;font-weight:700}.club-home-open span{float:right}
.club-home :is(button):focus-visible{outline:3px solid #cc9e49;outline-offset:4px}
:root[data-color-mode="dark"] .club-home-card-top img{filter:invert(1)}
@media(max-width:1000px){.club-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.club-home{padding:16px 14px 40px}.club-home-hero{padding:26px 22px;gap:12px;align-items:flex-start}.club-home-hero>img{width:65px;height:90px}.club-home-hero h1{font-size:28px}.club-home-kicker{font-size:9px;line-height:1.6}.club-home-grid{grid-template-columns:1fr}.club-home-heading{display:block}.club-home-heading p{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.club-home-card{transition:none}.club-home-card:hover{transform:none}}

.club-home-hero>div{min-width:0}.club-home-hero h1{overflow-wrap:anywhere}
.club-matches{margin:28px 0;padding:26px;border:1px solid var(--cc-border);border-radius:20px;background:var(--cc-panel)}
.club-matches-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.club-matches-heading .club-home-kicker{color:var(--cc-brand-text);margin-bottom:8px;font-size:10px}
.club-matches-heading h2{margin:0;font-size:24px}
.club-matches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.club-match{position:relative;padding:24px;background:var(--cc-soft);border:1px solid var(--cc-border);border-top:3px solid var(--cc-brand-text);border-radius:12px}
.club-match-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:18px}
.club-match-heading-title{min-width:0;text-align:center}
.club-match-team{margin:0;color:var(--cc-text);font-size:14px;font-weight:750;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.club-match-position{margin:4px 0 0;color:var(--cc-muted);font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
.club-match-nav{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid var(--cc-border);border-radius:8px;background:var(--cc-panel);color:var(--cc-text);cursor:pointer}
.club-match-nav:hover:not(:disabled){background:var(--cc-tint);color:var(--cc-brand-text);border-color:var(--cc-brand-text)}
.club-match-nav:disabled{opacity:.35;cursor:default}
.club-match-nav:focus-visible{outline:3px solid var(--cc-brand-text);outline-offset:3px}
.club-match-content{min-width:0}
.club-match-countdown{display:inline-block;padding:6px 10px;background:var(--cc-tint);color:var(--cc-brand-text);border:1px solid var(--cc-tint-border);border-radius:6px;font-size:12px;font-weight:800}
.club-match-opponent{font-size:22px;line-height:1.35;margin:16px 0 12px;overflow-wrap:anywhere}
.club-match-date{font-size:15px;color:var(--cc-muted);line-height:1.5}
.club-match-source{display:inline-block;color:var(--cc-brand-text);font-weight:700;font-size:12px;margin-top:12px;text-decoration:underline;text-underline-offset:4px}
.club-matches-note{font-size:12px;line-height:1.6;color:var(--cc-muted);margin:14px 0 0}
@media(max-width:650px){.club-matches{padding:18px}.club-matches-heading{align-items:flex-start}.club-matches-heading h2{font-size:20px}.club-match{padding:18px}}
.club-match{min-width:0}
.club-match-date{display:block}
.club-match-date-status,.club-match-venue{margin:6px 0;font-size:12px;line-height:1.5;color:var(--cc-muted);overflow-wrap:anywhere}
.club-match-date-status{font-weight:700}
.club-match-source:focus-visible{outline:3px solid var(--cc-brand-text);outline-offset:4px;border-radius:2px}
.club-match-team,.club-match-source{overflow-wrap:anywhere}
@media(max-width:380px){.club-matches-heading{flex-wrap:wrap}.club-match-countdown{max-width:100%;box-sizing:border-box;line-height:1.5}}
.club-match-rival{display:flex;align-items:center;gap:12px;margin:16px 0 12px;min-width:0}
.club-match-rival>.club-match-opponent,.club-match-rival>.club-match-fixture-opponent{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
.club-match-crest{display:block;flex:0 0 auto;width:52px;height:52px;object-fit:contain;box-sizing:border-box;padding:4px;background:#fff;border:1px solid var(--cc-border);border-radius:8px}
.club-match-rival-compact{gap:10px;margin:0 0 6px}
.club-match-rival-compact>.club-match-crest{width:32px;height:32px;padding:2px;border-radius:5px}
.club-home[data-account="personal-beta"] .club-home-hero{background:linear-gradient(115deg,#131313,#332014);border-color:#8c4d22}
.club-home[data-account="personal-beta"] .club-home-kicker{color:#ffac6b}
.club-home[data-account="personal-beta"] .club-home-hero p:not(.club-home-kicker){color:#f2e6df}
.club-home[data-account="personal-beta"] .club-home-primary{background:#ff8c32;color:#171717}
.club-home[data-account="personal-beta"] .club-home-hero>img{width:140px;height:140px;filter:none;border-radius:12px}
.club-home[data-account="personal-beta"] button:focus-visible{outline-color:var(--cc-brand-text,#b34700)}
@media(max-width:650px){.club-home[data-account="personal-beta"] .club-home-hero>img{width:65px;height:65px}}

.club-match-open-calendar{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:16px;padding:10px 16px;border:1px solid var(--cc-tint-border);border-radius:8px;background:var(--cc-tint);color:var(--cc-brand-text);font:inherit;font-size:14px;font-weight:750;line-height:1.4;cursor:pointer}
.club-match-open-calendar:hover{border-color:var(--cc-brand-text);background:var(--cc-panel)}
.club-match-open-calendar:focus-visible{outline:3px solid var(--cc-brand-text);outline-offset:3px}

/* Club Home relies on the persistent navigation. */
#clubHomeView[data-account="club"]>.club-home-heading,
#clubHomeView[data-account="club"]>.club-home-grid{display:none}
body[data-club-theme="proin"]:has(#clubHomeView[data-account="club"]) #appHeader[data-view="home"]>.brand{display:none}
body[data-club-theme="proin"]:has(#clubHomeView[data-account="club"]) #appHeader[data-view="home"]{min-height:0;padding-top:16px;padding-bottom:0;justify-content:flex-end}
body[data-club-theme="proin"]:has(#clubHomeView[data-account="club"]) #appHeader[data-view="home"]>.header-actions{width:auto;margin-left:auto;justify-content:flex-end}
