/* Shared typography for home, gameplay and results. These fonts are bundled
   locally so the original offline/index.html workflow continues to work. */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-semi-condensed-500.woff") format("woff");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-semi-condensed-600.woff") format("woff");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-semi-condensed-700.woff") format("woff");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-semi-condensed-800.woff") format("woff");
}
:root {
  --font-ui: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  --type-caption: 12px;
  --type-small: 14px;
  --type-body: 17px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-synthesis: none;
}
body {
  font-size: var(--type-body);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
button,
input,
textarea,
select {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0;
}
h1,
h2,
h3,
strong {
  font-weight: 700;
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  letter-spacing: 0;
}
button {
  line-height: 1.15;
}
.primary,
.secondary,
.icon-button {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.primary > span {
  font-family: inherit;
}
.primary {
  font-size: 18px;
  min-height: 50px;
  padding: 13px 24px;
  gap: 24px;
}
.primary.large {
  font-size: 20px;
  padding: 16px 26px;
  min-height: 56px;
}
.secondary {
  font-size: 16px;
}
.icon-button {
  font-size: 14px;
  min-height: 38px;
  padding: 8px 13px;
}
.eyebrow,
.overline,
.daily-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.3;
}
/* Home: strong display type, with quieter but readable supporting text. */
.site-header {
  min-height: 88px;
  padding-block: 16px;
}
.brand {
  gap: 12px;
}
.brand-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand-name > small {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-name .brand-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.2;
  margin-top: 6px;
}
.header-actions {
  gap: 12px;
}
main {
  padding-top: 36px;
}
.hero-grid {
  padding: 28px 0 32px;
  gap: 32px;
}
.hero-copy h1 {
  font-size: clamp(68px, 7.5vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.hero-copy h1 > small {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin: 24px 0;
  max-width: 440px;
}
.play-note,
.home-live > span {
  font-size: 13px;
  line-height: 1.35;
  margin-top: 12px;
}
.home-live {
  font-size: 16px;
  line-height: 1.3;
}
.hero-prize > small {
  font-size: 12px;
  letter-spacing: 0.015em;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-prize > b {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.rules {
  gap: 28px;
  padding: 24px 0;
}
.rules li {
  font-size: 16px;
  line-height: 1.4;
}
.rules strong {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stats {
  margin-top: 28px;
  padding: 22px 0;
}
.stats strong {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.stats small {
  font-size: 15px;
  font-weight: 500;
}
.stats span {
  font-size: 14px;
  line-height: 1.25;
  margin-top: 6px;
}
footer {
  font-size: 12px;
  line-height: 1.4;
  padding-block: 22px;
}
/* Gameplay: stronger question/answer hierarchy and consistent control text. */
body.playing .brand-name {
  font-size: 23px;
  font-weight: 800;
}
body.playing .brand-name > small {
  font-size: 12px;
}
body.playing .brand-name .brand-sub {
  font-size: 9px;
  letter-spacing: 0;
}
body.playing .site-header {
  min-height: 62px;
  padding-block: 10px;
}
.game .eyebrow,
.cash-overview .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cash-heading strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.game-top {
  gap: 20px;
  padding: 10px 16px;
  min-height: 102px;
}
.round-console {
  min-height: 82px;
}
.lock-area {
  gap: 6px;
}
.lock-area .primary,
.game .reveal-panel .primary {
  font-size: 18px;
  min-height: 44px;
  padding: 11px 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lock-area p {
  font-size: 13px;
  line-height: 1.2;
  max-width: 300px;
}
.game-top .timer strong {
  font-size: 31px;
  font-weight: 700;
}
.game-top .timer span {
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 600;
}
.game .ladder {
  margin: 12px 0;
}
.game .ladder li > span {
  font-size: 13px;
  font-weight: 600;
}
.game .question {
  min-height: 90px;
  margin-bottom: 8px;
}
.game .question .overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.game .question h2 {
  font-size: clamp(28px, 2.7vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.game .allocation-bar {
  padding: 9px 0 11px;
  gap: 16px;
}
.game .allocation-bar > p {
  font-size: 14px;
  font-weight: 500;
}
.game .allocation-bar strong {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.game .chips button {
  font-size: 14px;
  font-weight: 600;
  min-height: 36px;
  padding: 7px 14px;
}
.game .answer-heading {
  min-height: 58px;
  padding: 10px 12px 5px;
  gap: 9px;
}
.game .answer h3 {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.game .letter {
  font-size: 13px;
  font-weight: 600;
}
.game .answer-state {
  font-size: 19px;
}
.answer-amount > strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.answer-amount .platform-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  margin-top: 3px;
}
.game .answer-amount {
  min-height: 46px;
}
.game .bet-controls {
  padding-top: 8px;
}
.game .adjust {
  font-size: 23px;
  font-weight: 500;
  min-height: 38px;
  height: 38px;
}
.game .amount-input span {
  font-size: 16px;
  font-weight: 500;
}
.game .amount-input input {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 600;
  padding: 8px 2px;
}
.game .tile-shortcuts button {
  font-size: 13px;
  min-height: 29px;
  font-weight: 600;
}
.game-note {
  font-size: 12px;
  line-height: 1.25;
  margin-top: 10px;
}
.game .reveal-panel h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 5px;
}
.game .reveal-panel p {
  font-size: 13px;
  line-height: 1.2;
}
.game .reveal-panel.suspense h3 {
  font-size: 24px;
}
.reveal-detail {
  font-size: 14px;
  line-height: 1.3;
  margin-top: 6px;
}
/* Results and expandable recap use the same scale as the rest of the game. */
.end h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.end h1 span {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.end-heading > p {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 18px;
}
.end-actions {
  gap: 12px;
  margin-top: 22px;
}
.end-actions .secondary {
  font-size: 16px;
  min-height: 50px;
  padding: 12px 22px;
}
.next-game {
  font-size: 15px !important;
}
.next-game strong {
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 600;
}
.section-heading h2 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section-heading > span {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 600;
}
.recap summary {
  padding: 18px;
  gap: 14px;
}
.recap-number {
  font-size: 16px;
  font-weight: 600;
}
.recap-question {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.recap summary > strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.recap-body {
  font-size: 16px;
  line-height: 1.4;
  padding: 18px;
}
.recap-bets > div {
  font-size: 15px;
  line-height: 1.25;
}
.unplayed {
  font-size: 14px;
  line-height: 1.4;
}
#share-fallback {
  font-size: 15px;
}
textarea {
  font-size: 17px;
  line-height: 1.4;
}
@media (min-width: 601px) and (max-width: 900px) {
  .brand-name {
    font-size: 24px;
  }
  .game-top {
    gap: 10px;
  }
  .cash-heading strong {
    font-size: 29px;
  }
  .game .answer-heading {
    padding-inline: 8px;
    gap: 6px;
  }
  .game .answer h3 {
    font-size: 17px;
  }
  .game .amount-input input {
    font-size: 16px;
  }
  .game .tile-shortcuts button {
    font-size: 11px;
  }
  .game .chips button {
    font-size: 13px;
  }
  .hero-copy h1 {
    font-size: 76px;
  }
  .hero-description {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  :root {
    --type-caption: 11px;
    --type-small: 13px;
    --type-body: 16px;
  }
  body {
    line-height: 1.4;
  }
  .site-header {
    min-height: 68px;
    padding: 10px 12px;
  }
  .brand {
    gap: 6px;
  }
  .brand-name {
    font-size: 19px;
    letter-spacing: -0.025em;
  }
  .brand-name > small {
    font-size: 10px;
    margin-right: 1px;
  }
  .brand-name .brand-sub {
    font-size: 8px;
    letter-spacing: 0;
    margin-top: 4px;
  }
  .header-actions {
    gap: 5px;
  }
  .icon-button {
    font-size: 12px;
    min-height: 34px;
    padding: 7px 9px;
  }
  main {
    padding: 24px 16px 16px;
  }
  .intro > .eyebrow {
    font-size: 11px;
    letter-spacing: 0;
  }
  .intro .hero-grid {
    padding: 22px 0 24px;
    gap: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(58px, 17.5vw, 78px);
    line-height: 0.9;
    letter-spacing: -0.03em;
  }
  .hero-copy h1 > small {
    font-size: 19px;
    letter-spacing: 0.015em;
    margin-bottom: 9px;
  }
  .hero-description {
    font-size: 18px;
    line-height: 1.35;
    margin: 20px auto;
    max-width: 330px;
  }
  .primary.large {
    font-size: 19px;
    min-height: 52px;
    padding: 14px 20px;
  }
  .play-note,
  .home-live > span {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 10px;
  }
  .home-live {
    font-size: 15px;
  }
  .hero-prize > small {
    font-size: 11px;
    letter-spacing: 0;
  }
  .hero-prize > b {
    font-size: 51px;
    letter-spacing: -0.02em;
  }
  .hero-caption {
    font-size: 11px;
    letter-spacing: 0;
  }
  .rules {
    padding: 20px 0;
    gap: 20px;
  }
  .rules li {
    font-size: 15px;
    line-height: 1.4;
  }
  .rules strong {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .stats {
    margin-top: 24px;
    padding: 4px 0;
  }
  .stats > div {
    padding: 17px 8px;
  }
  .stats strong {
    font-size: 31px;
    letter-spacing: -0.015em;
  }
  .stats small {
    font-size: 13px;
  }
  .stats span {
    font-size: 13px;
    margin-top: 5px;
  }
  footer {
    font-size: 11px;
    line-height: 1.35;
    padding-block: 18px;
  }
  body.playing .site-header {
    min-height: 50px;
    padding: 7px 10px;
  }
  body.playing .brand-name {
    font-size: 18px;
  }
  body.playing .brand-name > small {
    font-size: 10px;
  }
  body.playing .brand-name .brand-sub {
    display: none;
  }
  body.playing .icon-button {
    font-size: 12px;
    min-height: 32px;
    padding: 6px 8px;
  }
  body.playing main {
    padding: 6px 10px 8px;
  }
  .game-top {
    grid-template-columns: minmax(96px, 1fr) minmax(124px, 1.2fr) 45px;
    gap: 6px;
    padding: 5px 6px;
    min-height: 92px;
  }
  .cash-overview .eyebrow {
    font-size: 10px;
    letter-spacing: 0;
  }
  .cash-heading strong {
    font-size: 27px;
    letter-spacing: -0.02em;
  }
  .cash-overview {
    padding-bottom: 36px;
  }
  .vault-visual {
    height: 35px;
  }
  .vault-visual .money-pile {
    scale: 0.58;
    bottom: 6px;
  }
  .round-console {
    min-height: 80px;
  }
  .lock-area {
    gap: 5px;
  }
  .lock-area .primary,
  .game .reveal-panel .primary {
    font-size: 15px;
    min-height: 39px;
    padding: 9px 8px;
    gap: 7px;
    letter-spacing: -0.005em;
  }
  .lock-area p {
    font-size: 11px;
    line-height: 1.15;
  }
  .game .reveal-panel h3 {
    font-size: 17px;
    line-height: 1.1;
    margin-top: 4px;
  }
  .game .reveal-panel p {
    font-size: 11px;
    line-height: 1.15;
  }
  .game .reveal-panel.suspense h3 {
    font-size: 20px;
  }
  .game-top .timer {
    width: 45px;
    height: 45px;
    margin-top: 7px;
  }
  .game-top .timer strong {
    font-size: 25px;
    line-height: 1.1;
  }
  .game-top .timer span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .game .ladder {
    margin: 8px 0 10px;
  }
  .game .ladder li > span {
    font-size: 12px;
    width: 24px;
    height: 24px;
  }
  .game .question {
    min-height: 75px;
    margin-bottom: 5px;
  }
  .game .question .overline {
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1.15;
  }
  .game .question h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: 5px;
  }
  .reveal-detail {
    font-size: 12px;
    line-height: 1.25;
    margin-top: 5px;
  }
  .game .allocation-bar {
    padding: 5px 0 8px;
    gap: 8px;
    min-height: 42px;
  }
  .game .allocation-bar > p {
    font-size: 11px;
    line-height: 1.1;
  }
  .game .allocation-bar strong {
    font-size: 20px;
    letter-spacing: -0.015em;
    margin-top: 3px;
  }
  .game .chips {
    gap: 4px;
  }
  .game .chips button {
    font-size: 12px;
    min-height: 33px;
    padding: 7px 8px;
  }
  .game .answers {
    gap: 8px;
  }
  .game .answer-heading {
    min-height: 47px;
    padding: 6px 7px 3px;
    gap: 5px;
  }
  .game .answer h3 {
    font-size: 17px;
    line-height: 1.05;
    letter-spacing: -0.01em;
  }
  .game .letter {
    font-size: 11px;
    width: 19px;
    height: 21px;
  }
  .game .answer-state {
    font-size: 15px;
  }
  .game .trap-well {
    height: 54px;
  }
  .game .tile-cash .money-pile {
    scale: 0.65;
    bottom: 14px;
  }
  .game .answer-amount {
    min-height: 28px;
  }
  .answer-amount > strong {
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  .answer-amount .platform-label {
    display: none;
  }
  .game .bet-controls {
    padding: 4px 6px 2px;
  }
  .game .adjust {
    font-size: 23px;
    min-height: 35px;
    height: 35px;
    width: 29px;
  }
  .game .amount-input span {
    font-size: 14px;
  }
  .game .amount-input input {
    font-size: 16px;
    line-height: 1.1;
    padding: 7px 1px;
  }
  .game .tile-shortcuts {
    margin-top: 2px;
  }
  .game .tile-shortcuts button {
    font-size: 12px;
    min-height: 27px;
    line-height: 1.1;
    padding: 3px 0;
  }
  .game-note {
    font-size: 10px;
    line-height: 1.2;
    margin-top: 7px;
  }
  .end > .eyebrow {
    font-size: 11px;
    letter-spacing: 0;
  }
  .end-heading {
    padding: 24px 0 18px;
  }
  .end h1 {
    font-size: 44px;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .end h1 span {
    font-size: 66px;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-top: 8px;
  }
  .end-heading > p {
    font-size: 17px;
    line-height: 1.35;
    margin-top: 16px;
  }
  .end-actions .primary {
    font-size: 18px;
  }
  .end-actions .secondary {
    font-size: 16px;
  }
  .next-game {
    font-size: 14px !important;
  }
  .next-game strong {
    font-size: 17px;
  }
  .section-heading h2 {
    font-size: 24px;
    line-height: 1.08;
    max-width: 235px;
  }
  .section-heading > span {
    font-size: 12px;
  }
  .recap {
    margin-top: 28px;
  }
  .recap summary {
    padding: 15px 12px;
    gap: 10px;
  }
  .recap-number {
    font-size: 15px;
  }
  .recap-question {
    font-size: 16px;
    line-height: 1.2;
  }
  .recap summary > strong {
    font-size: 18px;
  }
  .recap-body {
    font-size: 15px;
    line-height: 1.4;
    padding: 15px 12px;
  }
  .recap-bets > div {
    font-size: 14px;
  }
  .unplayed {
    font-size: 13px;
  }
  textarea {
    font-size: 16px;
  }
}
@media (max-width: 355px) {
  .brand-name {
    font-size: 17px;
  }
  .brand-name > small {
    font-size: 9px;
  }
  .brand-name .brand-sub {
    font-size: 7px;
  }
  .icon-button {
    font-size: 11px;
    padding-inline: 7px;
  }
  body.playing .brand-name {
    font-size: 16px;
  }
  body.playing .icon-button {
    font-size: 11px;
    padding-inline: 7px;
  }
  .game-top {
    grid-template-columns: minmax(86px, 1fr) minmax(113px, 1.15fr) 40px;
    gap: 4px;
    padding-inline: 4px;
  }
  .cash-heading strong {
    font-size: 24px;
  }
  .game-top .timer {
    width: 40px;
    height: 40px;
  }
  .lock-area .primary,
  .game .reveal-panel .primary {
    font-size: 14px;
  }
  .lock-area p {
    font-size: 10px;
  }
  .game .chips button {
    padding-inline: 6px;
    font-size: 11px;
  }
  .game .answer h3 {
    font-size: 16px;
  }
  .game .amount-input input {
    font-size: 16px;
  }
  .game .tile-shortcuts button {
    font-size: 11px;
  }
  .recap summary > strong {
    font-size: 16px;
  }
}
@media (max-width: 600px) and (max-height: 740px) {
  .game-top {
    min-height: 81px;
  }
  .round-console {
    min-height: 70px;
  }
  .game .question {
    min-height: 64px;
  }
  .game .question h2 {
    font-size: 23px;
  }
  .game .answer-heading {
    min-height: 42px;
  }
  .game .answer h3 {
    font-size: 16px;
  }
  .game .trap-well {
    height: 43px;
  }
  .game .answer-amount {
    min-height: 25px;
  }
  .answer-amount > strong {
    font-size: 23px;
  }
  .game-note {
    display: none;
  }
}
/* Leave a clear baseline gap between the balance and the illustrated pile. */
@media (max-width: 600px) {
  .vault-visual .money-pile {
    bottom: 0;
  }
}

/* One wordmark colour treatment on every page and viewport. */
.brand-name > small,
.brand-the,
.brand-drop {
  color: #fff;
}
.brand-football {
  color: var(--gold);
}
.hero-copy h1 {
  color: #fff;
}
.hero-copy h1 > span:not(.title-dot) {
  color: var(--gold);
}

/* Match the logo: THE FOOTBALL in gold, DROP in white. */
.brand-name > small,
.brand-the,
.brand-football,
.hero-copy h1 > small {
  color: var(--gold);
}
.brand-drop {
  color: #fff;
}
