:root {
  --void: #0b0a08;
  --panel: #15130f;
  --panel-raised: #1b1812;
  --rule: #373020;
  --rule-soft: rgba(237, 227, 206, .1);
  --gold: #e8b23d;
  --gold-soft: #b68b32;
  --cream: #f0e7d5;
  --cream-dim: #aaa18e;
  --red: #d57968;
  --green: #87c99a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: var(--void); }
a { color: inherit; }
.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;
}

.rail {
  position: fixed; top: 0; bottom: 0; width: 25px;
  background-image: radial-gradient(ellipse at center, var(--void) 0 5px, transparent 6px);
  background-size: 25px 40px;
  background-color: #050403;
  z-index: 40;
  box-shadow: inset 0 0 0 1px #211d15;
  pointer-events: none;
}
.rail.left { left: 0; }
.rail.right { right: 0; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.stage { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 10, 8, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 48px; max-width: 1120px; margin: 0 auto; gap: 24px;
}
.wordmark {
  font-family: ui-serif, Charter, "Iowan Old Style", Georgia, serif;
  font-size: 13px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.wordmark b { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--cream-dim); font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10.5px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold); }

.hero { padding: 88px 0 62px; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; width: min(520px, 100vw); height: 360px; left: 50%; top: 20px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse, rgba(232, 178, 61, .07), transparent 68%);
}

