:root {
  --ink: #f4f0e6;
  --muted: #a5adbb;
  --panel: rgba(17, 22, 34, 0.9);
  --panel-2: #111722;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #f2c14e;
  --gold-2: #ffe59a;
  --blue: #66b3ff;
  --bg: #070a12;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--body); line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }

.stars { position: fixed; inset: 0; pointer-events: none; opacity: .62; background-image: radial-gradient(circle at 15% 22%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 72% 14%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 51% 72%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 82% 61%, #9ecfff 0 1px, transparent 1.5px); background-size: 210px 210px, 290px 290px, 360px 360px, 470px 470px; }

.hero { position: relative; overflow: hidden; padding: 32px max(24px, calc((100vw - 1180px) / 2)) 54px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 84% 38%, rgba(36, 100, 161, .26), transparent 33%), linear-gradient(180deg, rgba(7,10,18,.55), rgba(7,10,18,.96)); }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -190px; bottom: -250px; border: 1px solid rgba(242,193,78,.2); border-radius: 50%; box-shadow: 0 0 0 58px rgba(242,193,78,.03), 0 0 0 118px rgba(242,193,78,.025); }
.hero__eyebrow { margin-bottom: 72px; color: var(--blue); font-family: var(--heading); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 60px; max-width: 1180px; }
.kicker { margin: 0 0 10px; color: var(--gold); font-family: var(--heading); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--heading); font-size: clamp(60px, 9vw, 118px); line-height: .78; letter-spacing: -.035em; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.intro { max-width: 680px; margin: 28px 0 0; color: #c8ced8; font-size: 17px; }
.progress-panel { display: flex; align-items: center; gap: 22px; min-width: 290px; padding: 23px 25px; border: 1px solid var(--line); background: rgba(7,10,18,.7); backdrop-filter: blur(10px); }
.progress-orbit { position: relative; width: 118px; height: 118px; flex: 0 0 auto; }
.progress-orbit svg { width: 100%; transform: rotate(-90deg); }
.progress-orbit circle { fill: none; stroke-width: 6; }
.orbit-track { stroke: #252d3a; }
.orbit-value { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 320.44; stroke-dashoffset: 320.44; transition: stroke-dashoffset .35s ease; }
.progress-number { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.progress-number strong { font-family: var(--heading); font-size: 32px; line-height: 1; }
.progress-number span, .progress-copy span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.progress-copy { display: grid; }
.progress-copy strong { font-family: var(--heading); font-size: 25px; }
.download-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #4b5566; border-radius: 2px; color: var(--ink); background: #111722; font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.button:hover { border-color: var(--gold); }
.button--gold { border-color: var(--gold); color: #0b0c0f; background: var(--gold); }
.button--quiet { background: transparent; }
.update-note { position: relative; z-index: 1; margin: 13px 0 0; color: #c2c9d4; font-size: 12px; }
.update-note time { color: var(--gold-2); font-weight: 700; }
.save-note { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: #70d69b; box-shadow: 0 0 12px #70d69b; }

main { position: relative; max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; }
.controls { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1.15fr auto; gap: 12px; padding: 14px; border: 1px solid var(--line); background: rgba(8, 11, 18, .93); backdrop-filter: blur(16px); }
.controls label:not(.toggle) { display: grid; gap: 5px; color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.controls input[type="search"], .controls select { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #303848; border-radius: 2px; color: var(--ink); background: #0e131e; outline: none; }
.controls input:focus, .controls select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,193,78,.12); }
.toggle { display: flex; align-items: end; gap: 9px; padding: 0 8px 9px; color: #c4cad3; font-size: 13px; white-space: nowrap; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle-ui { position: relative; width: 35px; height: 20px; border-radius: 20px; background: #303848; transition: .2s; }
.toggle-ui::after { content: ""; position: absolute; width: 14px; height: 14px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + .toggle-ui { background: var(--gold); }
.toggle input:checked + .toggle-ui::after { transform: translateX(15px); background: #111; }
.exclude-panel { margin-top: 14px; padding: 18px; border: 1px solid rgba(102,179,255,.23); background: rgba(12,17,27,.84); }
.exclude-panel__heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.exclude-panel__heading h2 { margin: 2px 0 0; font-family: var(--heading); font-size: 26px; line-height: 1; text-transform: uppercase; }
.exclude-panel > p { margin: 10px 0 0; color: #909bad; font-size: 12px; }
.exclude-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.exclude-chip { cursor: pointer; }
.exclude-chip input { position: absolute; opacity: 0; }
.exclude-chip span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #3a4557; border-radius: 99px; color: #b6bfcd; background: #0b1019; font-size: 11px; font-weight: 700; }
.exclude-chip span::before { content: "−"; margin-right: 6px; color: #748095; font-size: 15px; }
.exclude-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.exclude-chip input:checked + span { border-color: #d86f6f; color: #ffe2e2; background: rgba(128,28,37,.35); }
.exclude-chip input:checked + span::before { color: #ff8b8b; }
.era-nav { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 8px; scrollbar-width: thin; }
.era-nav a { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; color: #b9c1cd; font-family: var(--heading); font-size: 13px; text-decoration: none; }
.era-nav a:hover { color: #111; border-color: var(--gold); background: var(--gold); }
.results-line { display: flex; justify-content: space-between; gap: 16px; margin: 14px 0 5px; color: var(--muted); font-size: 12px; }
.results-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.text-button { border: 0; color: var(--muted); background: none; text-decoration: underline; cursor: pointer; }
.text-button:hover { color: var(--gold); }

.era { scroll-margin-top: 98px; margin-top: 52px; }
.era__heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 13px; border-bottom: 1px solid var(--gold); cursor: pointer; list-style: none; }
.era__heading::-webkit-details-marker { display: none; }
.era__heading p { margin: 0; color: var(--gold); font-family: var(--heading); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.era__heading h2 { margin: 0; font-family: var(--heading); font-size: clamp(32px, 5vw, 48px); line-height: 1; text-transform: uppercase; }
.era__years { display: inline-block; margin-left: 9px; color: var(--blue); font-family: var(--heading); font-size: .43em; font-weight: 600; letter-spacing: .04em; vertical-align: .25em; white-space: nowrap; }
.era__heading > span { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--heading); font-size: 18px; white-space: nowrap; }
.era__heading i { width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.era:not([open]) .era__heading i { transform: rotate(-45deg); }
.era:not([open]) .era__heading { border-color: #3a4351; }
.era:not([open]) .era__heading:hover { border-color: var(--gold); }
.entries { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.entry { display: grid; grid-template-columns: 44px 54px minmax(0, 1fr); min-height: 126px; border-bottom: 1px solid var(--line); background: var(--panel); transition: background .2s, opacity .2s; }
.entry:hover { background: #151c29; }
.entry--skywalker { box-shadow: inset 3px 0 0 #8d78ff; }
.entry--screenshot { box-shadow: inset 3px 0 0 #3a9f8a; }
.entry--review { box-shadow: inset 3px 0 0 #d98752; }
.entry--skywalker.entry--review { box-shadow: inset 3px 0 0 #d98752; }
.entry--done { opacity: .58; }
.entry--done h3 { text-decoration: line-through; text-decoration-color: var(--gold); }
.check-wrap { display: grid; place-items: start center; padding-top: 27px; cursor: pointer; }
.check-wrap input { position: absolute; opacity: 0; }
.checkmark { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #596273; background: #0b1019; }
.entry-check:focus-visible + .checkmark { outline: 2px solid var(--blue); outline-offset: 2px; }
.entry-check:checked + .checkmark { border-color: var(--gold); background: var(--gold); }
.entry-check:checked + .checkmark::after { content: "✓"; color: #111; font-weight: 900; }
.entry__number { padding-top: 25px; color: #6f7a8c; font-family: var(--heading); font-size: 16px; text-align: center; }
.entry__content { min-width: 0; padding: 23px 24px 22px 8px; }
.entry__topline { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.entry h3 { margin: 0; font-family: var(--heading); font-size: 25px; line-height: 1.1; letter-spacing: .005em; }
.episode { margin: 5px 0 0; color: var(--gold-2); font-size: 13px; font-weight: 600; }
.watch-link { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #3a4555; color: var(--gold); font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.watch-link:hover { color: #111; border-color: var(--gold); background: var(--gold); }
.meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; color: #c3cad4; font-size: 12px; }
.meta span { display: flex; gap: 7px; }
.meta b { color: #707b8e; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.notes { margin: 14px 0 0; padding-left: 11px; border-left: 2px solid #354052; color: #9da7b7; font-size: 13px; }
.notes a { color: var(--blue); text-underline-offset: 3px; }
.entry-details { margin-top: 15px; border-top: 1px solid #2c3544; color: #aeb7c6; font-size: 12px; }
.entry-details summary { width: fit-content; padding: 12px 0 2px; color: var(--blue); font-weight: 700; cursor: pointer; }
.entry-details summary:hover { color: var(--gold-2); }
.entry-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 12px 0 0; background: #293241; }
.entry-details dl div { min-width: 0; padding: 10px 12px; background: #0e141f; }
.entry-details dt { color: #6f7c90; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.entry-details dd { margin: 4px 0 0; color: #c5ccd6; overflow-wrap: anywhere; }
.entry-description { margin-top: 1px; padding: 11px 12px; background: #0e141f; }
.entry-description > strong { color: #6f7c90; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.entry-description p { margin: 5px 0 0; color: #aeb7c6; white-space: pre-line; overflow-wrap: anywhere; }
.empty-state { margin: 42px 0; padding: 50px; border: 1px dashed #3d4655; text-align: center; }
.empty-state p { color: var(--muted); }
.support { scroll-margin-top: 40px; margin-top: 76px; padding: 38px; border: 1px solid rgba(242,193,78,.32); background: radial-gradient(circle at 100% 0, rgba(242,193,78,.12), transparent 38%), rgba(14,19,30,.94); }
.support__intro { max-width: 760px; }
.support__intro h2 { margin: 4px 0 13px; font-family: var(--heading); font-size: clamp(36px, 5vw, 56px); line-height: .98; text-transform: uppercase; }
.support__intro > p:last-child { margin: 0; color: #aeb7c6; font-size: 14px; }
.support__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.support-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #384254; background: rgba(7,10,18,.72); }
.support-card--charity { border-color: rgba(242,193,78,.48); }
.support-card--personal { border-color: rgba(102,179,255,.42); }
.support-card__eyebrow { margin: 0; color: var(--gold); font-family: var(--heading); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.support-card--personal .support-card__eyebrow { color: var(--blue); }
.support-card h3 { margin: 5px 0 10px; font-family: var(--heading); font-size: 31px; line-height: 1; text-transform: uppercase; }
.support-card > p:not(.support-card__eyebrow):not(.transparency-note) { margin: 0; color: #b7c0ce; font-size: 13px; }
.support-side-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.support-side { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px 16px 16px; border: 1px solid; color: #f7f9fc; text-decoration: none; overflow: hidden; transition: border-color .2s, background .2s, transform .2s; }
.support-side::after { content: ""; position: absolute; inset: auto -22px -34px auto; width: 94px; height: 94px; border: 1px solid currentColor; border-radius: 50%; opacity: .12; }
.support-side:hover { transform: translateY(-2px); }
.support-side--light { border-color: rgba(102,179,255,.62); background: linear-gradient(135deg, rgba(39,112,178,.25), rgba(242,193,78,.08)); }
.support-side--light:hover { border-color: #66b3ff; background: linear-gradient(135deg, rgba(39,112,178,.38), rgba(242,193,78,.14)); }
.support-side--dark { border-color: rgba(229,65,65,.62); background: linear-gradient(135deg, rgba(139,17,29,.3), rgba(42,5,10,.26)); }
.support-side--dark:hover { border-color: #ff5d5d; background: linear-gradient(135deg, rgba(158,24,37,.46), rgba(53,7,13,.36)); }
.support-side__label { color: #aab4c4; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.support-side strong { margin-top: 2px; font-family: var(--heading); font-size: 25px; line-height: 1; text-transform: uppercase; }
.support-side--light strong { color: #8cc8ff; }
.support-side--dark strong { color: #ff7777; }
.support-side small { margin-top: 8px; color: #8e99aa; font-size: 10px; line-height: 1.35; }
.support-card__actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 16px; }
.support-card__actions--payments .button { flex: 1 1 28%; }
.text-link { align-self: center; padding: 8px 3px; color: var(--blue); font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.transparency-note { margin: auto 0 0; padding-top: 14px; border-top: 1px solid #2d3645; color: #7f8b9c; font-size: 11px; }
.transparency-note strong { color: #aeb7c6; }
.contribute { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr); gap: 44px; margin-top: 76px; padding: 36px; border: 1px solid rgba(102,179,255,.28); background: radial-gradient(circle at 0 0, rgba(102,179,255,.13), transparent 42%), rgba(14,19,30,.94); }
.contribute__intro h2 { max-width: 460px; margin: 3px 0 14px; font-family: var(--heading); font-size: clamp(32px, 4.5vw, 48px); line-height: .98; text-transform: uppercase; }
.contribute__intro > p:last-child { max-width: 470px; margin: 0; color: #aeb7c6; font-size: 14px; }
.section-kicker { margin: 0; color: var(--blue); font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.contribute__options { display: grid; gap: 12px; }
.contribute-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 94px; padding: 17px 18px; border: 1px solid #364154; color: var(--ink); background: rgba(7,10,18,.65); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.contribute-card:hover { border-color: var(--gold); background: #151c29; transform: translateY(-2px); }
.contribute-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(242,193,78,.55); color: var(--gold); font-size: 20px; }
.contribute-card strong { display: block; font-family: var(--heading); font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.contribute-card small { display: block; margin-top: 6px; color: #939eae; font-size: 12px; line-height: 1.45; }
.contribute-card__arrow { color: var(--gold); font-size: 18px; }
.contribute__note { grid-column: 2; margin: -29px 0 0; color: #737f90; font-size: 11px; }
footer { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 28px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: #747f90; font-size: 12px; }
footer p { max-width: 650px; }

@media (max-width: 850px) {
  .hero__eyebrow { margin-bottom: 45px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .progress-panel { width: fit-content; }
  .controls { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
  .toggle { align-items: center; padding: 10px 4px; }
  .exclude-panel__heading { align-items: start; }
  .contribute { grid-template-columns: 1fr; }
  .contribute__note { grid-column: 1; margin: -31px 0 0; }
  .support__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-top: 22px; }
  .hero__eyebrow { font-size: 10px; }
  h1 { font-size: 58px; }
  .intro { font-size: 15px; }
  .progress-panel { width: 100%; min-width: 0; }
  .download-row .button { flex: 1 1 45%; }
  .controls { grid-template-columns: 1fr; position: relative; }
  .search { grid-column: auto; }
  .entry { grid-template-columns: 42px 38px minmax(0, 1fr); }
  .entry__content { padding-right: 14px; }
  .entry__topline { display: grid; }
  .watch-link { justify-self: start; }
  .meta { display: grid; gap: 5px; }
  .entry-details dl { grid-template-columns: 1fr; }
  .exclude-panel { padding: 16px; }
  .exclude-panel__heading { display: grid; }
  .exclude-panel__heading .text-button { justify-self: start; padding: 0; }
  .results-line { align-items: start; }
  .results-actions { display: grid; justify-items: end; gap: 5px; }
  .era__heading { align-items: start; gap: 14px; }
  .era__heading h2 { font-size: 32px; }
  .era__years { display: block; margin: 6px 0 0; font-size: 14px; }
  .support { margin-top: 58px; padding: 26px 18px; }
  .support-card { padding: 20px 16px; }
  .support-side-picker { grid-template-columns: 1fr; }
  .support-card__actions .button, .support-card__actions--payments .button { flex: 1 1 100%; }
  .text-link { align-self: flex-start; }
  .contribute { gap: 26px; margin-top: 58px; padding: 24px 18px; }
  .contribute-card { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 15px 14px; }
  .contribute__note { margin-top: -15px; }
  footer { display: block; }
}

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

