/* Escalation (escalation-info.php): season switch, shared components and the Y8S3 live view.
 * The Y8S4 preview adds public/escalation-y8s4.css, loaded only for ?season=y8s4. Every rule is
 * scoped to .es-app or the page-top print button; layout reacts to the content width through a
 * container query so the shared site navigation and Wiki shell stay untouched. */
.es-app {
    --es-bg: #0d1116;
    --es-surface: #141a21;
    --es-surface2: #1a222a;
    --es-line: #2c353f;
    --es-text: #e8edf1;
    --es-muted: #aab3bd;
    --es-copy: #bfc8d0;
    --es-orange: #f39a3c;
    --es-gold: #ffe0a5;
    --es-green: #95d0b4;
    --es-enemy: #8fd0ef;
    --es-global: #f1cf87;
    --es-heading: Rajdhani, system-ui, sans-serif;
    container: es-page / inline-size;
    color: var(--es-text);
    font: 14px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
    min-width: 0;
}
.es-app *, .es-app *::before, .es-app *::after { box-sizing: border-box; }
.es-app a { color: var(--es-orange); text-decoration: none; }
.es-app a:hover { text-decoration: underline; color: var(--es-orange); }
.es-app :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--es-orange); outline-offset: 3px; }
.es-app p { margin: 0 0 1.1rem; }
.es-app :is(h1, h2, h3) { font-family: var(--es-heading); font-weight: 700; line-height: 1.15; margin: 0 0 1rem; letter-spacing: 0; text-align: left; }
.es-app h2 { font-size: clamp(26px, 2.6vw, 36px); }
.es-app h3 { font-size: 20px; }
.es-app strong { color: #fff; }
.es-app [id] { scroll-margin-top: 24px; }

/* Masthead */
.es-breadcrumbs { color: #8f99a4; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; padding: 4px 0 18px; }
.es-breadcrumbs a { color: var(--es-orange); }
.es-breadcrumbs span[aria-hidden] { color: #596471; margin: 0 10px; }
.es-notice { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; padding: 12px 16px; font-size: 10px; letter-spacing: 1.2px; color: var(--es-green); background: #172721; border-left: 2px solid #81c3aa; }
.es-notice > span:last-child { color: #aac2b7; letter-spacing: .2px; font-size: 12px; }
.es-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--es-green); flex: none; }
.es-notice--preview { color: var(--es-orange); background: #231b15; border-left-color: var(--es-orange); }
.es-notice--preview > span:last-child { color: #c1afa1; }
.es-notice--preview .es-pulse { background: var(--es-orange); }
.es-unavailable { margin: 0; padding: 16px 18px; border-left: 2px solid var(--es-orange); background: #2b2318; color: #dbc7a6; }

/* Season switch: plain links, the selected view carries aria-current="page". */
.es-season-picker { margin: 0 0 18px; padding: 18px 22px; background: #121920; border: 1px solid #303d48; border-radius: 4px; }
.es-season-title { display: block; margin-bottom: 12px; color: var(--es-muted); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.es-season-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.es-app .es-season-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; min-height: 44px; padding: 14px 18px; border: 1px solid #34414c; border-radius: 3px; background: #181f27; color: #c7d1db; line-height: 1.3; transition: border-color .15s, background .15s; }
.es-app .es-season-choice:hover { border-color: #8a9cae; background: #202a35; color: #c7d1db; text-decoration: none; }
.es-season-choice strong { font: 700 22px/1.1 var(--es-heading); letter-spacing: .5px; color: inherit; }
.es-season-choice small { grid-column: 1 / -1; font-size: 12px; color: var(--es-muted); }
.es-season-status { padding: 4px 7px; border-radius: 3px; background: #253d48; color: #a2dfed; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.es-season-choice--y8s4 .es-season-status { background: #44321d; color: #f0c073; }
.es-app .es-season-choice[aria-current="page"] { padding: 13px 17px; border: 2px solid #80c3de; background: #152e3a; color: #b6e2f4; }
.es-app .es-season-choice--y8s4[aria-current="page"] { border-color: #ffad60; background: #32241a; color: #ffc790; }
.es-app .es-season-note { margin: 12px 0 0; font-size: 12px; color: var(--es-muted); }
.es-hero { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 380px; padding: 48px 40px; overflow: hidden; border: 1px solid #303b44; border-top: 0; background: linear-gradient(110deg, #202831, #151c24 65%, #202a32); }
.es-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 49%, #ffffff04 50%, transparent 51%); background-size: 42px 42px; }
.es-hero-copy { position: relative; z-index: 1; min-width: 0; }
.es-eyebrow { display: block; color: var(--es-orange); font: 700 10px/1.4 ui-monospace, Consolas, monospace; letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase; }
.es-app .es-hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: .95; margin: 0 0 22px; text-transform: uppercase; letter-spacing: -.5px; }
.es-hero h1 span { display: block; font-size: 28px; font-weight: 600; letter-spacing: 0; color: #f4f5f5; margin-top: 12px; text-transform: none; }
.es-hero p { font-size: 16px; color: #b7c0c9; line-height: 1.7; }
.es-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 12px; margin-top: 24px; }
.es-app .es-primary { background: var(--es-orange); color: #17110d; padding: 12px 22px; font-weight: 700; }
.es-app .es-primary:hover { color: #17110d; background: #ffb062; text-decoration: none; }
.es-primary span { margin-left: 16px; }
.es-hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.es-hero-emblem { position: relative; z-index: 1; width: 230px; height: 230px; object-fit: contain; filter: sepia(1) saturate(7) hue-rotate(330deg); opacity: .95; }
.es-orbit { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid #d9874533; }
.es-orbit--outer { width: 345px; height: 345px; border-style: dashed; border-color: #a6b4c71c; }
.es-art-label { position: absolute; bottom: 0; font-size: 9px; letter-spacing: 4px; color: #b2a593; }
.es-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--es-line); border-top: 0; background: #12181e; }
.es-stats > div { display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-right: 1px solid var(--es-line); min-width: 0; }
.es-stats > div:last-child { border-right: 0; }
.es-stats b { font: 700 30px/1 var(--es-heading); color: var(--es-orange); white-space: nowrap; }
.es-stats span { font-size: 11px; color: #bbc2c9; line-height: 1.4; }

/* Page grid and contents rail */
.es-grid { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 36px; margin-top: 48px; }
.es-contents { align-self: start; position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.es-contents .es-eyebrow { color: #8995a1; font-size: 9px; margin: 0 0 10px; }
.es-app .es-contents a { color: #a8b2bd; padding: 7px 12px; border-left: 1px solid #303842; }
.es-app .es-contents a:hover, .es-app .es-contents a.is-active { background: #221c17; border-left: 2px solid var(--es-orange); color: var(--es-orange); text-decoration: none; }
.es-article { min-width: 0; }
.es-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--es-line); }
.es-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.es-section-title { margin-bottom: 22px; }
.es-section-title > span { display: block; margin-bottom: 10px; color: var(--es-orange); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.es-section-title h2 { margin: 0; }
.es-article p { font-size: 14px; line-height: 1.8; color: var(--es-copy); }
.es-app .es-lead { font-size: 16px; color: #c2cbd3; max-width: 880px; }
.es-anchor { display: block; height: 0; }
/* The shared Wiki entry script marks hash targets; whole sections only need the scroll position. */
.es-app .es-section.wiki-search-target { outline: 0; }
.es-app tr.wiki-search-target { outline-offset: -2px; }

/* Cards */
.es-cards { display: grid; gap: 16px; }
.es-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0; }
.es-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.es-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-cards--four article { border-top: 2px solid #4a4c4e; background: var(--es-surface); padding: 20px 16px; min-width: 0; }
.es-cards--four b { color: var(--es-orange); font-size: 9px; letter-spacing: 1.3px; }
.es-cards--four h3 { font-size: 18px; margin: 10px 0; }
.es-app .es-cards--four p { font-size: 12px; line-height: 1.75; margin: 0; }
.es-inset { background: var(--es-surface2); border: 1px solid #303a44; padding: 20px; min-width: 0; }
.es-inset h3 { font-size: 18px; }
.es-app .es-inset p { font-size: 13px; margin: 0; }

/* Notes, details and captions */
.es-app .es-caption { color: #8c9aa7; font-size: 11px; line-height: 1.8; }
.es-note { margin: 22px 0; padding: 16px 19px; font-size: 12px; line-height: 1.8; color: #b6c8d5; background: #19232c; border-left: 2px solid #7595ab; }
.es-note--amber { background: #292117; border-color: #d1a04e; color: #dbc7a6; }
.es-app details { margin: 18px 0; background: #141a21; border: 1px solid #2c353e; }
.es-app summary { cursor: pointer; padding: 15px 20px; font-size: 13px; font-weight: 700; color: #d6dfe6; line-height: 1.5; }
.es-app summary::marker { color: var(--es-orange); }
.es-app details[open] > summary { border-bottom: 1px solid #2c353e; }
.es-app details > p, .es-app details > .es-table-wrap { margin: 18px 20px; }
.es-app details > p:last-child { margin-bottom: 18px; }
.es-tactic { margin: 22px 0 0; padding: 14px 18px; background: #242017; border-left: 2px solid var(--es-orange); }
.es-spaced { margin-top: 30px; }

/* Tables */
.es-table-wrap { overflow-x: auto; max-width: 100%; margin: 20px 0; border: 1px solid var(--es-line); overscroll-behavior-x: contain; }
.es-app table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.6; background: transparent; }
.es-app th, .es-app td { padding: 12px 16px; border: 0; border-bottom: 1px solid #2b333c; vertical-align: middle; text-align: left; }
.es-app th { font-weight: 500; }
.es-app thead th { font-weight: 700; background: #202832; color: #d6dee5; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; line-height: 1.5; }
.es-app tbody th { color: #d2dbe3; background: transparent; font-size: 12px; letter-spacing: 0; }
.es-app tbody tr:hover > td { background-color: transparent; }
.es-app td { color: #aebbc7; }
.es-app tbody tr:last-child > :is(th, td) { border-bottom: 0; }
.es-app tbody tr:nth-child(even) { background: #151b22; }
.es-app tbody tr:hover { background: #222a33; }
.es-compact-table { min-width: 480px; }

/* Tier overview */
.es-tier-intro p { margin-bottom: 14px; }
.es-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; }
.es-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.es-legend > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.es-legend--enemy { color: var(--es-enemy); }
.es-legend--global { color: var(--es-global); }
.es-legend small { font-size: 10px; color: #97a7b6; }
.es-tier-table { min-width: 780px; table-layout: fixed; }
.es-tier-table th:first-child { width: 80px; }
.es-tier-table th:nth-child(2) { width: 90px; }
.es-tier-table th:nth-child(3) { width: 84px; }
.es-tier-table th:is(:nth-child(4), :nth-child(5), :nth-child(6)) { width: 76px; }
.es-app .es-tier-table :is(th, td) { padding: 12px 10px; }
.es-app .es-tier-table tbody th, .es-app .es-tier-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: #11181f; white-space: nowrap; box-shadow: 1px 0 0 #303944; }
.es-app .es-tier-table thead th:first-child { z-index: 2; background: #202832; }
.es-app .es-tier-table tbody tr:nth-child(even) > th { background: #151b22; }
.es-app .es-tier-table tbody tr:hover > th { background: #222a33; }
.es-app .es-tier-table tbody :is(th, td) { border-bottom: 1px solid #303944; }
.es-app .es-tier-table tbody tr:last-child > :is(th, td) { border-bottom: 0; }
.es-column-icon { width: 16px; height: 16px; object-fit: contain; vertical-align: middle; margin-right: 5px; }
.es-tier-name { color: var(--es-gold); font-size: 13px; font-weight: 700; }
.es-tier-balance { font-size: 14px; color: #ced8e3; }
.es-tier-reward { font-size: 16px; font-weight: 700; color: var(--es-green); }
.es-tier-table td > strong { font-size: 13px; color: #eaf0f5; }
.es-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.es-app .es-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 8px; border: 1px solid #48718b; border-radius: 5px; background: #1b2b36; color: #d0ecfc; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.es-app .es-badge:hover { background: #2a4152; border-color: #89c7e9; color: #d0ecfc; text-decoration: none; }
.es-app .es-badge--global { border-color: #716247; background: #2b281f; color: #f4d99e; }
.es-app .es-badge--global:hover { background: #443b26; border-color: #e0bb69; color: #f4d99e; }
.es-badge img { width: 18px; height: 18px; flex: none; object-fit: contain; filter: brightness(0) invert(1); }
.es-no-mutators { display: inline-block; font-size: 11px; color: #8c9dac; border: 1px solid #35424d; padding: 4px 9px; border-radius: 5px; }
.es-app .es-tier-table tbody tr:target > * { background: #2a2118; }

/* Mutator cards and matrix */
.es-mutator { display: flex; align-items: flex-start; gap: 18px; padding: 22px; background: var(--es-surface); border: 1px solid #303a44; min-width: 0; }
.es-mutator:target, .es-mutator.wiki-search-target { border-color: var(--es-orange); box-shadow: 0 0 0 1px #f39a3c55; outline: 0; }
.es-mutator-icon { width: 50px; height: 50px; flex: none; object-fit: contain; filter: brightness(0) invert(1); }
.es-status { color: var(--es-orange); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.es-mutator h3 { font-size: 20px; margin: 6px 0 10px; }
.es-app .es-mutator p { font-size: 12px; margin-bottom: 8px; }
.es-app .es-counter { border-top: 1px solid #35414b; padding-top: 12px; margin-bottom: 0; }
.es-matrix-table { min-width: 760px; }
.es-app .es-matrix-table :is(th, td) { text-align: center; padding: 12px 10px; }
.es-app .es-matrix-table :is(th, td):first-child { text-align: left; white-space: nowrap; }

/* Calculators */
.es-calculator { margin: 26px 0; padding: 24px; background: #171f27; border: 1px solid #3d4955; }
.es-calculator h3 { font-size: 19px; }
.es-controls { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; margin-bottom: 22px; }
.es-controls label { display: flex; flex: 1 1 150px; flex-direction: column; gap: 8px; min-width: 0; color: #a9b9c8; font-size: 11px; letter-spacing: .3px; }
.es-app .es-controls :is(select, input) { width: 100%; min-width: 0; min-height: 42px; padding: 9px 12px; background: #10171e; color: #fff; border: 1px solid #47545f; border-radius: 0; font: inherit; font-size: 13px; }
.es-app .es-controls select { cursor: pointer; }
.es-results { display: grid; gap: 16px; }
.es-results--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-results--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.es-result-box { padding: 18px; border: 1px solid #3a4652; background: #10171e; min-width: 0; }
.es-result-box > span { display: block; font-size: 10px; color: #aebcc8; letter-spacing: .4px; }
.es-result-box strong { display: block; margin: 8px 0; font: 700 34px/1.1 var(--es-heading); color: var(--es-orange); }
.es-result-box small { font-size: 11px; color: #9cabb9; }
.es-calculator > .es-caption { margin: 18px 0 0; }
.es-budget-message { padding: 15px; border-left: 2px solid var(--es-orange); background: #2b2318; color: #dbc7a6; margin: 0; }
#es-compare-result .es-table-wrap { margin: 0 0 14px; }
#es-compare-result table { min-width: 420px; }
#es-compare-result td { width: 35%; }
#es-compare-result td:nth-child(3) { color: #d8e0e7; }

/* Tokens, vendor and playlists */
.es-currency { display: flex; gap: 22px; align-items: flex-start; margin: 22px 0; }
.es-currency > img { width: 64px; height: 64px; flex: none; object-fit: contain; }
.es-currency h3 { margin-bottom: 10px; }
.es-vendor-table { min-width: 680px; }
.es-vendor-table tbody th { width: 250px; }
.es-cache { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.es-cache-icon { width: 64px; height: 32px; flex: none; object-fit: contain; }
.es-playlist-table { min-width: 900px; table-layout: fixed; }
.es-playlist-table th:first-child { width: 100px; }
.es-app .es-playlist-table :is(th, td) { vertical-align: top; padding: 15px 13px; line-height: 1.6; }
.es-app .es-playlist-table tbody th { font-weight: 700; color: var(--es-gold); background: #11181f; }
.es-app .es-playlist-table tbody tr:nth-child(even) > th { background: #151b22; }
.es-app .es-playlist-table td { color: #d6e0e9; font-size: 12px; }
.es-app .es-playlist-table tbody tr:target > * { background: #2a2118; }
/* Row labels stay readable while wide tables scroll sideways on narrow screens. */
.es-app :is(.es-playlist-table, .es-matrix-table) tbody th, .es-app :is(.es-playlist-table, .es-matrix-table) thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 #303944; }
.es-app :is(.es-playlist-table, .es-matrix-table) thead th:first-child { z-index: 2; }
.es-app .es-matrix-table tbody th { background: #11181f; }
.es-app .es-matrix-table tbody tr:nth-child(even) > th { background: #151b22; }

/* Footer and print button */
.es-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding: 22px 0 8px; border-top: 1px solid var(--es-line); font-size: 11px; color: #8695a3; }
.es-footer b { letter-spacing: 2px; color: #c2cbd2; }
.es-app .es-footer a { margin-left: auto; }
.page-top .es-print-button { cursor: pointer; font: inherit; }

/* Medium content width: contents rail becomes a scrollable strip above the article. */
@container es-page (max-width: 900px) {
    .es-grid { display: block; margin-top: 28px; }
    .es-contents { position: static; flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 0 0 12px; margin-bottom: 30px; border-bottom: 1px solid var(--es-line); font-size: 11px; }
    .es-contents .es-eyebrow { display: none; }
    .es-app .es-contents a { flex: none; white-space: nowrap; border: 1px solid #303842; padding: 6px 10px; }
    .es-app .es-contents a:hover, .es-app .es-contents a.is-active { border: 1px solid var(--es-orange); }
    .es-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .es-cards--three { grid-template-columns: minmax(0, 1fr); }
    .es-hero { padding: 38px 28px; }
    .es-hero-emblem { width: 190px; height: 190px; }
    .es-orbit { width: 250px; height: 250px; }
    .es-orbit--outer { width: 290px; height: 290px; }
    .es-stats > div { padding: 18px; gap: 12px; }
    .es-stats b { font-size: 26px; }
}
/* Narrow content width (phones): single column, tables scroll inside their own frame. */
@container es-page (max-width: 640px) {
    .es-season-picker { padding: 14px; }
    .es-season-nav { gap: 8px; }
    .es-app .es-season-choice { padding: 12px; gap: 6px; }
    .es-app .es-season-choice[aria-current="page"] { padding: 11px; }
    .es-season-choice strong { font-size: 19px; }
    .es-season-choice small { font-size: 11px; }
    .es-season-status { font-size: 9px; padding: 3px 5px; }
    .es-notice { gap: 8px; }
    .es-notice > span:last-child { flex-basis: 100%; font-size: 11px; }
    .es-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 30px 20px; }
    .es-app .es-hero h1 { font-size: clamp(40px, 13cqw, 64px); }
    .es-hero h1 span { font-size: 24px; }
    .es-hero p { font-size: 14px; }
    .es-hero-art { position: absolute; right: -70px; bottom: 10px; width: 230px; opacity: .15; transform: rotate(-8deg); }
    .es-hero-actions { gap: 16px; font-size: 11px; }
    .es-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .es-stats > div { padding: 14px; min-height: 76px; border-bottom: 1px solid var(--es-line); }
    .es-stats > div:nth-child(2) { border-right: 0; }
    .es-stats > div:nth-child(n+3) { border-bottom: 0; }
    .es-stats b { font-size: 24px; }
    .es-stats span { font-size: 10px; }
    .es-section { padding-bottom: 30px; margin-bottom: 34px; }
    .es-cards--two, .es-results--two, .es-results--three { grid-template-columns: minmax(0, 1fr); }
    .es-cards--four { gap: 10px; }
    .es-cards--four article { padding: 15px 12px; }
    .es-cards--four h3 { font-size: 16px; }
    .es-app .es-cards--four p { font-size: 11px; }
    .es-mutator { padding: 18px; gap: 14px; }
    .es-calculator { padding: 18px 14px; }
    .es-controls { gap: 14px; }
    .es-controls label { flex-basis: 100%; }
    .es-app :is(th, td) { padding: 10px 12px; }
    .es-tier-table { min-width: 960px; }
    .es-app .es-tier-table :is(th, td) { padding: 11px 10px; }
    .es-currency { gap: 14px; }
    .es-currency > img { width: 44px; height: 44px; }
    .es-vendor-table tbody th { width: 170px; }
    .es-cache { flex-direction: column; align-items: flex-start; gap: 6px; }
    .es-app .es-footer a { margin-left: 0; }
}
/* Very narrow phones: status chip below the season name. */
@container es-page (max-width: 360px) {
    .es-app .es-season-choice { grid-template-columns: minmax(0, 1fr); }
    .es-season-choice small { grid-column: auto; }
    .es-season-status { justify-self: start; }
}

@media print {
    .pt-nav-column, .division-spotlight, .page-top, .es-contents, .es-hero-actions, .es-hero-art, .es-controls, .es-notice .es-pulse, .es-season-nav { display: none !important; }
    .es-season-picker { padding: 6px 0; border: 0; }
    .es-season-title { margin-bottom: 0; }
    .es-season-note { margin-top: 2px; }
    body.es-page, .es-app, .es-app * { color: #111 !important; background: #fff !important; box-shadow: none !important; }
    body.es-page { display: block !important; padding: 0 !important; }
    .es-hero { display: block; min-height: 0; padding: 10px 0; border: 0; }
    .es-app .es-hero h1 { font-size: 30pt; }
    .es-stats, .es-grid { display: block; }
    .es-stats > div { display: inline-flex; border: 0; padding: 4px 12px 4px 0; }
    .es-table-wrap { overflow: visible; }
    .es-app table, .es-tier-table, .es-matrix-table, .es-playlist-table, .es-vendor-table, .es-compact-table { min-width: 0 !important; table-layout: auto; font-size: 8pt; }
    .es-app :is(th, td) { padding: 5px !important; border: 1px solid #aaa !important; position: static !important; }
    .es-tier-table th { width: auto !important; }
    .es-app .es-badge { font-size: 7pt; padding: 2px 4px; min-height: 0; white-space: normal; border-color: #999; }
    .es-badge img, .es-mutator-icon, .es-currency > img { filter: invert(1); }
    .es-section { margin: 18px 0; padding: 0; break-inside: auto; }
    .es-cards--three { grid-template-columns: 1fr; }
    .es-inset, .es-mutator, .es-note, .es-app tr { break-inside: avoid; }
    .es-result-box strong { font-size: 18pt; }
}
