:root {
  --ink: #11100f;
  --ink-2: #1a1816;
  --paper: #f3efdf;
  --paper-dim: #c8c0aa;
  --line: rgba(243, 239, 223, 0.16);
  --orange: #ff5c1a;
  --lime: #dfff45;
  --red: #ff3c38;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--ink); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.court-lines {
  position: fixed;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.88%, var(--paper) 49.88%, var(--paper) 50.12%, transparent 50.12%),
    radial-gradient(circle at 50% 50%, transparent 0 118px, var(--paper) 119px 121px, transparent 122px),
    linear-gradient(90deg, transparent 12%, var(--paper) 12.1% 12.25%, transparent 12.35% 87.65%, var(--paper) 87.75% 87.9%, transparent 88%);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.35)); }
.brand-tagline { max-width: 88px; color: var(--paper-dim); font-size: 8px; line-height: 1.3; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.mini-stat { color: var(--paper-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.mini-stat span { color: var(--paper); font-weight: 900; }
.account-button { min-width: 122px; padding: 10px 13px; border: 1px solid var(--line); color: var(--paper); text-decoration: none; text-align: left; text-transform: uppercase; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.account-button span, .account-button small { display: block; }
.account-button span { font-size: 10px; font-weight: 950; letter-spacing: .11em; }
.account-button small { margin-top: 3px; color: var(--paper-dim); font-size: 7px; font-weight: 850; letter-spacing: .11em; }
.account-button:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.account-button:hover small { color: rgba(17,16,15,.68); }
.account-button.is-signed-in { border-color: rgba(223,255,69,.4); }

.icon-button {
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  font-weight: 850;
}
.icon-button:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
main:focus, h1:focus, h2:focus { outline: none; }

.screen { display: none; }
.screen.is-active { display: block; animation: screen-in .36s ease both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(12px); } }

.start-screen { position: relative; isolation: isolate; padding: 84px 0 52px; }
.start-screen::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2px;
  right: -90px;
  width: clamp(450px, 56vw, 760px);
  aspect-ratio: 1.25;
  background: url("assets/clutch-5-lockup.png") center / contain no-repeat;
  opacity: .055;
  filter: grayscale(.25) saturate(.7);
  transform: rotate(-7deg);
  pointer-events: none;
}
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }

h1 {
  margin: 22px 0 26px;
  max-width: 1060px;
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
  font-weight: 950;
}
h1 .hero-question { display: block; max-width: 1050px; font-size: clamp(54px, 8.2vw, 108px); line-height: .84; }
.hero-line { display: block; }
.hero-line-solid { color: var(--paper); }
.hero-line-outline { margin-top: 7px; color: transparent; -webkit-text-stroke: 2px var(--paper); text-stroke: 2px var(--paper); }

.lede { color: var(--paper-dim); font-size: clamp(17px, 2vw, 21px); max-width: 650px; line-height: 1.55; }
.account-note { width: fit-content; max-width: 680px; margin-top: 22px; padding: 11px 14px; border: 1px solid var(--line); background: rgba(26,24,22,.7); color: var(--paper-dim); font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.account-note.is-synced { color: var(--paper); border-color: rgba(223,255,69,.34); }
.account-note.is-syncing .status-dot { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

.era-picker { margin-top: 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; gap: 20px; }
.section-heading > div { display: flex; align-items: baseline; gap: 12px; }
.section-heading span { color: var(--orange); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.section-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading p { margin: 0; color: var(--paper-dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.difficulty-heading { margin-top: 54px; }

.era-options { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.era-chip {
  min-height: 76px;
  border: 1px solid var(--line);
  background: rgba(26,24,22,.78);
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.era-chip:hover { border-color: var(--paper); transform: translateY(-2px); }
.era-chip b, .era-chip small { display: block; }
.era-chip b { font-size: 12px; text-transform: uppercase; letter-spacing: -.01em; }
.era-chip small { margin-top: 5px; color: var(--paper-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.era-chip.is-selected { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: inset 0 -4px 0 var(--orange); }
.era-chip.is-selected small { color: #6f685a; }
.era-chip.current-chip.is-selected { background: var(--lime); border-color: var(--lime); box-shadow: inset 0 -4px 0 var(--ink); }

.difficulty-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.difficulty-card {
  min-height: 330px;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(17,16,15,.8);
  padding: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  position: relative;
  overflow: hidden;
}
.difficulty-card:last-child { border-right: 0; }
.difficulty-card:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.difficulty-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid currentColor;
  border-radius: 50%;
  right: -72px;
  top: -62px;
  opacity: .14;
}
.difficulty-card:hover { transform: translateY(-7px); z-index: 1; box-shadow: var(--shadow); }
.difficulty-card.rookie:hover { background: var(--lime); color: var(--ink); }
.difficulty-card.allstar:hover { background: var(--paper); color: var(--ink); }
.difficulty-card.hall:hover { background: var(--orange); color: var(--ink); }
.difficulty-card.goat:hover { background: var(--red); color: var(--paper); }

.difficulty-number { color: var(--paper-dim); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.difficulty-card:hover .difficulty-number, .difficulty-card:hover .difficulty-meta, .difficulty-card:hover .difficulty-copy { color: inherit; opacity: .66; }
.difficulty-name { margin-top: 48px; font-size: clamp(25px, 2.1vw, 34px); font-weight: 950; letter-spacing: -.055em; text-transform: uppercase; }
.difficulty-meta { margin-top: 6px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.difficulty-copy { color: var(--paper-dim); font-size: 14px; line-height: 1.5; margin-top: 32px; max-width: 210px; }
.difficulty-cta { margin-top: auto; font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.difficulty-cta b { float: right; font-size: 18px; }

.start-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #938b79;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 28px;
}
.start-footer b { color: var(--paper); }
.status-dot { width: 7px; height: 7px; background: var(--lime); display: inline-block; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 12px var(--lime); }

.game-screen { padding: 46px 0 80px; max-width: 870px; margin: 0 auto; }
.game-topline { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mode-badge { background: var(--orange); color: var(--ink); font-size: 10px; font-weight: 950; letter-spacing: .14em; padding: 7px 9px; }
.round-label { margin-left: 10px; color: var(--paper-dim); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.pool-badge { margin-left: 10px; color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.score-block { text-align: right; }
.score-block span { display: block; color: var(--paper-dim); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.score-block strong { color: var(--lime); font-size: 38px; letter-spacing: -.05em; line-height: .9; }
.score-block small { display: block; margin-top: 8px; color: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.round-label b { color: var(--paper); }

.progress-row { display: flex; gap: 7px; padding: 22px 0 35px; }
.progress-step { height: 4px; flex: 1; background: #302d29; }
.progress-step.seen { background: var(--paper); }
.progress-step.current { background: var(--orange); box-shadow: 0 0 14px rgba(255,92,26,.4); }

.clue-stack { display: grid; gap: 12px; }
.clue-card {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 116px;
  background: rgba(26,24,22,.86);
  animation: clue-in .36s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes clue-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.clue-card.previous { opacity: .58; }
.clue-number { border-right: 1px solid var(--line); display: grid; place-items: center; color: var(--orange); font-size: 30px; font-weight: 950; letter-spacing: -.06em; }
.clue-card.previous .clue-number { color: var(--paper-dim); }
.clue-copy { padding: 25px 28px; display: flex; flex-direction: column; justify-content: center; }
.clue-copy span { color: var(--paper-dim); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.clue-copy p { margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.35; font-weight: 720; letter-spacing: -.025em; }

.guess-form { margin-top: 30px; position: relative; }
.guess-form label { display: block; font-size: 10px; color: var(--paper-dim); text-transform: uppercase; letter-spacing: .15em; font-weight: 900; margin-bottom: 9px; }
.guess-control { display: flex; border: 1px solid var(--paper-dim); background: var(--paper); }
.guess-control:focus-within { box-shadow: 0 0 0 3px var(--lime); }
.guess-control input { min-width: 0; flex: 1; border: 0; background: transparent; color: var(--ink); padding: 19px 20px; font-size: 18px; font-weight: 700; outline: none; }
.guess-control input::placeholder { color: #797161; }
.guess-control button { border: 0; background: var(--orange); color: var(--ink); padding: 0 24px; font-size: 11px; font-weight: 950; letter-spacing: .1em; cursor: pointer; }
.guess-control button:hover { background: var(--lime); }
.guess-control button span { margin-left: 12px; font-size: 17px; }
.guess-meta { display: flex; justify-content: space-between; color: #8f8778; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-top: 10px; }

.autocomplete-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  z-index: 8;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  max-height: 246px;
  overflow-y: auto;
}
.autocomplete-option { display: flex; justify-content: space-between; width: 100%; padding: 13px 18px; border: 0; border-bottom: 1px solid #d7d0bd; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.autocomplete-option:hover, .autocomplete-option.active { background: var(--lime); }
.autocomplete-option strong { font-size: 14px; }
.autocomplete-option span { color: #756d5d; font-size: 11px; }

.feedback { min-height: 46px; display: grid; place-items: center; color: var(--red); font-size: 13px; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; }
.feedback.show { animation: feedback-pop .3s ease both; }
@keyframes feedback-pop { 50% { transform: scale(1.08); } }

.result-screen { max-width: 850px; margin: 0 auto; padding: 88px 0; text-align: center; }
.result-kicker { color: var(--lime); font-size: 12px; font-weight: 950; letter-spacing: .28em; text-transform: uppercase; }
.result-screen.lost .result-kicker { color: var(--red); }
.result-screen h2 { margin: 14px 0 6px; font-size: clamp(42px, 7vw, 78px); letter-spacing: -.06em; text-transform: uppercase; line-height: .95; }
.answer-reveal-layout { max-width: 820px; margin: 30px auto 0; display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center; }
.answer-copy { min-width: 0; text-align: left; }
.answer-name { color: var(--orange); font-size: clamp(28px, 5vw, 56px); font-weight: 950; letter-spacing: -.05em; text-transform: uppercase; }
.jersey-card {
  --jersey-primary: #050505;
  --jersey-secondary: #c4ced4;
  --jersey-trim: #ffffff;
  width: 250px;
  height: 292px;
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1100px;
  cursor: pointer;
  text-align: inherit;
}
.result-screen.is-active .jersey-card { animation: jersey-arrive .58s cubic-bezier(.16,.82,.24,1) both; }
@keyframes jersey-arrive { from { opacity: 0; transform: translateY(20px) scale(.94); } }
.jersey-card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.2,.78,.2,1); }
.jersey-card.is-flipped .jersey-card-inner { transform: rotateY(180deg); }
.jersey-card-face { position: absolute; inset: 0; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.jersey-card-front { align-items: center; justify-content: center; }
.jersey-card-front::before { content: ""; position: absolute; width: 208px; height: 208px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--jersey-primary) 28%, transparent), transparent 68%); filter: blur(5px); }
.jersey-card-front svg { position: relative; width: 100%; height: auto; max-height: 260px; overflow: visible; filter: drop-shadow(0 18px 22px rgba(0,0,0,.48)); transition: transform .22s ease; }
.jersey-card:hover .jersey-card-front svg { transform: translateY(-3px) rotate(-1deg); }
.jersey-outline { fill: none; stroke: var(--jersey-trim); stroke-width: 5; stroke-linejoin: round; }
.jersey-body { fill: var(--jersey-primary); }
.jersey-shine { fill: url(#jersey-shade); }
.jersey-mesh { fill: url(#jersey-mesh); }
.jersey-neck, .jersey-arm { fill: none; stroke: var(--jersey-secondary); stroke-width: 8; stroke-linecap: round; }
.jersey-side { fill: none; stroke: var(--jersey-secondary); stroke-width: 7; opacity: .9; }
.jersey-player-name, .jersey-player-number { fill: var(--jersey-secondary); stroke: var(--jersey-trim); paint-order: stroke; font-family: Impact, "Arial Black", sans-serif; font-weight: 950; }
.jersey-player-name { font-size: 22px; letter-spacing: 1px; stroke-width: .9px; }
.jersey-player-number { font-size: 94px; letter-spacing: -4px; stroke-width: 1.7px; }
.jersey-flip-cue { position: relative; margin-top: -3px; color: var(--paper-dim); font-size: 8px; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
.jersey-flip-cue b { color: var(--lime); font-size: 14px; }
.jersey-card-back { transform: rotateY(180deg); padding: 22px 20px 18px; border: 1px solid color-mix(in srgb, var(--jersey-secondary) 58%, var(--line)); background: radial-gradient(circle at 94% 8%, color-mix(in srgb, var(--jersey-primary) 46%, transparent), transparent 43%), #171513; overflow: hidden; text-align: left; box-shadow: 0 20px 48px rgba(0,0,0,.35); }
.jersey-card-back::before { content: attr(data-number); position: absolute; right: -8px; bottom: -38px; color: color-mix(in srgb, var(--jersey-secondary) 9%, transparent); font: 950 160px/1 Impact, "Arial Black", sans-serif; letter-spacing: -.08em; }
.career-card-kicker { color: var(--lime); font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.jersey-card-back strong { position: relative; margin-top: 13px; color: var(--paper); font-size: 24px; line-height: .92; letter-spacing: -.035em; text-transform: uppercase; }
.career-card-meta { position: relative; margin-top: 8px; color: var(--paper-dim); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.career-card-meta b { color: var(--jersey-secondary); }
.career-card-meta em { font-style: normal; }
.jersey-card-back ul { position: relative; display: grid; gap: 9px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.jersey-card-back li { position: relative; padding-left: 14px; color: var(--paper-dim); font-size: 10px; font-weight: 750; line-height: 1.3; }
.jersey-card-back li::before { content: ""; position: absolute; left: 0; top: .48em; width: 6px; height: 6px; border-radius: 50%; background: var(--jersey-secondary); }
.career-card-footer { position: relative; margin-top: auto; color: var(--paper-dim); font-size: 7px; font-weight: 950; letter-spacing: .17em; }
.career-card-footer b { float: right; color: var(--lime); font-size: 14px; }
.ian-take { max-width: 620px; margin: 18px 0 0; padding: 18px 22px; border-left: 3px solid var(--lime); background: rgba(26,24,22,.72); text-align: left; }
.ian-take > span { color: var(--lime); font-size: 9px; font-weight: 950; letter-spacing: .18em; }
.answer-reveal { margin: 7px 0 0; color: var(--paper-dim); font-size: 17px; line-height: 1.55; }

.result-scorecard { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 48px; }
.result-scorecard div { padding: 23px 15px; border-right: 1px solid var(--line); }
.result-scorecard div:last-child { border-right: 0; }
.result-scorecard span { display: block; color: var(--paper-dim); font-size: 9px; font-weight: 900; letter-spacing: .14em; margin-bottom: 7px; }
.result-scorecard strong { font-size: 25px; letter-spacing: -.04em; }

.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.primary-button, .secondary-button { min-height: 52px; padding: 0 24px; border: 1px solid var(--paper); font-size: 11px; font-weight: 950; letter-spacing: .11em; cursor: pointer; }
.primary-button { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.primary-button:hover { background: var(--lime); border-color: var(--lime); }
.secondary-button { background: transparent; }
.secondary-button:hover { background: var(--paper); color: var(--ink); }
.primary-button span { font-size: 17px; margin-left: 10px; }
.primary-button:disabled, .secondary-button:disabled, .story-button:disabled { opacity: .55; cursor: wait; }

.sources-panel { margin: 30px auto 0; max-width: 520px; color: var(--paper-dim); font-size: 12px; }
.sources-panel summary { cursor: pointer; text-transform: uppercase; letter-spacing: .11em; font-weight: 850; }
.sources-panel a { color: var(--lime); display: block; margin-top: 12px; }

.summary-screen { max-width: 980px; margin: 0 auto; padding: 80px 0 94px; }
.summary-screen > .result-kicker, .summary-screen > h2, .summary-lede { text-align: center; }
.summary-screen h2 { margin: 14px 0 10px; font-size: clamp(45px, 7vw, 82px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.summary-lede { max-width: 650px; margin: 0 auto; color: var(--paper-dim); font-size: 16px; line-height: 1.55; }
.summary-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 18px; margin-top: 46px; align-items: stretch; }
.share-card { min-height: 486px; padding: 28px; border: 1px solid rgba(243,239,223,.24); background: linear-gradient(145deg, #1f1c19, #121110 62%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.share-card::after { content: ""; position: absolute; width: 330px; height: 330px; right: -210px; bottom: -180px; border: 2px solid var(--orange); border-radius: 50%; opacity: .22; }
.share-card-head { display: flex; align-items: center; gap: 13px; }
.share-card-head img { width: 72px; height: 72px; object-fit: contain; }
.share-card-head span, .share-card-head small { display: block; }
.share-card-head span { font-size: 31px; line-height: .95; font-weight: 950; letter-spacing: -.055em; }
.share-card-head small { margin-top: 5px; color: var(--paper-dim); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.share-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.share-card-meta span { padding: 7px 9px; background: var(--orange); color: var(--ink); font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.share-card-meta span + span { background: var(--lime); }
.outcome-row { display: flex; flex-wrap: wrap; gap: 8px; min-height: 50px; margin-top: 38px; }
.outcome-chip { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: #282521; font-size: 24px; }
.outcome-chip.elite { background: rgba(223,255,69,.09); }
.outcome-chip.good { background: rgba(244,213,71,.09); }
.outcome-chip.late { background: rgba(255,92,26,.1); }
.outcome-chip.clutch { background: rgba(255,60,56,.1); }
.share-total { margin-top: 42px; }
.share-total span { display: block; color: var(--paper-dim); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.share-total strong { display: block; margin-top: 2px; color: var(--lime); font-size: clamp(64px, 9vw, 104px); line-height: .95; letter-spacing: -.075em; }
.share-card > p { margin: 35px 0 0; color: var(--paper-dim); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.session-box-score { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.session-box-score > div { min-height: 152px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.session-box-score > div:nth-child(2n) { border-right: 0; }
.session-box-score > div:nth-last-child(-n+2) { border-bottom: 0; }
.session-box-score span { color: var(--paper-dim); font-size: 8px; font-weight: 900; letter-spacing: .14em; line-height: 1.35; }
.session-box-score strong { color: var(--paper); font-size: 35px; letter-spacing: -.055em; }
.session-box-score > div:last-child strong { color: var(--lime); }
.share-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 50px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.share-heading span { color: var(--orange); font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.share-heading p { margin: 0; color: var(--paper-dim); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 16px; }
.share-actions button { width: 100%; }
.instagram-button { min-height: 58px; border: 1px solid #f04b9a; background: linear-gradient(135deg, #833ab4, #fd1d1d 56%, #fcb045); color: #fff; cursor: pointer; font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.instagram-button:hover { filter: brightness(1.12); }
.instagram-button:disabled { opacity: .55; cursor: wait; }
.story-button { grid-column: 1 / -1; min-height: 72px; padding: 0 24px; border: 1px solid var(--lime); background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 12px; font-weight: 950; letter-spacing: .11em; }
.story-button:hover { background: var(--paper); border-color: var(--paper); }
.story-button span { font-size: 9px; opacity: .65; }
.share-feedback { min-height: 42px; display: grid; place-items: center; color: var(--lime); font-size: 10px; font-weight: 950; letter-spacing: .14em; text-align: center; }
.share-feedback.is-error { color: var(--red); }
.summary-actions { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }

dialog {
  width: min(680px, calc(100% - 32px));
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 32px;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #bdb5a3; }
.dialog-head h2 { margin: 6px 0 0; font-size: 38px; letter-spacing: -.05em; text-transform: uppercase; }
.dialog-head .icon-button { border-color: #9c9381; }
.rules-list { margin: 24px 0; padding-left: 22px; }
.rules-list li { padding: 8px 0 8px 8px; line-height: 1.45; }
.tier-key { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-key div { border: 1px solid #bdb5a3; padding: 14px; display: flex; gap: 12px; align-items: center; }
.tier-key span { width: 35px; height: 35px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 950; }
.tier-key p { margin: 0; font-size: 12px; line-height: 1.35; }
.prototype-note { margin-top: 22px; padding: 18px; background: #e2dcc9; }
.prototype-note p { margin: 7px 0 0; font-size: 13px; line-height: 1.5; }
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-footer span {
  display: block;
  margin-top: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}
.footer-links { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper-dim);
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-links button:hover, .footer-links button:focus-visible { color: var(--lime); }
.consent-banner {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid var(--lime);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.consent-banner[hidden] { display: none; }
.consent-banner strong { color: var(--lime); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.consent-banner p { max-width: 570px; margin: 6px 0 0; color: var(--paper-dim); font-size: 12px; line-height: 1.5; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions button { min-height: 44px; padding: 0 16px; }
.privacy-copy { margin-top: 24px; }
.privacy-copy p { margin: 0 0 16px; font-size: 13px; line-height: 1.6; }
.visually-hidden { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .era-options { grid-template-columns: repeat(4, 1fr); }
  .difficulty-grid { grid-template-columns: 1fr 1fr; }
  .difficulty-card:nth-child(2) { border-right: 0; }
  .difficulty-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .site-header, main, .site-footer { width: min(100% - 24px, 1180px); }
  .site-header { height: 76px; }
  .mini-stat { display: none; }
  .account-button { min-width: 104px; padding: 8px 10px; }
  .account-button small { display: none; }
  .header-actions { gap: 9px; }
  .brand-mark { width: 58px; height: 58px; }
  .brand-tagline { display: none; }
  .start-screen { padding-top: 54px; }
  .start-screen::before { top: 16px; right: -130px; width: 410px; opacity: .04; }
  h1 .hero-question { font-size: clamp(44px, 14vw, 68px); }
  .hero-line-outline { margin-top: 8px; -webkit-text-stroke-width: 1.2px; }
  .difficulty-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .section-heading { align-items: flex-start; }
  .section-heading p { max-width: 150px; text-align: right; }
  .era-picker { margin-top: 42px; }
  .era-options { grid-template-columns: 1fr 1fr; }
  .era-chip { min-height: 70px; }
  .difficulty-heading { margin-top: 40px; }
  .difficulty-grid { margin-top: 0; }
  .difficulty-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .difficulty-card:last-child { border-bottom: 0; }
  .difficulty-name { margin-top: 30px; }
  .difficulty-copy { margin-top: 18px; }
  .game-screen { padding-top: 28px; }
  .score-block strong { font-size: 31px; }
  .clue-card { grid-template-columns: 58px 1fr; min-height: 106px; }
  .clue-number { font-size: 24px; }
  .clue-copy { padding: 19px 17px; }
  .guess-control { display: block; background: transparent; border: 0; }
  .guess-control input { width: 100%; background: var(--paper); padding: 17px; }
  .guess-control button { width: 100%; min-height: 52px; margin-top: 8px; }
  .autocomplete-list { top: 78px; }
  .result-screen { padding-top: 60px; }
  .answer-reveal-layout { grid-template-columns: 1fr; gap: 22px; }
  .jersey-card { width: 230px; height: 280px; margin: 0 auto; }
  .answer-copy { text-align: center; }
  .ian-take { text-align: left; }
  .result-scorecard { grid-template-columns: 1fr; }
  .result-scorecard div { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-scorecard div:last-child { border-bottom: 0; }
  .result-actions { flex-direction: column; }
  .summary-screen { padding-top: 58px; }
  .summary-layout { grid-template-columns: 1fr; }
  .share-card { min-height: 430px; padding: 22px; }
  .share-card-head span { font-size: 26px; }
  .share-total strong { font-size: 72px; }
  .session-box-score > div { min-height: 126px; padding: 18px; }
  .session-box-score strong { font-size: 29px; }
  .share-heading { align-items: flex-start; }
  .share-heading p { max-width: 150px; text-align: right; }
  .share-actions { grid-template-columns: 1fr; }
  .story-button { grid-column: auto; }
  .summary-actions { flex-direction: column; }
  .tier-key { grid-template-columns: 1fr; }
  dialog { padding: 22px; }
  .site-footer { padding: 22px 0 32px; }
  .consent-banner { right: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); display: block; }
  .consent-actions { margin-top: 14px; }
  .consent-actions button { flex: 1; }
}

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