:root {
  color-scheme: dark;
  --text: #eef3e9;
  --muted: #b2c2b4;
  --canvas: #101813;
  --surface: #19251e;
  --raised: #22342a;
  --line: #384c3e;
  --track: #465c4e;
  --accent: #e3f888;
  --mint: #b9d8a9;
  --dark-text: #18251a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  font-family: Manrope, sans-serif;
  color: var(--text);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 10px; background: var(--accent); color: var(--dark-text); }
.kicker { display: flex; align-items: center; gap: 8px; font: 600 .72rem/1.3 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.kicker i { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

.masthead, .hero { background: #182b25; }
.masthead { border-bottom: 1px solid var(--line); }
.nav { min-height: 62px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--accent); }
.nav a:focus-visible { outline-color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.35rem/.95 var(--display); letter-spacing: .04em; }
.brand span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--dark-text); background: var(--accent); }
.brand svg { width: 16px; height: 16px; }
.nav-link { display: flex; gap: 9px; align-items: center; font: 500 .75rem var(--mono); }
.nav-link svg { transform: rotate(90deg); }
.hero { overflow: hidden; }
.hero-inner { min-height: 240px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 35%); align-items: stretch; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 36px 0 44px; }
.hero-copy .kicker { color: var(--accent); }
.hero h1 { margin: 7px 0 13px; font: 800 clamp(3rem, 7.4vw, 6.2rem)/.86 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:last-child { color: #e0e8df; font-size: .92rem; }
.photo-stack { position: relative; min-height: 190px; isolation: isolate; }
.photo-stack::before { content: ""; position: absolute; z-index: -1; inset: -40% -5% -55% -10%; opacity: .34; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 32px, #6a8c69 33px 34px, transparent 35px 52px); transform: rotate(-18deg); mask-image: radial-gradient(ellipse, #182b25 25%, transparent 70%); }
.photo-stack img { width: clamp(73px, 10.5vw, 130px); height: auto; aspect-ratio: 5/6; object-fit: cover; position: absolute; top: 47%; left: 50%; border: 2px solid #a7b59a; border-radius: 6px; background: #304138; box-shadow: 0 7px 18px #101e19a0; }
.photo-stack img:nth-child(1) { transform: translate(-111%, -54%) rotate(-16deg); }
.photo-stack img:nth-child(2) { transform: translate(10%, -53%) rotate(15deg); }
.photo-stack img:nth-child(3) { transform: translate(-50%, -48%) rotate(-4deg); }
.photo-stack > span { position: absolute; bottom: 15px; right: 0; color: #c6d5c3; font: 500 .62rem var(--mono); letter-spacing: .08em; }

.tally { display: grid; grid-template-columns: minmax(200px, 31%) 1fr; align-items: center; gap: 34px; margin: 22px 0 14px; border: 1px solid var(--line); border-left: 5px solid #8dab4b; background: var(--surface); padding: 16px 25px 17px; }
.tally-count h2, .progress-label { color: var(--mint); }
.tally-count p { white-space: nowrap; }
.tally-count strong { font: 800 clamp(2.8rem, 6vw, 4.1rem)/.95 var(--display); }
.tally-count span { font: 700 clamp(1.7rem, 3.5vw, 2.6rem)/1 var(--display); color: var(--muted); }
.progress-label { display: flex; justify-content: space-between; gap: 8px; font: 600 .74rem var(--mono); }
progress { display: block; width: 100%; height: 10px; appearance: none; overflow: hidden; border: 0; border-radius: 2px; margin: 9px 0 6px; background: var(--track); }
progress[hidden] { display: none; }
progress::-webkit-progress-bar { background: var(--track); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.tally-progress p { color: var(--muted); font-size: .77rem; }

.box-model { margin-bottom: 38px; padding: 17px 25px; border: 1px solid var(--line); background: var(--surface); }
.box-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px 16px; }
.box-head .kicker { color: var(--mint); }
.box-head h2 { margin-top: 4px; font: 800 clamp(2rem, 4.3vw, 2.7rem)/.95 var(--display); }
.box-basis { padding-left: 12px; border-left: 2px solid var(--line); }
.box-basis dt { font: 600 .68rem var(--mono); color: var(--muted); text-transform: uppercase; }
.box-basis dd { margin-top: 2px; color: var(--mint); font: 800 1.85rem/.95 var(--display); }
.box-basis dd span { font: 600 .73rem var(--mono); }
.box-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 20px 32px; margin-top: 15px; }
.box-range-label { display: flex; align-items: center; justify-content: space-between; gap: 5px 12px; font-size: .83rem; font-weight: 800; }
.box-range-label strong { font: 600 .8rem var(--mono); color: var(--accent); }
.box-control input { width: 100%; margin: 0; min-height: 30px; accent-color: var(--accent); cursor: pointer; }
.box-control input:disabled { cursor: default; }
.box-range-ends { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font: 500 .66rem var(--mono); }
.box-control p, .box-notes p { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.box-control p { margin-top: 7px; }
.box-result { background: var(--canvas); border: 1px solid var(--line); border-radius: 4px; padding: 11px 14px; }
.box-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.box-metrics dt { color: var(--muted); font: 600 .68rem var(--mono); text-transform: uppercase; }
.box-metrics dd { margin-top: 2px; font: 800 clamp(1.85rem, 4vw, 2.8rem)/.95 var(--display); }
.box-metrics > :first-child dd { color: var(--accent); }
.box-metrics small { display: block; margin-top: 4px; color: var(--muted); font: 600 .72rem/1.3 var(--mono); }
.box-result progress { height: 6px; margin-bottom: 0; }
.box-notes { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 10px; }
.box-notes summary { color: var(--mint); font-size: .76rem; font-weight: 800; cursor: pointer; width: fit-content; }
.box-notes p { margin-top: 7px; max-width: 90ch; }

#checklist { scroll-margin-top: 12px; }
.nav-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 16px; }
.report-link, .report-copy .kicker { color: var(--mint); }
.report-disclosure { width: fit-content; max-width: 100%; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.report-disclosure[open] { width: min(100%, 520px); }
.report-disclosure summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 14px; cursor: pointer; list-style: none; color: var(--mint); font: 600 .82rem/20px var(--mono); }
.report-disclosure summary::-webkit-details-marker { display: none; }
.report-disclosure summary:hover { color: var(--accent); }
.report-chevrons { display: inline-flex; color: var(--accent); font-size: 1rem; line-height: 1; letter-spacing: -.08em; }
.report-chevrons span:first-child { opacity: .6; }
.report-chevrons span:nth-child(2) { opacity: .8; }
.report-disclosure[open] .report-chevrons { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) {
  :is(.report-link, .report-disclosure:not([open])) .report-chevrons span { animation: report-chevron 850ms ease-in-out infinite; }
  .report-chevrons span:nth-child(2) { animation-delay: 110ms; }
  .report-chevrons span:nth-child(3) { animation-delay: 220ms; }
  @keyframes report-chevron { 45% { opacity: 1; transform: translateX(3px); } }
}
.report-copy h1 { margin: 4px 0 8px; font: 800 clamp(2.4rem, 5vw, 3.3rem)/.95 var(--display); }
.report-copy p:not(.kicker), .report-intro, .report-hint { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.report-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 11px 12px; padding: 12px 14px 14px; border-top: 1px solid var(--line); scroll-margin-top: 56px; }
.report-wide { grid-column: 1 / -1; }
.report-form label { font-size: .84rem; font-weight: 800; }
.report-form label span { color: var(--muted); font-weight: 500; }
.report-form input:not([type="hidden"]), .report-form select { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 4px; padding: 8px 10px; border: 1px solid #728a78; border-radius: 4px; background: var(--canvas); color: var(--text); font-size: 1rem; font-weight: 500; }
.report-hint { margin-top: -6px; }
#report-status:empty { position: absolute; }
.report-button { justify-self: start; grid-column: 1 / -1; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 4px; background: var(--accent); color: var(--dark-text); font-weight: 800; }
.report-button:not(:disabled):hover { background: var(--mint); }
.report-button:disabled { opacity: .55; cursor: not-allowed; }
.report-confirmation { display: grid; gap: clamp(18px, 4vw, 44px); padding: clamp(16px, 3vw, 30px); max-width: 520px; margin-block: 48px; border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 4px; background: var(--surface); }
.report-confirmation .report-button { display: inline-flex; align-items: center; text-decoration: none; }

.checklist-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 15px; }
.checklist-head .kicker { color: var(--mint); }
.checklist-head h2 { font: 800 clamp(2.6rem, 5vw, 3.5rem)/.95 var(--display); margin-top: 4px; }
.legend, .legend > span { display: flex; align-items: center; gap: 7px; }
.legend { flex-wrap: wrap; gap: 8px 17px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.legend .slot { width: 18px; height: 18px; }
.controls { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.search { background: var(--surface); border: 1px solid #728a78; border-radius: 4px; display: flex; align-items: center; gap: 10px; width: min(100%, 355px); padding: 0 12px; color: var(--mint); }
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search input { color: var(--text); width: 100%; min-height: 42px; min-width: 0; background: transparent; border: 0; font-size: .88rem; outline: 0; }
.search input::placeholder { color: var(--muted); }
.team-filter select { min-height: 44px; max-width: 100%; padding-inline: 11px 6px; border: 1px solid #728a78; border-radius: 4px; background: var(--surface); color: var(--text); font: 700 .84rem Manrope, sans-serif; }
.found-toggle { display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: .84rem; font-weight: 800; }
.found-toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.extras-link { color: var(--mint); font-size: .82rem; font-weight: 800; text-underline-offset: 3px; }
#extras { scroll-margin-top: 12px; }
#extras .team-heading { border-color: var(--mint); }
.status { margin: 8px 0 16px; color: var(--muted); font-size: .77rem; }
.team-group + .team-group { margin-top: 26px; }
.team-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 0 0 7px; margin-bottom: 8px; }
.team-heading h3 { font: 800 1.85rem/1 var(--display); }
.team-heading p { font: 500 .73rem var(--mono); color: var(--mint); background: var(--raised); border-radius: 3px; padding: 5px 8px; }
#star-watch { padding: clamp(12px, 2vw, 18px); border: 1px solid #65764a; border-top: 2px solid var(--accent); border-radius: 6px; background: linear-gradient(125deg, #242e1e, var(--canvas) 70%); }
#star-watch .team-heading h3, #star-watch .team-heading p { color: var(--accent); }
.star-watch-note { margin-bottom: 10px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 136px), 1fr)); gap: 7px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; display: grid; align-content: space-between; gap: 5px; width: 100%; height: 100%; min-height: 66px; padding: 7px 9px 8px; text-align: left; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: var(--surface); }
.tile-found { border-color: #5f795f; background: var(--raised); }
.tile-found:hover { border-color: var(--accent); background: #2c4334; }
.tile-meta { display: flex; justify-content: space-between; align-items: center; column-gap: 4px; font: 600 .69rem var(--mono); color: var(--mint); }
.tile-name { font: 800 .85rem/1.22 Manrope, sans-serif; overflow-wrap: anywhere; }
.tile-team { color: var(--muted); font-size: .71rem; }
.slot { display: inline-grid; flex: none; place-items: center; vertical-align: middle; border: 1px solid #829482; background: transparent; border-radius: 3px; width: 18px; height: 18px; }
.slot-found { border-color: var(--accent); background: var(--accent); color: var(--dark-text); }
.slot-found svg { width: 12px; height: 12px; stroke-width: 2.8; }
.empty, .retry { padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.retry { color: var(--mint); font-weight: 800; }

.footer { margin-top: 32px; min-height: 75px; padding: 15px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer div { display: flex; gap: 15px; }
.footer a, .detail-copy a { text-underline-offset: 3px; font-weight: 800; }
dialog { position: fixed; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); width: min(570px, calc(100% - 26px)); }
dialog::backdrop { background: #12241fbb; }
.dismiss { display: grid; place-items: center; position: absolute; top: 9px; right: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; color: var(--text); width: 34px; height: 34px; }
#detail-body { display: flex; align-items: center; gap: 17px; padding: 25px; }
.detail-photo { width: min(42%, 215px); max-height: 55dvh; object-fit: contain; }
.detail-copy { display: grid; gap: 7px; padding-right: 12px; }
.detail-copy .kicker { color: var(--mint); }
.detail-copy h2 { font: 800 2.25rem/.95 var(--display); }
.detail-copy p, .detail-copy a { font-size: .83rem; }

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 54px; }
  .nav-link { font-size: .66rem; }
  .hero-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) 95px; }
  .hero-copy { padding: 23px 0 27px; }
  .hero-copy .kicker { font-size: .59rem; }
  .hero h1 { margin: 8px 0 9px; font-size: clamp(2.6rem, 9vw, 3.8rem); }
  .hero h1 em { display: block; }
  .hero-copy > p:last-child { font-size: .77rem; }
  .photo-stack { min-height: 0; }
  .photo-stack img { width: 61px; }
  .photo-stack > span { display: none; }
  .tally { margin: 15px 0 12px; padding: 12px; gap: 12px; grid-template-columns: auto 1fr; }
  .tally-count .kicker, .progress-label, .tally-progress p { font-size: .64rem; }
  .box-model { margin-bottom: 25px; padding: 13px; }
  .box-grid { grid-template-columns: 1fr; gap: 12px; }
  .checklist-head { align-items: start; flex-direction: column; }
  #detail-body { gap: 12px; padding: 16px; }
}
