:root {
  --ink: #17211b;
  --paper: #f4f1e8;
  --paper-deep: #e8e3d6;
  --line: rgba(23, 33, 27, 0.2);
  --lime: #c8f560;
  --orange: #ff6b45;
  --blue: #7aa8ff;
  --white: #fffdf7;
  --shadow: 0 18px 55px rgba(23, 33, 27, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, .file-button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .file-button:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.masthead { min-height: 82px; padding: 0 clamp(22px, 4vw, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: inherit; text-decoration: none; font-weight: 900; letter-spacing: .08em; }
.brand-mark { width: 32px; height: 32px; display: flex; align-items: end; gap: 3px; transform: skew(-8deg); }
.brand-mark i { display: block; width: 8px; background: var(--ink); border-radius: 1px; }
.brand-mark i:nth-child(1) { height: 14px; }.brand-mark i:nth-child(2) { height: 23px; }.brand-mark i:nth-child(3) { height: 31px; background: var(--orange); }
.primary-nav { display: flex; align-items: stretch; height: 82px; }
.nav-link { border: 0; border-bottom: 3px solid transparent; background: transparent; color: inherit; padding: 0 24px; font-weight: 750; }
.nav-link:hover, .nav-link.is-active { border-bottom-color: var(--ink); }
.header-stat { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.header-stat strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); font-size: 1rem; }

main { width: 100%; max-width: 1720px; margin: 0 auto; flex: 1; }
.view { padding: clamp(42px, 6vw, 92px) clamp(22px, 5vw, 80px); }
.kicker { margin: 0 0 10px; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .17em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(3.2rem, 8vw, 8.7rem); line-height: .81; letter-spacing: -.075em; font-weight: 900; }
h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
h2 { margin-bottom: 0; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); align-items: end; gap: 9vw; }
.hero-copy { border-left: 1px solid var(--line); padding-left: clamp(22px, 4vw, 58px); }
.hero-copy > p { max-width: 430px; font-size: clamp(1rem, 1.6vw, 1.32rem); line-height: 1.55; }
.target-lockup { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.target-lockup strong { font-size: 4.6rem; line-height: .8; letter-spacing: -.08em; }
.target-lockup span { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.game-toolbar { margin-top: clamp(48px, 8vw, 100px); padding: 16px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.game-toolbar label { color: rgba(255,255,255,.6); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; }
.game-toolbar select { display: block; width: 100%; margin-top: 4px; border: 0; padding: 4px 24px 4px 0; background: var(--ink); color: white; font-size: 1rem; font-weight: 750; text-transform: none; letter-spacing: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; background: transparent; color: inherit; font-weight: 800; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--paper-deep); }
.button-primary { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #b8e84d; }
.game-toolbar .button { border-radius: 14px; min-width: 210px; }
.game-toolbar .button span { font-size: 1.4rem; }

.game-stage { margin-top: 42px; }
.run-header { display: grid; grid-template-columns: 140px 1fr 140px; align-items: center; margin-bottom: 20px; }
.run-header > div:first-child { display: flex; flex-direction: column; }
.run-label { color: rgba(23,33,27,.6); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
#run-score { font-size: 1.45rem; }
.round-pips { display: flex; justify-content: center; gap: 7px; }
.round-pips i { width: clamp(14px, 3vw, 38px); height: 6px; border-radius: 8px; background: var(--paper-deep); }
.round-pips i.done { background: var(--lime); }.round-pips i.wrong { background: var(--orange); }
.text-button { border: 0; background: transparent; color: inherit; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.run-header .text-button { justify-self: end; }
.matchup { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-card { min-height: 360px; padding: clamp(26px, 4vw, 56px); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.known-card { background: var(--ink); color: white; }
.mystery-card { background: var(--blue); }
.company-card::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid currentColor; border-radius: 50%; right: -85px; bottom: -110px; opacity: .14; box-shadow: 0 0 0 38px transparent, 0 0 0 39px currentColor, 0 0 0 77px transparent, 0 0 0 78px currentColor; }
.card-top, .card-value { position: relative; z-index: 1; }
.company-type { display: inline-block; margin-bottom: 22px; padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: .64rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.company-card h2 { max-width: 90%; font-size: clamp(2.1rem, 4.5vw, 5.1rem); line-height: .92; letter-spacing: -.06em; }
.company-ticker { display: block; margin-top: 10px; opacity: .65; font-weight: 800; letter-spacing: .08em; }
.card-value small { display: block; margin-bottom: 5px; opacity: .66; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.card-value strong { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.06em; }
.hidden-value { letter-spacing: .1em !important; }
.versus { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-7deg); width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 950; box-shadow: 0 8px 20px rgba(23,33,27,.2); }
.answer-panel { margin: 14px auto 0; max-width: 720px; padding: 24px; text-align: center; }
.answer-panel p { margin-bottom: 14px; font-weight: 750; }
.answer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer-button { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 18px 22px; color: inherit; font-size: 1.1rem; font-weight: 850; }
.answer-button span { margin-right: 8px; }.answer-button:hover { background: var(--lime); }.answer-button.lower:hover { background: var(--orange); }
.result-panel { margin: 14px auto 0; max-width: 760px; padding: 24px; border-radius: 18px; text-align: center; background: var(--ink); color: white; }
.result-panel.correct { background: var(--lime); color: var(--ink); }.result-panel.wrong { background: var(--orange); color: var(--ink); }
.result-panel h3 { margin: 0 0 7px; font-size: 1.55rem; }.result-panel p { margin: 0 0 18px; }
.result-panel .button { border-color: currentColor; }
.game-footnote { max-width: 780px; margin: 34px auto 0; color: rgba(23,33,27,.62); text-align: center; font-size: .82rem; line-height: 1.5; }

.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 58px; }
.page-title-row h1 { font-size: clamp(3.4rem, 7vw, 7.2rem); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.workbook-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.workbook-stats article { min-height: 132px; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.workbook-stats article:last-child { border-right: 0; }
.workbook-stats span, .workbook-stats small { color: rgba(23,33,27,.6); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.workbook-stats strong { margin: 4px 0; font-size: 2.2rem; letter-spacing: -.05em; }
.meter { height: 6px; margin-top: 12px; background: var(--paper-deep); border-radius: 9px; overflow: hidden; }.meter i { display: block; width: 0; height: 100%; background: var(--orange); transition: width .2s; }
.workbook-grid { margin-top: 60px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.65fr); gap: clamp(36px, 6vw, 86px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.add-task { display: grid; grid-template-columns: 1fr 130px auto; gap: 8px; margin-bottom: 28px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--white); color: inherit; }
textarea { resize: vertical; min-height: 230px; line-height: 1.55; }
.task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.task-column { min-width: 0; }
.task-column-header { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; border-bottom: 2px solid var(--ink); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.task-column-header span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-deep); }
.task-list { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.task-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; padding: 16px; background: var(--white); border-radius: 14px; border: 1px solid rgba(23,33,27,.09); }
.task-item input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.task-item label { font-size: .88rem; font-weight: 700; line-height: 1.35; cursor: pointer; }
.task-item.is-done label { text-decoration: line-through; opacity: .5; }
.delete-task { border: 0; background: transparent; opacity: .35; padding: 0; font-size: 1rem; }.delete-task:hover { opacity: 1; }
.saved-label { color: rgba(23,33,27,.55); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.updates-block { margin-top: 46px; }
.update-form { display: grid; grid-template-columns: 1fr 44px; gap: 6px; }
.update-form button { border: 0; border-radius: 12px; background: var(--ink); color: white; font-size: 1.2rem; }
.updates-list { list-style: none; padding: 0; margin: 18px 0 0; }
.updates-list li { position: relative; padding: 0 0 20px 26px; border-left: 1px solid var(--line); font-size: .85rem; line-height: 1.4; }
.updates-list li::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.updates-list time { display: block; margin-top: 4px; color: rgba(23,33,27,.52); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.data-summary { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-summary article { padding: 22px; border-right: 1px solid var(--line); }.data-summary article:last-child { border: 0; }
.data-summary strong { display: block; font-size: 2.2rem; letter-spacing: -.05em; }.data-summary span { font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.data-notice { margin-bottom: 20px; padding: 16px 20px; background: #fff1c2; border-radius: 14px; font-size: .85rem; line-height: 1.5; }
.data-controls { display: grid; grid-template-columns: 1fr 240px; gap: 8px; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th { padding: 12px 14px; border-bottom: 2px solid var(--ink); text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); }
td strong { display: block; }td small { color: rgba(23,33,27,.55); }
td a { color: inherit; text-underline-offset: 3px; }.number { text-align: right; font-variant-numeric: tabular-nums; }
.table-company { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.company-logo.mini { width: 38px; height: 38px; border-radius: 10px; font-size: .68rem; box-shadow: none; }
.company-logo.mini img { padding: 12%; }
.universe-pill { display: inline-block; padding: 5px 8px; border-radius: 999px; background: var(--paper-deep); font-size: .65rem; font-weight: 800; }
.table-count { margin-top: 14px; color: rgba(23,33,27,.6); font-size: .8rem; }
.add-company-panel { margin-top: 64px; padding: clamp(24px,4vw,48px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; border-radius: var(--radius); background: var(--blue); }
.add-company-panel > div p:last-child { max-width: 360px; line-height: 1.5; }
.add-company-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.add-company-panel label { font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.add-company-panel input, .add-company-panel select { margin-top: 6px; text-transform: none; letter-spacing: 0; }.add-company-panel .button { align-self: end; }
.methodology { margin-top: 70px; max-width: 900px; }.methodology > p:not(.kicker) { margin-top: 14px; line-height: 1.7; color: rgba(23,33,27,.72); }.methodology a { display: inline-block; margin: 12px 16px 0 0; color: inherit; font-weight: 750; text-underline-offset: 4px; }

footer { margin: 0 clamp(22px, 5vw, 80px); padding: 24px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: rgba(23,33,27,.55); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 850px) {
  .masthead { grid-template-columns: 1fr auto; }.primary-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: stretch; height: 54px; }.nav-link { flex: 1; padding: 0 10px; }.header-stat { grid-column: 2; grid-row: 1; }.masthead { padding-top: 14px; }
  .hero-row { grid-template-columns: 1fr; }.hero-copy { border-left: 0; padding-left: 0; max-width: 560px; }
  .game-toolbar { grid-template-columns: 1fr 1fr; }.game-toolbar .button { grid-column: 1 / -1; }
  .workbook-grid, .add-company-panel { grid-template-columns: 1fr; }.notes-panel { border-top: 1px solid var(--line); padding-top: 42px; }
  .task-board { grid-template-columns: 1fr; }.task-column { margin-bottom: 18px; }
  .data-summary { grid-template-columns: 1fr 1fr; }.data-summary article:nth-child(2) { border-right: 0; }.data-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 580px) {
  .header-stat span { display: none; }.brand { font-size: .85rem; }
  .view { padding-top: 46px; }.page-title-row { align-items: start; flex-direction: column; margin-bottom: 38px; }
  .game-toolbar { grid-template-columns: 1fr; }.game-toolbar .button { grid-column: auto; }
  .run-header { grid-template-columns: 1fr auto; }.round-pips { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; }.round-pips i { flex: 1; }.run-header .text-button { grid-column: 2; grid-row: 1; }
  .matchup { grid-template-columns: 1fr; }.company-card { min-height: 260px; }.versus { top: 50%; }.company-card h2 { font-size: 2.6rem; }
  .workbook-stats { grid-template-columns: 1fr; }.workbook-stats article { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }.workbook-stats article:last-child { border-bottom: 0; }
  .add-task { grid-template-columns: 1fr 100px; }.add-task .button { grid-column: 1 / -1; }
  .data-controls, .add-company-panel form { grid-template-columns: 1fr; }
  .data-summary article { padding: 16px 12px; }.data-summary strong { font-size: 1.7rem; }
  footer { gap: 20px; align-items: start; flex-direction: column; }
}

/* Worth More? game experience */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.brand-mark { width: 42px; height: 34px; align-items: center; gap: 0; transform: rotate(-4deg); }
.brand-mark i, .brand-mark b { display: grid; place-items: center; width: 22px; height: 26px; margin-right: -6px; border-radius: 7px; background: var(--ink); color: var(--white); font-size: .68rem; font-style: normal; font-weight: 950; box-shadow: 0 2px 0 var(--paper); }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(2) { height: 26px; background: var(--ink); }
.brand-mark i:nth-child(2) { background: var(--blue); color: var(--ink); transform: translateY(4px); }
.brand-mark b { background: var(--orange); color: var(--ink); transform: translateY(-3px); }

.game-view { padding: 0 clamp(18px, 3vw, 52px) clamp(42px, 6vw, 92px); overflow: hidden; }
.ticker-tape { margin: 0 calc(clamp(22px, 5vw, 80px) * -1) 28px; display: flex; width: calc(100% + clamp(44px, 10vw, 160px)); overflow: hidden; background: var(--lime); border-bottom: 1px solid var(--ink); color: var(--ink); font-size: .67rem; font-weight: 950; letter-spacing: .14em; white-space: nowrap; }
.ticker-tape span { flex: 0 0 auto; padding: 10px 0; animation: ticker-slide 22s linear infinite; }
@keyframes ticker-slide { to { transform: translateX(-100%); } }

.play-header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.play-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding: 0 4px; }
.play-intro > div > p:last-child { max-width: 540px; margin-bottom: 0; font-size: clamp(1rem,1.5vw,1.3rem); font-weight: 720; line-height: 1.35; letter-spacing: -.02em; }
.play-rules { max-width: 680px; margin-bottom: 0; color: rgba(23,33,27,.62); text-align: right; font-size: .8rem; line-height: 1.5; }
.game-toolbar { margin-top: 0; padding: 10px; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; border-radius: 18px; box-shadow: none; }
.mode-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.mode-picker legend, .setup-actions > label { padding: 2px 8px 6px; color: rgba(255,255,255,.6); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.mode-options { display: grid; grid-template-columns: repeat(4,minmax(120px,1fr)); gap: 6px; }
.mode-options label { min-width: 0; padding: 0; }
.mode-options input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.mode-options span { min-height: 52px; padding: 8px 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; color: rgba(255,255,255,.7); text-align: center; font-size: .78rem; font-weight: 820; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.mode-options span:hover { border-color: rgba(255,255,255,.5); color: white; transform: translateY(-1px); }
.mode-options input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--ink); }
.mode-options input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.setup-actions { display: grid; grid-template-columns: 180px auto; align-items: end; gap: 8px; }
.setup-actions > label { padding-bottom: 0; }
.setup-actions select { margin-top: 6px; }
.game-toolbar .button { min-width: 150px; min-height: 52px; border-radius: 11px; }

.game-stage { margin-top: 0; }
.run-header { grid-template-columns: 130px 1fr 130px; margin-bottom: 12px; }
.score-lockup, .best-lockup { display: flex; flex-direction: column; }
.best-lockup { text-align: right; }
.best-lockup strong { font-size: 1.45rem; }
.matchup { gap: 12px; }
.company-card { min-height: min(48vw, 470px); padding: clamp(24px, 3.5vw, 52px); border: 1px solid rgba(23,33,27,.32); box-shadow: 0 14px 0 rgba(23,33,27,.1); transform-origin: 50% 80%; }
.known-card { background: #14231b; }
.mystery-card { background: var(--blue); }
.card-heading { display: flex; align-items: center; gap: clamp(16px,2.4vw,28px); }
.company-logo { position: relative; flex: 0 0 auto; width: clamp(62px,8vw,110px); height: clamp(62px,8vw,110px); display: grid; place-items: center; border: 1px solid rgba(23,33,27,.18); border-radius: 24px; overflow: hidden; background: var(--white); color: var(--ink); font-size: clamp(1.1rem,2.2vw,2rem); font-weight: 950; letter-spacing: -.04em; box-shadow: 0 8px 22px rgba(23,33,27,.14); }
.company-logo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14%; object-fit: contain; background: var(--white); }
.company-logo.is-broken img { display: none; }
.company-card h2 { max-width: 100%; overflow-wrap: anywhere; }
.company-type { margin-bottom: 24px; border: 0; padding: 0; border-radius: 0; opacity: .66; }
.company-ticker { margin-left: calc(clamp(62px,8vw,110px) + clamp(16px,2.4vw,28px)); }
.card-value strong { display: inline-block; }
.versus { width: 68px; height: 68px; background: var(--orange); border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.answer-panel { max-width: 780px; padding: 18px 12px 4px; }
.answer-panel p { margin-bottom: 10px; }
.answer-button { min-height: 72px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 8px; padding: 12px 24px; border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .12s; }
.answer-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.answer-button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.answer-button span { grid-row: 1 / 3; margin-right: 4px; font-size: 2rem; }
.answer-button b { align-self: end; text-align: left; font-size: 1.05rem; }
.answer-button small { align-self: start; text-align: left; opacity: .55; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.keyboard-hints { min-height: 26px; margin-top: 12px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; color: rgba(23,33,27,.58); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.keyboard-hints span { display: inline-flex; align-items: center; gap: 4px; }
kbd { min-width: 22px; padding: 3px 6px; border: 1px solid rgba(23,33,27,.35); border-bottom-width: 3px; border-radius: 6px; background: var(--white); color: var(--ink); font: 800 .65rem/1 system-ui, sans-serif; text-align: center; box-shadow: 0 1px 0 rgba(23,33,27,.08); }
.result-panel { max-width: 780px; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.result-actions { display: flex; justify-content: center; align-items: center; gap: 14px; }
.result-shortcut { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.confetti-layer { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -20px; width: 12px; height: 22px; border: 1px solid var(--ink); border-radius: 2px; }

@media (max-width: 980px) {
  .game-toolbar { grid-template-columns: 1fr; }
  .setup-actions { grid-template-columns: 1fr auto; }
}

@media (max-width: 700px) {
  .game-view { padding-left: 14px; padding-right: 14px; }
  .ticker-tape { margin-left: -14px; margin-right: -14px; width: calc(100% + 28px); }
  .mode-options { grid-template-columns: 1fr 1fr; }
  .play-intro { align-items: start; flex-direction: column; gap: 10px; }
  .play-rules { max-width: none; text-align: left; }
  .game-toolbar .button { min-height: 44px; }
  .run-header { grid-template-columns: 78px 1fr 78px; }
  .matchup { grid-template-columns: 1fr; }
  .company-card { min-height: 275px; }
  .versus { top: 50%; width: 54px; height: 54px; box-shadow: 0 5px 0 var(--ink); }
  .answer-actions { gap: 7px; }
  .answer-button { min-height: 64px; padding: 10px 14px; grid-template-columns: auto 1fr; }
  .answer-button span { font-size: 1.6rem; }
  .answer-button small { display: none; }
  .keyboard-hints { gap: 7px 10px; font-size: .61rem; }
  .company-ticker { margin-left: 0; }
}

@media (max-width: 430px) {
  .masthead { padding-left: 14px; padding-right: 14px; }
  .brand > span:last-child { font-size: .78rem; }
  .setup-actions { grid-template-columns: 1fr; }
  .company-card { min-height: 250px; border-radius: 18px; }
  .company-logo { border-radius: 17px; }
  .company-card h2 { font-size: 2.15rem; }
  .card-value strong { font-size: 2.25rem; }
}

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