.eyebrow, .section-kicker {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10.5px; font-weight: 650; letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow { margin-bottom: 16px; }
h1.headline {
  max-width: 850px; margin: 0 auto 20px;
  font-family: ui-serif, Charter, "Iowan Old Style", Georgia, serif;
  font-size: clamp(42px, 6.8vw, 72px); font-weight: 600; letter-spacing: -.035em;
  line-height: .98; text-wrap: balance; color: var(--cream);
}
h1.headline em { color: var(--gold); font-weight: 500; }
.hero p.sub {
  max-width: 670px; margin: 0 auto 12px; color: var(--cream-dim);
  font-size: clamp(15px, 1.8vw, 17px); line-height: 1.65; text-wrap: balance;
}
.hero .stats-line {
  min-height: 18px; margin: 0 0 32px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 9px;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 11px;
  letter-spacing: .045em; color: var(--cream-dim); font-variant-numeric: tabular-nums;
}
.hero .stats-line span { white-space: nowrap; }
.hero .stats-line b { color: var(--cream); font-weight: 650; }
.hero .stats-line i { color: var(--gold-soft); font-style: normal; padding: 0 2px; }

.lookup {
  display: flex; align-items: stretch; justify-content: center;
  max-width: 490px; margin: 0 auto;
  border: 1px solid var(--gold-soft); border-radius: 4px;
  background: var(--panel); overflow: hidden; box-shadow: var(--shadow);
}
.lookup:focus-within { box-shadow: 0 0 0 3px rgba(232, 178, 61, .13), var(--shadow); }
.lookup input {
  flex: 1; min-width: 0; background: transparent; border: none; color: var(--cream);
  font-family: ui-monospace, "SF Mono", monospace; font-size: 14px; letter-spacing: .04em;
  padding: 17px 18px; outline: none;
}
.lookup input::placeholder { color: #817967; }
.lookup button {
  background: var(--gold); color: var(--void); border: 0; border-left: 1px solid var(--gold);
  font-weight: 800; font-size: 11.5px; letter-spacing: .055em; text-transform: uppercase;
  padding: 0 22px; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.lookup button:hover { background: #f1c25a; }
.lookup button:focus-visible, .support-button:focus-visible, .rank-row-main:focus-visible, .btn:focus-visible, .showtimes-link:focus-visible {
  outline: 2px solid var(--cream); outline-offset: 3px;
}
.lookup-note {
  min-height: 16px; margin-top: 10px;
  color: #7f7768; font-family: ui-monospace, "SF Mono", monospace; font-size: 10.5px;
}
.lookup-note.err { color: var(--red); }

.zip-result {
  max-width: 650px; margin: 26px auto 0; text-align: left;
  background: linear-gradient(135deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--rule); border-radius: 6px;
  padding: 24px; display: none; box-shadow: var(--shadow);
}
.zip-result.show { display: block; animation: reveal .25s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.zip-result .k {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px;
}
.zip-result h3 {
  font-family: ui-serif, Charter, Georgia, serif; font-size: 24px; font-weight: 600;
  margin: 0 0 4px; color: var(--cream);
}
.zip-result .loc { font-size: 13px; color: var(--cream-dim); margin-bottom: 20px; line-height: 1.5; }
.zip-result .metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-bottom: 15px; border: 1px solid var(--rule-soft);
}
.zip-result .metric { padding: 13px 14px; }
.zip-result .metric + .metric { border-left: 1px solid var(--rule-soft); }
.zip-result .metric .v {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 20px; color: var(--gold);
  font-variant-numeric: tabular-nums; line-height: 1.05;
}
.zip-result .metric .l {
  font-size: 9.5px; color: var(--cream-dim); text-transform: uppercase;
  letter-spacing: .075em; line-height: 1.35; margin-top: 4px;
}
.zip-result .result-read { color: var(--cream-dim); font-size: 12.5px; line-height: 1.6; margin: 0 0 18px; }
.zip-result .result-read b { color: var(--cream); }
.zip-result .members { font-size: 12.5px; color: var(--cream-dim); margin-bottom: 16px; line-height: 1.65; }
.zip-result .members b { color: var(--cream); font-weight: 650; }
.zip-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.btn {
  font-size: 11.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 3px; cursor: pointer; border: 1px solid var(--rule);
  background: transparent; color: var(--cream);
}
.btn.primary { background: var(--gold); color: var(--void); border-color: var(--gold); }
.btn:hover { border-color: var(--gold-soft); }

.map-section, .theater-section, .methodology { padding: 66px 0 0; scroll-margin-top: 58px; }
.section-heading {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  align-items: end; gap: 50px; margin-bottom: 22px;
}
.section-heading .section-kicker { margin: 0 0 7px; }
.section-heading h2, .support h2 {
  font-family: ui-serif, Charter, "Iowan Old Style", Georgia, serif;
  font-size: clamp(27px, 4vw, 39px); font-weight: 600; letter-spacing: -.025em;
  margin: 0; line-height: 1.08; text-wrap: balance;
}
.section-heading > p {
  color: var(--cream-dim); font-size: 12.5px; line-height: 1.6; margin: 0 0 3px;
}

.map-frame {
  border: 1px solid var(--rule); border-radius: 6px; background: var(--panel);
  padding: 6px; position: relative; box-shadow: var(--shadow); overflow: hidden;
}
.map-frame::after {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .25); border-radius: 3px;
}
.map-frame svg {
  display: block; width: 100%; height: auto; border-radius: 3px; background: #0e0d0a;
  cursor: grab; user-select: none;
}
.map-frame svg.is-panning { cursor: grabbing; }
.map-frame path.county { cursor: inherit; }
.map-frame path.county.active-county { filter: brightness(1.2) saturate(1.05); }
.map-controls {
  position: absolute; top: 17px; right: 17px; z-index: 4;
  display: grid; grid-template-columns: 36px 48px 36px;
  overflow: hidden; border: 1px solid rgba(240, 231, 213, .26); border-radius: 4px;
  background: rgba(15, 13, 10, .92); box-shadow: 0 7px 22px rgba(0, 0, 0, .35);
  backdrop-filter: blur(9px);
}
.map-controls button {
  height: 36px; padding: 0; border: 0; border-right: 1px solid var(--rule);
  background: transparent; color: var(--cream); cursor: pointer;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 16px; line-height: 1;
}
.map-controls button:last-child { border-right: 0; }
.map-controls button:hover:not(:disabled) { background: rgba(232, 178, 61, .12); color: var(--gold); }
.map-controls button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--gold); outline-offset: -2px; }
.map-controls button:disabled { color: #5f594c; cursor: default; }
#zoomReset { font-size: 10px; letter-spacing: .02em; }
.map-frame path.territory-line {
  fill: none; stroke: var(--cream); stroke-opacity: .55; stroke-width: 1.3;
  vector-effect: non-scaling-stroke; pointer-events: none;
  transition: stroke .08s linear, stroke-opacity .08s linear, stroke-width .08s linear;
}
.map-frame path.territory-line.active-territory {
  stroke: var(--gold); stroke-opacity: 1; stroke-width: 2.5;
}
.map-frame path.state-line {
  fill: none; stroke: var(--cream); stroke-opacity: .15; stroke-width: .72;
  vector-effect: non-scaling-stroke; pointer-events: none;
}
.theater-marker { cursor: pointer; }
.theater-marker circle.dot { stroke: var(--cream); stroke-width: 2; vector-effect: non-scaling-stroke; }
.theater-marker.active-territory circle.dot { stroke: var(--gold); stroke-width: 3; }
.theater-marker text {
  font-family: ui-monospace, "SF Mono", monospace; font-weight: 800; fill: var(--cream);
  paint-order: stroke; stroke: var(--void); text-anchor: middle;
  dominant-baseline: central; pointer-events: none;
}
.theater-marker.zip-match circle.dot { stroke: var(--gold); stroke-width: 3; }
.theater-marker.zip-match { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(232,178,61,0)); } 50% { filter: drop-shadow(0 0 6px rgba(232,178,61,.9)); } }
.map-hint {
  padding: 11px 6px 2px; display: flex; justify-content: space-between; gap: 12px;
  color: #817967; font-family: ui-monospace, "SF Mono", monospace; font-size: 10px; line-height: 1.45;
}
.map-hint b { color: var(--cream-dim); }

