.fixture-page{padding-bottom:3rem}.fixture-list{list-style:none;padding:0;margin:0;display:grid;gap:.55rem}.fixture-list li{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem 1rem;padding:.8rem 1rem;border:1px solid #303747;border-radius:.6rem}.fixture-list strong{flex:1 1 17rem}.fixture-list time,.fixture-list li>span{color:#b8c4d6}.fixture-list .live-note{color:#ff7186}.fixture-directory{margin:2rem auto}.fixture-directory summary{cursor:pointer;font-weight:700}.fixture-directory nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.8rem}

/* Teams hub, team, player and competition pages and the Leaderboard -- Richard's approved
   mockups (teams.html ?page=hub|team|comp). Every section is one row of the home page's own
   cards; the row scrolls sideways (home arrows on desktop, a swipe on a phone). Headings are
   short, the facts sit beside them in a quiet note, "View all" is an outlined pill. */
.fixture-page h1{font-size:clamp(26px,3.4vw,34px);font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:0}
.fx-head{margin:28px 0 18px}.fx-head .sub{color:var(--ink-dim);margin-top:6px;max-width:62ch}
.fx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fx-chips .chip{font-size:14px;padding:7px 14px;text-decoration:none}.fx-chips .chip:not(.on){color:var(--ink)}.fx-chips .chip.zero:not(.on){color:var(--ink-dim)}.fx-chips .rail-label{width:auto;margin-right:4px}
/* The header panel: emblem, name, competitions -- and the next match on the right. */
.fx-hero{display:flex;align-items:center;gap:22px;margin:26px 0 8px;padding:22px;border-radius:18px;border:1px solid var(--line);background:radial-gradient(ellipse 600px 260px at 85% 30%,rgba(214,64,16,.22),transparent 70%),var(--bg-raise)}
.fx-hero .team-emblem-lg{width:96px;height:96px;font-size:28px}.fx-hero-name{min-width:0}.fx-hero-name .sub{color:var(--ink-dim);margin-top:6px}.fx-hero .fx-chips{margin-top:12px}
.fx-next{margin-left:auto;flex:0 1 auto;min-width:300px;max-width:560px;background:var(--bg-card);border:1px solid var(--line-strong);border-radius:var(--r);padding:14px 18px}
.fx-next-k{font-size:12px;color:var(--ink-dim);letter-spacing:.06em;text-transform:uppercase}.fx-next-v{font-size:19px;font-weight:800;line-height:1.25;margin:4px 0}.fx-next-cd{color:var(--gold);font-weight:700}.fx-next-cd span+span::before{content:"\00a0\00b7\00a0"}.fx-next-cd span:empty{display:none}
.fx-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fx-btns .btn{font-size:13px;padding:8px 14px;text-decoration:none}
/* Sections */
.fixture-page .fx-section{margin:30px 0 0}.fx-section-head{gap:10px;margin:0 0 10px;align-items:baseline}.fx-section-head h2{font-size:22px;font-weight:800;line-height:1.2;margin:0;display:flex;align-items:center;white-space:nowrap}
.fx-note{color:var(--ink-dim);font-size:14px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-all{margin-left:auto;flex:0 0 auto;align-self:center;color:#ff7a45;font-weight:700;font-size:14px;white-space:nowrap;text-decoration:none;border:1px solid rgba(214,64,16,.5);padding:5px 14px;border-radius:999px}.fx-all:hover{border-color:var(--brand);color:#fff;background:var(--brand-soft)}
.fx-section-head .arrows{display:flex;gap:8px;align-self:center;margin-left:0}.fx-section-head .fx-note+.arrows,.fx-section-head h2+.arrows{margin-left:auto}
.fixture-page .rail-btn:disabled{opacity:.35;cursor:default}
.fx-row{grid-auto-columns:calc((100% - 42px)/4);padding-top:4px}
.fx-section:target .fx-row{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));overflow:visible}.fx-section:target .fx-tile-row{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.fx-section:target .arrows,.fx-section:target .fx-all{display:none}
/* Cards: the home grid's, with a real <img> (lazy) under the home badges. */
.fx-card{text-decoration:none;color:inherit}.fx-card .thumb{overflow:hidden}.fx-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.fx-card .thumb:not(:has(.fx-cover)){background-image:url('/assets/img/stage-event-fallback.svg')}.fx-card .live-note{color:var(--brand);font-weight:700}
.fx-card h3{min-height:0;-webkit-line-clamp:1}.fx-card .card-body{padding:10px 12px 12px}.fx-card .meta{margin-top:4px}
/* Tiles: team, player and competition -- emblem, name, LIVE or when they play next. */
.fx-tile-row{grid-auto-columns:calc((100% - 72px)/7)}
.fx-team{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:14px 10px;text-align:center;text-decoration:none;color:inherit;min-height:142px}
.fx-team-name{font-weight:700;font-size:15px;line-height:1.25}.fx-count{color:var(--ink-dim);font-size:12px}
.fx-live{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.05em;color:#fff;background:var(--brand);border-radius:999px;padding:2px 9px}.fx-live i{width:5px;height:5px;border-radius:50%;background:#fff;animation:pulse 1.8s infinite}
/* The fixture list (Coming up). */
.fx-fixtures{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.fx-fixture{display:flex;align-items:center;gap:12px;background:var(--bg-card);border:1px solid var(--line);border-radius:12px;padding:12px 16px;color:inherit;text-decoration:none}a.fx-fixture:hover{border-color:var(--line-strong)}
.fx-when{color:var(--ink-dim);font-size:13px;min-width:130px}.fx-what{font-weight:700}.fx-lined{margin-left:auto;color:var(--gold);font-weight:700;font-size:13px;white-space:nowrap}
/* Streamers: the home chip with the channel's latest picture. */
.fx-streamer{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:inherit}
.fx-streamer-picture{position:relative;display:grid;place-items:center;border-radius:50%;background:var(--bg-raise);color:var(--ink)}.fx-streamer-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.fx-streamer-picture.has-thumb .plat-ico{position:absolute;z-index:1;right:-3px;bottom:-3px;border-radius:6px;background-color:var(--bg-raise);border:2px solid var(--bg-card)}
.fx-streamer-row{grid-auto-columns:max-content}.fx-streamer-row .fx-streamer{max-width:min(80vw,300px);padding:.45rem .75rem;text-align:left}.fx-streamer .fx-team-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-streamer .fx-count{white-space:nowrap}.fx-streamer-picture{flex:0 0 2.2rem;width:2.2rem;height:2.2rem}.fx-streamer-picture .plat-ico{width:20px;height:20px}.fx-streamer-picture.has-thumb .plat-ico{width:16px;height:16px}
/* Emblems (item 1613: the approved kit icons) */
.team-emblem{--em-bg:var(--bg-raise);--em-fg:var(--ink);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:var(--em-bg);color:var(--em-fg);border:2px solid var(--line-strong);font-weight:800;letter-spacing:.02em}.team-emblem-md{width:56px;height:56px;font-size:.95rem}.team-emblem-lg{width:4.6rem;height:4.6rem;font-size:1.3rem}
.team-emblem-svg{background:none;border:0;border-radius:0}.team-emblem-svg svg{width:100%;height:100%;display:block}.team-emblem-sm{width:28px;height:28px;font-size:.6rem;margin-right:10px}
.fx-empty{color:var(--ink-dim);margin:.4rem 0 0}.fx-browse{margin-top:2.4rem;color:var(--ink-dim)}
@media(max-width:1100px){.fx-row{grid-auto-columns:calc((100% - 28px)/3)}.fx-tile-row{grid-auto-columns:calc((100% - 60px)/5)}}
@media(max-width:820px){.fx-hero{flex-direction:column;align-items:flex-start}.fx-next{margin-left:0;min-width:0;width:100%;max-width:none}}
@media(max-width:640px){
 .fixture-page h1{font-size:26px}.fx-head{margin:16px 0 12px}
 .fx-hero{padding:18px;gap:14px}.fx-hero .team-emblem-lg{width:72px;height:72px}
 .fx-btns{flex-direction:column}.fx-btns .btn{justify-content:center;white-space:nowrap}
 .fx-row{grid-auto-columns:78%}.fx-tile-row{grid-auto-columns:42%}
 .fx-section-head{flex-wrap:wrap;gap:4px 10px}.fx-section-head h2{font-size:20px}.fx-note{order:3;flex-basis:100%;font-size:13px;white-space:normal}.fx-all{padding:4px 12px;font-size:13px}.fx-section-head .arrows{display:none}
 .fx-fixture{flex-wrap:wrap;gap:2px 12px}.fx-when{min-width:0;flex-basis:100%}
 .fx-chips .rail-label{display:none}
}
.lb-page .lb-card .thumb{background:var(--bg-raise) url('/assets/img/stage-event-fallback.svg') center/cover}.lb-page .lb-rank{position:absolute;z-index:2;top:10px;left:10px;padding:4px 9px;border-radius:7px;background:var(--brand);color:#fff;font-size:12px;font-weight:800}.lb-page .lb-note{color:var(--ink-dim);font-size:.9rem;margin-top:6px}.lb-page .lb-share img{max-width:100%;height:auto;border-radius:8px}
@media(hover:none){.fx-section-head .arrows{display:none}}
/* Item 1626: the credits line for the free name sources. */
.fx-credits{color:var(--ink-dim);font-size:.75rem;margin:.75rem 0 0}
/* Item 1617: the men's / women's side switch. */
.fx-side-switch{display:inline-flex;align-items:center;gap:.5rem;margin:.45rem 0;color:var(--ink-dim);font-size:.88rem}.fx-side-switch>*+*{border-left:1px solid var(--line-strong);padding-left:.5rem}.fx-side-switch a{color:var(--sky)}.fx-side-switch [aria-current]{color:var(--ink);font-weight:700}
.fixture-page.fx-top{padding-bottom:0}.fx-top .fx-head{margin-bottom:6px}
.lb-page .lb-head{margin-top:16px}
/* Item 1802: Add to calendar, opening the Google / Apple / Outlook / file choices. */
.fx-cal{margin-top:12px}.fx-cal summary{display:inline-flex;font-size:13px;padding:8px 14px;cursor:pointer;list-style:none}.fx-cal summary::-webkit-details-marker{display:none}.fx-cal[open] summary{border-color:var(--sky);color:var(--sky)}.fx-cal .fx-chips{margin-top:8px}.fx-cal .sub{font-size:.8rem}
/* Item 1807: Follow button for browser notifications. */
.fx-follow-wrap{margin-top:12px}.fx-follow{display:inline-flex;gap:6px;align-items:center;font-size:13px;padding:8px 14px;cursor:pointer}.fx-follow.on{border-color:var(--brand);color:var(--text,#eef0f5);background:rgba(214,64,16,.18)}.fx-follow:focus-visible{outline:2px solid var(--sky);outline-offset:2px}.fx-follow[disabled]{opacity:.6;cursor:progress}.fx-follow-note{font-size:.8rem;margin:6px 0 0}

/* Recent games: the shared event card plus three compact streamer previews. */
.fx-recent-card{display:flex;flex-direction:column;min-width:0}
.fx-recent-card>.fx-card{border:0;border-radius:0;box-shadow:none;transform:none}
.fx-recent-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px}
.fx-recent-preview{min-width:0;color:var(--ink-dim);text-decoration:none;font-size:12px}
.fx-recent-preview .thumb{display:block;position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:var(--bg-raise) url('/assets/img/stage-event-fallback.svg') center/cover}
.fx-preview-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.fx-recent-all{align-self:flex-start;margin:auto 12px 12px}
