/* League discovery extends the existing navy, gold and franchise palettes. */
:is(.rtg-share, .rtg-franchise-switch, .rtg-season-comparison, [data-rtg-carousel]) [hidden] { display:none!important; }
.rtg-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:is(.rtg-share, .rtg-franchise-switch, .rtg-season-comparison, [data-rtg-carousel]) :is(a,button,select,input):focus-visible { outline:2px solid #f2d16b; outline-offset:3px; }
.rtg-franchise-switch { position:relative; z-index:4; color:#f3f6fa; background:linear-gradient(180deg,#05080d 0%,#07111f 100%); border-block:1px solid #26364a; font:16px/1.5 var(--body,Arial,sans-serif); }
.rtg-franchise-switch__inner { padding-block:12px 15px; }
.rtg-franchise-switch__heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:5px; }
.rtg-franchise-switch__eyebrow { color:#9eacbd; font:700 11px/1.2 var(--body,Arial,sans-serif); letter-spacing:.14em; text-transform:uppercase; }
.rtg-franchise-switch__directory { color:#cbb76c; font:600 12px/1.4 var(--body,Arial,sans-serif); text-decoration-color:#cbb76c80; text-underline-offset:3px; white-space:nowrap; }
.rtg-franchise-switch__directory:hover,.rtg-franchise-switch__directory:focus-visible { color:#fff0ac; }
.rtg-franchise-switch__scroller { max-width:100%; overflow:visible; }
.rtg-franchise-switch__logos { display:grid; grid-template-columns:repeat(12,minmax(44px,1fr)); align-items:center; gap:clamp(4px,.75vw,11px); width:100%; padding:0; overflow:visible; }
.rtg-franchise-switch__logos .rtg-franchise-switch__logo-link { position:relative; display:grid; place-items:center; width:auto; min-width:44px; min-height:48px; border-radius:4px; opacity:.72; transform:none; transition:opacity .15s ease,filter .15s ease; }
.rtg-franchise-switch__logo-link img { display:block; width:40px; height:40px; max-width:100%; object-fit:contain; }
.rtg-franchise-switch__logo-link::before { content:""; position:absolute; left:50%; bottom:1px; width:4px; height:4px; border-radius:50%; background:#e0bd4d; box-shadow:0 0 8px #e0bd4d; opacity:0; transform:translateX(-50%); }
.rtg-franchise-switch__logo-link::after { content:attr(data-franchise-name); position:absolute; left:50%; top:calc(100% + 6px); z-index:5; width:max-content; max-width:220px; padding:5px 8px; border:1px solid #a88e3a; border-radius:3px; color:#fff6cf; background:#07111f; box-shadow:0 7px 20px #000a; font:600 12px/1.25 var(--body,Arial,sans-serif); letter-spacing:.01em; text-align:center; white-space:nowrap; pointer-events:none; opacity:0; transform:translate(-50%,-3px); transition:opacity .12s ease,transform .12s ease; }
.rtg-franchise-switch__logos .rtg-franchise-switch__logo-link:hover,.rtg-franchise-switch__logos .rtg-franchise-switch__logo-link:focus-visible,.rtg-franchise-switch__logos .rtg-franchise-switch__logo-link[aria-current="page"] { opacity:1; filter:brightness(1.08); transform:none; }
.rtg-franchise-switch__logo-link:hover::after,.rtg-franchise-switch__logo-link:focus-visible::after { opacity:1; transform:translate(-50%,0); }
.rtg-franchise-switch__logo-link[aria-current="page"]::before { opacity:1; }
.rtg-compare-controls select { color:#f5f7fa; background:#0d1b2a; border:1px solid #62738a; border-radius:3px; min-height:44px; padding:8px 32px 8px 12px; font:16px/1.4 var(--body,Arial,sans-serif); min-width:0; max-width:100%; }
.rtg-carousel-controls button { color:#f2d16b; background:#07111f; border:1px solid #34465b; border-radius:3px; min-height:44px; min-width:44px; padding:8px 12px; cursor:pointer; font:600 14px/1.4 var(--body,Arial,sans-serif); }
.rtg-share { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-width:0; max-width:100%; }
.rtg-share button { display:inline-flex; gap:6px; align-items:center; padding:6px 8px; min-height:44px; border:0; border-radius:3px; background:transparent; color:#f2d16b; cursor:pointer; font:600 14px/1.4 var(--body,Arial,sans-serif); }
.rtg-share button:hover, .rtg-carousel-controls button:hover { background:#16283d; color:#fff3b6; }
.rtg-share button:disabled { opacity:.6; cursor:wait; }
.rtg-share button svg { flex-shrink:0; }
.rtg-share button span { color:inherit; font:inherit; letter-spacing:normal; }
.rtg-share-status { font:14px/1.4 var(--body,Arial,sans-serif); color:#edf1f7; }
.rtg-share-status:empty { display:none; }
.rtg-share input { flex:1 0 100%; box-sizing:border-box; width:100%; min-width:0; max-width:100%; padding:10px; font-size:16px; color:#f5f7fa; background:#07111f; border:1px solid #69788a; }
.rtg-matchup-heading-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:4px 12px; min-width:0; }
.rtg-season-comparison { margin:36px 0; padding:clamp(18px,3vw,30px); background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--team-accent,#16283d) 40%,transparent),transparent 65%),#07111f; color:#f3f6fa; border-top:2px solid var(--team-accent,#d4af37); min-width:0; }
.rtg-season-comparison header>p:not(.eyebrow) { font:16px/1.6 var(--body,Arial,sans-serif); color:#c5d0dd; }
.rtg-season-comparison h2 { margin:8px 0 10px; font-size:clamp(28px,4vw,38px); }
.rtg-compare-controls, .rtg-compare-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(12px,3vw,30px); }
.rtg-compare-controls { margin:20px 0 14px; }
.rtg-compare-controls label { display:grid; gap:6px; font-size:14px; }
.rtg-compare-controls select { width:100%; }
.rtg-compare-side { min-width:0; overflow-wrap:anywhere; }
.rtg-compare-side h3 { font-size:clamp(30px,4vw,46px); line-height:1.1; margin:8px 0; }
.rtg-compare-name { color:#f4f6f9; font-size:16px; line-height:1.5; min-height:3em; margin:0 0 12px; }
.rtg-compare-side dl { margin:0 0 16px; }
.rtg-compare-side dl>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:6px 10px; padding:10px 0; border-top:1px solid #ffffff21; }
.rtg-compare-side dt { font:14px/1.5 var(--body,Arial,sans-serif); color:#becbd9; }
.rtg-compare-side dd { margin:0; color:#f3f6fa; font:600 16px/1.5 var(--body,Arial,sans-serif); font-variant-numeric:tabular-nums; text-align:right; }
.rtg-compare-side>a { color:#f2d16b; font-size:14px; display:inline-block; padding-block:8px; }
.rtg-compare-summary { color:#f2d16b; font:600 16px/1.6 var(--body,Arial,sans-serif); margin:24px 0 10px; }
.rtg-compare-summary:empty { display:none; }
.rtg-discovery-note { color:#bfccdc; font:14px/1.6 var(--body,Arial,sans-serif); margin:14px 0 0; }
.rtg-history-feature { background:linear-gradient(125deg,#07111f,#16283d); }
.rtg-discovery-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px 24px; margin-bottom:20px; }
.rtg-discovery-heading h2 { margin:8px 0 0; font-size:clamp(28px,4vw,38px); }
.rtg-carousel-controls { display:flex; align-items:center; gap:6px; font:14px/1.5 var(--body,Arial,sans-serif); color:#c5d0de; flex-shrink:0; }
.rtg-carousel-controls button[data-carousel-prev], .rtg-carousel-controls button[data-carousel-next] { font-size:24px; line-height:1; }
.rtg-carousel-controls [data-carousel-count] { min-width:3em; text-align:center; font-variant-numeric:tabular-nums; }
.rtg-throwback { display:grid; grid-template-columns:150px minmax(0,1fr); gap:16px 30px; padding:22px 26px; background:radial-gradient(ellipse at 10% 60%,color-mix(in srgb,var(--side-a) 35%,transparent),transparent 60%),radial-gradient(ellipse at 100% 40%,color-mix(in srgb,var(--side-b) 35%,transparent),transparent 60%),#05070a; border-top:1px solid #526178; }
.rtg-throwback-meta { display:flex; flex-direction:column; gap:12px; justify-content:center; color:#bfcddd; font:14px/1.5 var(--body,Arial,sans-serif); }
.rtg-throwback-meta>strong { font:700 50px/1 var(--font-display,'Arial Narrow',sans-serif); color:#f2d16b; }
.rtg-throwback-teams { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.rtg-throwback-side { display:grid; grid-template-columns:110px minmax(0,1fr); align-content:center; align-items:center; gap:4px 12px; min-width:0; }
.rtg-throwback-side>img { width:110px; height:105px; object-fit:contain; grid-row:1/4; }
.rtg-throwback-side h3 { font:600 20px/1.25 var(--font-display,'Arial Narrow',sans-serif); margin:0; overflow-wrap:anywhere; }
.rtg-throwback-side>strong { font:700 28px/1.2 var(--body,Arial,sans-serif); font-variant-numeric:tabular-nums; color:#f5f7fb; }
.rtg-throwback-winner { color:#f2d16b; font:600 14px/1.3 var(--body,Arial,sans-serif); }
.rtg-throwback footer { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 20px; border-top:1px solid #ffffff21; padding-top:8px; font:14px/1.5 var(--body,Arial,sans-serif); }
.rtg-throwback footer>a { color:#f2d16b; padding-block:10px; }
.rtg-league-facts { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px; background:linear-gradient(120deg,#07111f,#102237); border-left:3px solid #d4af37; padding:20px 24px; margin:22px auto 0; max-width:100%; }
.rtg-fact-copy { flex:1 1 440px; min-width:0; }
.rtg-fact-copy p:not(.eyebrow) { color:#f0f3f8; font:16px/1.65 var(--body,Arial,sans-serif); margin:8px 0; }
.rtg-fact-copy a { color:#f2d16b; font:14px/1.5 var(--body,Arial,sans-serif); }
.rtg-weekly-honors { border-top:1px solid #516077; padding-top:24px; margin-top:30px; color:#f3f6fa; }
.rtg-weekly-honors h2 { font-size:30px; margin:6px 0 16px; }
.rtg-honors-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.rtg-honors-grid>article { min-width:0; padding-left:16px; border-left:2px solid #d4af37; }
.rtg-honors-grid h3 { font-size:22px; margin:0; }
.rtg-honor-number { font:700 30px/1.4 var(--body,Arial,sans-serif); margin:10px 0; font-variant-numeric:tabular-nums; }
.rtg-honor-number small { display:block; font-size:14px; font-weight:400; color:#bfcddd; }
.rtg-honor-winner { display:flex; align-items:center; gap:12px; margin-top:10px; font:16px/1.5 var(--body,Arial,sans-serif); }
.rtg-honor-winner img { width:72px; height:68px; object-fit:contain; flex-shrink:0; }
.rtg-honor-winner a { color:#f2d16b; }
.rtg-honor-winner p { font-size:14px; color:#bfcddd; margin:4px 0 0; }
.rtg-weekly-honors--pending { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px; }
.rtg-weekly-honors--pending h2 { margin:4px 0 0; font-size:24px; }
.rtg-weekly-honors--pending>p { font:16px/1.6 var(--body,Arial,sans-serif); color:#c5d0dd; margin:0; }
@media(max-width:800px) {
 .rtg-franchise-switch__scroller { overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; scrollbar-width:thin; scrollbar-color:#7d6d35 #07111f; -webkit-overflow-scrolling:touch; }
 .rtg-franchise-switch__logos { display:flex; gap:8px; width:max-content; min-width:100%; padding:0 1px 7px; }
 .rtg-franchise-switch__logos .rtg-franchise-switch__logo-link { flex:0 0 48px; }
 .rtg-franchise-switch__logo-link::after { display:none; }
 .rtg-throwback { grid-template-columns:1fr; }
 .rtg-throwback-meta { flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; }
 .rtg-throwback-meta>strong { font-size:36px; }
 .rtg-honors-grid { grid-template-columns:1fr; }
}
@media(max-width:540px) {
 .rtg-franchise-switch__inner { padding-block:11px 13px; }
 .rtg-franchise-switch__heading { margin-bottom:4px; }
 .rtg-franchise-switch__directory { font-size:11px; }
 .rtg-season-comparison { padding:18px 14px; }
 .rtg-compare-side dl>div { grid-template-columns:1fr; gap:4px; }
 .rtg-compare-side dd { text-align:left; min-height:1.5em; }
 .rtg-compare-name { min-height:4.5em; }
 .rtg-throwback { padding:18px 14px; gap:16px; }
 .rtg-throwback-side { display:flex; flex-direction:column; text-align:center; gap:8px; }
 .rtg-throwback-side>img { width:130px; max-width:100%; height:118px; }
 .rtg-throwback-side h3 { font-size:20px; }
 .rtg-throwback-side>strong { font-size:26px; }
 .rtg-league-facts { padding:18px 16px; }
 .rtg-matchup-heading-tools { column-gap:6px; }
 .rtg-matchup-hero>header { flex-wrap:wrap; gap:6px 12px; }
}
