/* Public league skin only. No shared scorer/admin stylesheet is modified. */
:root{color-scheme:dark;--gold:#e5bd67;--ink:#f4f1e9;--muted:#b1b2b6;--line:#34332f;--surface:#14161a;background:#090a0c;color:var(--ink);font:16px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body{background:radial-gradient(ellipse at 80% 0%,#28221666,transparent 48rem),#090a0c;color:var(--ink)}
a{color:var(--gold);text-underline-offset:4px}a:hover{color:#ffe4a5}a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.shell{max-width:1480px;padding:0 32px 48px}.league-nav{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:88px;border-bottom:1px solid var(--line);margin-bottom:24px}.league-nav a{text-decoration:none}.nav-brand{font-weight:950;font-size:1.35rem;letter-spacing:.04em}.nav-brand span{font-size:.69rem;letter-spacing:.2em;color:#ded9cb;margin-left:12px}.league-nav>div{display:flex;gap:26px;font-size:.83rem;font-weight:700}.league-nav>div a{color:#d1d1d2}.skip-link{position:absolute;top:-100px;left:16px;z-index:9;background:var(--gold);color:#121212;padding:12px}.skip-link:focus{top:10px}
h1,h2,.section-title h2{font-family:inherit;letter-spacing:-.04em}.hero{padding:40px;min-height:250px;border-radius:18px;background:radial-gradient(ellipse at 75% 25%,#67501b44,transparent 65%),linear-gradient(110deg,#16181c,#0b0d10);border:1px solid #796139;box-shadow:inset 0 1px #ffdf9f22,0 14px 45px #0004;align-items:center}.hero::after{inset:7px;border-color:#bfa06420;border-radius:12px}.hero-brand{gap:26px;min-width:0}.league-logo{width:148px}.hero h1{font-size:clamp(2.2rem,4.1vw,4.2rem);line-height:1.04;color:#faf6eb;margin-bottom:14px;text-shadow:none}.eyebrow,.hero .eyebrow{color:var(--gold);font-size:.65rem;font-weight:800;letter-spacing:.19em}.hero p:not(.eyebrow){color:#bfc0c4;font-size:1rem;margin-bottom:0}.hero-actions{min-width:218px;position:relative;z-index:1}.cta{background:linear-gradient(135deg,#f4d899,#c7973e);border:1px solid #e7c47d;color:#17130b;box-shadow:0 4px 16px #0005;border-radius:8px;font-size:.9rem}.cta:hover{color:#17130b;background:#ffe0a0}.hero-secondary{color:#d6bd86;font-size:.74rem;font-weight:600}
.season-metrics{display:grid;grid-template-columns:repeat(3,1fr) 1.6fr;margin:20px 0 24px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#111317}.season-metrics>div{padding:20px 24px;border-right:1px solid var(--line);display:grid;gap:3px}.season-metrics>div:last-child{border-right:0}.season-metrics span{color:#a8a9ad;font-size:.59rem;font-weight:800;letter-spacing:.16em}.season-metrics strong{font-size:2rem;line-height:1.3;color:var(--gold);font-variant-numeric:tabular-nums}.season-metrics small{font-size:.73rem;color:#b6b7bb}.season-metrics .season-note{justify-content:center}.season-note strong{font-size:1.1rem;color:var(--ink);margin:5px 0}
.league-at-glance,.panel{background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:12px;padding:24px}.shell>.panel{margin-top:22px}.league-at-glance{margin:0 0 24px}.at-glance-heading h2{font-size:1.3rem}.format-games li{background:#1c1e22;border-color:#39352b;border-radius:8px;padding:12px}.format-games strong{font-size:.88rem}.format-games .game-summary small{color:#b8b6ad;font-size:.74rem}.game-number{background:#3a3020;color:#efd18f;border:1px solid #695535;border-radius:7px}.points-brief{font-size:.81rem;color:#bfc0c3}.points-brief strong,.format-details summary,.stats-explainer summary{color:var(--gold)}.format-details{border-color:var(--line);font-size:.8rem}.format-details p{color:var(--muted)}
.columns{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.section-title{border-color:var(--line);gap:12px;align-items:start}.section-title h2{font-size:1.5rem}.section-title>span{max-width:180px;text-align:right;line-height:1.5}.section-title span,.small,.muted,.fixture-card small{color:var(--muted)}.schedule-note{color:#bcb4a1;font-size:.71rem;margin:-3px 0 14px}#fixtures{max-height:810px;overflow:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#76623e #17191d}#fixtures-section,#standings-section,#player-records,#rosters-section{scroll-margin-top:20px}.fixture-card{background:#0f1114;border:1px solid #353632;border-left:3px solid #a58649;border-radius:9px;padding:16px;margin:0 0 12px;box-shadow:none}.fixture-card>p{margin:0 0 10px;font-size:.69rem;color:#cfb779}.fixture-card header{display:grid;gap:5px}.fixture-card header strong{font-size:.94rem;color:#f0ede5}.fixture-card header small{font-size:.68rem}.fixture-card header .result-badge{color:var(--gold);font-size:1.4rem}.fixture-games{gap:6px;margin-top:13px}.fixture-games span{background:#1e2024;color:#d2d3d5;border:1px solid #2e3034;border-radius:5px;font-size:.66rem;padding:7px}.fixture-games span small{color:#aeb0b5}
.table-wrap{scrollbar-color:#79643c #1b1d20;max-width:100%}table{font-size:.77rem;font-variant-numeric:tabular-nums}table th,table td{border-bottom-color:#303236;padding:13px 8px}table thead th{color:#b8b6af;font-size:.61rem}table tbody tr:nth-child(odd),.player-table tbody tr:nth-child(odd){background:#1b1d21}table tbody tr:hover{background:#25272a}table td:last-child,.player-table td:nth-child(3),.player-table td:nth-child(4),.result-badge{color:var(--gold)}#standings td:first-child{font-weight:700}#standings tr:first-child td:first-child{color:#f1d18c}#groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.group-table{margin:0;min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#101216}.group-table h3{margin:0 0 14px;color:var(--gold)}.group-table p{padding:7px 0;border-bottom:1px solid #292b2f;margin:0}.group-table p:last-child{border:0;margin-top:8px}#bracket{border-top:1px solid var(--line);margin-top:20px;padding-top:4px}#histories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}#histories details{border-color:var(--line)}#histories summary{font-size:.82rem;color:#e7e3d9;min-height:28px}#histories p{overflow-wrap:anywhere}.roster-grid{gap:14px}.roster-card{background:#101216;border-color:#343632;box-shadow:none;border-radius:9px;padding:18px;gap:10px}.roster-card>a:first-child{font-weight:800;font-size:.9rem;border-bottom:1px solid var(--line);padding-bottom:12px}.roster-card>a:not(:first-child){color:#ccced2;font-size:.8rem;text-decoration:none}.roster-card>a:hover{text-decoration:underline;color:var(--gold)}.roster-card span{color:var(--muted)}.private-link{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}.private-link a{color:#bcb7aa;font-size:.75rem}.table-swipe-hint{background:#30291d;color:#eed49b}.player-records .table-wrap{border-color:#a78948}#message:not(:empty),#profile-message:not(:empty){background:#33261b;border:1px solid #87623a;color:#ffdfb2;padding:14px;border-radius:8px}
.profile-back{display:inline-block;padding:16px 0;font-size:.85rem}.profile-panel{max-width:960px;margin:auto;min-height:280px}.profile-logo{width:86px;float:right;margin:0 0 20px 20px}.profile-panel h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.1;margin:12px 0 30px}.profile-panel h2{font-size:1.2rem;color:var(--gold);margin:30px 0 12px;padding-top:20px;border-top:1px solid var(--line)}#profile-content>p{padding:12px 14px;background:#1b1d21;border-radius:6px;color:#ceced1;font-size:.88rem;overflow-wrap:anywhere}
@media(max-width:1100px){.hero{padding:28px}.league-logo{width:112px}.hero-brand{gap:18px}.hero-actions{min-width:190px}.columns{grid-template-columns:1fr}.hero{flex-direction:row}.season-metrics>div{padding:18px}.section-title>span{max-width:260px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shell{padding:0 16px 32px}.league-nav{min-height:100px;flex-wrap:wrap;gap:10px;padding:18px 0;margin-bottom:16px}.league-nav>div{width:100%;justify-content:space-between;gap:12px;font-size:.77rem}.hero{flex-direction:column;align-items:stretch;padding:24px;gap:24px}.hero-brand{display:flex;gap:18px}.league-logo{width:98px;margin:0}.hero h1{font-size:2.2rem}.hero .eyebrow{font-size:.55rem}.hero-actions{width:100%;min-width:0}.hero p:not(.eyebrow){font-size:.85rem}.season-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0}.season-metrics>div{padding:14px 10px}.season-metrics>div:nth-child(3){border-right:0}.season-metrics .season-note{grid-column:1/-1;border-top:1px solid var(--line);padding:15px}.season-metrics strong{font-size:1.7rem}.season-metrics small{font-size:.65rem}.season-metrics span{font-size:.52rem}.season-note strong{font-size:1rem}.league-at-glance,.panel{padding:18px;border-radius:10px}.format-games{grid-template-columns:1fr}.section-title{display:block}.section-title>span{display:block;text-align:left;margin-top:8px}.section-title h2{font-size:1.4rem}.fixture-games{grid-template-columns:repeat(3,minmax(0,1fr))}.fixture-games span{overflow-wrap:anywhere}.fixture-card{padding:13px}#fixtures{max-height:720px;padding-right:5px}#groups,#histories{grid-template-columns:1fr}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.roster-card{padding:13px;overflow-wrap:anywhere}.points-brief{display:block;font-size:.78rem}.points-brief strong{margin-right:8px}.table-swipe-hint{font-size:.72rem}.profile-logo{width:64px}.profile-panel h1{margin-bottom:24px}}
@media(max-width:380px){.shell{padding-inline:10px}.hero{padding:18px}.league-logo{width:72px}.hero h1{font-size:1.8rem}.hero-brand{gap:12px}.fixture-games{grid-template-columns:1fr}.roster-grid{grid-template-columns:1fr}.nav-brand span{font-size:.59rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Owner revision: group tables and a persistent all-player search. */
.standings-group+ .standings-group{margin-top:25px;padding-top:16px;border-top:1px solid var(--line)}.standings-group h3{font-size:1rem;color:var(--gold);margin:0 0 12px}.player-search-form{padding:16px;background:#101216;border:1px solid var(--line);border-radius:8px;margin-top:20px}.player-search-form label{display:block;color:#e8e3d7;font-size:.8rem;font-weight:700;margin-bottom:9px}.player-search-form>div{display:flex;gap:8px}.player-search-form input{flex:1;min-width:0;background:#1b1d21;border:1px solid #555044;color:var(--ink);padding:10px 12px}.player-search-form button:not(.cta){background:var(--gold);color:#17130b;font-size:.8rem;padding:10px 16px;border-radius:6px}.player-search-form button#player-search-clear{background:#2a2c30;color:#dfdcd3;border:1px solid #4a4b4d}.player-search-form button:hover{filter:brightness(1.12)}#player-search-empty{padding:14px;background:#30291d;border-radius:6px;color:#eed49b}@media(max-width:470px){.player-search-form>div{flex-wrap:wrap}.player-search-form input{flex-basis:100%}.player-search-form button{flex:1}}
.metric-control{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}.metric-control label{font-size:.83rem;font-weight:700;color:#e8e3d7}.metric-control select{background:#1b1d21;border-color:#77623d;color:var(--gold);padding:10px 14px;max-width:100%;font-weight:700}.player-table th:nth-child(3),.player-table td:nth-child(3){text-align:left;color:inherit;font-weight:400}.player-table td:nth-child(2){font-weight:800}.player-table td:nth-child(4){color:var(--gold);font-weight:800}.player-table td:first-child{color:#b7b5ae;font-variant-numeric:tabular-nums}
/* Published match drilldown; native disclosure closes in place without navigation. */
#past-matches-section{scroll-margin-top:20px}.past-match-card{background:#101216;border:1px solid #55482e;border-radius:10px;margin:12px 0;overflow:hidden}.past-match-card>summary{cursor:pointer;padding:18px;color:#f1e7ce;list-style-position:inside;min-height:60px}.past-match-card>summary>strong:first-of-type{font-size:1rem;margin-right:10px}.past-match-card>summary>.small{display:block;margin:8px 0 0 18px}.past-match-card .result-badge{display:inline-block;margin:8px 18px;font-size:1.3rem}.detail-hint{font-size:.73rem;color:var(--gold);font-weight:700}.detail-hint::after{content:' · Expand ↓'}.past-match-card[open] .detail-hint::after{content:' · Collapse ↑'}.past-match-card[open]>summary{background:#242017;border-bottom:1px solid #55482e}.past-match-content{padding:8px 20px 20px}.past-game{padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}.past-game h3{font-size:1rem;color:var(--gold);margin:0 0 8px}.past-game-side h4{font-size:.85rem;margin:18px 0 8px;color:#dedbd2}.past-player-table td:first-child{font-weight:700}.past-player-table td{font-size:.75rem}.past-player-table th{font-size:.6rem}.past-match-content>.small{max-width:80ch}@media(max-width:600px){.past-match-card>summary{padding:15px}.past-match-content{padding:4px 14px 16px}.past-match-card>summary>strong:first-of-type{font-size:.9rem}.past-match-card>summary>.small{margin-left:0}.past-game-side .table-wrap{border-right:3px solid #a78948}.past-player-table{min-width:470px}}
.fixture-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px}.fixture-filter label{font-size:.76rem;font-weight:800;color:#d9d3c5}.fixture-filter select{background:#1b1d21;color:var(--gold);border-color:#73603c;padding:9px 12px;font-size:.8rem;max-width:100%}
/* Owner-supplied medal artwork and date-organised photo memories; no stock imagery. */
.medal-showcase{display:grid;grid-template-columns:1fr 1.35fr;gap:24px;align-items:center;padding:24px 28px;margin:20px 0;background:linear-gradient(110deg,#252016,#131519);border:1px solid #76603a;border-radius:12px}.medal-copy h2{font-size:1.65rem;margin:4px 0 10px;color:#f1dbab}.medal-copy>p:last-child{color:var(--muted);font-size:.82rem;margin:0}.medal-art-slot{min-height:125px;display:grid;align-content:center;justify-items:center;gap:8px;border:1px dashed #897246;border-radius:8px;background:#0d0f1266;text-align:center}.medal-art-slot span{color:#d9c9a6;font-weight:700;font-size:.9rem}.medal-art-slot small{color:#a4a39e;font-size:.73rem}.medal-showcase img{width:100%;height:auto;display:block;border-radius:8px}.gallery-empty{padding:38px 24px;border:1px dashed #5b513c;border-radius:9px;background:radial-gradient(ellipse at center,#2d261744,transparent),#101216;text-align:center}.gallery-empty h3{font-size:1.2rem;margin:10px 0;color:#e7dbc0}.gallery-empty>p:last-child{color:var(--muted);font-size:.85rem;max-width:48ch;margin:12px auto 0}.gallery-day{margin-top:24px}.gallery-day h3{font-size:1rem;color:var(--gold);margin-bottom:14px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-photo{margin:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#101216}.gallery-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-photo figcaption{display:grid;gap:10px;padding:13px;font-size:.79rem;color:#c6c4bd}.gallery-save{font-weight:700;font-size:.74rem;text-decoration:none}.gallery-save:hover{text-decoration:underline}.membership-banner{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px;margin-top:24px;border:1px solid #a18145;border-radius:12px;background:linear-gradient(120deg,#312819,#131519)}.membership-banner h2{font-size:clamp(1.3rem,2.5vw,1.85rem);margin:6px 0 12px;color:#f3e0b7;max-width:25ch}.membership-banner p:last-child{color:#c3bdae;font-size:.86rem;margin:0}.membership-banner .cta{flex:none;white-space:nowrap;text-align:center}.matchday-gallery{scroll-margin-top:20px}@media(max-width:800px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-banner{align-items:flex-start;flex-direction:column;gap:20px}.medal-showcase{padding:20px;gap:18px}}@media(max-width:550px){.medal-showcase{grid-template-columns:1fr;gap:16px;padding:18px}.medal-copy h2{font-size:1.35rem}.medal-art-slot{min-height:110px}.gallery-grid{grid-template-columns:1fr}.membership-banner{padding:23px 20px}.membership-banner .cta{width:100%;white-space:normal}.gallery-empty{padding:26px 15px}}
#gallery-filter[hidden]{display:none}
/* Initials until owner-approved portraits exist; stable public IDs select assets. */
.player-identity{display:inline-flex;align-items:center;gap:9px;min-width:0}.player-avatar{position:relative;display:inline-grid;place-items:center;flex:none;width:32px;height:32px;overflow:hidden;border-radius:50%;border:1px solid #78623a;background:linear-gradient(135deg,#42351f,#222329);color:#f0d28f;vertical-align:middle}.player-avatar-initials{font-size:.66rem;font-weight:800;letter-spacing:.02em;line-height:1}.player-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.player-avatar [hidden]{display:none!important}.player-name-cell.player-identity{display:table-cell;white-space:nowrap}.player-name-cell .player-avatar{margin-right:9px}.roster-card .player-identity{font-size:.8rem;line-height:1.4}.player-avatar-profile{width:112px;height:112px;border-width:2px;box-shadow:0 8px 25px #0004}.player-avatar-profile .player-avatar-initials{font-size:2rem}.profile-portrait{margin:18px 0 10px}#profile-content .player-identity{font-weight:700}@media(max-width:470px){.player-avatar{width:28px;height:28px}.player-avatar-profile{width:88px;height:88px}.player-avatar-profile .player-avatar-initials{font-size:1.6rem}.roster-card .player-identity{gap:7px}}
/* Eight section shortcuts. Append after previous league-nav rules. */
:root{--section-nav-offset:110px}
#league-section-nav{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:18px;min-height:82px;padding:14px 0;margin-bottom:24px;border-bottom:1px solid #4b422e;background:#0c0e11;z-index:40}
#league-section-nav.nav-enhanced{position:sticky;top:0}
#league-section-nav .nav-brand{flex:none}
#league-section-nav #section-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;width:auto;margin-left:auto;font-size:.75rem}
#section-links a{display:inline-flex;align-items:center;min-height:42px;padding:7px 5px;white-space:nowrap;border-radius:5px;color:#d6d3c9;text-decoration:none}
#section-links a:hover,#section-links a[aria-current="location"]{color:#f2d28e;background:#2b2519}
#section-menu-toggle{display:none;min-height:44px;padding:9px 13px;border:1px solid #8b7341;border-radius:7px;background:#211e17;color:#eed397;font-family:inherit;font-weight:800;font-size:.8rem;line-height:1.2;cursor:pointer}
#section-menu-toggle::after{content:' ☰';margin-left:5px}
#section-menu-toggle[aria-expanded="true"]::after{content:' ×'}
#section-links a:focus-visible,#section-menu-toggle:focus-visible{outline:3px solid #f4d390;outline-offset:3px}
#fixtures-section,#standings-section,#player-records,#past-matches-section,#rosters-section,#medals-section,#gallery-section,#membership-section{scroll-margin-top:var(--section-nav-offset)}
#fixtures-section:focus-visible,#standings-section:focus-visible,#player-records:focus-visible,#past-matches-section:focus-visible,#rosters-section:focus-visible,#medals-section:focus-visible,#gallery-section:focus-visible,#membership-section:focus-visible{outline:2px solid #c9a65d;outline-offset:5px}
@media(max-width:1100px){
  #league-section-nav{flex-wrap:wrap;gap:12px;min-height:76px;padding:12px 0}
  #league-section-nav #section-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px;margin-left:0}
  #league-section-nav.nav-enhanced{flex-wrap:nowrap}
  #league-section-nav.nav-enhanced #section-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}
  #league-section-nav.nav-enhanced #section-links{display:none;position:absolute;left:0;right:0;top:100%;width:auto;max-height:calc(100dvh - 100px);overflow:auto;padding:12px;background:#14161a;border:1px solid #6c5835;border-radius:0 0 10px 10px;box-shadow:0 18px 28px #0008}
  #league-section-nav.nav-enhanced.nav-menu-open #section-links{display:grid}
  #section-links a{padding:10px 12px;min-height:46px;white-space:normal}
}
@media(max-width:380px){#league-section-nav .nav-brand{font-size:1.1rem}#league-section-nav .nav-brand span{font-size:.52rem;margin-left:7px}#section-menu-toggle{padding:9px 10px}}
.fixture-card,.past-match-card{scroll-margin-top:var(--section-nav-offset)}
/* Exact owner-supplied medal artwork, displayed in full without cropping or alteration. */
.medal-showcase{display:block}.medal-copy{margin-bottom:20px}.medal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.medal-card{margin:0;overflow:hidden;background:#08090b;border:1px solid #56452c;border-radius:9px}.medal-showcase .medal-card img{display:block;width:100%;height:auto;aspect-ratio:1;max-height:240px;object-fit:contain;border-radius:0}.medal-card figcaption{padding:12px 9px;color:#eed7a7;font-weight:800;font-size:.82rem;text-align:center;border-top:1px solid #3c3425}@media(max-width:700px){.medal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medal-copy{margin-bottom:16px}.medal-card figcaption{font-size:.75rem;padding:10px 6px}}
/* Participation is the prominent promise; other awards remain a separate collection below. */
.participation-feature{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);align-items:center;gap:30px;padding:20px;margin:4px 0 24px;background:radial-gradient(ellipse at 15% 50%,#163b7855,transparent 65%),linear-gradient(110deg,#101a2b,#17191d);border:1px solid #b59a58;border-radius:12px;box-shadow:inset 0 1px #f1d69420}.participation-feature figure{margin:0;background:#060b13;border:1px solid #4d6080;border-radius:9px;overflow:hidden}.medal-showcase .participation-feature img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:0}.participation-feature figcaption{padding:10px;text-align:center;color:#d9e7ff;font-size:.8rem;font-weight:800}.participation-copy h3{font-size:clamp(1.35rem,2.8vw,2.25rem);line-height:1.22;color:#fff0cc;margin:10px 0;max-width:26ch;letter-spacing:-.035em}.participation-copy .eyebrow{color:#b8d3ff;font-size:.65rem;line-height:1.5}@media(max-width:700px){.participation-feature{grid-template-columns:minmax(115px,.8fr) minmax(0,1.2fr);gap:18px;padding:14px}.participation-copy h3{font-size:clamp(1.1rem,3.7vw,1.6rem)}.participation-copy .eyebrow{font-size:.54rem}}@media(max-width:420px){.participation-feature{grid-template-columns:1fr}.participation-feature figure{max-width:230px;width:100%;margin:auto}.participation-copy{text-align:center}.participation-copy h3{max-width:28ch;margin:10px auto;font-size:1.3rem}}

/* v9: full, uncropped portrait on player pages and offline profile preview. */
.player-avatar-profile{width:min(100%,340px);height:340px;border-radius:50%;background:#111318}.player-avatar-profile img{object-fit:contain}.profile-portrait{width:100%;max-width:340px}.player-identity:focus-visible{outline:3px solid #e7c675;outline-offset:4px;border-radius:6px}
.preview-player-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:90vh;overflow:auto;background:#14161b;color:#f4f0e7;border:1px solid #a48a50;border-radius:18px;padding:24px}.preview-player-dialog::backdrop{background:#000b}.preview-player-dialog button{margin-bottom:16px}.preview-player-dialog .player-avatar-profile{display:grid;margin:10px auto 20px}.preview-player-dialog h2{font-size:1.7rem}@media(max-width:470px){.player-avatar-profile{width:100%;height:320px;max-width:340px}.preview-player-dialog{padding:18px}}

/* v11: original logo and every section shortcut stay available while scrolling. */
#league-section-nav{position:sticky;top:0;z-index:60}#league-section-nav .nav-brand{display:flex;align-items:center;gap:10px}#league-section-nav .nav-logo{display:block;width:54px;height:54px;object-fit:contain;flex:none}#league-section-nav .nav-brand-title{margin:0;color:#f1e6cb;font-size:1.15rem;letter-spacing:.04em}#league-section-nav .nav-brand-title>span{display:block;margin:3px 0 0;font-size:.55rem;letter-spacing:.14em}.shell{overflow:visible}#league-top{scroll-margin-top:var(--section-nav-offset)}.skip-link{z-index:80}@media(max-width:470px){#league-section-nav .nav-logo{width:44px;height:44px}#league-section-nav .nav-brand-title{font-size:1rem}#league-section-nav{min-height:68px;gap:8px}}

/* v12: clear team identity and authoritative advancement status. */
.profile-team-badge{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;background:#322918;border:1px solid #a68a4c;border-radius:9px;color:#f1d28b!important;font-size:1.25rem;font-weight:850;letter-spacing:.01em;text-decoration:none;margin:8px 0 20px}.profile-team-badge::before{content:'TEAM';font-size:.62rem;letter-spacing:.14em;color:#cbb991}.standings-team-cell{white-space:normal;min-width:180px}.standings-rank{display:inline-grid;place-items:center;min-width:29px;height:29px;border:1px solid #786039;background:#2c2518;border-radius:6px;color:#ddc692;font-size:.8rem;font-weight:800;margin-right:10px}.standings-team-name{font-size:1.08rem;font-weight:850;color:#efd18c!important;text-decoration:none;line-height:1.45}.standings-team-name:hover{text-decoration:underline}.advancement-rule{color:#e6cf9b;font-size:.9rem;line-height:1.6}.qualification-note{font-size:.78rem;color:#bbb6aa;line-height:1.5;margin:14px 0 0}@media(max-width:470px){.standings-team-name{font-size:1rem}.standings-team-cell{min-width:160px}.standings-rank{margin-right:7px}.profile-team-badge{font-size:1.1rem}}

.matchday-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin:18px 0}.matchday-choice{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:100px;padding:20px;background:#201d16;border:1px solid #7a6338;border-radius:12px;color:#ecd08f;text-align:left;cursor:pointer}.matchday-choice strong{font-size:1.12rem}.matchday-choice span{font-size:.8rem;color:#c4bdad}.matchday-choice:hover{background:#302819;border-color:#d9b76d}.matchday-choice:focus-visible,.matchday-back:focus-visible{outline:3px solid #efd18c;outline-offset:3px}.matchday-back{padding:12px 16px;border:1px solid #8b7341;border-radius:8px;background:#272117;color:#efd18c;font-weight:750;cursor:pointer}.matchday-choices[hidden],#matchday-back[hidden],#fixtures[hidden]{display:none!important}
/* v15: scoped specificity beats premium.css button:not(.cta), including interaction states. */
#fixtures-section button.matchday-choice{background:linear-gradient(145deg,#202124 0%,#101113 65%,#08090b 100%);border:1px solid #aa8a4b;color:#f5eddc;box-shadow:inset 0 1px 0 #ffffff08}
#fixtures-section button.matchday-choice strong{color:#f5eddc}
#fixtures-section button.matchday-choice span{color:#d6bc82}
#fixtures-section button.matchday-choice:hover{background:linear-gradient(145deg,#2a2925 0%,#171715 65%,#0c0d0e 100%);border-color:#e5c47d;color:#fff4dc}
#fixtures-section button.matchday-choice:focus-visible{background:linear-gradient(145deg,#262622 0%,#151615 100%);border-color:#f1d18a;outline:3px solid #d9b66b;outline-offset:3px}
#fixtures-section button.matchday-choice:active{background:linear-gradient(145deg,#171818 0%,#090a0b 100%);border-color:#f1d18a}

/* Individual per-game comparison: Home left, Away right; no horizontal table scrolling. */
.past-comparison{min-width:0;width:100%}.past-comparison-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:18px 0 10px}.past-comparison-teams h4{margin:0;color:var(--gold);font-size:1rem;overflow-wrap:anywhere}.past-comparison-teams h4:last-child{text-align:right}.past-comparison-teams small{display:block;color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:5px}.past-comparison-table{width:100%;min-width:0;table-layout:fixed;margin:12px 0 20px;border-collapse:collapse}.past-comparison-table caption{text-align:left;color:var(--muted);font-size:.72rem;padding:5px 0}.past-comparison-table th,.past-comparison-table td{white-space:normal;overflow-wrap:anywhere;padding:10px 5px;text-align:center;vertical-align:middle;font-size:.85rem}.past-comparison-table thead th{color:var(--gold);font-size:.84rem;text-transform:none;letter-spacing:normal}.past-comparison-table th:nth-child(2){width:30%}.past-comparison-table tbody th{color:var(--muted);font-weight:600;font-size:.72rem}.past-comparison-table td{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:700}.past-comparison-table tbody tr:nth-child(odd){background:#ffffff04}@media(max-width:480px){.past-comparison-teams{gap:10px}.past-comparison-teams h4{font-size:.85rem}.past-comparison-table th,.past-comparison-table td{padding:9px 3px;font-size:.77rem}.past-comparison-table tbody th{font-size:.66rem}.past-comparison-table thead th{font-size:.76rem}}

/* Small-screen standings: team/rank/points visible together; all secondary figures retained. */
.standings-mobile{display:none}@media(max-width:600px){.standings-group>.standings-desktop{display:none}.standings-mobile{display:grid;gap:10px}.standings-mobile-card{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(140deg,#202125,#111317)}.standings-mobile-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.standings-mobile-team{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:start}.standings-mobile-team .standings-rank{margin:0}.standings-mobile-team .standings-team-name{font-size:1rem;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.standings-mobile-points{display:grid;text-align:right;color:var(--gold);line-height:1.1;min-width:42px}.standings-mobile-points strong{font-size:1.6rem;font-variant-numeric:tabular-nums}.standings-mobile-points small{font-size:.65rem;margin-top:4px}.standings-mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 6px;border-top:1px solid var(--line);padding-top:10px;margin:12px 0 0}.standings-mobile-stats div{min-width:0}.standings-mobile-stats dt{font-size:.62rem;color:var(--muted);overflow-wrap:anywhere}.standings-mobile-stats dd{margin:2px 0 0;color:var(--ink);font-size:.9rem;font-weight:700;font-variant-numeric:tabular-nums}}

/* Explicit games/legs standings labels, without horizontal overflow. */
.standings-desktop table{table-layout:fixed;width:100%;min-width:0;white-space:normal}.standings-desktop th,.standings-desktop td{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:11px 5px}.standings-desktop th:first-child{width:32%}.standings-desktop .standings-team-cell{min-width:0}.standings-desktop th{font-size:.65rem;line-height:1.4;text-transform:none}.standings-desktop td:last-child{font-size:1.05rem;color:var(--gold);font-weight:900}@media(min-width:601px) and (max-width:800px){.standings-group>.standings-desktop{display:none}.standings-mobile{display:grid;gap:10px}.standings-mobile-card{padding:14px;background:#14161a;border:1px solid var(--line);border-radius:10px}.standings-mobile-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.standings-mobile-team{display:flex;gap:8px;min-width:0}.standings-mobile-team .standings-team-name{overflow-wrap:anywhere;white-space:normal}.standings-mobile-points{display:grid;text-align:right;color:var(--gold)}.standings-mobile-points strong{font-size:1.6rem}.standings-mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 0}.standings-mobile-stats dt{font-size:.75rem;color:var(--muted)}.standings-mobile-stats dd{margin:3px 0 0;font-weight:700}}

/* Full-width schedule then standings: eight explicit headers need the whole content column. */
.columns > #fixtures-section,
.columns > #standings-section { grid-column: 1 / -1; }
.standings-desktop th { overflow-wrap: normal; word-break: normal; }

/* Scoped square display of unmodified owner-supplied originals (3 Nov 2026). */
.player-avatar.player-portrait-square { border-radius:50%; aspect-ratio:1 / 1; }
.player-avatar-profile.player-portrait-square { width:min(100%,340px); height:auto; aspect-ratio:1 / 1; border-radius:50%; }
.player-avatar.player-portrait-square img { object-fit:cover; }
.player-avatar.portrait-5f06603211bd2105c029b7f1 img { object-position:50% 54%; }
.player-avatar.portrait-ee312b4888d63041573bc1d6 img { object-position:50% 69%; }
.player-avatar.portrait-d5807d3d2b7e7de06ea1458c img { object-position:50% 45%; }

/* Public membership identifiers supplement names without replacing internal scoring keys. */
.player-identity-label { min-width:0; }
.player-identity .adas-player-id { display:block; color:#c9c6bc; font-size:.7rem; font-weight:400; line-height:1.5; text-decoration:none; }
.profile-adas-player-id { margin:-.3rem 0 1.4rem; color:#d9bd78; font-size:.95rem; letter-spacing:.025em; }

/* Preserve the full group width and trim only the outer edges of the candid match photo. */
.gallery-photo-wide img { aspect-ratio:16/9; object-position:55% center; }

/* Larger player photos in leaderboard, rosters, and team lists. */
/* Make player faces legible in lists while retaining the existing profile portrait. */
#player-records .player-avatar-small,
#profile-content .player-avatar-small {
  width: 64px;
  height: 64px;
}

#rosters .player-avatar-small {
  width: 56px;
  height: 56px;
}

#rosters .roster-card .player-identity {
  min-height: 56px;
  gap: 12px;
}

#player-records .player-name-cell .player-avatar {
  margin-right: 12px;
}

@media (max-width: 470px) {
  #player-records .player-avatar-small,
  #profile-content .player-avatar-small {
    width: 56px;
    height: 56px;
  }

  #rosters .player-avatar-small {
    width: 52px;
    height: 52px;
  }

  #rosters .roster-card .player-identity {
    min-height: 52px;
    gap: 10px;
  }
}
