/* One visual system for reports, league tools, account and support pages. */
:root{color-scheme:dark;--bg:#090d16;--panel:#111827;--line:#2b3648;--muted:#aebbcf;--lime:#b7f22d;--accent:#b7f22d;--radius:14px}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f1f5fb;line-height:1.6}body::before{display:none}[hidden]{display:none!important}
.wrap,.page{width:min(1100px,calc(100% - 40px));margin-inline:auto}.page{padding-top:0}.wrap>main{padding-top:20px}.page:has(#opening){max-width:1100px;padding-top:0}.page:has(#signin:not([hidden])){max-width:780px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:14px 0;border-bottom:1px solid var(--line);margin:0}.site-header::before{display:none}.site-header .brand{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;color:#f1f5fb;font-size:1.125rem;font-weight:800;line-height:1.2;letter-spacing:-.035em;text-decoration:none;text-align:left}.site-header .brand b,.site-header .mark{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;margin:0;background:var(--lime);color:#0a1205;border-radius:8px;font-size:.8125rem;font-weight:850;box-shadow:none}.site-header>a:not(.brand),.site-header .header-links a{color:var(--muted);font-size:.875rem;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.site-header a:hover{text-decoration:underline;text-underline-offset:4px}.site-header .header-links{display:flex;gap:16px;align-items:center}
button,input,select,textarea{font-family:inherit}input,select,textarea{font-size:1rem;min-height:48px;border-radius:10px;max-width:100%;min-width:0}input:not([type=checkbox]):not([type=radio]),select,textarea{background:#0c1320;color:#f1f5fb;border:1px solid #40506a}button,.button,.account-link{font-size:.9375rem;line-height:1.4;min-height:44px;border-radius:10px;white-space:normal}button:disabled{cursor:not-allowed;opacity:.55}label{font-size:.875rem;line-height:1.4}a{text-underline-offset:4px}:focus-visible{outline:3px solid #57d8ff;outline-offset:3px}.actions,.account-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.actions>*{margin:0}.panel,.account-league{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px;margin-block:20px}.panel>h2:first-child{margin-top:0}h1,h2,h3{overflow-wrap:break-word}p:empty,[role=status]:empty{display:none}.status,.account-status{font-size:.9375rem;color:var(--muted)}.empty{padding:24px;border-radius:12px;line-height:1.6}
/* Consistent compact league navigation, independent of the selected content. */
.league-head{display:block;margin:14px 0 10px}.league-context{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.league-head>div:last-child{display:flex;align-items:center;gap:12px}.league-head label{margin:0;flex-shrink:0}.league-head select{max-width:440px;min-height:44px;padding:8px 36px 8px 12px}
.tabs,#namedLeagueLinks.league-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-bottom:1px solid var(--line);padding:0 0 10px;margin:0 0 12px;order:-5}.tabs button,#namedLeagueLinks a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;padding:9px 6px;background:transparent;border:0;border-radius:9px;color:var(--muted);font-size:.875rem;line-height:1.35;text-align:center;text-decoration:none;font-weight:500}.tabs button[aria-current=page],#namedLeagueLinks a[aria-current=page]{background:#1c2a22;color:#d9f4a4}.tabs button:hover,#namedLeagueLinks a:hover{background:#182332}
#recapOptions{margin:0 0 12px;border-top:0}#recapOptions>summary{font-size:.875rem;padding:10px 0;min-height:44px}#recapOptions #namedLeagueNav{margin:4px 0 12px}#recapOptions #namedLeagueSelect{min-height:44px}#recapOptions .hero{padding:0;border:0;background:transparent}.embedded #namedLeagueLinks{display:none!important}.embedded .wrap{width:100%;max-width:none}.embedded .wrap>main{padding-top:0}.embedded #recapOptions{margin-top:0}.embedded #namedLeagueNav{display:none!important}.written-edition .results-head{padding-bottom:12px}.written-edition .lead-story>p{font-size:1rem;line-height:1.75}.written-edition .lead-story>h3{line-height:1.15}.matchup-story>summary{min-height:60px}.table{max-width:100%;overflow:auto}th,td{font-variant-numeric:tabular-nums}footer.site-footer,.shared-footer{display:flex;flex-wrap:wrap;gap:4px 20px;border-top:1px solid var(--line);margin-top:32px;padding:16px 0 calc(24px + env(safe-area-inset-bottom));font-size:.875rem}.site-footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted)}
/* Keep the marketing receipt and sample paper visually distinct. */
.page:has(#opening:not([hidden])) .shell-account{visibility:hidden}.page .opening-nav{top:16px;right:0;min-height:44px;display:inline-flex;align-items:center;padding:0;font-size:.875rem}.page:has(#opening[hidden]) .opening-nav{display:none}.page:has(#opening:not([hidden])){position:relative}.page:has(#opening:not([hidden])) .opening{padding-top:40px}.page:has(#opening[hidden]) #dashboard{padding-top:24px}.page:has(#opening[hidden]) #signin{margin-inline:auto}.topbar{min-height:76px}.topbar .brand{color:#f1f5fb}.shared-footer{clear:both}
@media(max-width:640px){.wrap,.page,.page:has(#opening:not([hidden])){width:calc(100% - 32px);padding-top:0}.site-header{min-height:68px;padding:10px 0;flex-wrap:nowrap}.site-header .brand{font-size:1rem}.site-header .header-links{gap:12px}.site-header .header-links a:not(#accountNav){display:none}.wrap>main{padding-top:12px}.panel,.account-league{padding:20px;margin-block:16px}.league-head{margin-top:8px}.league-head>div:last-child{gap:8px}.league-head label{font-size:.8125rem}.league-head select{width:100%;font-size:1rem}.tabs button,#namedLeagueLinks a{font-size:.8125rem;padding:9px 3px}.actions{align-items:stretch}.actions>button,.actions>.button{flex:1 1 160px}.written-edition .results-head>div:first-child{gap:4px 8px}.written-edition #leagueTitle{font-size:.8125rem}.page .opening-nav{top:12px}.page:has(#opening:not([hidden])) .opening{padding-top:28px}.subtabs button{min-height:44px}.trade-summary-heading{gap:12px}.trade-summary-heading>span{flex-shrink:0}.site-footer{margin-top:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* The real receipt matches the paper sample; buttons stay outside the paper. */
.paper-receipt{background:#f3f0e7;color:#243027;padding:clamp(18px,4vw,28px);border-radius:3px;box-shadow:4px 5px 0 #222d32;margin:12px 0 20px;text-align:left;overflow-wrap:anywhere}.paper-receipt .paper-masthead{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-bottom:2px solid #354135;padding-bottom:16px;font:600 .8125rem/1.5 ui-monospace,monospace}.paper-receipt .paper-masthead strong{font:800 .9375rem/1.5 system-ui}.paper-receipt p,.paper-receipt h3,.paper-receipt blockquote{color:#243027}.paper-receipt .paper-league{font-size:.875rem;margin:12px 0}.paper-receipt .paper-category{font:700 .875rem/1.5 ui-monospace,monospace;text-transform:uppercase;letter-spacing:.06em;margin:24px 0 10px}.paper-receipt h3{font-size:1.5rem;line-height:1.2;margin:0 0 20px}.paper-facts{margin:20px 0;border-block:1px dashed #899380;padding:8px 0}.paper-facts>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;font-size:1rem}.paper-facts dt{min-width:0}.paper-facts dd{margin:0;flex-shrink:0;font:700 1rem/1.6 ui-monospace,monospace}.paper-facts>div:last-child{border-top:1px dashed #899380;font-weight:750}.paper-receipt .paper-note{font-size:.8125rem;line-height:1.5;color:#52614e}.paper-receipt .paper-evidence{font-size:1rem;line-height:1.6}.paper-receipt blockquote{margin:22px 0;font-size:1.15rem;font-weight:750;line-height:1.5}.paper-stamp{display:inline-block;border:1px solid #65715b;padding:7px 10px;font:700 .8125rem/1.4 ui-monospace,monospace;letter-spacing:.04em;margin-top:14px}.paper-receipt .paper-source{font-size:.8125rem;margin:12px 0 0}.paper-feedback{display:flex;flex-wrap:wrap;gap:12px;font-size:.875rem;margin-top:12px}.paper-feedback:empty{display:none}.wall-receipt{background:transparent;border:0;padding:0;min-width:0}.wall-receipt .paper-receipt{margin-top:0}.paper-actions{margin:12px 0}.award-evidence{border-top:1px solid var(--line)}
/* Keep paper typography independent from the surrounding dark recap. */
.story .paper-receipt .paper-masthead strong,.paper-receipt .paper-masthead strong{color:#243027!important}.paper-receipt{padding:20px;margin:8px 0 16px}.paper-receipt .paper-masthead{padding-bottom:12px;gap:4px 12px}.paper-receipt .paper-category{margin:18px 0 8px}.paper-receipt .paper-league{margin:10px 0;font-size:.8125rem;color:#52614e}.story .paper-receipt h3,.paper-receipt h3{color:#243027;font-size:1.25rem;line-height:1.3;text-transform:none;margin:0 0 14px}.paper-facts{margin:14px 0}.paper-facts>div{padding:9px 0;gap:12px}.paper-receipt blockquote{margin:18px 0;font-size:1.0625rem;line-height:1.5}.paper-receipt .paper-source{font-size:.8125rem}.paper-stamp{margin-top:8px;font-size:.75rem}.paper-actions button,.story .paper-actions button{background:#1a273b;color:#f1f5fb;border:1px solid #40506a;min-height:44px;padding:10px 14px;font-size:.875rem;flex:1}.paper-actions button:first-child{background:#b7f22d;color:#0a1205;border-color:#b7f22d}.award-evidence{margin-top:14px}.paper-receipt .paper-note{font-size:.75rem;margin:8px 0;line-height:1.5}@media(max-width:400px){.paper-receipt .paper-masthead{display:block}.paper-masthead>span{display:block;margin-top:4px}.paper-receipt{padding:16px}.paper-facts>div{font-size:.9375rem}.paper-facts dd{font-size:.9375rem}}
.career-records{margin-top:0}.career-record{margin:0;border-top:1px solid var(--line)}.career-record>summary{display:grid;grid-template-columns:minmax(0,1fr) 7.5rem 16px;align-items:center;gap:12px;padding:12px 0;list-style:none;min-height:64px}.career-record>summary::-webkit-details-marker{display:none}.career-name{font-weight:650;min-width:0;color:#f1f5fb;font-size:.9375rem;line-height:1.35;overflow-wrap:anywhere}.career-result{display:flex;align-items:flex-end;flex-direction:column;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.875rem}.career-result strong{color:#d9f4a4;font-size:1rem}.career-result span{color:var(--muted)}.career-record>summary:after{content:'+';color:var(--lime)}.career-record[open]>summary:after{content:'−'}.career-record .paper-receipt{max-width:640px;margin-inline:auto}.career-record .paper-actions,.career-record .paper-feedback{max-width:640px;margin-inline:auto}.career-record[open]{padding-bottom:20px}.career-record .paper-facts>div:last-child{font-size:1.0625rem}.career-record .paper-facts>div:last-child dd{font-size:1.125rem}

.career-record:first-child{border-top:0}.career-result{width:100%;text-align:right;line-height:1.45}.career-result span{font-size:.8125rem}.career-record>summary:after{text-align:center;font-size:1rem}.career-records .career-record>summary:focus-visible{outline:2px solid #57d8ff;outline-offset:3px}@media(max-width:380px){.career-record>summary{grid-template-columns:minmax(0,1fr) 6.6rem 14px;gap:8px}.career-result strong{font-size:.9375rem}}
/* One expandable row pattern throughout the history book. */
.history-record>summary{cursor:pointer}.history-record .career-result{white-space:normal;overflow-wrap:anywhere}.history-record .career-result strong{line-height:1.3}.history-record-body{padding:4px 0 12px}.history-record-body>h3{font-size:1rem;margin:14px 0 8px}.history-record-body>p{font-size:.875rem}.history-detail-line{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.875rem}.history-detail-line span{color:var(--muted);font-variant-numeric:tabular-nums}.history-record.transaction{margin:0;padding:0;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0}.history-record.transaction:first-child{border-top:0}.history-record.transaction[open]{padding-bottom:16px}.history-record .trade-result{margin-top:0}.rivalry-list:has(.history-record){display:block}.history-record-body .table{margin-top:12px}.history-record>summary:hover .career-name{color:#d9f4a4}
/* Career overview leads with the combined record and stays legible on phones. */
.profile-column-head,.profile-record>summary{display:grid;grid-template-columns:minmax(0,1fr) 7rem 3.4rem 5.5rem 1rem;align-items:center;gap:10px}
.profile-column-head{padding:11px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:.75rem;font-weight:650}
.profile-column-head span:not(:first-child),.profile-stat{text-align:center}
.profile-record>summary{min-height:64px}.profile-stats{display:contents}.profile-stat{font-variant-numeric:tabular-nums;white-space:nowrap}.profile-stat strong{font-size:.9375rem;color:#f1f5fb;font-weight:650}.profile-trades strong{color:#75e8bf}.profile-stat-label{display:none}
.manager-trade-decision{margin-top:16px;padding:13px 16px;background:#0c1421;border:1px solid var(--line);border-radius:12px}.manager-trade-decision>strong{display:block;color:#75e8bf;font-size:.875rem}.manager-trade-decision .trade-receipt{margin-top:8px}
.paper-fact-link{display:inline;text-align:left;width:auto;min-height:0;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:2px;color:#243027!important;font:inherit;line-height:inherit;text-decoration:underline;text-decoration-color:#879681;text-underline-offset:3px;cursor:pointer}.paper-fact-link:hover,.paper-fact-link:focus-visible{color:#385838!important;text-decoration-color:currentColor}.paper-breakdowns{max-width:640px;margin:0 auto 20px}.paper-breakdowns>.small{margin-bottom:8px}.paper-breakdown{border-bottom:1px solid var(--line)}.paper-breakdown>summary{padding:12px 4px;font-weight:650;color:#f1f5fb}.paper-breakdown-body{padding:0 4px 14px;overflow-wrap:anywhere}.paper-breakdown-body .history-detail-line{padding:9px 0}.paper-breakdown-body .manager-trade-decision{margin-top:10px}@media(max-width:400px){.paper-facts>div{align-items:start}.paper-facts dd{text-align:right;white-space:nowrap}}
@media(max-width:640px){.profile-column-head{display:none}.profile-record>summary{grid-template-columns:minmax(0,1fr) 1rem;gap:9px 12px;padding:17px 0;min-height:92px}.profile-record>summary:after{grid-column:2;grid-row:1}.profile-stats{display:flex;grid-column:1/-1;grid-row:2;align-items:start;justify-content:space-between;gap:8px}.profile-stat{text-align:left;min-width:0}.profile-stat-label{display:block;font-size:.7rem;color:var(--muted);margin-bottom:4px}.profile-stat strong{font-size:.875rem}}
/* Trades explain the exchange in one expansion, with one named verdict. */
#transactions .trade-receipt{padding:0;margin:0;border:0;border-top:1px solid var(--line);background:transparent;border-radius:0}#transactions .trade-receipt:first-child{border-top:0}.trade-receipt>summary{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:5px 12px;padding:18px 0;list-style:none;cursor:pointer}.trade-receipt>summary::-webkit-details-marker{display:none}.trade-receipt>summary:after{content:'+';grid-column:2;grid-row:1 / 4;align-self:center;text-align:center;color:var(--lime)}.trade-receipt[open]>summary:after{content:'−'}.trade-row-teams,.trade-row-date,.trade-row-verdict{grid-column:1;overflow-wrap:anywhere}.trade-row-teams{font-size:1rem;font-weight:650;line-height:1.4;color:#f1f5fb}.trade-row-date{font-size:.8125rem;color:var(--muted)}.trade-row-verdict{font-size:.875rem;line-height:1.45;color:#d9f4a4;font-weight:600}.trade-receipt-body{padding-bottom:20px}.trade-return{padding:14px 16px;background:#0c1421;border:1px solid var(--line);border-radius:10px;margin-bottom:10px}.trade-return h3{font-size:.9375rem;margin:0 0 10px}.trade-return dl{margin:0}.trade-return dt{font-size:.75rem;color:var(--muted)}.trade-return dd{margin:3px 0 0;font-size:.875rem;overflow-wrap:anywhere}.trade-earned{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.trade-earned dd{font-weight:700;font-variant-numeric:tabular-nums;color:#d9f4a4}.trade-coverage{font-size:.8125rem;color:var(--muted);line-height:1.5;padding:0 2px}.trade-coverage p{margin:12px 0}.trade-receipt .trade-followup{margin-top:16px}.trade-receipt .trade-followup h4{font-size:.875rem;margin-bottom:8px}
/* Keep the edition context readable above the article on narrow screens. */
@media(max-width:640px){
 .written-edition .results-head>div:first-child{flex-direction:column;align-items:flex-start;gap:6px}
 .written-edition #leagueTitle{max-width:100%;overflow-wrap:anywhere}
}

/* Reading and sharing controls across sample and paid editions. */
.edition-jumps,.history-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 24px}
.edition-jumps a,.history-shortcuts button{min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;border:1px solid #52655f;border-radius:9px;font-size:14px;text-decoration:none}
.written-edition .edition-jumps a{color:#195e4b;background:#eef4ef}.history-shortcuts button[aria-pressed=true]{background:#55efb2;color:#06251a}
#matchupStories,#yourWeek,#weeklyAwards{scroll-margin-top:84px}
.record-watch{padding:20px 0;margin:24px 0;border-block:1px solid #64776f}.record-watch p{overflow-wrap:anywhere}
.written-edition .record-watch p,.written-edition .record-watch h3{color:#1c2930}
.sample-trial{padding:24px;margin:28px 0;border:1px solid #35574d;border-radius:14px;background:#0c1b20}.sample-trial h3{margin-top:0}.sample-trial .primary{min-height:48px}
.season-yearbook{margin:24px 0 36px}.season-yearbook .paper-receipt{max-width:760px}.season-yearbook .paper-actions{margin-top:14px}
#content .season-yearbook .paper-category{color:#243027}
#content .season-yearbook .paper-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:start}
#content .season-yearbook .paper-facts dd{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:right}
#content .season-yearbook .paper-receipt{padding:24px;color:#243027}
#content .season-yearbook .yearbook-title{font:750 1.5rem/1.3 system-ui;margin:22px 0;color:#243027}
#content .yearbook-summary{margin:0 0 8px;padding:0 0 18px;border-bottom:1px solid #bac2b7}
#content .yearbook-summary>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 20px;margin:12px 0;font:400 1rem/1.5 system-ui}
#content .yearbook-summary dt{color:#52614e}
#content .yearbook-summary dd{margin:0;font-weight:650;color:#243027;overflow-wrap:anywhere}
#content .yearbook-highlight{padding:22px 0;border-bottom:1px solid #bac2b7}
#content .yearbook-highlight h3{font:650 1rem/1.4 system-ui;letter-spacing:0;color:#43533e;margin:0 0 8px}
#content .yearbook-highlight .yearbook-score{font:750 2rem/1.2 system-ui;color:#1f3025;margin:0 0 10px;font-variant-numeric:tabular-nums}
#content .yearbook-score span{font:400 1rem/1.4 system-ui;color:#52614e}
#content .yearbook-highlight .yearbook-matchup{font:600 1.0625rem/1.5 system-ui;color:#243027;margin:0 0 4px;text-align:left}
#content .yearbook-highlight .yearbook-week{font:400 .875rem/1.5 system-ui;color:#52614e;margin:0}
#content .season-yearbook .paper-note{font:400 .875rem/1.6 system-ui;color:#52614e;margin:20px 0}
#content .season-yearbook .paper-source{color:#52614e;font-size:.875rem}
#content .history-shortcuts button{background:#10212b;color:#c1d0dc}
#content .history-shortcuts button[aria-pressed=true]{background:#55efb2;color:#06251a;border-color:#55efb2}
.record-scope-summary{font-weight:600;overflow-wrap:anywhere}
@media(max-width:640px){.edition-jumps a,.history-shortcuts button{flex:1 1 auto;justify-content:center}.sample-trial{padding:18px}.sample-trial .primary{width:100%;text-align:center}.record-scope-summary{font-size:14px}}

#content .yearbook-fun-fact>p{font-size:1rem;line-height:1.5;color:#243027;margin:8px 0}#content .yearbook-fun-fact summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.875rem;color:#43533e}#content .yearbook-fun-fact details p{font-size:.875rem;line-height:1.5;overflow-wrap:anywhere;color:#43533e}

/* Paper editions need their own text and result colors, including embedded samples. */
.written-edition .story .member-tools label{color:#253442;font-weight:650}
.written-edition .story .member-tools .segment-label{color:#16684f}
.written-edition .story .member-tools .share-preview{color:#253442;border-color:#238469}
.written-edition .story .season-run span{background:#e5ece7;color:#354655;border:1px solid #bccbc0}
.written-edition .story .season-run .win{background:#dceee3;color:#166044;border-color:#a7cbb5}
.written-edition .story .member-tools .receipt-note{color:#526371!important}

.site-footer .feedback-link,.account-feedback .feedback-link{display:inline-flex;align-items:center;min-height:44px}.account-feedback{color:#a6b5cb;font-size:14px}.feedback-link:focus-visible{outline:3px solid #83efc9;outline-offset:3px}

/* Current navy/emerald identity for account, reports, settings and owner tools.
   Scoped paper receipts keep their printable light surface. */
:root{--bg:#070d19;--panel:#101a2c;--line:#26354d;--muted:#a1aec4;--lime:#39d9a3;--accent:#39d9a3;--radius:16px}
body{background:#070d19;color:#f7f9ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.wrap,.page{width:min(1160px,calc(100% - 72px))}
.site-header{min-height:92px;border-bottom:1px solid #26354d}
.site-header .brand{font-size:20px;letter-spacing:-.8px;gap:11px}
.site-header .brand b,.site-header .mark{width:35px;height:39px;background:transparent;border:2px solid #39d9a3;color:#39d9a3;border-radius:6px}
.site-header a:not(.brand){color:#a1aec4}
.panel,.account-league{background:#101a2c;border-color:#26354d;border-radius:16px}
.panel>h1:first-child,.home-heading h1{font-size:clamp(2rem,5vw,3.3rem);letter-spacing:-.045em;line-height:1.12}
.panel p,.panel li{color:#c7d2e5}
.panel a:not(.brand):not(.account-link):not(.paper-receipt a),.stat strong,.ok{color:#39d9a3}
.panel button:not(.secondary),.paper-actions button:first-child,.account-link:not(.secondary){background:#39d9a3;color:#071c17;border-color:#39d9a3}
.panel button.secondary,.account-link.secondary{background:transparent;color:#dce6f5;border:1px solid #40506a}
/* League history opens on the chosen section. Secondary navigation stays quiet. */
#content .history-panel{padding:clamp(18px,3vw,28px)}
#content .history-panel .history-controls{display:flex;align-items:end;gap:10px 18px;flex-wrap:wrap;margin-bottom:8px}
#content .history-panel .history-controls>div{flex:0 1 280px;min-width:180px}
#content .history-panel .history-controls label{margin:0 0 6px;color:#b7c6d7}
#content .history-panel .history-coverage{margin:0;border:0;align-self:end}
#content .history-panel .history-coverage summary{padding:10px 0;color:#9eb0c2;font-size:.8125rem}
#content .history-panel .history-coverage p{font-size:.8125rem;margin:0 0 8px}
#content .history-panel .history-browser{margin:8px 0 18px;border:0;border-bottom:1px solid #304458}
#content .history-panel .history-browser>summary{color:#83e0b8;font-size:.875rem;font-weight:650;padding:10px 0}
#content .history-panel .subtabs{margin:0 0 12px;padding:0;gap:7px}
#content .history-panel .subtabs button[data-history]{background:#182a3c;color:#d3e0e9;border:1px solid #344e60;border-radius:8px;min-height:44px;font-weight:550}
#content .history-panel .subtabs button[data-history][aria-pressed=true]{background:#123d32;color:#9aebc3;border-color:#39866e}
#content .history-panel .history-more{margin:0}
#content .history-panel .history-more summary{color:#b7c6d7}
#content .history-panel #historyBody>h2{font-size:clamp(1.55rem,4vw,2rem);margin:10px 0 8px}
#content .history-panel #historyBody>p.small{margin:0 0 14px;line-height:1.55}
@media(max-width:640px){#content .history-panel .history-controls>div{flex:1 1 100%}#content .history-panel .history-coverage{display:none}#content .history-panel .history-browser{margin-top:0}#content .history-panel .subtabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.account-league.featured-league{border-color:#36564e;background:#101e2b;box-shadow:none}
.home-pass,.account-tag,.career-result strong,.trade-row-verdict,.trade-earned dd{color:#75e8bf}
.home-shortcuts a{background:#101a2c;border-color:#26354d}
.home-shortcuts a:hover,.league-home-link:hover{color:#75e8bf}
.profile-stat-meta{display:block;color:#aebed1;font-size:.75rem;line-height:1.4;white-space:normal}
.league-home-link{color:inherit;text-decoration:none;display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:44px}
.league-home-link span{color:#39d9a3;font-size:1.25rem}
.league-return{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 8px;color:#a1aec4;font-size:.875rem;line-height:1.4}.league-return a{display:inline-flex;align-items:center;min-height:44px;color:#75e8bf;text-decoration:none;font-weight:650}.league-return a:hover{text-decoration:underline;text-underline-offset:4px}.league-return a:focus-visible{outline:3px solid #64b5ff;outline-offset:4px}.embedded .league-return{display:none}
#reportReturn{order:-6}
/* Keep the report upgrade offer short, with one primary action. */
#aiAccessStatus:empty{display:none}
#plans{grid-template-columns:minmax(0,1fr);max-width:780px;width:100%}
.pass-details{margin-top:12px}
.pass-details summary{min-height:44px;align-content:center;cursor:pointer}
.pass-details ul{padding-left:20px;margin:0;color:#c7d2e5;font-size:.9375rem}
#recapLead.recap-upgrade{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding:18px;border:1px solid #26354d;border-radius:12px;background:#101a2c;margin-top:16px}
#recapLead.recap-upgrade h3{font-size:1.125rem;line-height:1.3;margin:0;letter-spacing:-.015em}
#recapLead.recap-upgrade p{font-size:.9375rem;line-height:1.5;margin:6px 0 0;color:#c7d2e5}
#recapLead.recap-upgrade .button{margin:0;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;background:#39d9a3;color:#071c17;font-size:.9375rem;padding:12px 16px}
#recapLead.recap-upgrade .upgrade-note{grid-column:1/-1;font-size:.8125rem;color:#a1aec4;margin:0}
#recapLead.recap-upgrade .upgrade-note a{display:inline-flex;align-items:center;min-height:44px;color:#75e8bf}
@media(max-width:640px){#recapLead.recap-upgrade{grid-template-columns:minmax(0,1fr);padding:16px;gap:10px}#recapLead.recap-upgrade .button{width:100%}#plans .plan-price{text-align:left}}
.tabs button[aria-current=page],#namedLeagueLinks a[aria-current=page]{background:#12362d;color:#75e8bf}
.stat{background:#0b1423;border-color:#26354d}.stat strong{color:#39d9a3}
.page:has(#signin:not([hidden])){max-width:780px}
#signin{margin-top:40px}#ownerNote{padding:16px;border:1px solid #31554d;border-radius:12px;background:#10251f;color:#b8e6d7}
.site-footer a{color:#a1aec4}.site-header a:focus-visible,.league-home-link:focus-visible{outline:3px solid #64b5ff;outline-offset:4px}
@media(max-width:640px){.wrap,.page{width:calc(100% - 32px)}.site-header{min-height:76px;flex-wrap:wrap}.site-header .brand{font-size:18px}.home-heading{gap:16px;flex-wrap:wrap}.panel,.account-league{padding:20px}#signin{margin-top:24px}}
/* Keep career statistics in fixed columns across every manager row. */
.profile-column-head,.profile-record>summary{grid-template-columns:minmax(0,1fr) 8rem 4rem 9rem 1.25rem;gap:16px}
.profile-record>summary{padding:18px 0;min-height:82px}
.profile-stat{min-width:0;white-space:normal;align-self:start}
.profile-stat strong{display:block;white-space:nowrap;font-size:1rem;line-height:1.4}
.profile-stat-meta{font-size:.8125rem;line-height:1.5;margin-top:3px}
.profile-stat-meta span{display:block;white-space:nowrap}
.profile-record .career-name{font-size:1rem;line-height:1.4}
.profile-record>summary:after{align-self:center}
.profile-record[open]>.history-record-body{padding-top:8px}
@media(max-width:640px){
 .profile-record>summary{grid-template-columns:minmax(0,1fr) 1.25rem;gap:14px 12px;padding:18px 0;min-height:0}
 .profile-record>summary:after{grid-column:2;grid-row:1;align-self:start;line-height:1.4}
 .profile-stats{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.65fr) minmax(0,1fr);width:100%;gap:12px;align-items:start;justify-content:initial}
 .profile-stat{text-align:left}
 .profile-stat-label{font-size:.875rem;line-height:1.35;margin-bottom:6px}
 .profile-stat strong{font-size:1rem}
 .profile-stat-meta{font-size:.75rem;line-height:1.5}
}
/* Match the compact My Leagues cards while preserving full recap text. */
body:has(#dashboard:not([hidden])){background:#060f16}
.page:has(#dashboard:not([hidden])){width:min(720px,calc(100% - 36px));max-width:720px;padding-top:18px}
.page:has(#dashboard:not([hidden])) .site-header{min-height:44px;padding:0;border:0;gap:12px}
.page:has(#dashboard:not([hidden])) .site-header .brand{font-size:1rem;gap:10px;white-space:nowrap}
.page:has(#dashboard:not([hidden])) .site-header .brand b{width:33px;height:35px;border:2px solid #39ddb0;color:#39ddb0;border-radius:6px;background:transparent}
.page:has(#dashboard:not([hidden])) .site-header .shell-account{font-size:.8125rem;color:#a4b3c8}
.page:has(#dashboard:not([hidden])) .opening-nav{display:none}
#dashboard .home-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:20px 0 16px;gap:12px}
#dashboard .home-heading h1{font-size:clamp(1.9rem,7vw,2.5rem);line-height:1.08;letter-spacing:-.045em;margin:0}
#dashboard .home-subtitle{font-size:.875rem;line-height:1.35;margin:6px 0 0;white-space:normal}
#dashboard .home-heading .account-link{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;align-self:start;min-height:44px;height:44px;padding:0 10px;border:0;border-radius:8px;font-size:.8125rem;line-height:1;white-space:nowrap;background:transparent;color:#05221b}
#dashboard .home-heading .account-link::before{content:"";position:absolute;inset:6px 0;border-radius:8px;background:#39ddb0;z-index:-1}
#dashboard .home-heading .account-link:hover{background:transparent}
#dashboard .home-heading .account-link:hover::before{background:#61e9c2}
#dashboard .league-list{gap:12px}
#dashboard .league-tile{padding:11px 10px 10px;border-radius:14px;margin:0;background:#07141b;border-color:#263a47}
#dashboard .league-tile.has-photo:before{inset:0 0 auto;height:118px;background-image:linear-gradient(90deg,#07141bf2 0%,#07141bb8 40%,#07141b14 82%),linear-gradient(0deg,#07141b 0%,transparent 45%),var(--league-card-photo);background-size:cover;background-position:center right;opacity:1}
#dashboard .league-tile-top{gap:5px;font-size:.75rem;line-height:1.3;padding-right:20px}
#dashboard .league-person{width:17px;height:17px;flex-basis:17px}
#dashboard .league-tile-top .account-tag{font-size:.75rem;letter-spacing:.035em}
#dashboard .league-title{margin:6px 0 0;gap:8px}
#dashboard .league-title h2{font-size:clamp(1.2rem,5vw,1.65rem);line-height:1.12;margin:0;letter-spacing:-.035em}
#dashboard .league-top-link{position:absolute;top:10px;right:8px;width:26px;min-height:30px;display:grid;place-items:center;font-size:1.5rem;line-height:1;color:#afc2d9;text-decoration:none}
#dashboard .league-since{font-size:.8125rem;line-height:1.3;margin:5px 0 10px}
#dashboard .league-activity{grid-template-columns:28px minmax(0,1fr) 12px;gap:8px;min-height:58px;margin:0 0 12px;padding:8px 10px;border-radius:10px;background:#07171de8;color:#eff4fa;text-decoration:none}
#dashboard .league-activity *{text-decoration:none}
#dashboard .league-activity-icon svg{width:23px;height:23px}
#dashboard .league-activity-label{font-size:.625rem;line-height:1.3;letter-spacing:.06em;margin:0 0 3px}
#dashboard .league-activity strong{font-size:.8125rem;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
#dashboard .league-activity p{font-size:.75rem;line-height:1.25;margin:3px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
#dashboard .league-activity-mark{font-size:1.2rem}
#dashboard .league-stats{margin:0 6px 12px;gap:10px;align-items:center}
#dashboard .league-stat{grid-template-columns:22px minmax(0,1fr);column-gap:6px;row-gap:3px}
#dashboard .league-stat svg{grid-row:span 2;width:19px;height:19px}
#dashboard .league-stat strong{font-size:.9375rem;line-height:1.1}
#dashboard .league-stat span{font-size:.6875rem;line-height:1.15}
#dashboard .league-open{display:flex;gap:8px;min-height:48px;padding:9px 12px;border-radius:10px;font-size:.875rem;line-height:1.2;background:#39ddb0;color:#05221b;text-decoration:none}
#accountDetails .league-options{margin:12px 0;padding-top:8px;border-top:1px solid #263a47}
#accountDetails .league-options summary{font-size:.875rem;color:#d4dfed;font-weight:650}
@media(min-width:700px){#dashboard .league-tile{padding:18px;border-radius:18px}#dashboard .league-tile.has-photo:before{height:160px}#dashboard .league-title h2{font-size:1.8rem}#dashboard .league-activity{min-height:72px}#dashboard .league-activity strong{font-size:1rem}#dashboard .league-activity p{font-size:.875rem}#dashboard .league-open{min-height:48px}#dashboard .league-stat strong{font-size:1.125rem}#dashboard .league-stat span{font-size:.8125rem}}
#dashboard .league-tile-top .dot:has(+ .league-format:empty),#dashboard .league-tile-top .dot:has(+ .league-teams:empty){display:none}

/* Shared Managers layout: readable statistics on phones and small tablets. */
#content .profile-column-head{font-size:13px;color:#b8c6d2}
#content .profile-record>summary{cursor:pointer;align-items:center}
#content .profile-record>summary:focus-visible{outline:3px solid #64b5ff;outline-offset:3px;border-radius:6px}
#content .profile-record .career-name{color:#f1f5fb;overflow-wrap:anywhere}
#content .profile-record[open]>summary .career-name{color:#80e4bd}
#content .profile-stat-meta{display:block;font-size:13px;line-height:1.5;color:#b8c6d2;white-space:normal;overflow-wrap:anywhere;margin-top:4px}
#content .profile-stat-label{color:#b8c6d2;font-size:14px;line-height:1.4}
#content .profile-record>.history-record-body{padding-bottom:24px}
@media(max-width:860px){
 #content .profile-column-head{display:none}
 #content .profile-record>summary{grid-template-columns:minmax(0,1fr) 20px;gap:12px;padding:18px 0;min-height:0}
 #content .profile-record>summary:after{grid-column:2;grid-row:1;align-self:start}
 #content .profile-record .career-name{grid-column:1;grid-row:1;line-height:1.5}
 #content .profile-stats{display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr) minmax(0,1fr);gap:12px;width:100%;align-items:start}
 #content .profile-stat{text-align:left;min-width:0;white-space:normal}
 #content .profile-stat-label{display:block;margin-bottom:5px}
 #content .profile-stat strong{font-size:16px;line-height:1.5;white-space:nowrap}
 #content .profile-record .history-detail-line{overflow-wrap:anywhere}
}

/* Compact account navigation and consistent metadata across card loading states. */
.page:has(#dashboard:not([hidden])) .site-header{margin-bottom:12px}
#dashboard .home-heading{margin:12px 0 16px}
#dashboard .league-tile-top{padding-right:0;flex-wrap:wrap;gap:6px}
#dashboard .league-format:not(:empty),#dashboard .league-teams:not(:empty){display:inline-flex;align-items:center;gap:6px}
#dashboard .league-format:not(:empty):before,#dashboard .league-teams:not(:empty):before{content:'·';color:#a4b3c8}
#dashboard .league-tile{min-width:0}
#dashboard .league-title h2{overflow-wrap:anywhere}
#dashboard .league-activity{min-height:56px}
@media(min-width:900px){.page:has(#dashboard:not([hidden])){width:min(1040px,calc(100% - 48px));max-width:1040px}#dashboard .league-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#dashboard .league-list>.league-tile:only-child{max-width:600px}#dashboard .league-open{margin-top:auto}}
.page:has(#opening[hidden]) #dashboard{padding-top:0}
#dashboard .home-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
#dashboard .home-heading>div{min-width:0}
@media(max-width:360px){#dashboard .home-heading h1{font-size:1.65rem}#dashboard .home-heading .account-link{width:auto}}

.record-book{margin:32px 0;color:#f3f6f8;min-width:0}.record-book-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}.record-eyebrow{display:block;font-size:.75rem;font-weight:750;letter-spacing:.1em;color:#47e3a0}.record-book-heading h2{font-size:clamp(1.6rem,3vw,2rem);line-height:1.18;letter-spacing:-.035em;margin:8px 0 0}.record-count{font-size:.875rem;color:#afbdd0;flex:none}.record-book-scope,.record-book-note{font-size:.875rem;line-height:1.6;color:#afbdd0;margin:12px 0 18px}.record-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.record-book-card{display:flex;flex-direction:column;min-width:0;border:1px solid #2b3a50;border-top:2px solid #47e3a0;background:#111d2e;border-radius:12px;padding:22px;overflow-wrap:anywhere}.record-book-card h3{margin:0;font-size:1rem;line-height:1.4;letter-spacing:0;color:#cfdae5}.record-book-card .record-value{font-size:clamp(2rem,3vw,2.6rem);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:-.045em;color:#f3f6f8;margin:20px 0 16px}.record-value span{display:block;font-size:.875rem;font-weight:450;letter-spacing:0;line-height:1.5;color:#afbdd0;margin-top:5px}.record-book-card .record-names{font-size:1rem;font-weight:650;line-height:1.5;margin:0 0 5px}.record-book-card .record-date{color:#afbdd0;font-size:.875rem;margin:0 0 18px;line-height:1.5}.record-book-card details{margin-top:auto;border-top:1px solid #2b3a50}.record-book-card summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 0;font-size:.875rem;font-weight:650;color:#47e3a0;cursor:pointer;list-style:none}.record-book-card summary::-webkit-details-marker{display:none}.record-book-card details[open] summary>span{transform:rotate(45deg)}.record-book-card summary:focus-visible{outline:3px solid #47e3a0;outline-offset:3px}.record-book-card ol{list-style:none;padding:0;margin:0;max-height:320px;overflow:auto}.record-book-card li{padding:12px 0;border-top:1px solid #2b3a50;font-size:.875rem}.record-book-card li>span{display:block;color:#afbdd0;margin-bottom:10px}.record-book-card li>div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}.record-book-card li b{font-weight:450;min-width:0}.record-book-card li strong{font-variant-numeric:tabular-nums;flex:none}.record-book-note{margin-bottom:0}@media(max-width:800px){.record-book-grid{grid-template-columns:1fr}.record-book-heading{align-items:start;flex-direction:column;gap:8px}.record-book-card{padding:20px}.record-book-card .record-value{font-size:2.2rem;margin-top:14px}.record-value span{display:inline;font-size:.875rem;letter-spacing:0}.record-book-card .record-date{margin-bottom:14px}}

.history-controls .record-book-shortcut{min-height:44px;color:#47e3a0;border:1px solid #375b4c;background:#14262a;font-size:.875rem}.history-controls .record-book-shortcut[aria-pressed=true]{border-color:#47e3a0}

/* Compact summaries; complete evidence remains in native disclosures. */
.ui-info{margin:8px 0 18px;border:0;color:var(--muted,#a1aec4);font-size:.875rem}
.ui-info>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;cursor:pointer;list-style:none;font-size:.875rem;color:inherit}
.ui-info>summary::after{content:'+';color:#47e3a0;font-size:1.1rem}
.ui-info[open]>summary::after{content:'−'}
.ui-info>summary::-webkit-details-marker{display:none}
.ui-info p{margin:8px 0 16px;line-height:1.6;font-size:.875rem}
.ui-info p.coverage{margin:8px 0 16px}
.league-heading .ui-info{margin:4px 0 0}
.league-nav,.real-league-view .league-nav{display:flex;flex-wrap:nowrap!important;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:6px;padding:4px 0 12px;max-width:100%;scrollbar-width:thin}
.league-nav a,.real-league-view .league-nav a{flex:0 0 auto;white-space:nowrap;padding:10px 14px;min-height:44px;font-size:.875rem}
.weekly-heading h2{font-size:clamp(1.6rem,4vw,2rem);line-height:1.2}
.weekly-heading .ui-info{margin-bottom:0}
.weekly-power-list{margin:16px 0}
.weekly-power-header{margin-bottom:12px}
.weekly-detail summary{padding:12px 0;font-size:.875rem}
.weekly-method{margin-top:20px}
.weekly-asof{margin-top:18px}
.weekly-duel>div,.weekly-watch>p,.weekly-score-row>span,.weekly-power-header>div{min-width:0;overflow-wrap:anywhere}
.weekly-card-row>strong{text-align:right;overflow-wrap:anywhere}
dialog{max-height:calc(100dvh - 32px);overscroll-behavior:contain;scrollbar-gutter:stable;overflow:auto}
dialog .dialog-top{position:sticky;top:-1px;z-index:2;background:var(--surface,#101a2c);padding-bottom:8px}
.share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.share-actions #copyReceiptLink{grid-column:1/-1}
.share-actions>*{min-width:0;white-space:normal}
@media(max-width:700px){
 .shell{width:calc(100% - 32px)}
 .shell,.wrap{padding-bottom:env(safe-area-inset-bottom)}
 .league-heading{gap:10px;padding:20px 0 16px}
 .league-heading h1{font-size:clamp(1.75rem,7vw,2.1rem);line-height:1.15}
 .league-heading>.button{width:auto;min-height:44px;padding:10px 14px}
 .league-nav,.real-league-view .league-nav{margin-bottom:20px}
 .league-nav a,.real-league-view .league-nav a{font-size:.875rem;padding:10px 12px}
 .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;gap:6px;scrollbar-width:thin}
 .tabs button{flex:0 0 auto;white-space:nowrap;font-size:.875rem;padding:10px 12px}
 .profile-stats{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.55fr) minmax(0,1fr);gap:10px;width:100%;align-items:start}
 .profile-stat{min-width:0;white-space:normal}
 .profile-stat-label{font-size:.75rem;line-height:1.4}
 .profile-stat strong{font-size:1rem;white-space:nowrap}
 .profile-stat-meta,.profile-stat-meta span{font-size:.75rem;white-space:normal;overflow-wrap:anywhere}
 .profile-record>summary .career-name{font-size:1.05rem;line-height:1.4}
 .weekly-power-header{grid-template-columns:2.25rem minmax(0,1fr) auto;gap:8px}
 .weekly-power-header h3{font-size:1rem;line-height:1.35}
 .weekly-power-score strong{font-size:1.3rem}
 .weekly-power-score span{font-size:.75rem}
 .weekly-matchup,.weekly-result,.weekly-power-team{padding:16px}
 .weekly-duel h3{font-size:1.05rem;line-height:1.35}
 .weekly-share-bar{gap:10px}
 .weekly-share-bar .button{min-width:0;gap:8px;font-size:.875rem}
 dialog{padding:16px;width:calc(100% - 24px)}
 .share-actions .button{padding:12px 10px;gap:8px;font-size:.875rem}
 .weekly-card-preview{padding:16px}
 .weekly-card-preview footer{display:block;line-height:1.6}
 .weekly-lineup li{grid-template-columns:3.5rem minmax(0,1fr) auto}
}
@media(max-width:360px){
 .weekly-power-header{grid-template-columns:2rem minmax(0,1fr)}
 .weekly-power-score{grid-column:2;text-align:left}
 .weekly-power-score strong,.weekly-power-score span{display:inline;margin-right:6px}
 .weekly-highlights{grid-template-columns:1fr}
}

/* A rank is a single label, including ranks 10–12. */
.weekly-power-header{grid-template-columns:3.6rem minmax(0,1fr) auto}
.weekly-power-rank{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:3.4rem;font-variant-numeric:tabular-nums}
@media(max-width:360px){.weekly-power-header{grid-template-columns:3.4rem minmax(0,1fr)}.weekly-power-score{grid-column:2;text-align:left}}

/* League navigation and reading controls */
.league-utilities{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;margin:12px 0}.league-utilities #leagueSwitch{margin:0;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:8px 32px 8px 12px;font-size:14px;line-height:1.25;border-radius:10px;background-color:#0b1520;border:1px solid #344454;text-overflow:ellipsis}.league-utilities .league-settings-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #344454;border-radius:10px;background:#0b1520;color:#b8c6d2}.league-settings-button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.league-settings-button:hover,.league-settings-button[aria-current="page"]{color:#55efb2;border-color:#55efb2}.manager-sort{max-width:300px;margin-bottom:16px}.edition-share-panel{max-width:760px;margin:auto}.recap-toolbar-controls{align-items:end}.recap-toolbar-controls select{max-width:100%}.home-dashboard .button{margin-top:12px}@media(max-width:430px){.recap-toolbar-controls{display:grid;grid-template-columns:minmax(0,1fr)}.portal-weekly-tabs{display:flex;flex-wrap:wrap}.portal-weekly-tabs button{min-height:44px}}

/* Shared paid/sample manager leaderboard. */
#content .manager-leaderboard{display:grid;gap:1px;margin:10px 0 0;border:1px solid #293845;border-radius:10px;overflow:hidden;background:#293845}
#content .manager-leaderboard .profile-record{margin:0;padding:0;border:0;border-radius:0;background:transparent;min-width:0}
#content .manager-leaderboard .profile-record>summary{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(260px,auto) 16px;gap:10px;align-items:center;padding:12px;min-height:64px;background:#0d1923;color:#e9f1f7;border-radius:0;list-style:none}
#content .manager-leaderboard .profile-record>summary::-webkit-details-marker{display:none}
#content .manager-leaderboard .profile-record>summary:after{content:'+';grid-column:4;grid-row:1;align-self:center;color:#9eafbd;font-size:20px;line-height:1}
#content .manager-leaderboard .profile-record[open]>summary:after{content:'−'}
#content .manager-leaderboard .profile-record>summary:focus-visible{outline:3px solid #fff;outline-offset:-4px}
#content .manager-leaderboard .manager-medal{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#263745;color:#e9f1f7;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
#content .manager-leaderboard .manager-medal-1{background:#aa9147;color:#101923}#content .manager-leaderboard .manager-medal-2{background:#93a3ad;color:#101923}#content .manager-leaderboard .manager-medal-3{background:#a17a47;color:#101923}
#content .manager-leaderboard .manager-leader-name{color:#e9f1f7;font-size:16px;line-height:1.3;min-width:0;overflow-wrap:anywhere}
#content .manager-leaderboard .manager-leader-stats{display:grid;grid-template-columns:minmax(110px,1.3fr) minmax(52px,.65fr) minmax(84px,1fr);gap:14px;align-items:start;text-align:right;font-variant-numeric:tabular-nums}
#content .manager-leaderboard .manager-leader-stats small{display:block;font-size:11px;font-weight:650;line-height:1.4;color:#9eafbd;margin-bottom:3px;white-space:nowrap}
#content .manager-leaderboard .manager-leader-stats b{display:block;font-size:16px;font-weight:600;line-height:1.3;white-space:nowrap;color:#e9f1f7}
#content .manager-leaderboard .manager-trade-note{display:none;color:#9eafbd;font-size:11px;line-height:1.4;margin-top:3px}
#content .manager-leaderboard .history-record-body{padding:16px 12px;background:#0b1922;color:#e9f1f7}
@media(max-width:760px){#content .manager-leaderboard .profile-record>summary{grid-template-columns:28px minmax(0,1fr) 16px;gap:6px 10px;padding:10px 12px;min-height:0}#content .manager-leaderboard .profile-record>summary:after{grid-column:3;grid-row:1}#content .manager-leaderboard .manager-medal{width:28px;height:28px;font-size:15px}#content .manager-leaderboard .manager-leader-name{font-size:16px}#content .manager-leaderboard .manager-leader-stats{grid-column:2/4;grid-row:2;grid-template-columns:minmax(0,1.2fr) minmax(0,.6fr) minmax(0,1fr);gap:8px;text-align:left}#content .manager-leaderboard .manager-leader-stats b{font-size:16px}}
@media(max-width:360px){#content .manager-leaderboard .profile-record>summary{padding:10px;column-gap:8px}#content .manager-leaderboard .manager-leader-stats{grid-column:1/4}#content .manager-leaderboard .manager-leader-stats b{font-size:15px}}

#content .manager-sort{margin:0 0 10px}#content .manager-sort select{min-height:44px;padding:8px 32px 8px 12px;margin-top:4px}#content .manager-sort+h2{font-size:24px;margin:12px 0 4px}#content .manager-sort+h2+.ui-info{margin:0 0 8px}#content .manager-sort+h2+.ui-info>summary{padding:8px 0;min-height:44px}
/* History destinations stay visible, labeled and easy to tap on every screen. */
#content .history-icon-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 16px;padding:0}
#content .history-icon-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:70px;padding:10px 4px;background:#0d1923;color:#b8c6d2;border:1px solid #293845;border-radius:10px;font:600 13px/1.2 system-ui;white-space:normal}
#content .history-icon-nav button svg{display:block;width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#content .history-icon-nav button[aria-pressed="true"]{background:#1b2d3c;border-color:#8498aa;color:#f1f6fa}
#content .history-icon-nav button:hover{border-color:#8498aa;color:#f1f6fa}
#content .history-icon-nav button:focus-visible,#content .rivalry-highlight:focus-visible{outline:2px solid #e9f1f7;outline-offset:2px}
#content .history-panel div.history-controls{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin:0 0 18px;max-width:100%;padding:0}
#content .history-panel div.history-controls[hidden]{display:none}
#content .history-controls label{margin:0;font-size:13px;color:#9eafbd;flex:none}
#content .history-controls select{margin:0;min-height:44px;max-width:310px;min-width:0;width:100%;padding:8px 30px 8px 12px;font-size:14px}
#historyBody>h2{margin:0 0 8px;font-size:26px}
#content .rivalry-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 24px}
#content .rivalry-highlight-group{min-width:0;padding:14px;background:#0b1720;border:1px solid #293845;border-radius:12px}
#content .rivalry-highlight-group h3{margin:0 0 6px;font-size:18px}
#content .rivalry-highlight-group>p{color:#9eafbd;font-size:12px;line-height:1.5;margin:0 0 12px}
#content .rivalry-highlight{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:10px;align-items:center;width:100%;min-height:64px;margin:0;padding:12px 0;text-align:left;background:transparent;border:0;border-top:1px solid #293845;border-radius:0;color:#e9f1f7}
#content .rivalry-highlight-names{display:grid;gap:4px;min-width:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#content .rivalry-highlight-names>span{color:#9eafbd;font-size:12px}
#content .rivalry-highlight-record{display:grid;gap:4px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#content .rivalry-highlight-record b{font-size:17px;color:#e9f1f7}
#content .rivalry-highlight-record small{font-size:11px;color:#9eafbd}
#content .rivalry-empty{padding:12px 0;border-top:1px solid #293845}
#portalCompare{scroll-margin-top:16px}
@media(max-width:640px){#content .history-icon-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:14px}#content .history-icon-nav button{min-height:64px;font-size:12px;gap:6px;padding:8px 3px}#content .history-icon-nav button svg{width:21px;height:21px}#content .rivalry-highlights{grid-template-columns:minmax(0,1fr);gap:12px}#content .rivalry-highlight-group{padding:12px}#historyBody>h2{font-size:24px}}

#content .history-icon-nav button>span{white-space:nowrap;overflow-wrap:normal}
@media(max-width:360px){#content .history-icon-nav button{font-size:11px;letter-spacing:-.1px}}

#content .manager-compact-facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}#content .manager-compact-facts div{min-width:0}#content .manager-compact-facts dt{font-size:13px;color:var(--muted)}#content .manager-compact-facts dd{margin:3px 0 0;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}#content .manager-season{border-top:1px solid var(--line)}#content .manager-season>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;font-size:15px}#content .manager-season>summary>span:after{content:' +';color:var(--muted)}#content .manager-season[open]>summary>span:after{content:' −'}#content .manager-season-meta{font-size:13px;color:var(--muted);padding:4px 0 8px}#content .manager-matchups{list-style:none;padding:0;margin:0}#content .manager-matchups li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:13px}#content .manager-matchups li span{min-width:0;overflow-wrap:anywhere}#content .manager-matchups strong{white-space:nowrap;font-variant-numeric:tabular-nums}#content .manager-leaderboard .paper-actions button{min-height:44px;padding:8px 14px;font-size:14px}

#content .manager-leaderboard .manager-season{display:block;grid-template-columns:none;padding:0;background:transparent;border-radius:0}#content .manager-leaderboard .manager-season>summary{width:100%;display:flex;min-height:48px;white-space:nowrap;list-style:none}#content .manager-season>summary::-webkit-details-marker{display:none}

#content .championship-badge{display:inline-flex;align-items:center;gap:4px;margin-left:7px;padding:3px 6px;border:1px solid #756137;border-radius:5px;background:#2b2518;color:#e5c46f;vertical-align:middle;font-size:11px;line-height:1.2;font-weight:700;white-space:nowrap}#content .championship-badge svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#content .manager-season>summary>strong{display:flex;align-items:center;min-width:0;gap:4px}#content .manager-season .championship-badge{margin-left:0}

/* Open-state cues belong to dark history data rows, not editorial articles. */
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)[open]{box-shadow:inset 3px 0 #477c80}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)[open]>summary{background-color:#182936;color:#f1f6fa}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)>summary{list-style:none}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)>summary::-webkit-details-marker{display:none}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)>summary::marker{content:''}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)>summary:after{content:'›'!important;display:inline-block;margin-left:8px;color:#a6bac8;font-size:18px;line-height:1;text-align:center}
body .history-panel :is(details.history-record,details.manager-season,details.historical-matchup,details.trade-receipt,details.trade-season-breakdown)[open]>summary:after{content:'⌄'!important;color:#b7d0d3}
body #content .history-panel .manager-leaderboard .profile-record[open]>summary{background:#182936}
body #content .history-panel .manager-season>summary>span:after{content:none}
body #content .history-panel .manager-season>summary{padding-left:8px;padding-right:8px}

/* Rivalries: compact navigation and evidence-led series cards. */
#content .history-icon-nav button{min-height:52px;gap:4px;padding:6px 3px}
#content .history-icon-nav button svg{width:18px;height:18px}
#content .history-icon-nav button[aria-pressed="true"]{border-color:#69dfb6;color:#a4f1d7}
#content .rivalry-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative}
#content .rivalry-group-heading h3{margin:0;font-size:18px}
#content .rivalry-criteria{border:0;margin:0;flex:none}
#content .rivalry-criteria summary{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;list-style:none;color:#a8bac9}
#content .rivalry-criteria summary::-webkit-details-marker{display:none}
#content .rivalry-criteria p{position:absolute;z-index:2;right:0;top:40px;width:min(280px,100%);padding:12px;margin:0;background:#182b38;border:1px solid #60798a;border-radius:8px;font-size:12px;line-height:1.5;box-shadow:0 8px 24px #0008}
#content .rivalry-highlight-story{font-size:11px;line-height:1.5;color:#abcbbb;margin-top:2px}
#content .rivalry-highlight:hover{background:#11242d}
#content .rivalry-highlight-record b{color:#a4f1d7}
#portalCompare{scroll-margin-top:16px;margin:18px 0 24px}
#portalCompare .section-heading{margin:0 0 12px}
#portalCompare .section-title{font-size:18px}
@media(max-width:640px){#content .history-icon-nav{gap:5px;margin-bottom:16px}#content .history-icon-nav button{min-height:52px;font-size:11px;gap:4px;padding:5px 2px}#content .history-icon-nav button svg{width:18px;height:18px}#content .rivalry-highlight{gap:8px}#content .rivalry-highlight-names{font-size:14px}}
.site-header .brand,.home-account a,.league-options summary,.league-options button{min-height:44px}
.site-header .brand,.home-account a{display:inline-flex;align-items:center}
.league-options summary{display:flex;align-items:center;cursor:pointer}
.league-options summary::after{content:'+';margin-left:auto}
.league-options[open] summary::after{content:'−'}

.league-banner{position:relative;isolation:isolate;width:100%;min-width:0;overflow:hidden;border:1px solid #2b4653;border-radius:20px;background:radial-gradient(ellipse at 85% 15%,#47e3a027,transparent 60%),linear-gradient(130deg,#13332f,#101a2c 70%);padding:clamp(22px,4vw,42px);min-height:180px;display:flex;align-items:center}
.league-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.league-banner:has(.league-banner-image)::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#070d19e8,#070d19a6);z-index:-1}
.league-banner-copy{min-width:0;max-width:100%}.league-banner .kicker{color:#75edbd;font-size:.75rem;letter-spacing:.12em}.league-banner h1{color:#f7f9ff;font-size:clamp(1.9rem,5vw,3.1rem);line-height:1.12;letter-spacing:-.035em;margin:12px 0;overflow-wrap:anywhere}.league-banner-meta{color:#d5e1ec;font-size:.9375rem!important;line-height:1.5;margin:0!important}.league-banner-tagline{color:#b9decf;font-size:.9375rem!important;line-height:1.5;margin:10px 0 0!important;overflow-wrap:anywhere}
.league-heading{flex-wrap:wrap}.league-heading>.league-banner{flex-basis:100%}.league-heading>.league-banner-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.league-banner-tools .ui-info{margin:0}.league-banner-tools>a{color:#47e3a0;font-size:.875rem;display:inline-flex;align-items:center;min-height:44px}.league-head{grid-template-columns:1fr}.league-head>.league-banner{grid-column:1/-1}.league-head>div:last-child:not(.league-banner){max-width:320px}.league-banner-edit input[type=file]{white-space:normal;max-width:100%}.league-banner-edit input[type=file]::file-selector-button{padding:8px;border:0;border-radius:6px;background:#193b36;color:#dff7ed;margin-right:8px}#bannerEditorPreview img{width:100%;max-height:180px;object-fit:cover;margin-top:16px;border-radius:12px}.league-banner-edit .actions{gap:10px}@media(max-width:700px){.league-banner{padding:24px 20px;min-height:170px;border-radius:16px}.league-heading{align-items:stretch}.league-heading>.league-banner-tools{width:100%;justify-content:space-between}.league-banner h1{font-size:clamp(1.8rem,7vw,2.4rem)}.league-head{gap:14px}}


/* The paid shell owns its layout. IDs keep earlier report/account styles out. */
#content .recap-archive{border:1px solid #293b49;background:#0d1824;border-radius:14px;padding:16px;margin:0 0 18px}
#content .recap-archive h3{font-size:18px;margin:0 0 4px}
#content .recap-archive p{margin:0;color:#b6c3d5}
#content .recap-archive-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}
#content .recap-archive-bar label{font-size:13px;margin:0;min-width:160px}
#content .recap-archive-bar select{display:block;width:100%;min-height:44px;margin-top:4px;font-size:16px}
#content .recap-archive-browser{margin-top:12px;border-top:1px solid #293b49;padding-top:8px}
#content .recap-archive-browser summary{min-height:44px;cursor:pointer;padding:10px 0;color:#78efba}
#content .recap-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:8px}
#content .recap-archive-list a{display:block;min-width:0;border:1px solid #293b49;border-radius:10px;padding:14px;color:#f5f8fc;text-decoration:none}
#content .recap-archive-list a[aria-current=page]{border-color:#55efb2}
#content .recap-archive-week{display:block;font-size:12px;color:#78efba;margin-bottom:6px}
#content .recap-archive-list p{font-size:14px;line-height:1.5;margin-top:8px}
@media(max-width:640px){#content .recap-archive-bar{align-items:stretch;flex-direction:column;gap:12px}#content .recap-archive-list{grid-template-columns:1fr}}
body.league-history-page{--bg:#060f16;--lime:#55efb2;--accent:#55efb2;--muted:#aebdd0;background:var(--bg);color:#f5f8fc;font:16px/1.45 system-ui,-apple-system,sans-serif}
body.league-history-page .wrap{width:min(920px,100%);padding:12px 18px 24px;margin:auto;position:relative}
body.league-history-page .wrap>main{padding-top:0}
body.league-history-page .site-header{min-height:44px;padding:0;margin:0 0 6px;border:0}
body.league-history-page:has(#leagueView:not([hidden])) .site-header{justify-content:space-between}
body.league-history-page:has(#leagueView:not([hidden])) .site-header .brand{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:0}
body.league-history-page .site-header .brand b{display:inline-grid;place-items:center;width:36px;height:38px;margin:0;border:2px solid #55efb2;border-radius:7px;background:transparent;color:#55efb2;font-size:14px}
#leagueView .league-return{position:absolute;top:12px;margin:0;min-height:44px;display:flex;align-items:center}
#leagueView .league-return a{color:#78efba;text-decoration:none;font-size:14px;min-height:44px;display:flex;align-items:center}
#leagueView .league-head{display:block;margin:0}
#leagueView .league-context{position:static;display:block;width:100%;height:auto;max-width:none;margin:0;overflow:visible;clip-path:none}
#leagueView .league-banner{min-height:150px;padding:24px 20px 30px;border:0;border-radius:16px 16px 0 0;align-items:center;background:#101d25}
#leagueView .league-banner-image{object-fit:cover;object-position:right center}
#leagueView .league-banner::after{background:linear-gradient(90deg,#051019dd,#05101980 62%,#05101912)}
#leagueView .league-banner-copy{max-width:85%;min-width:0}
#leagueView .league-banner .kicker{display:none}
#leagueView .league-banner h1{font-family:Impact,Haettenschweiler,'Arial Narrow',sans-serif;font-size:clamp(28px,4.5vw,42px);line-height:1.05;text-transform:uppercase;letter-spacing:.4px;margin:0 0 8px;overflow-wrap:break-word}
#leagueView .league-banner-meta{font-size:14px!important;line-height:1.4;margin:0!important;color:#c9d4e3}
#leagueView .league-banner-tagline{font-size:13px!important;line-height:1.4;margin:8px 0 0!important;color:#c5d2dc}
#leagueView .league-primary-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow:visible;padding:4px;margin:-16px 0 18px;border:1px solid #293b49;border-radius:16px;background:#0a141e;position:relative;z-index:2}
#leagueView .league-primary-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;padding:10px 4px;border:0;border-radius:12px;background:transparent;font-size:14px;line-height:1.3;font-weight:500;white-space:nowrap;color:#b8c7d9;cursor:pointer;touch-action:manipulation}
#leagueView .league-primary-tabs>button[aria-current=page]{background:#55efb2;color:#052019;font-weight:750}
#leagueView .league-primary-tabs svg,.portal-weekly-tabs svg{width:19px;height:19px;flex:0 0 19px;stroke:currentColor;fill:none;stroke-width:1.8}
#leagueView .league-tools{margin:24px 0 0;border-top:1px solid #293b49;font-size:14px;padding:4px 0;color:#aebdd0}
#leagueView .league-tools select{max-width:360px}
#leagueView .league-tools button{margin-top:10px}
#content .history-panel{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
#content .history-intro{display:block;min-height:0;border:0;padding:0;margin:0 0 18px}
#content .history-eyebrow,#portalContent .history-eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:750;color:#78efba;line-height:1.3}
#content .history-intro h2{font-size:clamp(28px,4vw,38px);line-height:1.08;letter-spacing:-1px;max-width:640px;margin:7px 0 10px}
#content .history-intro p{font-size:16px;line-height:1.4;color:#b6c3d5;margin:0}
#content .history-panel .history-controls{display:block;margin:0 0 12px;padding:0}
#content .history-panel .history-controls>div{width:100%;min-width:0;max-width:none}
#content .history-controls label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#content #historySeason{width:100%;min-height:44px;padding:10px 14px;background:#0d1824;border:1px solid #2b3b4c;border-radius:12px;font-size:16px}
#content .record-book-shortcut{display:none}
#content .history-panel .history-browser{display:block;border:0;margin:0 0 16px;padding:0}
#content .history-browser>summary{display:none}
#content .history-panel .subtabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;overflow:visible}
#content .history-panel .subtabs>button[data-history]{min-height:36px;padding:8px 4px;font-size:14px;line-height:1.2;border:1px solid #293b49;border-radius:24px;background:#0c1722;color:#b8c7d9;font-weight:500;white-space:nowrap;grid-column:auto}
#content .history-panel .subtabs>button[data-history][aria-pressed=true]{background:#55efb2;border-color:#55efb2;color:#052019;font-weight:700}
#content .history-panel .subtabs>.desktop-history-tab{display:none}
#content .history-panel .history-more{grid-column:1/-1;margin:0;padding:0;border:0}
#content .history-panel .history-more>summary{font-size:13px;padding:6px 0;min-height:30px;line-height:1.3;color:#aebdd0}
#content .history-panel .history-more-links{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}
#content .history-more-links button{font-size:14px}
#content .history-coverage{display:block;border:0;margin:20px 0 0;padding:0}
#content .history-coverage summary{font-size:13px;min-height:36px;padding:7px 0;color:#aebdd0}
#content .history-stat-grid,#portalContent .history-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}
#content .history-stat,#portalContent .history-stat{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 4px;border:1px solid #253546;border-radius:12px;background:#0b141e;min-width:0}
#content .history-stat>span:first-child{color:#78efba;line-height:1}
#content .history-stat svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}
#content .history-stat strong,#portalContent .history-stat strong{font-size:28px;line-height:1.1}
#content .history-stat>span:last-child,#portalContent .history-stat>span{font-size:12px;color:#bac6d7}
#content .history-section-heading,#portalContent .history-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;padding:0;min-height:0;border:0}
#content .history-section-heading h2{font-size:25px;line-height:1.1;margin:5px 0 0}
#content .history-section-heading button,#portalContent .history-section-heading a{min-height:36px;padding:0;border:0;background:transparent;color:#78efba;font-size:14px;white-space:nowrap;text-decoration:none}
#content .history-leaderboard{border:1px solid #253546;border-radius:12px;background:#0a151f;overflow:hidden}
#content .history-leader{display:grid;grid-template-columns:24px 32px minmax(0,1fr) auto 42px;gap:9px;align-items:center;padding:9px 10px;font-size:14px;border-bottom:1px solid #22313e;font-variant-numeric:tabular-nums}
#content .history-leader:last-child{border-bottom:0}
#content .history-leader strong{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .history-rank{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffd24e;color:#17202a;font-weight:750}
#content .history-leader:nth-child(2) .history-rank{background:#bac5d2}
#content .history-leader:nth-child(3) .history-rank{background:#c78938}
#content .history-avatar{display:grid;place-items:center;width:32px;height:32px;border:2px solid #68dcb2;border-radius:50%;background:#203e42;color:#eafff6;font-size:11px;font-weight:750}
#content .history-scope{font-size:12px;line-height:1.4;color:#98aabd;margin:8px 0}
#content .history-rivalry{display:grid;grid-template-columns:36px minmax(0,1fr) auto 36px minmax(0,1fr);gap:10px;align-items:center;padding:14px 12px;border:1px solid #253546;border-radius:13px;background:#0b151f}
#content .history-rivalry .history-avatar{width:36px;height:36px}
#content .history-rivalry strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
#content .history-rivalry>div{text-align:center}
#content .history-rivalry b{font-size:22px;line-height:1.2;display:block;white-space:nowrap}
#content .history-rivalry>div span{font-size:12px;color:#aab8ca;display:block}
#content .history-memories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#content .history-memory{background:#0a151f;border:1px solid #293949;border-radius:13px;overflow:hidden;margin:0;padding:0}
#content .history-memory summary{display:flex;flex-direction:column;gap:4px;padding:0 10px 12px;list-style:none;cursor:pointer}
#content .history-memory summary::-webkit-details-marker{display:none}
#content .history-memory img{width:calc(100% + 20px);max-width:none;height:92px;object-fit:cover;object-position:right;margin:0 -10px 4px}
#content .history-memory strong{font-size:14px;line-height:1.25}
#content .history-memory span{font-size:12px;line-height:1.35;color:#aab8ca}
#content .history-memory p{font-size:14px;padding:0 10px;overflow-wrap:anywhere}
#content .history-explore{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px;border:1px solid #293b49;border-radius:15px;background:#0b151f;margin:22px 0}
#content .history-explore>span{color:#78efba;font-size:28px}
#content .history-explore>div{flex:1;min-width:140px}
#content .history-explore strong{font-size:14px;line-height:1.3}
#content .history-explore p{font-size:12px;color:#aab8ca;margin:5px 0 0}
#content .history-explore button{font-size:14px;font-weight:700;white-space:nowrap;padding:12px;border-radius:11px}
#content .history-archive{border:1px solid #293949;border-radius:13px;padding:14px;margin:20px 0}
#content .history-archive>summary{font-size:14px;color:#aebdd0;cursor:pointer}
#content .portal-weekly-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 20px;max-width:520px}
#content .portal-weekly-tabs button{min-width:0;min-height:40px;border-radius:24px;padding:8px 4px;font-size:14px;background:#0c1722;color:#b8c7d9}
#content .portal-weekly-tabs button[aria-pressed=true]{background:#55efb2;color:#052019;border-color:#55efb2}
#portalContent .portal-home>h2{font-size:32px;line-height:1.1;margin:10px 0 20px}
#portalContent .portal-home-actions{display:flex;gap:10px;flex-wrap:wrap}
#portalContent .portal-home-actions>*{font-size:14px;min-height:44px}
#portalContent .portal-rivalry{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:18px;border:1px solid #293b49;border-radius:13px;background:#0b151f;text-align:center}
#portalContent .portal-rivalry b{font-size:26px}
#portalContent .portal-rivalry p{grid-column:1/-1;font-size:14px;margin:0}
#portalContent .portal-trophies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#portalContent .portal-trophies>div{padding:16px;border:1px solid #293b49;border-radius:12px;background:#0b151f}
#portalContent .portal-trophies span,#portalContent .portal-trophies strong{display:block}
#portalContent .portal-trophies span{font-size:14px;color:#78efba}
#portalContent header{flex-wrap:nowrap;min-height:0;padding:0;border:0}
body.league-history-page .icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;flex:0 0 20px}
body.league-history-page .kicker{font-size:12px;letter-spacing:1px;font-weight:700;color:#78efba}
body.league-history-page dialog{color:#f5f8fc;background:#101a25;border:1px solid #344655;border-radius:18px;width:min(600px,calc(100% - 24px));padding:20px;max-height:calc(100dvh - 24px);overflow:auto}
body.league-history-page dialog::backdrop{background:#000b}
body.league-history-page .dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.league-history-page .checkbox{display:flex;align-items:center;gap:10px;margin:16px 0}
body.league-history-page .checkbox input{width:20px;min-height:20px}
body.league-history-page .micro{font-size:12px;color:#aab8ca}
body.league-history-page .share-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:640px){
 body.league-history-page .wrap{padding:8px 16px 24px}
 #leagueView .league-return{top:8px}
 #leagueView .league-banner{min-height:138px;padding:20px 14px 28px}
 #leagueView .league-banner h1{font-size:30px}
 #leagueView .league-primary-tabs{margin-bottom:16px;padding:3px;border-radius:14px}
 #leagueView .league-primary-tabs>button{gap:5px;font-size:13px;padding:10px 3px;min-height:44px}
 #leagueView .league-primary-tabs svg{width:17px;height:17px;flex-basis:17px}
 #content .history-intro h2{font-size:28px}
 #content .history-panel .subtabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 #content .history-panel .subtabs>button[data-history]{font-size:13px;padding:8px 3px}
 #content .history-stat-grid{gap:8px}
 #content .history-stat strong{font-size:26px}
 #content .history-leader{grid-template-columns:22px 28px minmax(0,1fr) auto 36px;gap:7px;padding:9px 8px;font-size:12px}
 #content .history-avatar{width:28px;height:28px}
 #content .history-rivalry{grid-template-columns:28px minmax(0,1fr) auto 28px minmax(0,1fr);gap:7px;padding:12px 8px}
 #content .history-rivalry .history-avatar{width:28px;height:28px}
 #content .history-rivalry strong{font-size:12px}
 #content .history-rivalry b{font-size:20px}
 #content .history-memories{gap:8px}
 #content .history-memory img{height:72px}
 #content .history-memory strong{font-size:13px}
 #content .history-section-heading .history-eyebrow{font-size:11px;letter-spacing:1.3px}
 #content .history-section-heading button{font-size:12px}
 #content .history-explore{gap:10px;padding:14px}
 #content .history-explore button{margin-left:auto}
 #content .portal-weekly-tabs button{font-size:12px}
}
@media(max-width:360px){
 #leagueView .league-banner-copy{max-width:96%}
 #leagueView .league-banner h1{font-size:27px}
 #leagueView .league-primary-tabs>button{font-size:12px;gap:4px}
 #leagueView .league-primary-tabs svg{width:15px;height:15px;flex-basis:15px}
 #content .history-leader{grid-template-columns:22px minmax(0,1fr) auto 34px;gap:7px}
 #content .history-leader .history-avatar{display:none}
 #content .history-rivalry{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 #content .history-rivalry .history-avatar{display:none}
}
#content .history-panel .history-coverage{display:block;margin-top:20px;border:0}
#content .history-panel .history-coverage summary{padding:7px 0;min-height:36px;font-size:13px}
#content .history-panel>.history-more{margin-top:20px;border-top:1px solid #293b49}
/* Weekly story first; existing history and share exports remain available. */
body.league-history-page .wrap{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
#leagueView .league-return{display:none}
#leagueView .league-primary-tabs>button{font-size:16px}
body.league-history-page .ui-icon{width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px;display:inline-block;vertical-align:middle}
#portalContent .weekly-matchup .button,#portalContent .weekly-share-bar .button{display:flex;align-items:center;gap:8px;min-height:44px}
#portalContent .portal-week-feature{padding:22px;border:1px solid #3d7664;border-top:3px solid #55efb2;border-radius:16px;background:linear-gradient(125deg,#123c32,#0b1822 80%);margin:0 0 24px}
#portalContent .portal-week-feature h2{font-size:32px;line-height:1.15;margin:8px 0 14px;letter-spacing:-.7px}
#portalContent .portal-week-feature p{font-size:16px;line-height:1.5;color:#d0dbdf;margin:12px 0}
#portalContent .portal-feature-matchup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;font-size:18px;line-height:1.3}
#portalContent .portal-feature-matchup strong:last-child{text-align:right}
#portalContent .portal-feature-matchup span{font-size:14px;color:#b7c9cb}
#portalContent .portal-week-feature .primary{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;margin:18px 0 12px;border-radius:11px;font-size:16px}
#portalContent .portal-feature-secondary{display:block;text-align:center;padding:8px;color:#92edc5;font-size:14px;min-height:40px}
#portalContent .portal-feature-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#portalContent .portal-home>.history-eyebrow{display:block;margin:0 0 12px}
#portalContent .portal-rivalry{color:inherit;text-decoration:none}
#portalContent .portal-update-tools{margin:12px 0 20px;font-size:14px}
#portalContent .portal-update-tools button{margin:10px 0;min-height:44px}
#content .portal-recap-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
#content .portal-recap-heading h2{font-size:26px;margin:0}
#content .portal-recap-heading button{font-size:14px;min-height:44px;padding:8px 12px}
#content .history-panel .subtabs>button[data-history],#content .portal-weekly-tabs button{font-size:14px;min-height:44px}
#content .history-stat>span:last-child,#portalContent .history-stat>span{font-size:14px}
#content .history-leader{font-size:14px;grid-template-columns:24px 28px minmax(0,1fr) auto 38px;gap:6px}
#content .history-rivalry strong{font-size:14px}
#content .history-section-heading .history-eyebrow{font-size:12px}
#content .history-section-heading button{font-size:14px}
#content .career-name{font-size:16px}
#content .profile-stat strong{font-size:16px}
#content .profile-stat-label,#content .profile-stat-meta,#content .career-result span{font-size:14px}
#content .history-detail-line,#content .history-record-body>p{font-size:16px}
#content .history-facts{margin:0 0 14px;padding:16px;border:1px solid #2a3c4b;background:#0c1823;border-radius:12px;color:#e9f0f6}
#content .history-facts .history-detail-period{font-size:14px;color:#aebdd0;margin:0 0 12px}
#content .history-facts .paper-facts{margin:0}
#content .history-facts .paper-facts>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-bottom:1px solid #293a47;padding:12px 0;font-size:16px}
#content .history-facts .paper-facts>div:last-child{border-bottom:0}
#content .history-facts .paper-facts dd{font-size:16px;text-align:right;margin:0;color:#92edc5;white-space:normal;overflow-wrap:anywhere}
#content .history-facts .paper-facts dt{min-width:0}
#content .history-facts .paper-fact-link{color:#e9f0f6!important;font:inherit;text-decoration-color:#58778a;min-height:44px}
#content .history-facts .paper-note{font-size:14px;line-height:1.5;color:#b7c6d5;margin:14px 0 0}
#content .paper-breakdowns>.small{font-size:14px}
#content .history-memory strong{font-size:14px}
#content .history-memory span{font-size:13px}
@media(max-width:640px){
 #leagueView .league-primary-tabs>button{font-size:14px;min-height:48px;padding:10px 2px}
 #leagueView .league-primary-tabs svg{display:none}
 #content .history-leader{grid-template-columns:22px minmax(0,1fr) auto 35px;gap:6px}
 #content .history-leader .history-avatar{display:none}
 #content .history-rivalry{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 #content .history-rivalry .history-avatar{display:none}
 #portalContent .portal-week-feature{padding:18px}
 #portalContent .portal-feature-matchup{font-size:16px;gap:8px}
 #content .history-memory strong{font-size:14px}
}

#portalContent .weekly-power-header{grid-template-columns:3.6rem minmax(0,1fr) auto;gap:10px}
#portalContent .weekly-power-rank{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:3.4rem;font-size:24px}
body.league-history-page .site-header{min-height:36px;margin-bottom:4px}
#portalContent .portal-week-feature h2{font-size:28px}
#portalContent .portal-week-feature{padding:18px}
@media(max-width:360px){#portalContent .weekly-power-header{grid-template-columns:3.4rem minmax(0,1fr)}#portalContent .weekly-power-score{grid-column:2;text-align:left}}

/* Story summaries remain compact; expanded articles use the full row width. */
#content .history-dominant-rivalries{display:grid;gap:10px}
#content .history-memories{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#content .history-memory summary{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;padding:0;gap:14px}
#content .history-memory img{width:96px;height:116px;margin:0;object-fit:cover}
#content .history-memory .memory-summary{display:grid;gap:6px;padding:12px 14px 12px 0;min-width:0}
#content .history-memory strong{font-size:17px;line-height:1.3;color:#f5f8fc}
#content .history-memory .history-eyebrow{font-size:12px;color:#55efb2;letter-spacing:.08em}
#content .history-memory .memory-read{font-size:14px;color:#55efb2}
#content .memory-article{padding:4px 18px 18px;border-top:1px solid #293949}
#content .memory-article p{font-size:16px;line-height:1.65;padding:0;margin:12px 0}
#content .memory-article h3{font-size:22px;line-height:1.3;margin:18px 0 10px}
#portalContent .preview-edition{max-width:760px;margin:0 auto}
#portalContent .preview-masthead{display:block;margin:12px 0 18px;padding:0;background:none}
#portalContent .preview-masthead h2{font-size:clamp(28px,5vw,38px);line-height:1.15;margin:10px 0}
#portalContent .preview-lead{border-bottom:1px solid #293949;padding-bottom:18px}
#portalContent .preview-edition p{font-size:16px;line-height:1.7;margin:12px 0;color:#c6d1df}
#portalContent .preview-matchup-article{padding:24px 0;border-top:1px solid #293949}
#portalContent .preview-matchup-article h3{font-size:25px;line-height:1.25;margin:10px 0}
#portalContent .preview-matchup-article .preview-pair{color:#55efb2;font-weight:650}
#portalContent .preview-matchup-article button{margin-top:10px}
/* Preview editions use the same editorial paper treatment as written recaps. */
#portalContent .preview-edition{max-width:860px;margin:12px auto 24px}
#portalContent .preview-edition .story{display:block;background:#f7f8f5;color:#17232d;border-radius:16px;padding:clamp(22px,4vw,46px);box-shadow:0 18px 55px #0003;overflow-wrap:anywhere}
#portalContent .preview-edition .edition-masthead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;border-bottom:2px solid #17232d;padding-bottom:15px;color:#17232d;font-size:12px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
#portalContent .preview-edition .edition-masthead span:last-child{color:#596a77}
#portalContent .preview-edition .lead-story{display:block;border:0;border-radius:0;background:transparent;padding:28px 0 25px;border-bottom:1px solid #d4dce0}
#portalContent .preview-edition .lead-story .segment-label,#portalContent .preview-edition .matchup-tag{color:#238469;font-size:12px;letter-spacing:.12em;font-weight:800}
#portalContent .preview-edition .lead-story h2{color:#17232d;font-size:clamp(2rem,4.5vw,3.25rem);line-height:1.06;letter-spacing:-.045em;margin:0 0 18px}
#portalContent .preview-edition .lead-story p,#portalContent .preview-edition .preview-matchup-article p{color:#435365;font-size:16px;line-height:1.68;margin:12px 0}
#portalContent .preview-edition .matchups-section{margin-top:28px}
#portalContent .preview-edition .matchups-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:2px solid #17232d;padding-top:13px;margin-bottom:0}
#portalContent .preview-edition .matchups-heading h3{color:#17232d;font-size:20px;margin:0}
#portalContent .preview-edition .preview-matchup-article{margin:0;padding:0;border-top:1px solid #d7dfdf}
#portalContent .preview-matchup-article summary{display:grid;gap:8px;list-style:none;padding:18px 0;color:#17232d;min-height:44px}
#portalContent .preview-matchup-article summary::-webkit-details-marker{display:none}
#portalContent .preview-matchup-article summary{cursor:pointer}
#portalContent .preview-matchup-article summary:focus-visible{outline:2px solid #238469;outline-offset:4px}
#portalContent .preview-matchup-article .preview-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;line-height:1.35;font-size:18px}
#portalContent .preview-matchup-article .preview-pair strong:last-child{text-align:right}
#portalContent .preview-matchup-article .preview-pair>span{font-size:14px;color:#596a77}
#portalContent .preview-summary-title{font-size:15px;color:#435365;line-height:1.5}
#portalContent .preview-read{display:flex;justify-content:space-between;color:#227961;font-size:14px;font-weight:650}
#portalContent .preview-matchup-article[open] .preview-read span{transform:rotate(45deg)}
#portalContent .preview-matchup-body{padding-bottom:22px}
#portalContent .preview-edition .preview-reading-hint{color:#596a77;font-size:14px;margin:10px 0 18px}
#portalContent .preview-edition #expandPreviews{min-height:44px;background:#eef3ee;color:#245e50;border-color:#c9d8d0;font-size:14px;padding:8px 12px}
#portalContent .preview-edition .preview-matchup-article h3{color:#17232d;font-size:clamp(22px,4vw,28px);line-height:1.2;margin:8px 0}
#portalContent .preview-edition .preview-matchup-article .preview-pair{color:#238469;font-weight:700}
#portalContent .preview-edition .preview-matchup-article button{margin-top:10px;background:#eef3ee;color:#245e50;border-color:#c9d8d0}
#portalContent .preview-edition .preview-about{border-color:#d7dfdf;color:#315747;margin-top:20px}
#portalContent .preview-edition .preview-about summary{min-height:44px;padding:12px 0;color:#227961}
#portalContent .preview-edition .preview-about p{color:#526474;font-size:14px;line-height:1.6}
#content .home-dashboard{margin:20px 0 30px}
#content .home-dashboard-intro{display:block;border:0;padding:0;margin:0 0 16px}
#content .home-dashboard-intro h2{font-size:clamp(24px,5vw,32px);line-height:1.15;margin:8px 0}
#content .home-dashboard-intro p{font-size:16px;line-height:1.5;color:#b7c6d5;margin:0}
#content .home-dashboard .history-stat-grid{margin:0 0 22px}
@media(max-width:640px){#portalContent .preview-edition .story{padding:20px 18px}#portalContent .preview-edition .edition-masthead{display:block}#portalContent .preview-edition .edition-masthead span{display:block;margin-top:4px}#portalContent .preview-edition .lead-story h2{font-size:2rem}}

/* League Home shares the history workspace with a compact weekly edition. */
#portalHomeFeature .portal-week-feature{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:16px 18px;margin:0 0 18px;border:1px solid #3d7664;border-left:3px solid #55efb2;border-radius:14px;background:#0d2225}
#portalHomeFeature .history-eyebrow{grid-column:1;font-size:12px;color:#78efba}
#portalHomeFeature h2{grid-column:1;font-size:22px;line-height:1.2;margin:0;color:#f5f8fc}
#portalHomeFeature p{grid-column:1;font-size:14px;line-height:1.45;margin:0;color:#c6d1df}
#portalHomeFeature .portal-feature-matchup{display:none}
#portalHomeFeature .portal-feature-excerpt{display:none}
#portalHomeFeature .button{grid-column:2;grid-row:1 / 4;align-self:center;min-height:44px;padding:10px 14px;white-space:normal;text-align:center;font-size:14px}
#portalHomeFeature .portal-feature-secondary{grid-column:1 / -1;font-size:14px;color:#92edc5;justify-self:start;padding:6px 0;min-height:32px}
@media(max-width:420px){#portalHomeFeature .portal-week-feature{gap:6px 10px;padding:14px}#portalHomeFeature .button{max-width:132px}#portalHomeFeature h2{font-size:20px}}

/* A public sample always offers a clear route back to the site homepage. */
body.league-history-page.league-sample-page:has(#leagueView:not([hidden])) .site-header{justify-content:space-between}
body.league-history-page.league-sample-page:has(#leagueView:not([hidden])) .site-header .brand{display:inline-flex;align-items:center;min-width:44px;min-height:44px}
body.league-sample-page .site-header .brand b{display:inline-grid;place-items:center;width:36px;height:38px;margin:0;border:2px solid #55efb2;border-radius:7px;background:transparent;color:#55efb2;font-size:14px}

/* Keep the four destinations reachable while reading long articles or archives. */
#leagueView .league-primary-tabs{position:sticky;top:max(8px,env(safe-area-inset-top));z-index:20;box-shadow:0 6px 16px #030c1699}
@media(max-width:640px){
 #leagueView .league-primary-tabs{position:relative;top:auto;box-shadow:none}
 #content .history-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #content .history-shortcuts button{width:100%;min-width:0;padding:10px 6px}
 #content .history-shortcuts button:last-child{grid-column:auto}
 #portalCompare .compare-form{grid-template-columns:minmax(0,1fr);gap:12px}
 #portalCompare .compare-form>div{min-width:0}
 #portalCompare .compare-form label{font-size:14px;margin:0 0 6px}
 #portalCompare .compare-form select{padding:12px 36px 12px 12px;min-height:52px}
 #portalCompare .compare-vs{display:none}
 #portalCompare .compare-form .button{grid-column:1;min-height:48px;margin-top:4px}
 #portalCompare .matchup-notes{grid-template-columns:minmax(0,1fr)}
 #portalCompare .matchup-notes>div{padding:16px}
 #portalCompare .matchup-notes strong{font-size:24px;line-height:1.4;white-space:nowrap}
 #portalCompare .matchup-notes span,#portalCompare .matchup-notes small{font-size:14px}
 #portalCompare .compare-score span{font-size:16px;line-height:1.5;word-break:normal;overflow-wrap:break-word}
 #portalCompare .compare-center span,#portalCompare .compare-scope,#portalCompare .recent-form>span,#portalCompare .recent-form small{font-size:14px!important}
}
#content{scroll-margin-top:84px}
#content :is(h2,h3,summary,button,a,input,select){scroll-margin-top:88px}
#content .recap-actions{display:flex;flex-wrap:wrap;gap:8px}
#content .portal-recap-heading{flex-wrap:wrap}
#content .portal-recap-heading a.button{min-height:44px;font-size:14px;padding:8px 12px}
#content .history-section-heading{flex-wrap:wrap}
#content .history-section-heading button,#portalHomeFeature .portal-feature-secondary{min-height:44px}
#content .history-leader strong{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
#portalContent .preview-edition :is(.lead-story p,.preview-matchup-body){max-width:68ch}
@media(max-width:420px){
 #portalHomeFeature .portal-week-feature{grid-template-columns:minmax(0,1fr)}
 #portalHomeFeature .button{grid-column:1;grid-row:auto;width:100%;max-width:none;margin-top:6px}
 #portalContent .preview-matchup-article .preview-pair{font-size:16px;gap:8px}
}

/* Two columns on phones leave room for complete labels at normal text sizes. */
@media(max-width:640px){
 #content .history-stat-grid,#portalContent .history-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #content .history-stat,#portalContent .history-stat{padding:14px 10px;text-align:center}
 #content .history-stat>span:last-child,#portalContent .history-stat>span{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
}
#portalHomeFeature .portal-feature-headline{font-weight:650;line-height:1.4}

#editionSharing label{display:block;margin:14px 0}#editionSharing input[type=checkbox]{width:auto}.edition-link-row{padding:14px 0;border-top:1px solid #293b49}.edition-link-row input{width:100%;margin:8px 0}

#portalContent .preview-edition>.weekly-share-bar{justify-content:flex-end;margin-bottom:12px}#portalContent .preview-edition>.weekly-share-bar .button{flex:0 0 auto;width:auto;min-height:40px}

/* Keep overview sections on a consistent rhythm and names clear of scores. */
#content .history-section-heading{margin:24px 0 12px;gap:8px 16px}
#content .history-section-heading>div{min-width:0}
#content .history-section-heading button{margin:0;line-height:1.35}
#content .history-dominant-rivalries,#content .history-memories{margin:0}
#content .history-rivalry>strong:last-child{text-align:right}
@media(max-width:640px){
 #leagueView .league-primary-tabs{margin:0 0 20px}
 #content .history-section-heading{align-items:flex-start}
 #content .history-section-heading>div{flex:1 1 140px}
 #content .history-section-heading button{white-space:normal;text-align:right;max-width:48%;margin-left:auto}
 #content .history-section-heading h2{font-size:24px;line-height:1.2;margin-top:6px}
 #content .history-rivalry{grid-template-columns:minmax(0,1fr) minmax(88px,auto) minmax(0,1fr);gap:12px;padding:14px 12px}
 #content .history-rivalry>div{min-width:0}
 #content .history-rivalry strong{line-height:1.4}
 #content .history-scope{margin:10px 0 0}
}

/* Three weekly choices stay together on phones. */
#content .portal-weekly-tabs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:100%}
#content .portal-weekly-tabs button{font-size:clamp(11px,3.2vw,14px);white-space:nowrap}
.live-compact{grid-template-columns:1fr;gap:0}
.live-compact .weekly-result{padding:8px 0;border:0;border-bottom:1px solid #29413f;border-radius:0;background:transparent}
.live-compact .weekly-result:last-child{border-bottom:0}
.live-compact .kicker{font-size:10px;letter-spacing:.08em}
.live-compact .weekly-score-row{padding:3px 0;font-size:14px;line-height:1.4}
.live-compact .weekly-score-row strong{font-size:16px}
.live-player-status{display:block;font-size:12px;line-height:1.5;color:#aebcce;margin-top:3px}
.weekly-score-row span{overflow-wrap:anywhere}
.portal-week-feature .live-timestamp{font-size:12px;margin:8px 0}

/* One set of archive controls works at every screen size. */
#content .history-panel .history-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
#content .history-controls label{position:static;clip-path:none;width:auto;height:auto;display:block;margin-bottom:6px;font-size:13px;color:#b8c7d9}
#content #historySectionSelect{width:100%;min-width:0;min-height:44px;padding:10px 12px;background:#0d1824;color:#f5f8fc;border:1px solid #2b3b4c;border-radius:12px;font-size:16px}
@media(max-width:360px){#content .history-panel .history-controls{grid-template-columns:1fr}}
#content .portal-recap-heading .recap-actions{position:relative;display:block;font-size:.9375rem;border:0;margin:0;padding:0;min-width:0;max-width:100%}
.portal-recap-heading .recap-actions summary{cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px}
.portal-recap-heading .recap-actions[open]>*:not(summary){margin:8px 4px 0}
#recapFrame{width:100%;display:block;border:0;min-height:500px}
.recap-archive{margin-top:20px}

/* One toolbar above the recap; secondary actions stay below the article. */
#content .recap-toolbar-controls{max-width:220px;display:flex;align-items:flex-end;gap:12px;margin:0 0 16px;flex-wrap:wrap}
#content .recap-toolbar-controls label{display:grid;gap:5px;min-width:0;flex:1;font-size:13px;color:#b6c3d5}
#content .recap-toolbar-controls select{width:100%;min-height:44px;font-size:16px;padding:10px 12px}
#content .recap-toolbar-controls .button{min-height:44px;margin:0;display:flex;align-items:center;justify-content:center;padding:10px 16px}
#content .recap-more{border:0;margin:16px 0}#content .recap-more summary{min-height:44px;cursor:pointer;color:#b6c3d5}
#content .recap-more .button,#content .recap-more button{min-height:44px;margin:4px 8px 0 0}
@media(max-width:480px){#content .recap-toolbar-controls{gap:10px}#content .recap-toolbar-controls .button{flex-basis:100%}}
/* Match the paper article palette; portal defaults use light text for dark cards. */
#portalContent .preview-edition .playoff-race{color:#17232d}
#portalContent .preview-edition .playoff-race .segment-label{color:#227961;font-size:12px;letter-spacing:.12em;font-weight:800}
#portalContent .preview-edition .playoff-race h3{color:#17232d;font-size:clamp(22px,4vw,28px);line-height:1.2}
#portalContent .preview-edition .playoff-race p{color:#435365;font-size:16px;line-height:1.68;margin:12px 0;max-width:68ch}
#portalContent .preview-edition .playoff-race .receipt-details{border-color:#d7dfdf;color:#315747}
#portalContent .preview-edition .playoff-race summary{min-height:44px;padding:12px 0;color:#227961;cursor:pointer}
#portalContent .preview-edition .playoff-race summary:focus-visible{outline:2px solid #227961;outline-offset:4px}
#portalContent .preview-edition .playoff-race .receipt-details p{color:#526474;font-size:14px;line-height:1.6}
#portalContent .preview-edition .record-watch h3{color:#17232d}
#portalContent .preview-edition .record-watch p{color:#435365}
#portalContent .preview-edition .record-watch .segment-label{color:#227961}

button.history-leader,button.history-rivalry{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer}button.history-leader:hover,button.history-rivalry:hover{border-color:#7fe3b6}button.history-leader:focus-visible,button.history-rivalry:focus-visible{outline:2px solid #7fe3b6;outline-offset:3px}

/* Rivalry cards are buttons, so set their text color explicitly; inherited
   button theme rules previously made the manager names nearly unreadable. */
#content .history-dominant-rivalries .history-rivalry{color:#f5f8fc;background:#101c27;border-color:#334452}
#content .history-dominant-rivalries .history-rivalry strong{color:#f5f8fc;font-size:16px;font-weight:650;line-height:1.35}
#content .history-dominant-rivalries .history-rivalry b{color:#8ce8bd}
#content .history-dominant-rivalries .history-rivalry>div span{color:#b9c6d3}
#content .history-dominant-rivalries .history-rivalry:hover{background:#152633;border-color:#78efba}
#content .history-dominant-rivalries .history-rivalry:focus-visible{outline:3px solid #78efba;outline-offset:3px}
@media(max-width:640px){#content .history-dominant-rivalries .history-rivalry strong{font-size:15px}}

.sample-introduction{margin:12px 0 22px}.sample-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sample-discovery-grid a{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #354052;border-radius:12px;color:inherit;text-decoration:none;min-width:0;overflow-wrap:anywhere;background:#111b29}.sample-discovery-grid strong{font-size:1rem}.sample-discovery-grid span{font-size:.9rem;line-height:1.5}.sample-discovery-grid a:hover,.sample-discovery-grid a:focus-visible{border-color:#8eacb3}.record-share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 8px}.record-share-actions button,.record-share-actions a,.story-evidence-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal}.record-share-actions [role=status]{flex-basis:100%;margin:0}.preview-matchup-body .story-evidence-link{margin:0 10px 10px 0}.recap-more{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:640px){.sample-discovery-grid{grid-template-columns:1fr}.sample-discovery-grid a{padding:14px}.record-share-actions>*{max-width:100%}.record-share-actions button,.record-share-actions a{flex:1 1 150px}}

/* Compact desktop archive; the paid and sample pages share these rules. */
#leagueView .league-primary-tabs{margin-top:0;position:relative;top:auto;box-shadow:none}
#leagueView .league-utilities{margin-bottom:12px}
#content .history-panel div.history-controls{display:grid;grid-template-columns:minmax(0,240px) minmax(0,240px);align-items:end;gap:12px 20px;margin-bottom:18px}
#content .history-controls .history-season-field{min-width:0;flex:none}
#content .history-controls .manager-sort{min-width:0;max-width:none;margin:0}
#content .history-controls label{margin:0 0 5px;line-height:1.4}
#content .history-controls select{display:block;max-width:none;margin-top:5px;font-size:14px}
#content .manager-column-headings{display:none}
@media(min-width:761px){
 #content .history-icon-nav button{flex-direction:row;min-height:44px;gap:8px;padding:10px 6px}
 #content .history-icon-nav button svg{width:19px;height:19px}
 #content .manager-leaderboard .profile-record>summary{grid-template-columns:28px minmax(0,1fr) 300px 16px;min-height:56px}
 #content .manager-leaderboard .manager-leader-stats{grid-template-columns:128px 58px 86px;gap:14px}
 #content .manager-column-headings{display:grid;grid-template-columns:28px minmax(0,1fr) 300px 16px;align-items:center;gap:10px;padding:10px 12px;background:#0b151f;color:#a6b5c4;font-size:12px}
 #content .manager-column-headings>span:first-child{grid-column:1/3}
 #content .manager-column-headings>.manager-leader-stats{grid-column:3}
 #content .manager-leaderboard .profile-record .manager-leader-stats small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:760px){
 #content .history-panel div.history-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:360px){
 #content .history-panel div.history-controls{grid-template-columns:minmax(0,1fr)}
}

/* Historical matchups use native disclosure controls and load only on demand. */
#content .manager-matchups>li{display:block;padding:0}
#content .historical-matchup{margin:0;border:0;min-width:0}
#content .historical-matchup>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:10px;min-height:48px;padding:12px 8px;font-size:13px;list-style:none}
#content .matchup-lineups{padding:0 12px 12px}
#content .matchup-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#content .matchup-lineup-team{min-width:0}
#content .matchup-lineup-team h4{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin:16px 0 10px;overflow-wrap:anywhere}
#content .matchup-lineup-team h4>span{white-space:nowrap;font-variant-numeric:tabular-nums}
#content .matchup-lineup-team ul{padding:0;margin:0;list-style:none}
#content .matchup-lineup-team li{display:grid;grid-template-columns:65px minmax(0,1fr) auto;gap:8px;padding:9px 0;align-items:start;font-size:13px}
#content .matchup-lineup-team .lineup-slot{color:#a6b5c4;font-size:12px}
#content .matchup-lineup-team li strong{font-size:12px}
#content .matchup-scoring-note{font-size:12px;line-height:1.5;margin-top:16px}
@media(max-width:760px){#content .matchup-lineup-grid{grid-template-columns:minmax(0,1fr);gap:8px}}
@media(max-width:360px){#content .historical-matchup>summary{grid-template-columns:minmax(0,1fr) 16px}#content .historical-matchup>summary>strong{grid-column:1;grid-row:2}#content .historical-matchup>summary:after{grid-column:2;grid-row:1/3}}

/* Season badges must never shift the record or expansion arrow. */
#content .manager-leaderboard .manager-season>summary{display:grid;grid-template-columns:minmax(0,1fr) 90px 16px;gap:12px;align-items:center;white-space:normal}
#content .manager-leaderboard .manager-season>summary>strong{flex-wrap:wrap;min-width:0}
#content .manager-leaderboard .manager-season>summary>span{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#content .manager-leaderboard .manager-season>summary:after{grid-column:3;margin-left:0;justify-self:center}
@media(max-width:360px){#content .manager-leaderboard .manager-season>summary{grid-template-columns:minmax(0,1fr) 76px 16px;gap:8px}}

/* Compact introductions, balanced weekly navigation, and nested history labels. */
#content .sample-discovery-grid a{display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:4px 12px;padding:12px 14px;min-height:76px;align-content:center}
#content .sample-discovery-grid a>strong,#content .sample-discovery-grid a>span:nth-child(2){grid-column:1}
#content .sample-discovery-grid a>span:last-child{grid-column:2;grid-row:1/3;align-self:center}
#content .sample-introduction>p.small{margin:10px 0;font-size:13px}
#content .manager-season .championship-badge:after,#content .manager-season .championship-badge>span:after{content:none!important}
#content .manager-season-meta{padding:8px 12px;font-size:13px}
#content .portal-weekly-tabs{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
#content .portal-weekly-tabs button{white-space:normal;line-height:1.3;min-height:44px}
#content .weekly-heading{margin-bottom:16px}
#content .live-timestamp{margin:8px 0 12px;font-size:13px}
#content .weekly-score-row{align-items:start}
#content .weekly-score-row>span{min-width:0}
#content .live-player-status{font-size:12px;line-height:1.5;white-space:normal}
@media(max-width:760px){#content .portal-weekly-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#content .sample-introduction{margin:10px 0 16px}#content .sample-discovery-grid{gap:8px}#content .sample-discovery-grid strong{font-size:15px}#content .sample-discovery-grid span{font-size:13px;line-height:1.4}}
.league-sample-page .site-header>a:last-child{color:#d5e4ed;font-weight:600;font-size:14px;line-height:1.4;min-height:44px;display:inline-flex;align-items:center;text-align:right;max-width:calc(100% - 64px)}
/* Keep league identity while letting article content lead on inner pages. */
#leagueView:not([data-tab="home"]) .league-banner{min-height:0;padding:16px 20px}
#leagueView:not([data-tab="home"]) .league-banner h1{font-size:clamp(1.4rem,4vw,2rem);margin:6px 0}
#leagueView:not([data-tab="home"]) .league-banner-tagline{display:none}
#leagueView .league-utilities:has(#leagueSwitch[hidden]){display:flex;justify-content:flex-end;margin:6px 0}
#content .history-panel .history-coverage summary,#content .history-coverage summary{min-height:44px;display:flex;align-items:center}
#portalContent .preview-matchup-article[open] .preview-read{font-size:0}
#portalContent .preview-matchup-article[open] .preview-read::before{content:'Close matchup story';font-size:14px}
#portalContent .preview-matchup-article[open] .preview-read span{font-size:14px}
#previewMatchups{scroll-margin-top:16px}
@media(max-width:700px){
 #leagueView:not([data-tab="home"]) .league-banner{padding:12px 16px;border-radius:12px}
 #leagueView:not([data-tab="home"]) .league-banner .kicker{font-size:11px}
 #leagueView:not([data-tab="home"]) .league-banner h1{font-size:1.45rem}
 #leagueView:not([data-tab="home"]) .league-banner-meta{font-size:13px!important}
 #leagueView .league-primary-tabs{margin-top:8px;margin-bottom:12px}
 #portalContent .portal-weekly-tabs{margin-bottom:12px}
}
@media(max-width:700px){
 #leagueView{position:relative}
 #leagueView:has(#leagueSwitch[hidden]):not([data-tab="home"]) .league-banner-copy{padding-right:44px}
 #leagueView:has(#leagueSwitch[hidden]):not([data-tab="home"]) .league-utilities{position:absolute;right:10px;top:10px;margin:0}
 #portalContent .preview-edition .edition-masthead{display:flex;gap:4px 8px;padding-bottom:8px;font-size:11px}
 #portalContent .preview-edition .edition-masthead span{display:inline;margin:0}
 #portalContent .preview-edition .edition-jumps{margin:4px 0 0;padding:0;justify-content:flex-end}
 #portalContent .preview-edition .edition-jumps a{width:auto;padding:8px 0;min-height:44px;border:0;background:none;text-decoration:underline}
 #portalContent .preview-edition .lead-story{padding-top:8px}
}
#portalContent .preview-edition .edition-jumps{display:flex;flex-wrap:wrap;gap:4px 18px;justify-content:space-between}
#portalContent .preview-edition .edition-jumps a{flex:0 1 auto}

/* Article-only reading hierarchy: keep the decorative home and other league tabs intact. */
#leagueView[data-tab="recap"] .league-banner{background:transparent;padding:18px 0;border-radius:0}
#leagueView[data-tab="recap"] .league-banner-image,#leagueView[data-tab="recap"] .league-banner::after{display:none}
#leagueView[data-tab="recap"] .league-banner h1{font-family:inherit;text-transform:none;letter-spacing:-.025em;font-weight:750}
#leagueView[data-tab="recap"] .league-primary-tabs{background:transparent;border:0;border-radius:0;gap:12px}
#leagueView[data-tab="recap"] .league-primary-tabs>button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:48px;box-shadow:none;color:#adbdca}
#leagueView[data-tab="recap"] .league-primary-tabs>button[aria-current="page"]{background:transparent;color:#45ddb0;border-bottom-color:#45ddb0}
#leagueView[data-tab="recap"] .league-primary-tabs svg{display:none}
#content .recap-reading-surface{background:#f7f8f5;border-radius:14px;overflow:hidden;color:#17232d}
#content .recap-reading-surface .portal-recap-heading{padding:24px clamp(18px,4vw,40px) 0;margin:0;align-items:flex-start;gap:12px;flex-wrap:wrap}
#content .recap-reading-surface .portal-recap-heading h2{font-size:14px;line-height:1.4;letter-spacing:.045em;text-transform:uppercase;color:#326554;margin:0}
#content .recap-edition-meta{font-size:13px;line-height:1.5;color:#53635f;margin:6px 0 0}
#content .recap-reading-surface .portal-recap-heading .button{background:transparent;color:#245e50;border:1px solid #aabcb4;min-height:44px}
#content .recap-reading-surface .recap-toolbar-controls{padding:14px clamp(18px,4vw,40px) 18px;max-width:none;margin:0}
#content .recap-reading-surface .recap-toolbar-controls label{flex:none;max-width:220px;width:100%;color:#53635f}
#content .recap-reading-surface .recap-toolbar-controls select{background:#f7f8f5;border:1px solid #aabcb4;color:#17232d;border-radius:8px}
#content .recap-reading-surface #recapFrame{background:#f7f8f5}

/* Interior pages: compact identity and controls, with the existing sticky primary nav. */
#leagueView:not([data-tab="home"]):not([data-tab="recap"]):not([data-tab="previews"]) .league-banner{padding:10px 16px;min-height:0}
#leagueView:not([data-tab="home"]):not([data-tab="recap"]):not([data-tab="previews"]) .league-banner h1{font-size:clamp(1.2rem,3vw,1.65rem);margin:2px 0 4px}
#leagueView:not([data-tab="home"]) .league-utilities{margin:8px 0}
#content .history-controls{gap:10px;margin:8px 0 12px}
#content .history-icon-nav{margin-bottom:10px}
.history-lazy-body{min-width:0}
.profile-record>.history-lazy-body{padding:14px 16px}
.manager-season>.history-lazy-body{padding:0 8px}
.history-lazy-body:empty{padding:0}
#historyRefreshAvailable{min-height:44px;font-size:14px;margin:0 0 12px;color:#9ce4c9;background:#132923;border-color:#315b4e}
#moreTrades{min-height:44px;margin-top:8px}
.settings-placeholder{min-height:230px;color:#b5c6d2}
.settings-placeholder[data-for="leagueWritingSetting"]{min-height:290px}
#weeklyEmailSetting{min-height:230px}
#leagueWritingSetting{min-height:290px}
.recap-loading-placeholder{padding:32px 40px;color:#50685f;background:#f7f8f5;min-height:250px}
.recap-loading-placeholder span{display:block;margin-bottom:28px}
.recap-loading-placeholder i{display:block;height:14px;margin:16px 0;border-radius:4px;background:#e1e8e3;width:94%}
.recap-loading-placeholder i:first-of-type{height:34px;width:76%}
.recap-loading-placeholder i:last-child{width:65%}
@media(min-width:900px){#leagueView[data-tab="history"] .league-utilities{max-width:360px;margin-left:auto;margin-top:-62px;position:relative;padding-right:8px}#leagueView[data-tab="history"] .league-banner-copy{max-width:calc(100% - 380px)}#leagueView[data-tab="history"] .league-primary-tabs{margin-top:14px}}
@media(max-width:640px){.profile-record>.history-lazy-body{padding:10px 8px}.recap-loading-placeholder{padding:24px 18px}#content .history-controls>div{min-width:130px}#content .history-controls label{margin-top:4px}}

/* Keep the primary controls in normal flow. Avoid a stale sticky
   compositing layer when navigation changes the banner height on mobile. */
@media(max-width:640px){#leagueView .league-primary-tabs{position:relative;top:auto;z-index:auto;background:#0a1720;box-shadow:none}#content details{scroll-margin-top:16px}}
#leagueView .league-primary-tabs>button{-webkit-appearance:none;appearance:none;transition:none}

/* Keep form text readable and avoid focus zoom at mobile/tablet widths. */
@media(max-width:860px){
 #leagueView #leagueSwitch,#leagueView #content input,#leagueView #content select,#leagueView #content textarea{font-size:16px}
}

.roster-check{max-width:900px;margin-inline:auto;overflow-wrap:anywhere}.roster-check select{display:block;width:100%;max-width:100%;min-height:44px;margin-top:8px}.roster-check-card{padding:18px;margin:14px 0;border:1px solid #36564f;border-radius:14px;background:#10272b}.roster-check-card h3{font-size:1.15rem;margin:6px 0}.roster-check p{line-height:1.55}.roster-check summary{min-height:44px;padding:12px 0;cursor:pointer}.roster-check-week{border-top:1px solid #36564f;padding:12px 0}
#content .portal-weekly-tabs button[data-weekly-tab="myteam"]{min-height:44px}
/* Keep the complete This Week label visible on narrow phones. */
@media(max-width:360px){#leagueView .league-primary-tabs{grid-template-columns:minmax(0,.9fr) minmax(0,1.05fr) minmax(0,1.35fr) minmax(0,.95fr)}#leagueView .league-primary-tabs>button{padding-inline:2px}}

/* Roster pilot: make coverage, gaps and incomplete data distinct at a glance. */
#content .roster-check{padding:clamp(16px,3vw,24px)}
#content .roster-check h2{margin-bottom:8px}#content .roster-intro{margin:0 0 14px}#content .roster-updated{font-size:.8rem;line-height:1.45;margin:8px 0 18px;color:#a7b8ca}
.roster-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.roster-depth{padding:16px 0;border-top:1px solid #36564f}.roster-depth ul{padding-left:20px}.roster-depth li{margin:12px 0}#saveRosterTeam{min-height:44px;margin-top:10px;max-width:100%}#content #rosterIdentity{color:#83e2c0;line-height:1.5}
#content .roster-check-card{margin:0;padding:16px;border-radius:12px;min-width:0}
#content .roster-check-card--good{background:#10272b;border-color:#36564f}
#content .roster-check-card--warning{background:#2b2317;border-color:#8f7138}
#content .roster-check-card--info{background:#152333;border-color:#48647e}
.roster-card-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin-bottom:12px}
#content .roster-card-top .eyebrow{margin:0;font-size:.7rem;letter-spacing:.06em}
.roster-status{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:650;line-height:1.4;white-space:nowrap}
.roster-status--warning,.roster-summary-alert{color:#ffd58c}.roster-status--good{color:#83e2c0}.roster-status--info{color:#acd4f5}
.roster-status-icon{display:inline-block;width:19px;height:19px;min-width:19px;flex:0 0 19px;vertical-align:middle}
#content .roster-check-card h3{font-size:1.08rem;line-height:1.35;margin:0 0 8px}#content .roster-check-card p:not(.eyebrow){font-size:.92rem;line-height:1.5;margin:0}
.roster-next{border:1px solid;border-radius:10px;padding:14px;margin:12px 0 18px}
.roster-next .roster-card-top{flex-wrap:nowrap}.roster-next .roster-status-icon{color:#c3d6e5}.roster-next.roster-check-card--warning .roster-status-icon{color:#ffd58c}.roster-next.roster-check-card--good .roster-status-icon{color:#83e2c0}
#content .roster-next .eyebrow{font-size:.7rem;margin:0 0 4px}#content .roster-next h3{font-size:1rem;line-height:1.35;margin:0}#content .roster-next p:last-child{font-size:.88rem;line-height:1.5;margin:5px 0 0}
.roster-week-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}#content .roster-week-heading h3{font-size:.95rem;margin:0}#content .roster-check-week{padding:16px 0}#content .roster-check-week p{font-size:.9rem;margin:8px 0}.roster-week-result{font-weight:600}
.roster-summary-alert{display:inline-flex;gap:5px;align-items:center;font-size:.75rem;margin-left:10px}.roster-summary-alert .roster-status-icon{width:16px;height:16px;min-width:16px;flex-basis:16px}
@media(max-width:640px){.roster-summary-grid{grid-template-columns:minmax(0,1fr)}#content .roster-check-card{padding:15px}.roster-summary-alert{margin-left:6px}}
@media(max-width:360px){.roster-summary-alert{display:flex;margin:4px 0 0 18px}}

/* Paid-league cleanup: the result comes before advanced controls. */
#content .record-rules-tools{margin:18px 0;border-top:1px solid #304454}
#content .record-rules-tools>summary{min-height:44px;padding:12px 0;cursor:pointer;color:#bdd2df}
#content .record-rules-tools .record-rules-control{margin:0 0 16px}
#content .trade-row-assets{display:grid;gap:4px;margin:8px 0;color:#c5d2dd;font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
#content .trade-row-verdict.trade-status--pending{color:#b3cbdc}
#content .trade-row-verdict.trade-status--warning{color:#ffd58c}
#content .trade-receipt-body.trade-status--pending .trade-earned dd{color:#b3cbdc}
#content .trade-receipt-body.trade-status--warning .trade-earned dd{color:#ffd58c}
#content .trade-window{grid-column:1/-1;margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#102532;color:#cbdce7;font-size:14px}
/* Keep recap's paper article, but use the same primary controls as other pages. */
#leagueView[data-tab="recap"] .league-primary-tabs{background:#0a1720;border:1px solid #2c3c47;border-radius:14px;gap:4px;padding:3px}
#leagueView[data-tab="recap"] .league-primary-tabs>button{border:0;border-radius:12px;color:#b8c7d9}
#leagueView[data-tab="recap"] .league-primary-tabs>button[aria-current="page"]{background:#55efb2;color:#052019}
@media(max-width:700px){
 /* The existing native switcher becomes the visible league identity. */
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]){position:relative}
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]) .league-banner{min-height:0;padding:64px 14px 12px;border-radius:12px;margin-bottom:12px}
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]) .league-banner-copy{max-width:100%}
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]) .league-banner h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]) .league-utilities{position:absolute;top:10px;left:12px;right:12px;margin:0;max-width:none}
 #leagueView:has(#leagueSwitch:not([hidden])):not([data-tab="home"]) #leagueSwitch{font-weight:650;padding-inline:10px}
 #leagueView:not([data-tab="home"]) .league-banner-tagline{display:none}
 #content .portal-weekly-tabs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:6px;margin-bottom:12px}
 #content .portal-weekly-tabs button{min-height:44px;font-size:12px;line-height:1.3;padding:6px 4px;border-radius:10px;white-space:normal}
 #content .history-scope{margin:8px 0 12px}
}
/* Shared trade list: the team, assets and result each have one scanning position. */
.result-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;line-height:1.3;padding:5px 8px;border:1px solid currentColor;border-radius:7px;max-width:100%;white-space:normal}
.result-badge svg{width:17px;height:17px;flex:none}
.result-badge--win{color:#87e3c3;background:#12332b}.result-badge--loss{color:#f1b8b8;background:#34212a}.result-badge--even{color:#c4d0de;background:#1d2938}.result-badge--pending{color:#bdd3e8;background:#1a2c3b}.result-badge--warning{color:#ffd58c;background:#392e1b}
#content .trade-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin:16px 0}.trade-filters label{display:grid;gap:6px;min-width:0;font-size:13px}.trade-filters input,.trade-filters select{min-height:44px;width:100%;min-width:0;margin:0}
#content .trade-row-assets{margin:6px 0;gap:12px;grid-column:1}
.trade-summary-side{display:grid;gap:4px;min-width:0}.trade-summary-team{display:flex;align-items:center;justify-content:space-between;gap:10px}.trade-summary-team>b{color:#edf4fa;font-size:15px;min-width:0;overflow-wrap:anywhere}.trade-summary-team .result-badge{flex:none;max-width:48%}.trade-summary-assets{font-size:13px;color:#afbfce}
#content .trade-row-verdict{font-size:12px;font-weight:400;color:#aebdcb}.trade-open-hint{display:block;margin-top:6px;color:#8ae2c6;font-weight:600}.trade-receipt[open]>summary .trade-open-hint{display:none}
.trade-return>.result-badge{margin-bottom:12px}.trade-support{margin-top:14px;border-top:1px solid #344a5e}.trade-support>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-size:13px;color:#bed2df}.trade-support[open]{padding-bottom:6px}.trade-support details>summary{min-height:44px;align-content:center}
#content .trade-receipt>summary{padding:18px 12px}#content .trade-receipt-body{padding:0 12px 18px}#content .trade-receipt[open]{background:#101d2a;border-radius:10px}
@media(max-width:600px){#content .trade-filters{grid-template-columns:1fr}.trade-summary-team{align-items:flex-start}.trade-summary-team>b{font-size:14px}#content .trade-receipt>summary{padding:16px 6px}#content .trade-receipt-body{padding:0 6px 14px}.trade-return{padding:12px}.trade-earned{align-items:flex-start;flex-wrap:wrap;gap:4px}}

.roster-advice{border-top:1px solid #36564f;padding:18px 0}.roster-advice button{min-height:44px;max-width:100%;white-space:normal}.roster-position{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,.65fr);gap:12px;border-bottom:1px solid #29394a;padding:12px 0}.roster-position>div:last-child{text-align:right}.roster-position .small{margin:5px 0!important}.roster-trade-card{background:#10272b;border:1px solid #36564f;border-radius:12px;padding:16px;margin:12px 0}.roster-trade-card h4{font-size:1rem;margin:8px 0;line-height:1.5}.roster-trade-gains{display:grid;grid-template-columns:1fr 1fr;gap:12px}.roster-trade-gains strong{font-size:1.3rem;color:#83e2c0}#content .roster-trade-heading{margin-top:24px}.roster-advice [data-advice-result]:not(:empty){margin-top:20px}

/* October 2026: stories first, compact supporting information. */
#content .home-story{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:clamp(22px,4vw,38px);margin:18px 0;background:radial-gradient(ellipse at 100% 0,#24584d66,transparent 65%),#10232a;border:1px solid #36554f;border-radius:18px;overflow:hidden}
#content .home-story .home-dashboard-intro{margin:0;min-width:0}
#content .home-story h2{font-size:clamp(26px,3.5vw,40px);max-width:600px;letter-spacing:-.035em;line-height:1.13;margin:12px 0}
#content .home-story p{font-size:14px;color:#b5c8d1}
#content .home-story .button{margin-top:18px;background:#78edc5;color:#08251e;border:0;min-height:44px}
.home-story-number{display:grid;gap:5px;text-align:center;padding:16px 0 16px 26px;border-left:1px solid #4b7665;max-width:260px}
.home-story-number strong{font-size:clamp(54px,7vw,88px);line-height:1;font-weight:800;letter-spacing:-.065em;color:#9bf4d2;font-variant-numeric:tabular-nums}
.home-story-number span{font-size:12px;color:#bbd1cc}
.home-explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 24px;border-block:1px solid #293e48}
.home-explore a{display:grid;gap:8px;padding:18px 14px;color:#eef5f6;text-decoration:none;min-width:0;min-height:78px;border-right:1px solid #293e48}.home-explore a:last-child{border-right:0}.home-explore a:hover{background:#122730}.home-explore span{font-size:10px;letter-spacing:.08em;color:#91b6af}.home-explore strong{font-size:14px;line-height:1.4;font-weight:600}
#portalHomeFeature .portal-week-feature{background:transparent;border:0;padding:0;margin:24px 0;gap:10px 16px}
#portalHomeFeature .portal-week-feature h2{font-size:22px}
.home-score-strip{grid-column:1/-1;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 0 10px;max-width:100%;min-width:0;scrollbar-width:thin;scrollbar-color:#47665e transparent}
.home-score-tile{flex:0 0 230px;scroll-snap-align:start;display:grid;gap:8px;padding:14px;background:#101e27;border:1px solid #30434e;border-radius:12px;text-decoration:none;color:#edf4f7}
.home-score-tile .kicker{font-size:10px;color:#95ceba}.home-score-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px}.home-score-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-score-line strong{font-variant-numeric:tabular-nums;color:#f4f9fa}
#portalHomeFeature .live-timestamp{grid-column:1/-1;font-size:12px;color:#9aafb9}
#content .history-spotlight{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin:18px 0 24px;background:linear-gradient(110deg,#152b32,#10202b);border-left:3px solid #8ee7c6;border-radius:0 14px 14px 0}
#content .history-spotlight h2{font-size:clamp(24px,3.6vw,34px);margin:8px 0;letter-spacing:-.03em;overflow-wrap:anywhere}#content .history-spotlight p{font-size:13px;margin:0;color:#aac0c9}
.history-spotlight-stat{flex:0 0 110px;text-align:right}.history-spotlight-stat strong{display:block;font-size:52px;line-height:1;color:#a1eed4}.history-spotlight-stat span{display:block;font-size:12px;color:#b7cbd3;margin-top:6px}
#content .roster-check{background:transparent;border:0;padding:16px 0}
#content #rosterTeamTitle{font-size:clamp(27px,4vw,38px);line-height:1.15;letter-spacing:-.035em;margin:6px 0}
#content #rosterIdentity{margin:6px 0;color:#a9c4bf;font-size:13px}
.roster-team-controls{border:0!important;padding:0!important;margin:0!important;max-width:560px}.roster-team-controls>summary{font-size:13px;color:#8ee7c6}.roster-team-controls[open]{padding-bottom:12px!important}
#content .roster-updated{margin:0 0 12px;font-size:11px;color:#8da3b3}
#content .roster-next{padding:24px;border-radius:16px;margin:0 0 16px;border-width:0 0 0 3px}
#content .roster-next h3{font-size:clamp(23px,3vw,30px);line-height:1.2;letter-spacing:-.025em;max-width:620px}
#content .roster-next p:last-child{font-size:14px;max-width:650px;line-height:1.55;margin-top:10px}
.roster-next .roster-card-top{justify-content:flex-start;flex-direction:row-reverse;width:max-content;max-width:100%;gap:8px}
#content .roster-summary-grid{gap:12px;margin-bottom:20px}#content .roster-check-card{background:#101e27;border:1px solid #2d414b}
#content .roster-check-card h3{font-size:15px}.roster-status-detail{border:0!important;padding:0!important;margin:0!important}.roster-status-detail summary{font-size:12px;color:#a7bdc6;padding:8px 0;min-height:44px}
#content .roster-advice{padding:24px;border:1px solid #385e55;border-radius:16px;background:linear-gradient(120deg,#102e2c,#10212c);margin-bottom:20px}
#content .roster-advice>h3{font-size:22px;margin:0 0 8px;letter-spacing:-.02em}#content .roster-advice>p{font-size:14px;color:#bbd0d4}.roster-advice>button{background:#7ce9c4;color:#07261e;font-weight:700;border:0}
#content .recap-reading-surface{display:grid;grid-template-columns:minmax(0,1fr) auto}
#content .recap-reading-surface .portal-recap-heading{padding:16px 20px;align-items:center;gap:8px;margin:0}
#content .recap-reading-surface .recap-toolbar-controls{padding:16px 20px 16px 0;align-self:start;max-width:170px}
#content .recap-reading-surface .recap-edition-meta{font-size:11px;margin:4px 0 0}
#content .recap-reading-surface #recapLoading,#content .recap-reading-surface #recapFrame{grid-column:1/-1}
#content .recap-reading-surface .portal-recap-heading .button{font-size:12px;padding:8px 10px}
@media(max-width:600px){
 #content .home-story{grid-template-columns:minmax(0,1fr);gap:20px;padding:22px}.home-story-number{grid-row:1;border-left:0;padding:0;text-align:left;display:flex;align-items:baseline;gap:12px;max-width:none}.home-story-number strong{font-size:62px}.home-story-number span{max-width:130px}
 .home-explore{grid-template-columns:1fr}.home-explore a{grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center;min-height:64px;padding:12px 4px;border-right:0;border-bottom:1px solid #293e48}.home-explore a:last-child{border-bottom:0}
 #portalHomeFeature .portal-week-feature{grid-template-columns:minmax(0,1fr) auto}#portalHomeFeature .button{grid-column:2;grid-row:1/3;max-width:140px;width:auto;font-size:12px;margin:0;padding:10px}
 #content .history-spotlight{padding:18px;gap:14px}.history-spotlight-stat{flex-basis:80px}.history-spotlight-stat strong{font-size:42px}
 #content .roster-next,#content .roster-advice{padding:20px}#content .roster-summary-grid{grid-template-columns:1fr 1fr;gap:8px}#content .roster-check-card{padding:12px}.roster-card-top{gap:8px;margin-bottom:8px}#content .roster-card-top .eyebrow{font-size:10px}.roster-status{font-size:11px}
 #content .recap-reading-surface .portal-recap-heading{padding:14px;display:block}#content .recap-reading-surface .portal-recap-heading .button{margin-top:6px}#content .recap-reading-surface .recap-toolbar-controls{padding:14px 14px 14px 0;max-width:120px}
}
@media(max-width:360px){#content .roster-summary-grid{grid-template-columns:1fr}.home-explore a{grid-template-columns:95px minmax(0,1fr)}}
@media(max-width:600px){#leagueView[data-tab="home"] .league-banner{min-height:130px;padding:18px 16px}#leagueView[data-tab="home"] .league-banner h1{font-size:27px}#leagueView[data-tab="home"] .league-banner-tagline{font-size:11px!important}}
/* A sample has no league switcher: keep its settings action in the banner. */
#leagueView:has(#leagueSwitch[hidden]){position:relative}
#leagueView:has(#leagueSwitch[hidden]) .league-utilities{position:absolute;left:auto;right:10px;top:10px;margin:0;padding:0;max-width:none}
#leagueView:has(#leagueSwitch[hidden]) .league-banner-copy{max-width:calc(100% - 46px)}
#content .recap-toolbar-controls .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* My Team: compact, readable scoring comparisons. */
#content .roster-advice{background:#0b1b24;border-color:#2c454d;padding:20px}
#content .roster-advice>p{margin:6px 0 14px}
#content .roster-advice>button.is-loaded{background:transparent;border:1px solid #45616a;color:#bcebdc;font-size:13px;padding:8px 14px}
#content .roster-advice [data-advice-result]:not(:empty){margin-top:16px}
#content .roster-analysis-context{font-size:12px;color:#acbdc6;margin-bottom:4px}
#content .roster-scoring-note{border:0;padding:0;margin:0 0 14px}
#content .roster-scoring-note summary{font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px;color:#acbdc6}
#content .roster-scoring-note summary:before{content:'+';font-size:18px}
#content .roster-scoring-note[open] summary:before{content:'−'}
#content .roster-scoring-note p{font-size:13px;line-height:1.5;margin:0 0 12px}
.roster-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 20px}
#content .roster-position{display:block;min-width:0;background:#102630;border:1px solid #2c424c;border-radius:12px;padding:14px}
#content .roster-position-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;text-align:left}
#content .roster-position-top strong{font-size:15px}
#content .roster-position-score{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#content .roster-position-score small{font-size:10px;font-weight:400;color:#a9bdc6}
#content .roster-position-players{font-size:13px;line-height:1.5;color:#bbcbd2;margin:8px 0 12px;overflow-wrap:anywhere}
#content .roster-position-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;text-align:left;font-size:11px;color:#acbdc6}
.roster-position-gap.is-below{color:#f0c675}.roster-position-gap.is-above{color:#8ce1c2}
@media(max-width:600px){#content .roster-advice{padding:16px}#content .roster-advice>h3{font-size:20px}.roster-positions{grid-template-columns:1fr}#content .roster-position{padding:12px 14px}}

/* Trade Finder leads with actionable swaps; roster context stays expandable. */
#content .roster-trade-results{margin:16px 0 12px}
#content .roster-trade-results h4{font-size:16px;margin:0 0 4px}
#content .roster-trade-results p{margin:0;font-size:13px}
.roster-trade-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#content .roster-trade-top .eyebrow{font-size:11px;margin:0;overflow-wrap:anywhere}
.roster-trade-index{font-size:11px;color:#acbdc6;white-space:nowrap}
.roster-trade-swap{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.roster-trade-swap>div{min-width:0;border:1px solid #354a53;border-radius:10px;padding:12px;background:#0b1b24}
.roster-trade-swap>div.roster-trade-receive{border-color:#497d6b;background:#102d29}
.roster-trade-swap span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#b4c9cf}
#content .roster-trade-swap h4{font-size:16px;line-height:1.35;margin:8px 0 4px;overflow-wrap:anywhere}
.roster-trade-swap small{font-size:12px;color:#b4c9cf}
#content .roster-trade-gains{border-top:1px solid #354a53;padding-top:12px}
#content .roster-trade-gains p{font-size:12px;margin:0;line-height:1.6}
#content .roster-trade-estimate{font-size:11px;line-height:1.5;margin:12px 0}
#content .roster-trade-card{padding:16px;background:#10232b}
#content .roster-trade-card details{margin-bottom:0}
#content .roster-trade-card summary{font-size:13px;min-height:44px;align-content:center}
#content .roster-position-details>.roster-positions{margin-top:14px}
@media(max-width:360px){#content .roster-trade-card{padding:12px}.roster-trade-swap>div{padding:9px}#content .roster-trade-swap h4{font-size:14px}}
.roster-trade-filters{margin:16px 0}.roster-trade-filters>label{display:grid;gap:8px;font-size:13px;font-weight:600}.roster-trade-filters select{width:100%;min-height:44px}.roster-trade-filters summary{min-height:44px;align-content:center;font-size:13px}#content .roster-protect{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;margin:0}.roster-protect input{width:18px;height:18px;flex:none;accent-color:#7ce9c4}.roster-protect small{color:#b1c4cc}.roster-trade-filters .small{font-size:12px}
.roster-keeper-cost{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;align-items:center;font-size:13px;margin:10px 0}.roster-keeper-cost input{width:100%;min-height:44px;box-sizing:border-box}

/* Open editorial surfaces: shared by the real league renderer and its sample. */
body.homepage-film,body.league-history-page{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.homepage-film .wrap{max-width:1160px}
.homepage-film .site-header{border-bottom-color:#ffffff12}
.homepage-film .home-sample-intro{padding:56px 0 48px;gap:48px}
.homepage-film .home-sample-intro h1{font-size:clamp(34px,4.6vw,60px);line-height:1.04;letter-spacing:-.055em;max-width:780px}
.homepage-film .home-sample-intro p:not(.eyebrow){line-height:1.7;margin-top:20px;max-width:540px}
.homepage-film .eyebrow{letter-spacing:.16em;font-size:10px}
.homepage-film .tour-heading{border-top:1px solid #ffffff18;padding:22px 0}
.homepage-film .tour-heading h2{font-size:13px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#a8bfc6}
.homepage-film .tour-slide{border:0;border-radius:0;background:transparent;min-height:440px;padding:24px 0 32px;gap:64px}
.homepage-film .slide-editorial h3{font-size:clamp(34px,4.5vw,56px);letter-spacing:-.055em;line-height:1.04;font-weight:650}
.homepage-film .slide-editorial p{line-height:1.7;color:#a9bec8}
.homepage-film .slide-sample-label{color:#819ba6;letter-spacing:.12em}
.homepage-film .slide-content-live{border:0;border-radius:0;background:transparent}
.homepage-film .slide-content-live:not(.preview-live){border-top:1px solid #527b70;border-bottom:1px solid #ffffff18}
.homepage-film .preview-live{background:#f4f2eb;color:#19282c;border-radius:3px;box-shadow:0 14px 40px #0003}
.homepage-film .preview-live article{padding:30px}
.homepage-film .preview-live h4{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:34px;letter-spacing:-.035em}
.homepage-film .manager-row{padding:20px 8px;border-color:#ffffff16;background:transparent}
.homepage-film .manager-row h4{font-weight:550}
.homepage-film .rivalry-live{padding:24px 8px}
.homepage-film .series-score{font-size:88px;font-weight:500;letter-spacing:-.065em}
.homepage-film .power-live{padding:22px 8px;border-color:#ffffff16}
.homepage-film .slide-controls{border:0;background:transparent;box-shadow:none;border-radius:0;margin-top:4px}
.homepage-film .slide-arrow,.homepage-film .slide-play{background:transparent;border:1px solid #ffffff25;border-radius:50%;color:#b7d6cc}
.homepage-film .slide-dot span{width:20px;height:2px;border-radius:0}
.homepage-film .slide-dot[aria-current=true] span{width:20px;height:2px;box-shadow:none}
.homepage-film .tour-sample-link{background:transparent;border:0;border-radius:0;width:auto;max-width:none;padding:12px 0;color:#8be6c8}
.homepage-film .tour-sample-link:hover{background:transparent;text-decoration:underline;text-underline-offset:6px;border:0}
.homepage-film .home-feedback{border-bottom:0;padding:28px 0;margin-top:24px}
.homepage-film .home-feedback h2{font-size:18px;font-weight:550}
.homepage-film .home-feedback .feedback-link{border:0;border-radius:0;padding:10px 0;text-decoration:underline;text-underline-offset:6px}
.homepage-film .homepage-pricing{margin-top:12px;border-color:#ffffff20}
.homepage-film .home-pass{padding:48px 0}
.homepage-film .home-pass h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.045em;line-height:1.1;font-weight:550}
.homepage-film .price strong{font-size:52px;font-weight:500;letter-spacing:-.05em}
.homepage-film .landing-faq{max-width:820px;margin:20px 0 56px}
.homepage-film .landing-faq h2{font-size:24px;font-weight:550;letter-spacing:-.035em}
.homepage-film .landing-faq details{border-color:#ffffff18}
/* Underlined tabs and unboxed statistics provide structure without card stacks. */
#leagueView .league-banner{border-radius:0;min-height:0;padding:24px 22px}
#leagueView .league-primary-tabs{margin:0 0 28px;padding:0;gap:0;border:0;border-bottom:1px solid #ffffff20;border-radius:0;background:transparent}
#leagueView .league-primary-tabs>button{border-radius:0;min-height:54px;border-bottom:2px solid transparent;background:transparent;color:#aebdc8}
#leagueView .league-primary-tabs>button[aria-current=page]{background:transparent;color:#82edc7;border-bottom-color:#82edc7}
#content .history-stat,#portalContent .history-stat{background:transparent;border:0;border-right:1px solid #ffffff16;border-radius:0;padding:16px 4px}
#content .history-stat:last-child,#portalContent .history-stat:last-child{border-right:0}
#content .history-stat strong,#portalContent .history-stat strong{font-weight:500;font-variant-numeric:tabular-nums;font-size:32px}
#content .home-story,#content .history-spotlight,#content .roster-next,#content .roster-advice,#portalHomeFeature .portal-week-feature{background:transparent;border:0;border-top:1px solid #527b70;border-bottom:1px solid #ffffff18;border-radius:0;box-shadow:none;padding:24px 0}
#content .home-story h2{letter-spacing:-.04em;font-weight:600;line-height:1.12}
#content .home-explore{background:transparent;border-radius:0;border-color:#ffffff18}
#content .roster-check-card,#content .roster-position{background:transparent;border:0;border-bottom:1px solid #ffffff20;border-radius:0;padding:18px 4px}
#content .roster-trade-card{background:#0d1c24;border:0;border-radius:6px;padding:20px}
#content .roster-trade-swap>div{border:0;border-radius:0;background:transparent;padding:12px 0}
#content .roster-trade-swap>div.roster-trade-receive{border-left:1px solid #42645c;background:transparent;padding-left:14px}
#content .portal-weekly-tabs button{border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent;min-height:44px}
#content .portal-weekly-tabs button[aria-pressed=true]{background:transparent;color:#82edc7;border-bottom-color:#82edc7}
#content .recap-archive{background:transparent;border:0;border-bottom:1px solid #ffffff20;border-radius:0;padding:12px 0 20px}
@media(max-width:720px){
 .homepage-film .home-sample-intro{padding:32px 0;gap:24px;grid-template-columns:1fr}
 .homepage-film .home-sample-intro h1{font-size:clamp(34px,7.5vw,48px)}
 .homepage-film .home-sample-action{max-width:430px;width:100%}
 .homepage-film .tour-slide{grid-template-columns:minmax(0,1fr);padding:12px 0 24px;gap:24px;min-height:620px;align-content:start}
 .homepage-film .slide-editorial h3{font-size:34px;margin:8px 0 12px}
 .homepage-film .slide-editorial p{margin:8px 0;font-size:15px}
 .homepage-film .slide-sample-label{margin-top:16px}
 .homepage-film .preview-live article{padding:22px}
 .homepage-film .preview-live h4{font-size:30px}
 .homepage-film .home-pass{padding:32px 0}
 .homepage-film .series-score{font-size:76px}
 #leagueView .league-banner{min-height:0;padding:20px 16px}
 #leagueView .league-primary-tabs>button{font-size:14px;gap:4px;min-height:50px}
 #content .home-story,#content .history-spotlight,#content .roster-next,#content .roster-advice{padding:22px 0}
}
@media(prefers-reduced-motion:reduce){.homepage-film *{scroll-behavior:auto!important}}
/* History reads as a record book, with quiet icon navigation and ruled rows. */
#content .history-icon-nav button{background:transparent;border-color:transparent;border-radius:4px}
#content .history-icon-nav button[aria-pressed=true]{background:#12312b;border-color:transparent;color:#a0efd4}
#content .manager-leaderboard{border:0;border-radius:0;background:transparent}
#content .manager-leaderboard .profile-record{border-radius:0;border:0;border-bottom:1px solid #ffffff18;background:transparent}
#content .manager-leaderboard .profile-record>summary{background:transparent;border-radius:0}
#content .manager-leaderboard .profile-record>summary:hover{background:#ffffff04}

/* League Home: one score story, compact scoreboard, open history rows. */
#leagueView .league-primary-tabs{margin-bottom:16px}
#portalHomeFeature .portal-week-feature{margin:8px 0 20px;padding:16px 0 12px;border-top:0;gap:8px 12px}
#portalHomeFeature .home-matchup-link{grid-column:2;grid-row:1/3;align-self:center;display:inline-flex;align-items:center;min-height:44px;color:#91e8ca;font-size:13px;text-decoration:underline;text-underline-offset:5px}
#portalHomeFeature .home-score-story{grid-column:1/-1;padding:22px 0 18px;background:radial-gradient(ellipse at 95% 30%,#60e7b915,transparent 65%)}
.home-score-story .home-story-label{font-size:10px;letter-spacing:.17em;color:#d9bd80;font-weight:700}
#portalHomeFeature .home-score-story h3{font-size:clamp(26px,5vw,44px);font-weight:650;line-height:1.12;letter-spacing:-.045em;margin:10px 0 12px;overflow-wrap:anywhere;max-width:780px}
.home-score-story h3>span{display:block;color:#83edc6}
#portalHomeFeature .home-score-story p{font-size:12px;color:#a7bbc3;line-height:1.5}
#portalHomeFeature .home-score-strip{gap:16px;padding:0 0 10px;scroll-padding-inline:0}
#portalHomeFeature .home-score-tile{flex:0 0 min(310px,88%);box-sizing:border-box;padding:14px 0;background:transparent;border:0;border-top:2px solid #64d9b3;border-radius:0;gap:12px}
#portalHomeFeature .home-score-tile.is-final{border-top-color:#42545e}
#portalHomeFeature .home-score-tile .kicker{font-size:10px;letter-spacing:.12em;color:#7ee7c0}
#portalHomeFeature .home-score-tile.is-final .kicker{color:#a4b2bd}
#portalHomeFeature .home-score-line{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:12px}
#portalHomeFeature .home-team-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#20333c;color:#bad4d0;font-size:9px;font-weight:700}
#portalHomeFeature .home-team-name{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
#portalHomeFeature .home-score-line strong{font-size:24px;letter-spacing:-.04em;font-weight:650}
#portalHomeFeature .home-score-line.is-winner strong{color:#83edc6}
#portalHomeFeature .live-timestamp{font-size:11px;margin:0}
#portalHomeFeature .portal-feature-secondary{padding:6px 0;font-size:13px;min-height:44px;display:inline-flex;align-items:center}
#content .home-explore{border-top:0;margin-bottom:22px}
#content .home-explore a{grid-template-columns:1fr;gap:5px;padding:16px 14px}
#content .home-explore small{font-size:12px;line-height:1.5;color:#99afb9;overflow-wrap:anywhere}
#content .home-explore a:first-child>span,#content .home-dashboard-intro .history-eyebrow{color:#d9bd80}
#content .home-dashboard-intro{padding-top:4px}
.home-score-tile:focus-visible,.home-matchup-link:focus-visible,.home-explore a:focus-visible{outline:2px solid #83edc6;outline-offset:4px}
@media(max-width:720px){#content .home-explore a{padding:14px 0;gap:4px}#portalHomeFeature .portal-week-feature h2{font-size:20px}#portalHomeFeature .home-score-story{padding:16px 0 12px}}

/* My Team: compact coverage rows, calm depth notes, one clear trade action. */
#content .roster-check{padding-top:8px}
#content .roster-check> .eyebrow{font-size:10px;letter-spacing:.12em;color:#8fa6b0;margin:0 0 6px}
#content #rosterTeamTitle{font-size:30px;letter-spacing:-.04em;margin:0 0 4px}
#content #rosterIdentity{font-size:12px;margin:0 0 6px;color:#9ab4b9}
#content .roster-team-controls>summary{min-height:44px;display:flex;align-items:center;font-size:12px;width:max-content}
#content .roster-team-controls>summary:after{content:'⌄';margin-left:8px}
#content .roster-updated{font-size:10px;color:#8ba0aa;margin:0 0 18px}
#content .roster-summary-grid{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 16px;border-top:1px solid #ffffff18}
#content .roster-summary-grid .roster-check-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:12px 0;border:0;border-bottom:1px solid #ffffff18;background:transparent;border-radius:0}
#content .roster-summary-grid .roster-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;margin:0;min-width:0}
#content .roster-summary-grid .roster-card-top .eyebrow{font-size:10px;letter-spacing:.05em;color:#b5c5cd}
#content .roster-summary-grid .roster-status{font-size:12px;white-space:nowrap;gap:5px}
#content .roster-summary-grid .roster-status-icon{width:17px;height:17px;min-width:17px;flex-basis:17px}
#content .roster-status-detail{margin:0;border:0;padding:0;display:contents}
#content .roster-status-detail>summary{font-size:11px;min-height:44px;display:flex;align-items:center;color:#a8bbc4}
#content .roster-status-detail>h3,#content .roster-status-detail>p{grid-column:1/-1}
#content .roster-status-detail>h3{font-size:14px;margin:8px 0 0}
#content .roster-status-detail>p{font-size:12px;margin:6px 0;line-height:1.5}
#content .roster-next{padding:14px 16px;margin:0 0 20px;border:0;border-left:2px solid #7698ad;border-radius:0;background:linear-gradient(90deg,#91b7dc0d,transparent);box-shadow:none}
#content .roster-next.roster-check-card--warning{border-left-color:#e8bb73;background:linear-gradient(90deg,#e8bb730d,transparent)}
#content .roster-next .roster-card-top{margin-bottom:5px}
#content .roster-next .roster-card-top .eyebrow{font-size:9px;letter-spacing:.12em;margin:0}
#content .roster-next .roster-status-icon{height:16px;width:16px;min-width:16px;flex-basis:16px}
#content .roster-next h3{font-size:20px;line-height:1.2;letter-spacing:-.025em}
#content .roster-next p:last-child{font-size:13px;line-height:1.5;margin:8px 0 0;max-width:60ch}
#content .roster-advice{padding:22px 0;margin:0 0 20px;border:0;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;border-radius:0;background:radial-gradient(ellipse at 100% 0,#62edbd15,transparent 65%)}
#content .roster-tool-label{font-size:9px;letter-spacing:.14em;color:#8de6c7}
#content .roster-advice>h3{font-size:28px;margin:7px 0;letter-spacing:-.04em;display:flex;justify-content:space-between;align-items:center}
#content .roster-advice>h3>span{color:#80e8c3;font-size:26px;font-weight:400}
#content .roster-advice>p{font-size:13px;line-height:1.5;max-width:42ch;margin:0 0 16px;color:#abc1c8}
#content .roster-advice>button{width:100%;min-height:48px;border-radius:6px;font-size:14px;background:#83eac6;color:#09231d}
#content .roster-depth>h3{font-size:18px;margin:0 0 6px}
#content .roster-depth>p{font-size:12px;line-height:1.5;color:#9fb3be}
@media(min-width:720px){#content .roster-advice>button{width:auto;min-width:220px}#content .roster-summary-grid{max-width:700px}}

/* Trade search: quick position selection and player-first comparisons. */
#content .trade-position-picker{padding:0;border:0;margin:0 0 10px;min-width:0}
#content .trade-position-picker legend{font-size:12px;font-weight:600;color:#b1c6cc;margin-bottom:8px}
#content .trade-position-picker>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#content .trade-position-picker label{position:relative;display:block;margin:0;min-width:0;cursor:pointer}
#content .trade-position-picker input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
#content .trade-position-picker span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #ffffff20;border-radius:6px;font-size:13px;color:#a9bdc7;background:#0a171f}
#content .trade-position-picker input:checked+span{background:#83eac6;border-color:#83eac6;color:#09231d;font-weight:750}
#content .trade-position-picker input:focus-visible+span{outline:2px solid white;outline-offset:3px}
#content .roster-trade-filters>details{margin:0;padding:0;border:0}
#content .roster-trade-filters>details>summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:12px;color:#a8bdc7}
#content .roster-trade-filters>details>summary:before{content:'+';font-size:17px;color:#7bdcbb}
#content .roster-trade-filters>details[open]>summary:before{content:'−'}
#content .roster-advice>button.is-loaded{background:#83eac6;border:0;color:#09231d;min-height:44px;margin:8px 0 0}
#content .roster-analysis-context{font-size:10px;margin-top:4px;color:#8da8b2}
#content .roster-trade-results h4{font-size:16px;margin:6px 0 12px;letter-spacing:-.02em}
#content .roster-trade-card{background:transparent;border:0;border-top:1px solid #44655d;border-radius:0;padding:16px 0;margin:0 0 14px}
#content .roster-trade-top{align-items:center;margin:0 0 8px;gap:10px}
#content .roster-trade-top .eyebrow{font-size:11px;letter-spacing:.05em;color:#c4d6da;margin:0}
#content .roster-trade-index{font-size:10px;padding:3px 7px;border-radius:4px;background:#ffffff08;color:#a9bfc7}
#content .trade-fit-label{display:inline-block;font-size:10px;color:#8bdcbd;margin-bottom:10px}
#content .roster-trade-swap{gap:12px;margin:0}
#content .roster-trade-swap>div{padding:0 0 10px;min-width:0}
#content .roster-trade-swap>div.roster-trade-receive{padding:0 0 10px 12px;border-color:#ffffff16}
#content .roster-trade-swap>div>span{font-size:9px;letter-spacing:.12em;color:#9eb4bf}
#content .roster-trade-receive>span{color:#87e7c4}
#content .trade-player{margin-top:10px}
#content .trade-player h4{font-size:15px;line-height:1.3;letter-spacing:-.015em;margin:0 0 3px;overflow-wrap:anywhere}
#content .trade-player small{font-size:10px;color:#9ab1bb;line-height:1.4;display:block}
#content .roster-trade-gains{border-top:1px solid #ffffff12;padding-top:10px;margin-top:0;gap:12px}
#content .roster-trade-gains p{font-size:10px;color:#a1b8c1;margin:0}
#content .roster-trade-gains strong{font-size:23px;letter-spacing:-.04em;line-height:1.3}
#content .roster-trade-estimate{font-size:10px;line-height:1.5;margin:8px 0;color:#90a9b4}
#content .roster-trade-card>details{border:0;padding:0;margin:0}
#content .roster-trade-card>details>summary{font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px;color:#9be3ca}
#content .roster-trade-card>details>summary:after{content:'+';margin-left:auto}
#content .roster-trade-card>details[open]>summary:after{content:'−'}