#tooltip {
  position: fixed; left: 0; top: 0; pointer-events: none; z-index: 60; display: none;
  background: rgba(27, 24, 18, .98); border: 1px solid var(--rule); border-radius: 4px;
  padding: 11px 13px; color: var(--cream); width: min(280px, calc(100vw - 28px));
  box-shadow: 0 10px 30px rgba(0,0,0,.45); contain: layout paint; will-change: transform;
}
#tooltip .tt-title { font-size: 12.5px; font-weight: 750; margin-bottom: 2px; }
#tooltip .tt-sub { color: var(--cream-dim); font-size: 11px; margin-bottom: 7px; line-height: 1.45; }
#tooltip .tt-row {
  display: flex; justify-content: space-between; gap: 18px;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 10.5px; line-height: 1.45;
}
#tooltip .tt-row b { color: var(--gold); }
#tooltip .tt-row + .tt-row { margin-top: 2px; }

.capacity-explainer {
  display: grid; grid-template-columns: minmax(280px, .9fr) minmax(420px, 1.1fr);
  gap: 36px; align-items: center; margin: 0 0 20px; padding: 25px 26px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 5px;
}
.capacity-copy .section-kicker { margin: 0 0 6px; }
.capacity-copy h3 {
  font-family: ui-serif, Charter, Georgia, serif; font-size: 20px; font-weight: 600;
  line-height: 1.25; margin: 0 0 7px;
}
.capacity-copy > p:last-child { color: var(--cream-dim); font-size: 12px; line-height: 1.55; margin: 0; }
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; align-items: center; gap: 11px; }
.equation > div {
  min-width: 0; padding: 12px 9px; text-align: center; border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, .015);
}
.equation .equation-result { border-color: rgba(232, 178, 61, .42); background: rgba(232, 178, 61, .05); }
.equation strong {
  display: block; font-family: ui-monospace, "SF Mono", monospace; font-size: 18px;
  font-weight: 650; color: var(--cream); font-variant-numeric: tabular-nums;
}
.equation-result strong { color: var(--gold); }
.equation span { display: block; color: var(--cream-dim); font-size: 9px; line-height: 1.25; margin-top: 4px; text-transform: uppercase; letter-spacing: .055em; }
.equation i { color: var(--gold-soft); font-family: ui-serif, Georgia, serif; font-size: 18px; font-style: normal; }

