/* Selected palette: ink black, ivory, vermilion. Team colors stay independent. */
:root{--bg:#f7f4ed;--ink:#252321;--muted:#756f67;--green:#272522;--lime:#fff7e8;--line:#e3ded5;--red:#a64939;--brand:#272522}
body{background:var(--bg)}
.site-header{border-top-color:#272522;background:#fffdf7}.brand-tile{background:#272522;box-shadow:0 3px 0 #111;color:#fff7e8}.brand small{color:#71665a}
.site-header nav a.active{color:#272522;border-bottom-color:#ba3c30}.button{background:#272522}.button:hover{background:#44403a;box-shadow:0 3px 10px #27252218}
button:focus-visible,a:focus-visible{outline-color:#ba3c30}input,select{accent-color:#ba3c30}
.history-heading{background:#272522;border-color:#272522;border-left:5px solid #ba3c30;color:#fff7e8}.history-heading h1{color:#fff7e8}.history-heading p{color:#d5c7b4}.history-heading p strong{color:#f3d5b1}.history-heading:after{color:#ffffff0a}.history-heading .badge{background:#ffffff12;color:#ddd0be}.history-heading>.button{background:#ba3c30;color:white}.history-heading>.button:hover{background:#9c3027}
.stage-nav a.button[aria-current="page"]{background:#272522;border-color:#272522;box-shadow:none}.stage-nav button.active{color:#272522;border-color:#ba3c30}
.history-layout .section-head h2{border-left-color:#272522}.history-layout .rank-row:first-child{background:linear-gradient(90deg,#eee8de,#fffefa)}.history-layout .rank-row:first-child .rank,.history-layout .rank-row:first-child>.num{color:#ba3c30}
.card{background:#fffdf8}.badge{background:#ede8df;color:#5f5447}.badge.red{background:#f5e3dc;color:#963c2d}.badge.gold{background:#f5ead3;color:#88652e}
.avatar{background:#ede8df;color:#53463b}.detail-hero,.spotlight{background:#ede8df;border-color:#e1d7c9}.spotlight .number,.player-top strong{color:#272522}
.leader-banner,.result-head,.hero{background:#272522}.leader-banner small,.result-head p,.hero p{color:#d2c7b8}.hero-art{background:radial-gradient(ellipse at center,#514941,transparent 65%)}
.history-notice{background:#ede8df;border-left-color:#ad9b80}.positive{color:#ba3c30}.negative{color:#26745a}.timeline svg{color:#53463b}
#mobile-nav a.active{background:#ede8df;color:#272522;box-shadow:inset 0 -2px #ba3c30}.site-footer strong{color:#272522}
.context-bar select{border-color:#d6cfc4}.page-title{border-bottom:1px solid var(--line);padding-bottom:20px}.page-title .eyebrow{color:#8d7352}.result-head{border-left:4px solid #ba3c30}.detail-hero{border:1px solid var(--line);border-left:4px solid #272522}.leader-banner{border-left:4px solid #ba3c30}.match-card:hover{border-color:#c9bca8}.table-scroll th{background:#eee8df}.metric-grid>div{background:#fffdf8}.stage-nav a.button:hover{background:#eee8df}.stage-nav a.button[aria-current="page"]:hover{background:#403a33}.history-layout .rank-row:first-child:hover{background:#eee8de}
@media(max-width:640px){.filters label{min-width:calc(50% - 8px)}.filters .checkbox{flex:1 1 44%;min-width:0}.result-head h1{font-size:23px;overflow-wrap:anywhere}.detail-hero h1{font-size:25px;overflow-wrap:anywhere}.detail-hero>div{min-width:0}.leader-banner{gap:16px}.leader-banner h2{overflow-wrap:anywhere}.leader-banner>strong{white-space:nowrap;font-size:25px}.schedule-row h3{overflow-wrap:anywhere}.schedule-time{font-size:15px}.table-scroll{max-width:100%}.table-scroll table{font-size:12px}.page-title{margin-top:16px}.site-footer{overflow-wrap:anywhere}.history-heading p strong{display:inline-block}.stage-nav{scrollbar-width:thin}}

.site-header .account-link{color:inherit;white-space:nowrap;font-size:13px;text-decoration:none;padding:8px 10px}

.player-top strong.positive,.leader-banner>strong.positive{color:#ba3c30}.player-top strong.negative,.leader-banner>strong.negative,.history-layout .rank-row:first-child>.num.negative{color:#26745a}

/* Consistent spectator spacing and readable responsive cards. */
.site-header{padding:18px max(24px,calc((100vw - 1200px)/2));gap:24px}.brand{flex-shrink:0}.site-header nav{gap:24px}.context-bar{padding:16px 0}.page-title{margin:12px 0 18px;padding-bottom:16px}.page-title h1{font-size:32px;margin:10px 0 6px}.stage-nav{margin:0 0 18px;padding:0;overflow-x:auto;flex-wrap:nowrap}.stage-nav>*{flex-shrink:0}
.filters{gap:12px;align-items:flex-end;margin:16px 0 20px}.filters label{flex:1 1 150px;min-width:0}.filters select,.filters input{width:100%;min-height:42px}.filters button{min-height:42px}.filters label:has(#metric){flex-basis:220px}.filters #metric{min-width:0}.note:empty{display:none}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;white-space:nowrap}
.player-top{gap:16px;margin:20px 0}.player-top .card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding:22px;align-items:center}.player-top .eyebrow{grid-column:1/-1}.player-top .identity{margin:0;min-width:0}.player-top h3{overflow-wrap:anywhere}.player-top .card>small{grid-column:1;grid-row:3;overflow-wrap:anywhere;line-height:1.6}.player-top .card>strong{grid-column:2;grid-row:2/4;white-space:nowrap;font-size:28px;text-align:right}
.table-scroll{overscroll-behavior-x:contain;scrollbar-width:thin}.table-scroll td{font-variant-numeric:tabular-nums}.table-scroll th{font-size:12px}.table-scroll table .identity{min-width:140px}.section-head{flex-wrap:wrap}.section-head h2{font-size:22px}.match-meta{flex-wrap:wrap;gap:8px}.identity{min-width:0}.identity>div{min-width:0}.rank-row>.num{flex-shrink:0;white-space:nowrap}.home-stats{margin-bottom:24px}.schedule-row{gap:20px}.site-footer{padding-top:22px}
@media(min-width:641px) and (max-width:950px){.match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.match-grid>:last-child{display:block}.player-top{grid-template-columns:1fr}.player-top .card{padding:18px}}
@media(max-width:640px){
 .site-header{padding:12px 16px}.brand{font-size:21px}main,.context-bar,.site-footer{margin-left:16px;margin-right:16px}.context-bar{padding:12px 0}.context-bar label{font-size:11px}.context-bar select{min-height:40px}.hero{min-height:0;grid-template-columns:1fr;border-radius:12px}.hero-copy{padding:24px!important}.hero h1{font-size:27px;margin:12px 0;max-width:100%}.hero p{font-size:12px}.hero-art{display:none}.hero-links{gap:10px;flex-wrap:wrap;margin-top:20px}.hero-links .button{flex:1}.home-next-matchday{margin:22px 0}.home-next-matchday .section-head{gap:12px;margin-top:20px}.home-next-matchday .section-head p{margin:5px 0}.home-next-matchday .section-head>a{min-height:38px;padding:8px 12px;font-size:11px}
 .page-title{margin-top:8px;padding-bottom:12px;margin-bottom:12px}.page-title h1{font-size:26px;margin:8px 0 4px}.page-title .eyebrow{font-size:9px}.stage-nav{margin-bottom:12px;gap:8px}.stage-nav button{padding:10px 8px}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px}.filters label{min-width:0!important;margin:0}.filters #metric{min-width:0}.filters label:has(#metric){grid-column:1/-1}.filters .checkbox{display:flex;align-items:center;gap:6px}.filters input[type=checkbox]{width:auto;min-height:0}.filters button{width:100%;min-height:42px}.section-head h2{font-size:20px}.leader-banner{padding:18px}.leader-banner>strong{font-size:24px}.leader-banner h2{font-size:18px}
 .player-top{grid-template-columns:1fr;gap:10px}.player-top .card{padding:16px;gap:8px 12px}.player-top .card>strong{font-size:26px}.player-top .card>small{font-size:11px}.player-top .identity{margin:0}.table-scroll th:first-child,.table-scroll td:first-child{position:sticky;left:0;background:#fffdf8;z-index:1}.table-scroll th:first-child{background:#eee8df}.table-scroll td:first-child{border-right:1px solid var(--line)}.table-scroll table .identity{min-width:120px;gap:8px}.table-scroll .rank{width:20px;font-size:18px}
 #mobile-nav{padding:6px 8px calc(6px + env(safe-area-inset-bottom));gap:4px}#mobile-nav a{flex:1;padding:10px 4px}.site-footer{padding-bottom:100px}.schedule-lineup{gap:14px 10px}.schedule-contender strong{font-size:12px;line-height:1.6}
}

header .account-identity{display:inline-flex;align-items:center;gap:8px;max-width:260px;min-width:0;text-decoration:none}header .account-identity>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header .account-identity>small{flex-shrink:0;font-size:11px;font-weight:500;padding:2px 6px;border:1px solid currentColor;border-radius:5px;color:inherit;opacity:.85}@media(max-width:850px){header .account-identity{max-width:100%;flex-wrap:wrap;justify-content:center;gap:3px 6px}header .account-identity>small{font-size:10px}}

.seat-wind{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 5px;border:1px solid #d8cfc1;border-radius:5px;background:#eee8df;color:#40372d;font-size:12px;font-weight:650;vertical-align:middle;white-space:nowrap}

/* Results end with seat winds; scheduled fixtures emphasize four equal team columns. */
.match-card .result-seat{flex:0 0 26px;align-self:center;margin-left:2px}.match-card .scoreline{gap:10px}.match-card .result-player{line-height:1.6}
@media(max-width:640px){.match-card .scoreline{gap:8px}}

/* Event identity banner; schedule presentation remains unchanged. */
.event-banner[hidden]{display:none}.event-banner{background:#f7f4ed url('/assets/event-ink.png') center 55% / cover no-repeat;border-bottom:1px solid var(--line)}.event-banner-inner{max-width:1200px;min-height:202px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 0;box-sizing:border-box}.event-banner-copy{max-width:78%;min-width:0}.event-banner h2{margin:0;color:#252321;font-family:'Noto Serif CJK SC','Songti SC','SimSun',serif;font-size:clamp(28px,3.4vw,48px);line-height:1.4;letter-spacing:2px;overflow-wrap:anywhere}.event-banner h2 span{color:#913a2d;font-size:1.22em;white-space:nowrap}.event-banner p{margin:12px 0 0;font-size:10px;letter-spacing:4px;color:#514b45;line-height:1.8}.event-banner-seal{color:#252321;background:#a64a38;font-family:serif;font-size:24px;padding:2px 6px;line-height:1.2;margin-right:28px;transform:rotate(-4deg)}
@media(max-width:1280px){.event-banner-inner{margin:0 24px}}
@media(max-width:640px){.event-banner{background-position:60% center}.event-banner-inner{min-height:134px;margin:0;padding:24px 18px;gap:12px}.event-banner-copy{max-width:90%}.event-banner h2{font-size:25px;letter-spacing:1px;line-height:1.45}.event-banner p{font-size:8px;letter-spacing:1.8px;margin-top:8px}.event-banner-seal{display:none}}

/* Approved schedule refinement: chronological rows, positional seat headings. */
.schedule-heading h1{font-size:28px;margin:14px 0 18px}.schedule-tools{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);margin-bottom:24px}.schedule-tools .stage-nav{flex:1;margin:0;border:0}.schedule-month{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;background:#fffdf8;overflow:hidden}.schedule-month button,.schedule-month select{border:0;background:transparent;color:var(--ink);height:36px;padding:0 10px;font:inherit;font-size:13px}.schedule-month button{cursor:pointer;font-size:24px}.schedule-month button:disabled{opacity:.3;cursor:default}.schedule-filter-toggle{border:1px solid var(--line);border-radius:5px;background:#fffdf8;padding:9px 17px;cursor:pointer;color:var(--ink)}#schedule-filter-panel[hidden]{display:none}.refined-schedule h2{font-size:23px;margin:24px 0 12px}.refined-schedule h2 small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.refined-schedule .schedule-row{display:grid;grid-template-columns:80px minmax(0,1fr) 115px;gap:18px;align-items:center;padding:22px}.refined-schedule .schedule-main{min-width:0}.refined-schedule h3{font-size:12px;margin:0 0 12px}.refined-schedule .schedule-lineup{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.schedule-slot{min-width:0}.schedule-seat-heading{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.refined-schedule .schedule-contender{display:flex;align-items:center;gap:9px;min-width:0}.refined-schedule .schedule-contender>div{min-width:0}.refined-schedule .team-mark,.refined-schedule .avatar{display:flex;flex-shrink:0;width:34px;height:40px;font-size:12px}.refined-schedule .schedule-contender strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.refined-schedule .schedule-contender small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--muted)}.schedule-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;font-size:11px}.schedule-result-link{border:1px solid #615a51;border-radius:5px;padding:10px 12px;text-align:center;font-size:12px}.schedule-resource{color:var(--muted);overflow-wrap:anywhere}.refined-schedule .schedule-time{font-size:21px;font-variant-numeric:tabular-nums}
@media(max-width:760px){.schedule-tools{flex-wrap:wrap;gap:10px;padding-bottom:14px}.schedule-tools .stage-nav{flex-basis:100%;overflow:auto;white-space:nowrap}.schedule-month{margin-right:auto}.refined-schedule .schedule-row{grid-template-columns:1fr;gap:12px;padding:16px}.refined-schedule .schedule-lineup{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.refined-schedule h3{margin-bottom:14px}.schedule-actions{flex-direction:row;flex-wrap:wrap;align-items:center}.schedule-result-link{flex:1}.refined-schedule .schedule-time{font-size:18px}}

[data-fixture-id]{cursor:pointer}[data-fixture-id]:focus-visible{outline:2px solid var(--red);outline-offset:-3px}[data-fixture-id]:hover{background-color:#fffdf9}.home-next-matchday{margin:12px 0 30px;padding:22px;border:1px solid var(--line);border-top:2px solid var(--red);border-radius:9px}.home-next-matchday.illustrated-matchday{background:#f5f1e7 url('/assets/matchday-landscape.png') center bottom / 100% auto no-repeat;padding-bottom:16px}.home-next-matchday .section-head{margin:0 0 16px}.home-next-matchday h2{font-size:24px;margin:0}.home-next-matchday h2:before{content:'';display:inline-block;width:10px;height:10px;background:var(--red);border-radius:50%;margin-right:12px}.home-next-matchday .section-head>a{font-size:13px;color:var(--red)}.matchday-date{font-size:21px;font-weight:700;margin:0 0 14px}.matchday-date small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.home-fixtures{display:grid;gap:12px}.home-next-matchday .home-fixture{background:#fffdf9ed;border:1px solid var(--line);border-radius:8px;padding:20px;display:grid;grid-template-columns:155px minmax(0,1fr);gap:14px;align-items:center}.home-next-matchday .home-fixture-head{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0}.home-fixture-head strong{font-size:23px}.home-fixture-head span{font-size:12px;color:var(--muted)}.home-next-matchday .schedule-lineup{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}.home-next-matchday .schedule-contender{display:flex;align-items:center;gap:10px;min-width:0}.home-next-matchday .schedule-contender>div{min-width:0}.home-next-matchday .team-mark,.home-next-matchday .avatar{display:flex;width:38px;height:42px;flex-shrink:0}.home-next-matchday .schedule-contender strong{font-size:12px;overflow-wrap:anywhere}.home-next-matchday .schedule-contender small{font-size:11px;display:block;margin-top:5px;color:var(--muted)}.fixture-switch-hint{text-align:center;color:#655f56;font-size:11px;margin:62px 0 0}.home-next-matchday .note{grid-column:1/-1}
@media(max-width:760px){.home-next-matchday{padding:16px}.home-next-matchday h2{font-size:21px}.home-next-matchday .home-fixture{grid-template-columns:1fr;padding:14px;gap:14px}.home-next-matchday .home-fixture-head{flex-direction:row;align-items:center;gap:12px}.home-fixture-head strong{font-size:20px}.home-next-matchday .schedule-lineup{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-next-matchday.illustrated-matchday{background-size:auto 260px}.fixture-switch-hint{margin-top:48px}.home-next-matchday .section-head{gap:8px}.home-next-matchday .section-head>a{font-size:11px}}

.refined-schedule .team-mark,.refined-schedule .avatar,.home-next-matchday .team-mark,.home-next-matchday .avatar{align-items:center;justify-content:center;object-fit:contain}.home-next-matchday img.avatar,.refined-schedule img.avatar{object-fit:cover}@media(max-width:760px){.home-next-matchday.illustrated-matchday{background-position:70% bottom}}

.result-score-heading{display:flex;justify-content:flex-end;gap:12px;font-size:10px;color:var(--muted);margin:4px 0}.result-score-heading small{margin-right:auto}.result-score-toggle{border:0;background:transparent;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer;padding:5px 0;min-width:64px;text-align:right}.result-score-toggle.positive{color:#b33e30}.result-score-toggle.negative{color:#26745a}.result-score-toggle:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.result-score-toggle:focus-visible{outline:2px solid var(--red);outline-offset:3px}.result-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.result-media{display:flex;gap:6px;flex-wrap:wrap}.result-media a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.result-media svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.result-media a:hover{color:var(--red);border-color:var(--red)}.result-detail-link{font-size:12px;white-space:nowrap}.result-card-tags{display:flex;gap:6px;flex-wrap:wrap}.match-card .identity>small{white-space:nowrap}

/* Uploaded team marks keep their original image; feather fallback uses team color. */
.team-mark.team-feather{background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--team);padding:0;display:inline-flex;align-items:center;justify-content:center}.team-feather svg{display:block;width:100%;height:100%;max-width:48px;fill:currentColor}.detail-hero>.team-feather svg{max-width:90px}

.schedule-seat-order{font-size:10px;line-height:1.5;color:var(--muted);margin:0 0 9px;letter-spacing:.5px}.seat-order-mobile{display:none}.home-fixture>.schedule-seat-order{grid-column:2;margin-bottom:-8px}.home-fixture:has(>.schedule-seat-order)>.home-fixture-head{grid-row:1/3}.home-fixture:has(>.schedule-seat-order)>.schedule-lineup{grid-column:2}@media(max-width:760px){.seat-order-desktop{display:none}.seat-order-mobile{display:inline}.home-fixture>.schedule-seat-order{grid-column:1;margin-bottom:-5px}.home-fixture:has(>.schedule-seat-order)>.home-fixture-head{grid-row:auto}.home-fixture:has(>.schedule-seat-order)>.schedule-lineup{grid-column:1}}

/* Decorative column stays separate from team identity and all charts. */
.detail-hero.team-profile-art{position:relative;overflow:hidden;align-items:center}.team-profile-art>div{flex:1;min-width:0;position:relative;z-index:1}.team-profile-art:after{content:'';display:block;align-self:stretch;flex:0 0 34%;min-height:120px;background:url('/assets/team-profile-art.png') right center / auto 100% no-repeat;pointer-events:none}.team-profile-art h1,.team-profile-art p{overflow-wrap:anywhere}@media(max-width:640px){.detail-hero.team-profile-art{gap:14px;padding:20px 16px}.team-profile-art:after{flex-basis:20%;min-height:90px;opacity:.7}.team-profile-art>.team-mark{width:48px;min-width:48px;height:60px}}

.team-profile-art:after{mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,#000 35%);background-size:auto 150%}

/* Player spotlight: quiet ink landscape, clear portrait and score. */
.spotlight{position:relative;isolation:isolate;overflow:hidden;min-height:250px;background:#f0ebe2;padding:28px;border-color:#ddd3c4}
.spotlight:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f0ebe2 0%,#f0ebe2e8 48%,#f0ebe238 100%),url('/assets/team-profile-art.png') right center/auto 100% no-repeat;opacity:.65}
.spotlight:after{content:"";position:absolute;right:22px;top:24px;width:30px;height:3px;background:#b83c30;opacity:.7}
.spotlight .identity{gap:16px;align-items:center;margin:20px 0 12px!important}
.spotlight .avatar{width:68px;height:68px;flex:0 0 68px;border:3px solid #fffaf1;box-shadow:0 3px 12px #34281b14;background:#ded6c8;color:#8c7c66}
.spotlight .spotlight-default svg{width:100%;height:100%;fill:currentColor}
.spotlight h3{margin:0;font-size:25px;overflow-wrap:anywhere}
.spotlight p{color:#776957;max-width:85%;line-height:1.8}
.spotlight .number{margin-top:18px;font-size:38px;font-variant-numeric:tabular-nums;color:#a6372b}
.spotlight .number small{color:#877966;font-weight:500;margin-left:3px}
@media(max-width:600px){.spotlight{padding:24px;min-height:240px}.spotlight .avatar{width:60px;height:60px;flex-basis:60px}.spotlight h3{font-size:22px}}

/* Align boolean filters to the same 42px control row as dates and actions. */
.filters label.checkbox{flex:0 0 auto;min-width:0;min-height:42px;margin:0;display:flex;flex-direction:row;align-items:center;gap:8px;padding:0 4px;white-space:nowrap;align-self:end}
.filters label.checkbox input[type=checkbox]{width:16px;height:16px;min-height:0;flex:0 0 16px;margin:0;padding:0;accent-color:#ba3c30}
.filters>button{height:42px;align-self:end;margin:0}
@media(max-width:640px){.filters label.checkbox{min-height:42px;padding:0;justify-content:flex-start}.filters label:has(#search){grid-column:1/-1}}

.site-header .brand.brand-wide .brand-tile{width:156px;height:68px;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}.site-header .brand.brand-wide>span{display:none}@media(max-width:600px){.site-header .brand.brand-wide .brand-tile{width:124px;height:54px}}

/* Quiet flame ornament confined to the leading-team banner. */
.leader-banner{position:relative;isolation:isolate;overflow:hidden}
.leader-banner:before{content:"";position:absolute;z-index:-1;pointer-events:none;right:0;bottom:0;width:65%;height:100%;background:url('/assets/leader-flames.png') right 72%/cover no-repeat;opacity:.78;mask-image:linear-gradient(90deg,transparent,#000 26%,#000 72%,transparent)}
.leader-banner>div,.leader-banner>strong{position:relative;z-index:1}
@media(max-width:640px){.leader-banner:before{width:90%;opacity:.5}}

/* Shared row sizing keeps the home ranking and spotlight edges aligned. */
.home-columns>section{display:flex;flex-direction:column;min-width:0}.home-columns>section>.section-head{flex:0 0 auto}.home-columns>section>.card,.home-columns>section>.spotlight,.home-columns>section>.empty{flex:1 0 auto;margin-bottom:0}

/* Fill the aligned spotlight with a stronger portrait and anchored score. */
.home-columns .spotlight{display:flex!important;flex-direction:column;padding:26px 28px}
.home-columns .spotlight .identity{margin:16px 0 10px!important;gap:18px}
.home-columns .spotlight .avatar{width:84px;height:84px;flex-basis:84px}
.home-columns .spotlight h3{font-size:30px;line-height:1.3}
.home-columns .spotlight .number{margin-top:auto;padding-top:18px;font-size:46px;line-height:1.2}
.home-columns .spotlight p{font-size:12px}
@media(max-width:600px){.home-columns .spotlight{padding:24px;min-height:270px}.home-columns .spotlight .avatar{width:72px;height:72px;flex-basis:72px}.home-columns .spotlight h3{font-size:26px}.home-columns .spotlight .number{font-size:40px}}

.schedule-contender .lineup-assignment{display:block;margin-top:4px;font-size:10px;font-weight:400;color:#938779}.schedule-contender .lineup-assignment.assigned{color:#73604a}

/* Desktop podium cards and one compact mobile leader. */
.player-top>.card{position:relative;isolation:isolate;overflow:hidden;background:#fffdf8}
.player-top>.card:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fffdf8 12%,#fffdf8d9 50%,#fffdf84d),url('/assets/team-profile-art.png') right center/auto 100% no-repeat;opacity:.7}
.player-top>.card:nth-child(2):before{opacity:.5}.player-top>.card:nth-child(3):before{opacity:.35}
.player-mobile-leader{display:none}
@media(max-width:640px){.player-top{display:none}.player-mobile-leader{display:flex;gap:14px}.player-mobile-leader .identity{gap:10px;margin-top:10px}.player-mobile-leader .avatar{width:38px;height:38px;object-fit:cover}.player-mobile-leader>div{min-width:0}.player-mobile-leader h2{font-size:17px}.player-mobile-leader>strong{font-size:25px;flex-shrink:0}.player-mobile-leader>div>small{font-size:10px}}

/* Four-fixture days keep time, lineup and result in explicit columns. */
.home-next-matchday .home-fixture{grid-template-columns:125px minmax(0,1fr) 80px;min-height:126px;gap:20px}
.home-fixture>.home-fixture-head{grid-column:1;grid-row:1}
.home-fixture>.home-fixture-lineup{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:74px}
.home-fixture-lineup .schedule-seat-order{margin:0 0 8px}
.home-fixture>.home-fixture-result{grid-column:3;grid-row:1;justify-self:end;font-size:12px;color:#756655;white-space:nowrap;border-bottom:0;padding:5px 0}
.home-fixture>.note{grid-row:2;margin:0}
@media(max-width:760px){.home-next-matchday .home-fixture{grid-template-columns:minmax(0,1fr) auto;gap:14px;min-height:0}.home-fixture>.home-fixture-head{grid-column:1;grid-row:1;flex-wrap:wrap;justify-content:flex-start}.home-fixture>.home-fixture-lineup{grid-column:1/-1;grid-row:2;min-height:0}.home-fixture>.home-fixture-result{grid-column:2;grid-row:1}.home-fixture>.note{grid-row:3}}

.public-account-actions{display:flex;align-items:center;gap:16px;min-width:0}.manage-direct-link{white-space:nowrap;font-size:13px;padding:8px 12px;border:1px solid #cfc5b5;border-radius:6px;color:#40372d}.manage-direct-link:hover{background:#eee8dd}
@media(max-width:640px){.public-account-actions{gap:8px}.public-account-actions .account-identity{max-width:100px;font-size:12px;gap:2px}.manage-direct-link{font-size:12px;padding:8px}.site-header:has(.public-account-actions){gap:10px;flex-wrap:wrap}}

/* A single legend replaces repeated seat captions inside home cards. */
.home-fixture-lineup>.schedule-seat-order{display:none}
.home-fixture-lineup{justify-content:center}
.fixture-order-mobile{display:none}
@media(max-width:760px){.fixture-order-desktop{display:none}.fixture-order-mobile{display:inline}}

[data-result-card]{cursor:pointer}[data-result-card]:focus-visible{outline:2px solid var(--red);outline-offset:3px}

header .portal-switch{display:inline-block;width:104px;flex:0 0 104px;min-height:38px;margin:0;padding:7px 10px;border:1px solid #bfb3a0;border-radius:6px;background:#fffdf8;color:#272522;font:500 12px/1.5 system-ui;cursor:pointer}header .portal-switch option{background:#fffdf8;color:#272522}@media(max-width:600px){header .portal-switch{width:88px;flex-basis:88px;padding:7px 6px}.manage-account{flex-wrap:wrap}.public-account-actions{flex-wrap:wrap;justify-content:flex-end}.manage-header .manage-account{gap:10px}}

/* Uploaded team artwork keeps its original silhouette. */
img.team-mark{object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}

.filters .filter-icon-button,.schedule-tools .filter-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;min-width:42px;height:42px;padding:0}.filter-icon-button svg{display:block;flex-shrink:0;pointer-events:none}@media(max-width:640px){.filters .filter-icon-button,.schedule-tools .filter-icon-button{width:44px;min-width:44px;height:44px;flex-basis:44px}}

.matchday-live{display:inline-flex;align-items:center;gap:6px;margin-left:12px;font:600 12px/1.5 system-ui;color:#817b73;vertical-align:middle;white-space:nowrap}.matchday-live i{width:7px;height:7px;border-radius:50%;background:#99958e}.matchday-live.is-live{color:#26834a}.matchday-live.is-live i{background:#2caa60}.matchday-live:hover{text-decoration:none;color:#39312a}

.home-fixture>.home-fixture-result,.home-fixture>.home-fixture-result:hover,.schedule-result-link,.schedule-result-link:hover,.matchday-live{text-decoration:none}.home-fixture>a.home-fixture-result:hover,.schedule-result-link:hover{color:#ba3c30}.matchday-live.is-live:hover{color:#1d663a}

.schedule-tools .schedule-month{border:0;background:transparent;border-radius:0}.schedule-tools .schedule-month button,.schedule-tools .schedule-month select{background:transparent;box-shadow:none}.schedule-tools .schedule-filter-toggle{border:0;background:transparent;box-shadow:none}.schedule-tools .schedule-month button:hover:not(:disabled),.schedule-tools .schedule-filter-toggle:hover{background:#eee8df;color:#ba3c30;border-radius:5px}
