@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #080808;
  --panel: #0d0d0d;
  --raised: #171717;
  --border: #292929;
  --border-strong: #4c4c4c;
  --text: #ededed;
  --secondary: #a1a1a1;
  --muted: #919191;
  --radius: 12px;
  font-family: Geist, 'Segoe UI', sans-serif;
  background: var(--page);
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #454545 var(--page);
  scroll-padding-top: 24px;
  scrollbar-gutter: stable;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, select, input[type='radio'], summary { cursor: pointer; }
button { color: inherit; }
button, input, select { -webkit-tap-highlight-color: transparent; }
input { caret-color: var(--text); }
button, a, select, input, summary { touch-action: manipulation; }
::selection { background: #ededed; color: #080808; }
:focus-visible { outline: 2px solid #ededed; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 18px; background: var(--text); color: var(--page); z-index: 10; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1512px; padding: 0 44px; height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { flex-shrink: 0; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.brand-name span { color: var(--secondary); font-weight: 400; margin-left: 3px; }
.header-divider { height: 23px; width: 1px; background: var(--border-strong); transform: rotate(22deg); }
.header-section { font-size: 13px; }
.header-feedback { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; color: var(--secondary); font-size: 12px; text-decoration: none; }
.header-feedback:hover { color: var(--text); text-decoration: underline; }
.header-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); font-size: 12px; text-decoration: none; }
.header-links a:hover { color: var(--text); text-decoration: underline; }
.page-shell { max-width: 1512px; margin: 0 auto; padding: 0 44px; }
.intro { padding: 52px 0 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
h1 { margin: 0; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 27px; border-bottom: 1px solid var(--border); }
.toolbar[inert] { opacity: .55; }
/* Keep the toolbar in place and trailing sections out of view while content loads. */
.is-loading .feedback-section, .is-loading .site-footer { visibility: hidden; }
.year-control { position: relative; display: flex; align-items: center; height: 40px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); }
.year-control label { padding-left: 13px; font-size: 12px; color: var(--secondary); pointer-events: none; }
.year-control select { border: 0; appearance: none; min-width: 88px; height: 38px; color: var(--text); font-size: 13px; font-weight: 600; background: transparent; padding: 0 32px 0 12px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.year-control select option { background: var(--raised); color: var(--text); }
.select-chevron { position: absolute; right: 10px; pointer-events: none; color: var(--secondary); }
.year-control:hover { border-color: var(--border-strong); }
@supports selector(:has(select:focus-visible)) {
  .year-control:has(select:focus-visible) { outline: 2px solid var(--secondary); outline-offset: 2px; }
  .year-control select:focus-visible { outline: none; }
}

@supports (appearance: base-select) {
  .year-control { anchor-name: --year-control; }
  .year-control select, .year-control select::picker(select) { appearance: base-select; }
  .year-control select { display: flex; align-items: center; min-width: 88px; }
  .year-control select::picker-icon { display: none; }
  .year-control select::picker(select) {
    position-anchor: --year-control;
    position-area: none;
    position-try-fallbacks: flip-block;
    inset: auto;
    top: calc(anchor(bottom) + 6px);
    left: anchor(left);
    width: anchor-size(width);
    min-width: 136px;
    max-height: min(320px, 50dvh);
    margin: 0;
    padding: 4px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    overflow-y: auto;
    font: 13px Geist, 'Segoe UI', sans-serif;
    font-variant-numeric: tabular-nums;
  }
  .year-control select option { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; color: var(--secondary); cursor: pointer; }
  .year-control select option:checked { background: var(--raised); color: var(--text); font-weight: 600; }
  .year-control select option:hover, .year-control select option:focus { background: var(--border); color: var(--text); }
  .year-control select option:focus-visible { outline: 1px solid var(--secondary); outline-offset: -2px; }
  .year-control select option::checkmark { order: 1; margin-left: auto; color: var(--text); }
  .year-control select:open + .select-chevron { transform: rotate(180deg); }
}
.edition-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 7px; margin: 0; padding: 3px; background: var(--panel); min-width: 0; }
.edition-control label { position: relative; }
.edition-control input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; }
.edition-control span { display: block; padding: 7px 13px; font-size: 12px; line-height: 18px; border-radius: 4px; color: var(--secondary); transition: background-color 150ms ease-out, color 150ms ease-out; white-space: nowrap; }
.edition-control input:checked + span { color: var(--text); background: #292929; }
.edition-control input:hover + span { color: var(--text); }
.edition-control input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.edition-soon { display: inline-block; margin-left: 5px; padding: 1px 5px; border: 1px solid var(--border-strong); border-radius: 3px; background: var(--raised); color: var(--secondary); font-size: 9px; font-weight: 400; line-height: 13px; vertical-align: 1px; }
.search-control { margin-left: auto; display: flex; align-items: center; gap: 9px; position: relative; width: 320px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); color: var(--secondary); }
.search-control:hover { border-color: var(--border-strong); }
.search-control:focus-within { border-color: var(--secondary); outline: 1px solid var(--secondary); outline-offset: 0; color: var(--text); }
.search-control > svg { flex-shrink: 0; }
.search-control input { width: 100%; min-width: 0; height: 100%; border: 0; border-radius: 3px; padding: 0 32px 0 0; background: transparent; color: var(--text); font-size: 13px; appearance: none; }
.search-control input::placeholder { color: var(--muted); }
.search-control input::-webkit-search-cancel-button { display: none; }
.search-control input:focus { outline: none; }
.clear-search { position: absolute; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 4px; background: transparent; display: grid; place-items: center; color: var(--secondary); }
.clear-search:hover { color: var(--text); background: var(--raised); }
.archive-section { padding-top: 27px; }
.archive-section:focus { outline: none; }
.archive-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.archive-heading h2 { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.archive-heading-suffix { font-weight: 400; color: var(--muted); padding-left: 7px; }
.archive-heading p { margin: 0; color: var(--secondary); font-size: 11px; font-variant-numeric: tabular-nums; }
.season-timeline { margin-bottom: 28px; }
.timeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.timeline-heading h3 { margin: 0; font-size: 13px; font-weight: 400; color: var(--secondary); }
.timeline-heading h3 span { color: var(--muted); }
.timeline-navigation { display: flex; gap: 5px; }
.timeline-navigation button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--secondary); }
.timeline-navigation button:hover:not(:disabled) { background: var(--raised); color: var(--text); border-color: var(--border-strong); }
.timeline-navigation button:disabled { opacity: .3; cursor: default; }
.timeline-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 10px; }
.timeline-viewport:focus-visible { outline-offset: 3px; }
.timeline-track { min-width: 1080px; }
.month-axis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--border-strong); }
.axis-month { position: relative; padding: 0 0 11px 10px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.axis-month abbr { text-decoration: none; }
.axis-month::after { content: ''; position: absolute; left: 0; top: 100%; height: 66px; border-left: 1px solid var(--border); pointer-events: none; }
.axis-month.is-current-month { color: var(--text); font-weight: 600; }
.axis-month.is-current-month::before { content: ''; position: absolute; bottom: -1px; left: 10px; width: 23px; height: 2px; background: var(--text); }
.season-lane { position: relative; height: 66px; }
.season-bar { position: absolute; top: 12px; left: var(--season-left); width: var(--season-width, 96px); height: 44px; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--raised); text-align: left; }
.season-bar:hover, .season-bar[aria-current] { border-color: var(--text); background: #242424; }
.bar-number { font-size: 11px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.bar-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); font-size: 10px; line-height: 1.2; }
.season-bar.is-empty { background: var(--panel); border-style: dashed; color: var(--secondary); }
.season-bar.is-open-ended { width: 96px; border-style: dashed; background: var(--panel); }
.season-bar.is-open-ended::before { content: ''; position: absolute; left: -1px; top: -7px; height: 6px; border-left: 1px solid var(--secondary); }
.timeline-unavailable { min-height: 66px; display: flex; align-items: center; margin: 0; padding: 0 10px; color: var(--secondary); font-size: 12px; }
.season-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.season-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); min-width: 0; overflow: hidden; transition: border-color 180ms ease-out; }
.season-card:hover { border-color: var(--border-strong); }
.season-card { scroll-margin-block: 24px; }
.season-card.is-selected { border-color: var(--text); }
.season-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.season-header h3 { display: flex; gap: 9px; align-items: baseline; margin: 0; font-weight: 600; font-size: 12px; }
.season-identity { min-width: 0; }
.season-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.season-number { flex-shrink: 0; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 11px; }
.season-months { margin: 5px 0 0; color: var(--secondary); font-size: 10px; font-variant-numeric: tabular-nums; }
.result-period { margin: 0; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.result-season { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.season-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: var(--secondary); font-size: 10px; white-space: nowrap; cursor: pointer; }
.season-toggle:hover { color: var(--text); }
.season-toggle::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.season-toggle:focus-visible { outline: none; }
.season-toggle:focus-visible::after { outline: 2px solid var(--secondary); outline-offset: -2px; }
.preview-info { height: 128px; padding: 16px; min-width: 0; }
.preview-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; min-height: 2.6em; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.collab-entry { min-width: 0; }
.entry-image { margin: 0; aspect-ratio: 16 / 9; background: #161616; overflow: hidden; border-bottom: 1px solid var(--border); }
.entry-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collab-preview .entry-image { position: relative; }
.preview-status { position: absolute; bottom: 8px; left: 8px; max-width: calc(100% - 16px); padding: 3px 6px; border: 1px solid #585858; border-radius: 4px; background: #101010; color: #ededed; font-size: 10px; line-height: 1.3; }
.preview-status.is-live { background: #ededed; color: #080808; border-color: #ededed; }
.entry-image.is-unavailable { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; gap: 9px; color: var(--muted); font-size: 11px; text-align: center; }
.image-label { max-width: 18ch; line-height: 1.5; }
.entry-info { padding: 16px; min-width: 0; }
.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 10px; line-height: 1.4; color: var(--secondary); }
.edition-label { border: 1px solid #383838; padding: 2px 6px; border-radius: 4px; }
.appearance-label { color: var(--secondary); }
.event-status { margin-left: auto; padding: 2px 6px; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text); }
.event-status.is-live { background: var(--text); color: var(--page); }
.event-status.is-unknown { padding: 0; border: 0; color: var(--secondary); }
.entry-info h3 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.entry-date { margin: 8px 0 0; color: var(--secondary); font-size: 11px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.entry-summary { color: var(--secondary); font-size: 12px; line-height: 1.65; margin: 10px 0 0; text-wrap: pretty; }
.entry-bottom { margin-top: 16px; }
.source-link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; text-decoration: none; min-height: 24px; }
.source-link svg { color: var(--muted); }
.source-link:hover { text-decoration: underline; }
.source-link:hover svg { color: var(--text); }
.source-notes { margin-top: 9px; font-size: 11px; line-height: 1.65; color: var(--secondary); }
.source-notes p { margin: 7px 0 0; overflow-wrap: anywhere; }
.collab-entry + .collab-entry { border-top: 1px solid var(--border); }
.season-card.is-empty { background: transparent; }
.season-card.is-empty .season-header { border-bottom-color: transparent; }
.empty-season { color: var(--muted); }
.empty-artwork { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.empty-season svg { color: #616161; }
.empty-season p { height: 128px; margin: 0; padding: 16px; text-align: center; font-size: 11px; }
.empty-results { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.empty-results h3 { font-size: 15px; font-weight: 600; margin: 0 0 7px; }
.empty-results p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--secondary); }
.button { padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--raised); color: var(--text); font-size: 12px; white-space: nowrap; }
.button:hover { background: #252525; border-color: #737373; }
.button:disabled { opacity: .5; cursor: wait; }
.load-state { min-height: 330px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 30px; text-align: center; color: var(--secondary); font-size: 13px; }
.load-state.is-error { flex-direction: column; }
.load-state p { max-width: 50ch; line-height: 1.6; }
.loading-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.no-script { color: var(--text); padding: 20px; border: 1px solid var(--border); }
.feedback-section { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.feedback-copy h2 { margin: 0 0 7px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.feedback-copy p { margin: 0; color: var(--secondary); font-size: 12px; line-height: 1.6; }
.feedback-join { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--raised); color: var(--text); font-size: 12px; text-decoration: none; }
.feedback-join:hover { background: #252525; border-color: #737373; }
.feedback-section + .site-footer { margin-top: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-top: 40px; padding: 27px 0 36px; border-top: 1px solid var(--border); }
.legal-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.design-credit { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.design-credit a { color: var(--secondary); text-decoration: underline; }
.design-credit a:hover { color: var(--text); text-decoration: underline; }
.stats-section { margin-top: 40px; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.stats-section + .feedback-section { margin-top: 0; }
.archive-stats > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 72px; padding: 20px 0; list-style: none; }
.archive-stats > summary::-webkit-details-marker, .entry-panel > summary::-webkit-details-marker { display: none; }
.archive-stats > summary::after, .entry-panel > summary::after { content: ''; width: 7px; height: 7px; margin-left: auto; margin-right: 3px; border-right: 1px solid var(--secondary); border-bottom: 1px solid var(--secondary); transform: rotate(45deg); }
.archive-stats[open] > summary::after, .entry-panel[open] > summary::after { transform: rotate(225deg); }
.archive-stats h2 { margin: 0; font-size: 16px; font-weight: 600; }
#stats-summary { color: var(--secondary); font-size: 11px; }
.stats-content { padding: 0 0 28px; }
.stats-totals { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 8px 0 30px; }
.stats-totals dt { color: var(--secondary); font-size: 12px; }
.stats-totals dd { margin: 7px 0 0; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.stats-breakdowns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.stats-breakdowns h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.year-stats, .franchise-ranking { margin: 0; padding: 0; list-style: none; }
.year-stat { display: grid; grid-template-columns: 48px minmax(0,1fr) 26px; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: var(--secondary); text-align: left; font-size: 12px; }
.year-stat:hover { color: var(--text); }
.stat-track { height: 6px; background: var(--border); }
.stat-fill { display: block; height: 100%; background: var(--secondary); }
.stat-number { text-align: right; font-variant-numeric: tabular-nums; }
.franchise-ranking li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid var(--border); font-size: 12px; }
.edition-stats { display: flex; gap: 30px; margin: 28px 0 0; }
.edition-stats > div { display: flex; gap: 8px; align-items: baseline; }
.edition-stats dt { color: var(--secondary); font-size: 12px; }
.edition-stats dd { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.last-collab-free { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--secondary); }
.last-collab-free strong { font-weight: 400; color: var(--text); }
.shared-collab { padding: 32px 0; }
.shared-collab img { display: block; max-width: 100%; width: 960px; height: auto; }

:root.dialog-open { overflow: hidden; }
.details-dialog { width: min(640px, calc(100% - 48px)); max-width: none; max-height: min(900px, calc(100dvh - 48px)); padding: 0; margin: auto; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--panel); color: var(--text); overflow: hidden; }
.details-dialog[open] { display: flex; flex-direction: column; }
.details-dialog::backdrop { background: rgb(0 0 0 / 76%); }
.dialog-header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.dialog-header h2 { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dialog-close { width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--secondary); cursor: pointer; }
.dialog-close:hover { color: var(--text); background: var(--raised); }
.dialog-close:focus-visible { outline: 2px solid var(--secondary); outline-offset: 1px; }
.dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dialog-content .entry-info { padding: 24px; }
.dialog-content .entry-meta { font-size: 11px; }
.dialog-content .entry-date { font-size: 12px; }
.dialog-content .entry-summary { font-size: 14px; line-height: 1.7; }
.dialog-content .source-link { min-height: 32px; font-size: 12px; }
.dialog-content .source-notes { font-size: 12px; line-height: 1.7; }
.season-details { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.season-details p { margin: 0 0 5px; color: var(--secondary); font-size: 12px; line-height: 1.6; }
.season-details .season-date-note { margin-top: 8px; font-size: 11px; }
.local-time, .event-window { margin: 8px 0 0; font-size: 12px; line-height: 1.65; color: var(--secondary); }
.local-time { color: var(--text); }
.event-window a { white-space: nowrap; }
.share-control { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.share-button { min-height: 44px; }
.share-status { font-size: 11px; color: var(--secondary); }
.share-fallback { width: 100%; }
.share-fallback label { display: block; margin: 0 0 6px; color: var(--secondary); font-size: 11px; }
.share-fallback input { display: block; width: 100%; min-width: 0; height: 44px; padding: 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--panel); color: var(--text); font-size: 16px; }
.entry-panels { margin-top: 22px; border-top: 1px solid var(--border); }
.entry-panel { border-bottom: 1px solid var(--border); }
.entry-panel > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 0; list-style: none; font-size: 13px; }
.panel-count { color: var(--secondary); font-size: 11px; font-variant-numeric: tabular-nums; }
.panel-empty { margin: 0; padding: 4px 0 18px; color: var(--secondary); font-size: 12px; line-height: 1.55; }
.reward-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px; padding: 2px 0 20px; }
.reward-card { min-width: 0; }
.reward-artwork { display: block; aspect-ratio: 16 / 10; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.reward-artwork img { display: block; width: 100%; height: 100%; object-fit: contain; }
.reward-list { padding: 0; margin: 12px 0 0; list-style: none; }
.reward-list > li + li { margin-top: 18px; }
.reward-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.reward-heading h4 { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.reward-access { display: inline-block; padding: 1px 5px; border: 1px solid var(--border-strong); border-radius: 3px; font-size: 10px; line-height: 1.6; color: var(--secondary); }
.reward-access.is-free { color: var(--text); }
.reward-type, .reward-note { margin: 4px 0 0; font-size: 11px; line-height: 1.6; color: var(--secondary); }
.panel-source { display: inline-flex; align-items: center; min-height: 32px; font-size: 11px; color: var(--secondary); }
.appearance-list { padding: 0 0 10px; margin: 0; list-style: none; }
.appearance-list > li { border-bottom: 1px solid var(--border); }
.appearance-list > li:last-child { border-bottom: 0; }
.appearance-link { display: block; padding: 12px 0; text-decoration: none; }
.appearance-link:hover .appearance-name { text-decoration: underline; }
.appearance-link[aria-current] .appearance-name { font-weight: 600; }
.appearance-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 5px; font-size: 11px; color: var(--secondary); }
.appearance-kind { margin-left: auto; }
.appearance-name { display: block; font-size: 13px; line-height: 1.5; }
.appearance-date { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; color: var(--secondary); }
.edition-comparison { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 4px 0 18px; }
.comparison-edition { min-width: 0; }
.comparison-edition h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.comparison-appearance + .comparison-appearance { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.comparison-appearance .appearance-link { padding: 0; }
.comparison-note, .comparison-rewards { margin: 8px 0 0; font-size: 11px; line-height: 1.65; color: var(--secondary); overflow-wrap: anywhere; }

@media (max-width: 1399px) {
  .season-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-inner, .page-shell { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 1000px) {
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner, .page-shell { padding-left: 24px; padding-right: 24px; }
  .search-control { width: 220px; }
  .toolbar { column-gap: 10px; }
}

@media (max-width: 760px) {
  .toolbar { justify-content: space-between; gap: 12px; }
  .search-control { width: 100%; margin-left: 0; }
  .intro { padding-top: 35px; }
  .edition-control span { padding-left: 11px; padding-right: 11px; }
}

@media (max-width: 600px) {
  .header-inner { height: 52px; gap: 14px; }
  .header-inner, .page-shell { padding-left: 14px; padding-right: 14px; }
  .brand-mark { width: 21px; height: 21px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 14px; }
  .header-section { display: none; }
  .header-feedback { font-size: 11px; }
  .header-links { gap: 14px; }
  .header-links a { font-size: 11px; }
  .intro { padding: 22px 0 18px; }
  h1 { font-size: 24px; letter-spacing: -.03em; }
  .toolbar { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; padding-bottom: 14px; }
  .year-control { grid-column: 1; grid-row: 1; min-width: 0; height: 44px; }
  .year-control label { padding-left: 10px; font-size: 11px; }
  .year-control select { flex: 1; min-width: 0; height: 42px; padding-left: 9px; }
  .toolbar.is-searching .year-control label { display: none; }
  .toolbar.is-searching .year-control select { padding-left: 12px; }
  .edition-control { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .edition-control label { flex: 1; min-width: 0; text-align: center; }
  .edition-control span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 4px; font-size: 11px; }
  .edition-soon { margin-left: 0; padding: 1px 3px; font-size: 8px; line-height: 11px; }
  .search-control { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; height: 44px; padding: 0 10px; gap: 7px; }
  .search-control input { padding: 0 30px 0 0; font-size: 16px; }
  .search-control > svg { width: 14px; height: 14px; }
  .search-control input::placeholder { font-size: 11px; }
  .clear-search { right: 0; width: 36px; height: 42px; }
  .archive-section { padding-top: 16px; }
  .archive-heading { margin-bottom: 16px; gap: 8px; }
  .archive-heading-suffix { font-size: 12px; padding-left: 4px; }
  .archive-heading p { font-size: 10px; text-align: right; }
  .season-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .season-header { height: 46px; padding: 0 12px; }
  .season-header h3 { font-size: 11px; gap: 7px; }
  .season-months { margin-top: 3px; }
  .season-toggle { font-size: 10px; }
  .collab-preview { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 11px; height: 118px; padding: 11px 12px; }
  .preview-info { height: auto; padding: 0; }
  .preview-title { font-size: 15px; -webkit-line-clamp: 3; min-height: 0; }
  .collab-preview .entry-image { aspect-ratio: 1; border: 0; border-radius: 6px; }
  .entry-meta { font-size: 10px; margin-bottom: 8px; gap: 5px; }
  .entry-date { font-size: 11px; margin-top: 5px; line-height: 1.45; }
  .entry-bottom { margin-top: 9px; }
  .source-link { min-height: 28px; font-size: 11px; }
  .entry-image.is-unavailable { padding: 10px; }
  .image-label { font-size: 9px; }
  .preview-status { bottom: 4px; left: 4px; max-width: calc(100% - 8px); font-size: 9px; padding: 2px 4px; }
  .empty-season { height: 118px; display: flex; align-items: center; justify-content: center; padding: 12px; gap: 10px; }
  .empty-artwork { aspect-ratio: auto; }
  .empty-season p { height: auto; padding: 0; }
  .empty-season svg { width: 18px; height: 18px; }
  .empty-results { align-items: flex-start; flex-direction: column; padding: 16px; gap: 12px; }
  .site-footer { flex-direction: column; gap: 5px; margin-top: 22px; padding: 18px 0 22px; }
  .feedback-section { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 20px 0; }
  .feedback-copy h2 { font-size: 15px; }
  .stats-section { margin-top: 22px; }
  .archive-stats > summary { min-height: 66px; padding: 18px 0; gap: 6px 10px; }
  .archive-stats h2 { font-size: 15px; }
  #stats-summary { font-size: 10px; }
  .stats-totals { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .stats-totals dd { font-size: 25px; }
  .stats-breakdowns { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .edition-stats { gap: 18px; flex-wrap: wrap; }
  .details-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-header { padding: 6px 12px; }
  .dialog-header h2 { font-size: 14px; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-content .entry-info { padding: 16px; }
  .dialog-content .entry-info h3 { font-size: 20px; }
  .dialog-content .entry-summary { font-size: 13px; line-height: 1.6; }
  .season-timeline { margin-bottom: 16px; }
  .timeline-navigation button { width: 44px; height: 44px; }
  .season-details { padding: 12px 16px; }
  .reward-gallery { grid-template-columns: minmax(0,1fr); }
  .edition-comparison { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .comparison-edition + .comparison-edition { padding-top: 18px; border-top: 1px solid var(--border); }
}

@media (max-width: 359px) {
  .header-inner, .page-shell { padding-left: 12px; padding-right: 12px; }
  h1 { font-size: 23px; }
  .toolbar { grid-template-columns: 110px minmax(0, 1fr); }
  .collab-preview { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
  .preview-title { font-size: 14px; }
}

@media (scripting: none) {
  .is-loading .feedback-section, .is-loading .site-footer { visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