.rank-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 30px; }
.rank-row {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  transition: border-color .15s ease, background .15s ease; overflow: hidden;
}
.rank-row:hover { border-color: #51462d; }
.rank-row.hl { border-color: var(--gold); }
.rank-row-main {
  display: grid; grid-template-columns: 34px minmax(180px, 1fr) minmax(105px, auto) minmax(115px, auto) 18px;
  align-items: center; gap: 15px; width: 100%; padding: 15px 16px;
  background: transparent; color: inherit; border: 0; text-align: left; cursor: pointer;
}
.rank-badge {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, "SF Mono", monospace; font-weight: 800; font-size: 12px; color: var(--void);
}
.rank-name { min-width: 0; }
.rank-name h3 {
  font-family: ui-serif, Charter, Georgia, serif; font-size: 15.5px; font-weight: 600;
  margin: 0 0 3px; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-name .loc { font-size: 11.5px; color: var(--cream-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-summary { display: none; }
.rank-stat { text-align: right; }
.rank-stat .v {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 14.5px; color: var(--cream);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rank-stat.days .v { color: var(--gold); }
.rank-stat .l {
  color: #817967; font-size: 8.5px; text-transform: uppercase; letter-spacing: .07em;
  margin-top: 3px; white-space: nowrap;
}
.rank-chevron { color: var(--cream-dim); font-size: 12px; transition: transform .18s ease; text-align: center; }
.rank-row.open { background: var(--panel-raised); border-color: #51462d; }
.rank-row.open .rank-chevron { transform: rotate(45deg); color: var(--gold); }

.rank-details { display: none; padding: 0 16px 17px 65px; }
.rank-row.open .rank-details { display: block; }
.rank-details-inner { border-top: 1px solid var(--rule-soft); padding-top: 16px; }
.capacity-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule-soft); border: 1px solid var(--rule-soft); margin-bottom: 14px;
}
.capacity-grid > div { background: var(--panel-raised); padding: 13px 14px; min-width: 0; }
.capacity-grid strong {
  display: block; font-family: ui-monospace, "SF Mono", monospace; font-size: 16px;
  color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.capacity-grid .accent strong { color: var(--gold); }
.capacity-grid span {
  display: block; color: #817967; font-size: 8.5px; line-height: 1.35; letter-spacing: .06em;
  text-transform: uppercase; margin-top: 4px;
}
.capacity-read { font-family: ui-serif, Charter, Georgia, serif; font-size: 16px; line-height: 1.5; margin: 0 0 12px; color: var(--cream); }
.capacity-read b { color: var(--gold); font-weight: 600; }
.detail-note { color: var(--cream-dim); font-size: 11px; line-height: 1.55; margin: 0 0 13px; }
.source-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  color: #817967; font-family: ui-monospace, "SF Mono", monospace; font-size: 9.5px;
}
.src-link { color: var(--gold-soft); text-decoration: none; border-bottom: 1px dotted var(--gold-soft); white-space: nowrap; }
.src-link:hover { color: var(--gold); }
.single-theater-line {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px;
  margin-bottom: 7px; font-size: 12.5px; color: var(--cream);
}
.member-title { display: inline; }
.member-actions { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-left: 7px; }
.single-theater-line .mloc { color: var(--cream-dim); font-size: 10.5px; }
.showtimes-link {
  color: var(--void); background: var(--gold); border: 1px solid var(--gold);
  border-radius: 3px; padding: 3px 6px; text-decoration: none;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 8.5px; font-weight: 800;
  letter-spacing: .055em; text-transform: uppercase; white-space: nowrap;
}
.showtimes-link:hover { background: #f1c25a; }
.member-list { margin-top: 14px; border-top: 1px dashed var(--rule); }
.member-row {
  display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(75px, auto));
  align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft);
}
.member-row:last-child { border-bottom: 0; }
.member-row .mname { min-width: 0; font-size: 12.5px; color: var(--cream); }
.member-row .mloc { display: block; color: var(--cream-dim); font-size: 10.5px; margin-top: 2px; }
.member-metric { text-align: right; }
.member-metric b { display: block; font-family: ui-monospace, "SF Mono", monospace; font-size: 11.5px; font-weight: 600; color: var(--cream); }
.member-metric span { color: #817967; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

.methodology { padding-bottom: 76px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.method-grid article { padding: 23px 27px 0 0; }
.method-grid article + article { border-left: 1px solid var(--rule); padding-left: 27px; }
.method-grid article > span {
  color: var(--gold-soft); font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10px; letter-spacing: .1em;
}
.method-grid h3 { font-family: ui-serif, Charter, Georgia, serif; font-size: 18px; font-weight: 600; margin: 8px 0 7px; }
.method-grid p { color: var(--cream-dim); font-size: 11.5px; line-height: 1.62; margin: 0; }

.support {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .62fr); gap: 44px; align-items: center;
  padding: 30px 34px; margin-bottom: 56px;
  background: linear-gradient(115deg, rgba(232, 178, 61, .1), rgba(232, 178, 61, .025));
  border: 1px solid rgba(232, 178, 61, .34); border-radius: 5px;
}
.support .section-kicker { margin: 0 0 6px; }
.support h2 { font-size: 29px; margin-bottom: 7px; }
.support-copy > p:last-child { max-width: 650px; color: var(--cream-dim); font-size: 12px; line-height: 1.6; margin: 0; }
.tip-jar { min-width: 0; }
.tip-label {
  margin: 0 0 8px; color: var(--gold-soft); font-family: ui-monospace, "SF Mono", monospace;
  font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
}
.tip-options { display: grid; grid-template-columns: repeat(4, minmax(58px, 1fr)); gap: 7px; }
.support-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 42px; padding: 11px 10px;
  background: rgba(232, 178, 61, .08); color: var(--cream); border: 1px solid rgba(232, 178, 61, .5);
  border-radius: 3px; text-decoration: none; font-size: 11px; font-weight: 800;
  letter-spacing: .045em; text-transform: uppercase; white-space: nowrap;
}
.support-button span { color: var(--gold-soft); font-size: 9px; }
.support-button:hover { background: var(--gold); border-color: var(--gold); color: var(--void); }
.support-button:hover span { color: var(--void); }
.tip-note {
  margin: 8px 0 0; color: #746d5f; font-family: ui-monospace, "SF Mono", monospace;
  font-size: 8.5px; line-height: 1.45;
}

footer { border-top: 1px solid var(--rule); padding: 25px 0 44px; }
footer .disclaimer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 45px; }
footer p {
  margin: 0; color: #746d5f; font-family: ui-monospace, "SF Mono", monospace;
  font-size: 9.5px; line-height: 1.65;
}
.loading-note { text-align: center; padding: 70px 0; color: var(--cream-dim); font-family: ui-monospace, monospace; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .theater-marker.zip-match { animation: none; }
}

@media (max-width: 800px) {
  .rail { display: none; }
  .stage { padding: 0 22px; }
  .nav-row { padding: 14px 22px; }
  .wordmark b { display: none; }
  .hero { padding: 72px 0 42px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading > p { max-width: 560px; }
  .capacity-explainer { grid-template-columns: 1fr; gap: 20px; }
  .rank-row-main { grid-template-columns: 32px minmax(140px, 1fr) minmax(96px, auto) 18px; gap: 11px; padding: 14px 12px; }
  .rank-stat.population { display: none; }
  .rank-details { padding-left: 55px; padding-right: 12px; }
  .member-row { grid-template-columns: minmax(150px, 1fr) repeat(2, minmax(67px, auto)); }
  .member-row .member-metric.seat-count { display: none; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { padding: 20px 0; }
  .method-grid article + article { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .support { grid-template-columns: 1fr; gap: 20px; }
  .tip-jar { max-width: 520px; }
}

@media (max-width: 540px) {
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  h1.headline { font-size: clamp(39px, 13vw, 54px); }
  .hero p.sub { font-size: 14px; }
  .hero .stats-line { max-width: 330px; margin-left: auto; margin-right: auto; line-height: 1.55; }
  .hero .stats-line .stat-format { flex-basis: 100%; }
  .hero .stats-line .stat-format i { display: none; }
  .lookup { display: grid; justify-content: stretch; border-radius: 3px; }
  .lookup input { width: 100%; text-align: center; }
  .lookup button { min-height: 46px; border-left: 0; border-top: 1px solid var(--gold); }
  .zip-result { padding: 19px; }
  .zip-result .metrics { grid-template-columns: 1fr; }
  .zip-result .metric + .metric { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .map-section, .theater-section, .methodology { padding-top: 52px; }
  .map-frame { margin-left: -15px; margin-right: -15px; padding: 4px; }
  .map-controls { top: 12px; right: 12px; grid-template-columns: 34px 44px 34px; }
  .map-controls button { height: 34px; }
  .map-frame svg { min-height: 255px; object-fit: cover; }
  .map-hint { display: block; }
  .map-hint span { display: block; margin-bottom: 5px; }
  .capacity-explainer { padding: 20px 17px; margin-left: -4px; margin-right: -4px; }
  .equation { grid-template-columns: 1fr auto 1fr; }
  .equation > i:nth-of-type(2) { display: none; }
  .equation .equation-result { grid-column: 1 / -1; }
  .rank-row-main { grid-template-columns: 30px minmax(0, 1fr) 16px; }
  .rank-stat { display: none; }
  .rank-name h3 { white-space: normal; line-height: 1.25; }
  .rank-name .loc { white-space: normal; line-height: 1.35; }
  .mobile-summary {
    display: block; margin-top: 7px; color: var(--cream-dim);
    font-family: ui-monospace, "SF Mono", monospace; font-size: 9.5px; line-height: 1.45;
  }
  .mobile-summary b { color: var(--gold); font-weight: 650; }
  .mobile-summary i { color: var(--gold-soft); font-style: normal; padding: 0 2px; }
  .rank-details { padding-left: 13px; padding-right: 13px; }
  .capacity-grid { grid-template-columns: 1fr 1fr; }
  .member-row { grid-template-columns: 1fr; gap: 10px; }
  .member-row .member-metric { display: none; }
  .member-title { display: block; line-height: 1.35; }
  .member-actions { display: flex; margin: 5px 0 0; gap: 9px; }
  .showtimes-link { padding: 5px 8px; }
  .single-theater-line { display: block; }
  .single-theater-line .member-actions { margin-bottom: 5px; }
  .single-theater-line .mloc { display: block; }
  .zip-actions { display: grid; grid-template-columns: 1fr; }
  .zip-actions .btn { width: 100%; min-height: 40px; }
  .support { padding: 25px 22px; }
  .tip-options { grid-template-columns: 1fr 1fr; }
  .support-button { min-height: 44px; padding-left: 13px; padding-right: 13px; }
  footer .disclaimer { grid-template-columns: 1fr; gap: 14px; }
}
