@charset "UTF-8";

:root {
  --paper: #f5efe6;
  --white: #fffdf8;
  --ink: #342033;
  --apricot: #eca47d;
  --sage: #adb7aa;
  --surface: #e8e1d6;
  --sage-light: #e1e5dc;
  --muted: #6c5d66;
  --link: #73414f;
  --ink-soft: #4b3449;
  --max: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(52, 32, 51, .025) .55px, transparent .8px);
  background-size: 6px 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
input, select { accent-color: var(--ink); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.15; letter-spacing: -.035em; }
h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }
p { margin-bottom: 1.25em; }
img, svg { max-width: 100%; }
output { font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px 20px; border-radius: 30px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

/* A quiet masthead leaves room for the table and the type. */
.site-header { position: relative; z-index: 20; }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 55px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -1px; line-height: 1; transform: rotate(-9deg); }
.brand-name { font-family: var(--serif); font-size: 35px; font-weight: 600; letter-spacing: -1.7px; line-height: 1; }
.brand-name > span { padding-inline: 1px; font-weight: 400; }
#main-nav { display: flex; align-items: center; gap: 28px; }
#main-nav a { color: var(--ink); font-size: 14px; text-decoration: none; padding: 9px 1px; }
#main-nav a:hover, #main-nav a[aria-current="page"] { color: var(--link); }
#main-nav .nav-play { color: var(--ink); background: var(--apricot); border-radius: 999px; padding: 12px 22px; }
#main-nav .nav-play:hover { background: #f0b38f; }
.menu-toggle { display: none; min-height: 44px; padding: 9px 16px; border: 0; border-radius: 999px; color: var(--ink); background: var(--surface); font-size: 14px; }

/* The oval is clipped by its own visual area, never by the page. */
.hero { padding: 34px 0 68px; }
.soft-hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 34px; }
.hero-copy { position: relative; min-width: 0; }
.soft-hero h1 { font-size: clamp(48px, 5.7vw, 78px); font-weight: 600; line-height: 1.04; letter-spacing: -.05em; margin-bottom: 25px; }
.soft-hero h1 em { display: block; font-weight: 400; }
.hero .eyebrow { font-family: var(--serif); font-size: 19px; line-height: 1.4; letter-spacing: -.015em; text-transform: none; color: var(--ink); margin-bottom: 18px; }
.hero .lead { max-width: 530px; font-size: 18px; line-height: 1.7; margin-bottom: 0; color: #50404d; }
.hero .actions { margin-top: 29px; }
.hero-visual { position: relative; min-width: 0; width: 100%; aspect-ratio: 1.08; overflow: hidden; isolation: isolate; }
.hero-felt { position: absolute; inset: 8% -17% 3% 0; display: grid; place-items: center; border-radius: 50%; transform: rotate(-7deg); box-shadow: inset 0 3px 20px rgba(255, 253, 248, .09), inset 0 -12px 30px rgba(27, 13, 26, .2); }
.hero-felt, .game-teaser.featured {
  background-color: var(--ink);
  background-image: radial-gradient(rgba(255, 253, 248, .055) .6px, transparent .85px), radial-gradient(ellipse at 40% 25%, #50364b, transparent 68%);
  background-size: 4px 4px, auto;
}
.hero-cards { display: block; width: 80%; height: 92%; object-fit: contain; transform: rotate(7deg); filter: drop-shadow(0 12px 9px rgba(19, 10, 18, .22)); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; background: var(--apricot); color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 500; text-align: center; text-decoration: none; transition: background .18s, color .18s; }
.button:hover { background: #f0b38f; text-decoration: none; }
.button-secondary { background: rgba(255, 253, 248, .3); border-color: rgba(93, 65, 77, .22); }
.button-secondary:hover { background: var(--white); }
.button-small { min-height: 43px; padding: 10px 18px; font-size: 13px; }
.eyebrow, .section-number { font-size: 12px; line-height: 1.5; letter-spacing: 1.2px; text-transform: uppercase; }
.eyebrow { color: var(--muted); margin-bottom: 22px; }
.section-number { color: var(--link); margin-bottom: 16px; }
.micro { font-size: 12px; line-height: 1.7; color: var(--muted); }
.micro a { color: inherit; }
.hero-note { margin-top: 22px; }
.accent { color: var(--link); }

/* Inputs and results have different shapes and stay in the form's flow. */
.calculator-desk { padding: 0 0 38px; }
.calculator-desk .section-title h2 { font-size: clamp(36px, 4.4vw, 54px); }
.calculator { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 24px; align-items: stretch; color: var(--ink); }
.calculator-input-area { min-width: 0; padding: 34px 43px 32px; background: var(--surface); border-radius: 68px 118px 82px 62px; }
.calculator.quick .fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.calc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.calc-head h2 { font-size: 29px; line-height: 1.2; margin: 0; }
.calc-badge { max-width: 100%; padding: 5px 10px; border-radius: 999px; background: rgba(255, 253, 248, .64); color: var(--muted); font-size: 11px; line-height: 1.5; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; line-height: 1.5; }
.field input, .field select { width: 100%; min-width: 0; min-height: 51px; padding: 11px 15px; border: 1px solid rgba(99, 72, 83, .19); border-radius: 14px; background: var(--white); color: var(--ink); font-size: 23px; line-height: 1.3; font-variant-numeric: tabular-nums; color-scheme: light; }
.field select { font-size: 16px; }
.field small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.calc-error { margin-top: 17px; padding: 12px 16px; border-radius: 16px; background: #f6dfd5; color: #862e35; font-size: 14px; line-height: 1.6; }
.calc-error:empty { display: none; }
.calc-foot { max-width: 480px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.calculator-input-area .game-controls { justify-content: flex-start; margin: 21px 0 0; }
.calc-results { min-width: 0; align-self: stretch; padding: 51px 37px 29px; border-radius: 48% 48% 30px 30px / 90px 90px 30px 30px; background: var(--apricot); color: var(--ink); text-align: center; }
.calc-results .result-label { margin: 0 0 10px; font-family: var(--serif); font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.calc-results .big-result { display: block; font-family: var(--serif); font-size: clamp(47px, 5.6vw, 70px); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.formula { margin: 16px 0 0; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.calc-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-top: 23px; font-size: 13px; line-height: 1.5; text-align: left; }
.calc-bottom output { min-width: 0; font-size: 20px; text-align: right; overflow-wrap: anywhere; }
.calc-receipt-note { margin: 18px 0 0; color: #654451; font-size: 12px; line-height: 1.65; }
.calc-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 16px; margin-top: 25px; font-size: 12px; line-height: 1.55; text-align: left; }
.calc-breakdown output { display: block; margin-top: 5px; font-size: 22px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.calculator > noscript { grid-column: 1 / -1; }
.annotation { margin-top: 16px; font-size: 12px; color: var(--muted); }
.tool-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin: 19px 0 15px; color: var(--muted); font-size: 12px; }

/* Reading is separated by space rather than a system of rules. */
.jump-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 7px 0 18px; }
.jump-bar span { padding-right: 8px; color: var(--muted); font-size: 11px; letter-spacing: .8px; }
.jump-bar a { padding: 8px 12px; border-radius: 999px; color: var(--ink); font-size: 12px; text-decoration: none; }
.jump-bar a:hover { background: var(--surface); }
.section { padding: 64px 0; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 32px; }
.section-title h2 { margin: 0; max-width: 700px; }
.section-title p { margin: 0; max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.explain-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; align-items: start; }
.prose p { color: #50404d; }
.prose h3 { font-size: 27px; margin-top: 29px; margin-bottom: 15px; }
.example-sheet { padding: 34px 36px; border-radius: 36px 80px 36px 36px; background: #e5e8df; }
.example-sheet h3 { font-size: 30px; margin-bottom: 17px; }
.example-sheet p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.receipt-tag { display: inline-block; margin-bottom: 19px; color: var(--link); font-size: 11px; line-height: 1.5; letter-spacing: .8px; text-transform: uppercase; }
.receipt-line { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; font-size: 14px; line-height: 1.6; }
.receipt-line span:last-child { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-line:last-of-type { margin-top: 8px; font-weight: 600; }
.table-scroll { max-width: 100%; overflow-x: auto; border-radius: 23px; background: rgba(255, 253, 248, .7); }
table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 14px; line-height: 1.7; }
th { padding: 18px 20px; color: var(--muted); background: var(--surface); font-size: 12px; line-height: 1.6; font-weight: 600; }
td { padding: 22px 20px; vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 500; }
td p { margin: 0; }
tbody tr:nth-child(even) { background: rgba(232, 225, 214, .52); }
.room-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.room-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--link); }
.table-note { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.room-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 43px; }
.room-entry { display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; align-items: center; gap: 18px; min-width: 0; padding: 21px 15px; border-radius: 30px 60px 30px 30px; color: var(--ink); text-decoration: none; transition: background .18s; }
.room-entry:hover { background: rgba(255, 253, 248, .75); text-decoration: none; }
.room-initials { display: grid; place-items: center; width: 51px; height: 55px; border-radius: 50% 50% 43% 47%; background: var(--sage-light); color: var(--ink); font-family: var(--serif); font-size: 22px; line-height: 1; }
.room-entry:nth-child(2) .room-initials { background: #f0c4a9; }
.room-entry:nth-child(3) .room-initials { background: var(--ink); color: var(--white); }
.room-entry:nth-child(4) .room-initials { background: var(--sage); }
.room-entry-copy { min-width: 0; }
.room-entry h3 { margin: 0 0 6px; font-size: 26px; }
.room-entry p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.room-action { font-size: 24px; line-height: 1; text-align: right; }
.comparison-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.comparison-columns h3 { font-size: 29px; margin-bottom: 17px; }
.comparison-columns p { color: #50404d; font-size: 16px; line-height: 1.8; }
.formula-strip { padding: 23px 28px; margin-top: 26px; border-radius: 28px 48px 28px 28px; background: var(--sage-light); color: var(--ink); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.source-line { max-width: 930px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.source-line a { color: var(--link); overflow-wrap: anywhere; }

/* A draw table, an arch and a long pill make a single practice area. */
.game-teasers { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: minmax(274px, auto) minmax(180px, auto); gap: 20px; align-items: stretch; }
.game-teaser { min-width: 0; color: var(--ink); text-decoration: none; overflow: hidden; transition: filter .18s; }
.game-teaser:hover { text-decoration: none; filter: brightness(1.035); }
.game-teaser.featured { display: flex; flex-direction: column; align-items: center; justify-content: center; grid-row: span 2; min-height: 474px; padding: 47px 45px 45px; border-radius: 50% / 46%; color: var(--white); text-align: center; }
.game-art { min-width: 0; display: flex; align-items: center; justify-content: center; }
.featured .game-art { flex: 0 0 auto; width: min(100%, 325px); height: 220px; margin-bottom: 9px; }
.teaser-fan { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 7px rgba(19, 10, 18, .18)); }
.game-teaser-body { min-width: 0; }
.game-teaser-body h3 { margin-bottom: 9px; font-size: 30px; line-height: 1.16; }
.game-teaser-body p { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.game-teaser-body > span { display: inline-block; margin-top: 9px; font-size: 13px; line-height: 1.4; font-weight: 500; }
.featured .game-teaser-body { max-width: 350px; }
.featured .game-teaser-body h3 { font-size: 37px; }
.featured .game-teaser-body p { color: #eadfe4; }
.featured .game-teaser-body > span { min-height: 42px; padding: 11px 22px; border-radius: 999px; background: var(--white); color: var(--ink); }
.ranking-teaser { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 29px 32px 26px; border-radius: 48% 48% 31px 31px / 90px 90px 31px 31px; background: var(--sage); text-align: center; }
.ranking-teaser .game-art { width: 100%; min-height: 88px; margin-bottom: 13px; }
.mini-match { display: flex; justify-content: center; align-items: center; min-width: 0; padding: 6px 8px; }
.mini-card { display: block; flex: 0 0 48px; width: 48px; height: 68px; padding: 7px; border-radius: 7px; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 22px; line-height: 1.1; box-shadow: 0 3px 6px rgba(52, 32, 51, .11); transform: rotate(-8deg); }
.mini-card.red { color: #9a342f; }
.mini-match .mini-card:nth-child(2) { margin-left: -7px; transform: rotate(7deg); }
.mini-match .mini-card:nth-child(3) { margin-left: 24px; transform: rotate(-7deg); }
.mini-match .mini-card:nth-child(4) { margin-left: -7px; transform: rotate(8deg); }
.ranking-teaser .game-teaser-body h3 { font-size: 32px; }
.odds-teaser { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 17px; min-height: 180px; padding: 29px 36px; border-radius: 999px; background: var(--apricot); }
.odds-teaser .game-art { align-self: center; }
.fraction { font-family: var(--serif); font-size: 70px; line-height: 1; letter-spacing: -.065em; }
.fraction small { display: block; margin-top: 11px; font-family: var(--sans); font-size: 12px; line-height: 1.5; letter-spacing: 0; }
.odds-teaser .game-teaser-body h3 { font-size: 29px; }

.questions-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 60px; }
.questions-grid h2 { max-width: 350px; }
.questions details { padding: 20px 22px; margin-bottom: 12px; border-radius: 23px 32px 23px 23px; background: rgba(255, 253, 248, .58); }
.questions details[open] { background: rgba(255, 253, 248, .9); }
.questions summary { position: relative; cursor: pointer; list-style: none; padding-right: 33px; font-size: 16px; line-height: 1.6; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; right: 1px; top: -3px; color: var(--link); font-size: 24px; line-height: 1.3; }
.questions details[open] summary::after { content: '−'; }
.questions details p { margin: 16px 0 0; color: #50404d; font-size: 15px; line-height: 1.8; }
.end-band { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px 55px; margin: 12px 0 62px; border-radius: 85px 125px 75px 52px / 68px 80px 62px 50px; background: var(--sage-light); color: var(--ink); }
.end-band h2 { font-size: 37px; margin-bottom: 12px; }
.end-band p { max-width: 650px; color: #50404d; font-size: 14px; margin-bottom: 0; }
.end-band .section-number { margin-bottom: 13px; font-size: 12px; }
.end-band .button { flex-shrink: 0; }

/* An airy footer and shared reading conventions for the internal pages. */
.site-footer { padding: 23px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.footer-links a { color: var(--ink); font-size: 13px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { display: flex; justify-content: space-between; gap: 35px; margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.breadcrumb { padding-top: 27px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.breadcrumb a { color: var(--link); }
.page-head { padding: 43px 0 38px; max-width: 930px; }
.page-head h1 { font-size: clamp(43px, 5.5vw, 69px); margin-bottom: 24px; max-width: 900px; }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head .lead { max-width: 820px; font-size: 18px; line-height: 1.8; color: #50404d; }
.review-date { padding-top: 10px; color: var(--muted); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 65px; padding-bottom: 65px; }
.article-content { min-width: 0; }
.article-content section { padding: 29px 0; }
.article-content h2 { font-size: 35px; margin: 0 0 22px; }
.article-content h3 { font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: 0; margin: 28px 0 12px; }
.article-content p { color: #50404d; font-size: 16px; line-height: 1.85; }
.article-content ul, .article-content ol { padding-left: 22px; color: #50404d; font-size: 16px; }
.article-content li { margin-bottom: 11px; }
.article-content a { overflow-wrap: anywhere; }
.article-content .table-scroll { margin: 24px 0; }
.article-sidebar { position: sticky; top: 28px; align-self: start; padding: 25px 21px; border-radius: 28px 54px 28px 28px; background: rgba(225, 229, 220, .7); }
.article-sidebar h2 { font-family: var(--sans); font-size: 12px; line-height: 1.5; letter-spacing: .7px; text-transform: uppercase; margin-bottom: 16px; }
.article-sidebar a { display: block; padding: 10px 0; color: var(--ink); font-size: 13px; line-height: 1.6; text-decoration: none; }
.article-sidebar a:hover { color: var(--link); text-decoration: underline; }
.article-sidebar p { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.wide-content { padding-bottom: 60px; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 50px; margin-bottom: 55px; }
.calc-layout > div { min-width: 0; }
.calculator.full { grid-template-columns: minmax(0, 1fr); gap: 17px; }
.calculator.full .calculator-input-area { padding: 30px; border-radius: 36px 65px 36px 36px; }
.calculator.full .field input { font-size: 21px; }
.calculator.full .calc-results { padding: 35px 29px 28px; border-radius: 65px 65px 28px 28px; }
.calculator.full .calc-results .big-result { font-size: clamp(43px, 4.5vw, 59px); }
.calc-explainer { padding-top: 22px; }
.calc-explainer h2 { font-size: 36px; }
.calc-explainer p { color: #50404d; font-size: 16px; line-height: 1.8; }
.calc-explainer .section-number { font-size: 12px; }

/* Game controls remain legible and usable inside the mulberry surfaces. */
.game-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.game-nav a { padding: 11px 18px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; line-height: 1.5; text-decoration: none; }
.game-nav a:hover { background: var(--sage-light); }
.game-section { padding: 39px 0; scroll-margin-top: 20px; }
.game-section > h2 { font-size: 42px; }
.game-section > p { max-width: 840px; color: #50404d; font-size: 16px; line-height: 1.8; }
.game-section > .section-number { color: var(--link); font-size: 12px; }
.game-host { min-width: 0; padding: 36px; margin-top: 28px; border-radius: 48px 80px 48px 48px; background: var(--ink); color: var(--white); }
.game-host h3 { font-family: var(--serif); font-size: 25px; color: var(--white); letter-spacing: -.02em; }
.game-host label, .game-host p { font-size: 15px; }
.game-host small { font-size: 12px; line-height: 1.5; }
.game-host h4 { color: #eadfe4; text-align: center; font-size: 13px; font-weight: 400; }
.game-host input { width: 145px; max-width: 100%; min-height: 47px; padding: 11px 14px; border: 1px solid transparent; border-radius: 15px; background: var(--white); color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; color-scheme: light; }
.game-host :focus-visible { outline-color: var(--apricot); }
.game-host .button { background: var(--paper); color: var(--ink); }
.game-host .button:hover { background: var(--white); }
.game-host .button-secondary { background: var(--ink-soft); color: var(--white); border-color: rgba(255, 253, 248, .3); }
.game-host .button-secondary:hover { background: #5c4158; }
.card-hand { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; min-width: 0; }
.playing-card { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; position: relative; vertical-align: middle; width: 80px; min-height: 112px; padding: 6px; border: 1px solid rgba(55, 33, 47, .13); border-radius: 10px; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 28px; line-height: 1.25; box-shadow: 0 4px 6px rgba(19, 10, 18, .17); }
.playing-card.red { color: #9a342f; }
.playing-card:disabled { opacity: 1; }
.card-suit { font-size: 1.08em; }
.card-back { background-color: #61445b; background-image: radial-gradient(rgba(255, 253, 248, .2) 1px, transparent 1.2px); background-size: 8px 8px; border: 4px solid var(--paper); color: var(--white); }
.card-hold { display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 9px; padding: 2px; border: 0; border-radius: 12px; background: transparent; color: #eadfe4; }
.card-hold.held .playing-card { outline: 3px solid var(--apricot); outline-offset: 2px; transform: translateY(-4px); }
.hold-label { font-size: 12px; line-height: 1.5; }
.card-hold.held .hold-label { color: var(--apricot); }
.game-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.game-feedback { min-height: 46px; padding: 13px 19px; margin: 17px 0; border-radius: 20px; background: var(--ink-soft); color: var(--white); font-size: 15px; line-height: 1.75; text-align: center; }
.game-feedback:empty { background: transparent; }
.game-host .game-stats { margin: 17px 0; color: #eadfe4; font-size: 13px; text-align: center; }
.game-host .game-label { margin-top: 23px; color: #eadfe4; font-size: 12px; line-height: 1.5; letter-spacing: .8px; text-align: center; text-transform: uppercase; }
.game-instructions { max-width: 720px; margin-inline: auto; color: #eadfe4; text-align: center; }
.game-host .odds-scenario { padding: 23px; border-radius: 30px 48px 30px 30px; background: var(--ink-soft); color: var(--white); font-family: var(--serif); font-size: 27px; line-height: 1.5; text-align: center; }
.game-section .rules-note { margin-top: 22px; color: var(--muted); font-size: 13px; }
.rank-table { margin-top: 28px; }
.no-script { padding: 17px 22px; border-radius: 22px; background: var(--white); color: var(--ink); font-size: 15px; line-height: 1.8; }
.error-page { max-width: 700px; padding: 90px 0 135px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  #main-nav { gap: 22px; }
  .soft-hero { gap: 27px; }
  .hero .lead { font-size: 17px; }
  .hero .button { padding-inline: 20px; }
  .calculator { gap: 21px; }
  .calculator-input-area { padding: 32px 35px; }
  .calc-results { padding-inline: 29px; }
  .explain-grid, .questions-grid { gap: 40px; }
  .room-directory { column-gap: 25px; }
  .game-teaser.featured { padding-inline: 35px; }
  .featured .game-art { height: 205px; }
  .featured .game-teaser-body h3 { font-size: 34px; }
  .ranking-teaser { padding-inline: 26px; }
  .ranking-teaser .game-teaser-body h3 { font-size: 29px; }
  .odds-teaser { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding-inline: 29px; }
  .odds-teaser .fraction { font-size: 61px; }
  .odds-teaser .game-teaser-body h3 { font-size: 26px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 37px; }
  .calc-layout { gap: 35px; }
  .calculator.full .calculator-input-area { padding: 26px; }
  .end-band { padding-inline: 43px; }
}

@media (max-width: 900px) {
  .header-inner { gap: 22px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 31px; }
  .brand-mark { width: 49px; height: 39px; }
  #main-nav { gap: 18px; }
  #main-nav a { font-size: 13px; }
  #main-nav .nav-play { padding-inline: 18px; }
  .soft-hero { gap: 18px; }
  .hero .eyebrow { font-size: 17px; }
  .hero .lead { font-size: 16px; }
  .hero .actions { gap: 10px; }
  .hero .button { padding-inline: 17px; font-size: 13px; }
  .calculator-input-area { padding: 30px 27px; border-radius: 48px 85px 60px 44px; }
  .calc-results { padding: 47px 25px 27px; }
  .calc-results .result-label { font-size: 23px; }
  .calc-results .big-result { font-size: 49px; }
  .formula { font-size: 15px; }
  .game-teasers { gap: 16px; grid-template-rows: minmax(282px, auto) minmax(189px, auto); }
  .game-teaser.featured { padding: 45px 29px; }
  .featured .game-art { height: 190px; }
  .featured .game-teaser-body h3 { font-size: 31px; }
  .ranking-teaser { padding-inline: 23px; }
  .ranking-teaser .game-teaser-body h3 { font-size: 28px; }
  .odds-teaser { grid-template-columns: 88px minmax(0, 1fr); padding-inline: 25px; }
  .odds-teaser .fraction { font-size: 52px; }
  .odds-teaser .game-teaser-body h3 { font-size: 24px; }
  .odds-teaser .game-teaser-body p, .odds-teaser .game-teaser-body > span { font-size: 12px; }
  .calc-layout { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .calculator.full .calculator-input-area { padding: 31px; }
  .calculator.full .calc-results .big-result { font-size: 57px; }
  .calc-explainer { padding-top: 10px; }
  .end-band { padding: 42px 36px; }
  .end-band h2 { font-size: 34px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 83px; gap: 18px; }
  .brand-name { font-size: 31px; }
  .brand-mark { width: 46px; height: 36px; font-size: 22px; }
  .menu-toggle { display: block; }
  #main-nav { display: none; position: absolute; z-index: 20; top: calc(100% - 4px); left: 18px; right: 18px; padding: 16px 20px 21px; border-radius: 26px; background: var(--white); box-shadow: 0 13px 32px rgba(52, 32, 51, .12); }
  #main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  #main-nav a { padding: 12px 6px; font-size: 14px; }
  #main-nav .nav-play { margin-top: 6px; text-align: center; }
  .hero { padding: 25px 0 42px; }
  .soft-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .soft-hero h1 { max-width: 650px; font-size: clamp(43px, 9.5vw, 69px); line-height: 1.05; margin-bottom: 22px; }
  .hero .eyebrow { font-size: 18px; margin-bottom: 17px; }
  .hero .lead { max-width: 570px; font-size: 17px; line-height: 1.75; }
  .hero .actions { margin-top: 25px; }
  .hero-visual { justify-self: center; width: min(100%, 540px); aspect-ratio: 1.35; }
  .hero-felt { inset: 6% -7% 4% 2%; }
  .hero-cards { width: 80%; height: 94%; }
  .calculator-desk { padding-bottom: 28px; }
  .calculator-desk .section-title h2 { max-width: 600px; font-size: 38px; }
  .calculator { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .calculator-input-area { padding: 29px 30px; border-radius: 45px 76px 53px 40px; }
  .calculator.quick .fields { gap: 19px; }
  .calc-foot { max-width: 100%; }
  .calc-results { padding: 47px 31px 29px; border-radius: 43% 43% 27px 27px / 69px 69px 27px 27px; }
  .calc-results .result-label { font-size: 25px; }
  .calc-results .big-result { font-size: clamp(49px, 8.5vw, 64px); }
  .formula { font-size: 16px; }
  .calc-bottom { gap: 9px 17px; }
  .jump-bar { gap: 6px 8px; padding-bottom: 12px; }
  .jump-bar span { width: 100%; padding: 0 12px 5px; }
  .jump-bar a { font-size: 12px; }
  .section { padding: 46px 0; }
  .section-title { display: block; margin-bottom: 27px; }
  .section-title h2 { font-size: 36px; }
  .section-title p { max-width: 570px; margin-top: 17px; font-size: 14px; }
  .explain-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .example-sheet { padding: 29px 30px; border-radius: 31px 62px 31px 31px; }
  .prose p { font-size: 16px; }
  .comparison-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .comparison-columns h3 { font-size: 28px; }
  .formula-strip { padding: 21px 24px; }
  .table-scroll table { min-width: 520px; }
  .article-content .table-scroll table { min-width: 450px; }
  td, th { padding: 17px; }
  .room-directory { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .room-entry { padding: 18px 12px; }
  .room-entry h3 { font-size: 25px; }
  .game-teasers { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 19px; }
  .game-teaser.featured { grid-row: auto; min-height: 425px; padding: 44px 45px; border-radius: 46% / 44%; }
  .featured .game-art { height: 205px; width: min(100%, 320px); }
  .featured .game-teaser-body h3 { font-size: 35px; }
  .ranking-teaser { min-height: 276px; padding: 33px 29px 29px; border-radius: 45% 45% 28px 28px / 86px 86px 28px 28px; }
  .ranking-teaser .game-teaser-body h3 { font-size: 31px; }
  .ranking-teaser .game-art { min-height: 85px; }
  .odds-teaser { min-height: 178px; grid-template-columns: 126px minmax(0, 1fr); gap: 19px; padding: 29px 39px; }
  .odds-teaser .fraction { font-size: 67px; }
  .odds-teaser .game-teaser-body h3 { font-size: 28px; }
  .odds-teaser .game-teaser-body p, .odds-teaser .game-teaser-body > span { font-size: 13px; }
  .questions-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .questions-grid h2 { max-width: 550px; font-size: 36px; }
  .questions details { padding: 19px 20px; }
  .questions summary { font-size: 16px; }
  .end-band { display: block; padding: 35px 32px; margin-bottom: 43px; border-radius: 50px 76px 52px 35px; }
  .end-band h2 { font-size: 34px; }
  .end-band .button { margin-top: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-links { gap: 13px 22px; }
  .footer-note { flex-direction: column; gap: 12px; }
  .breadcrumb { padding-top: 22px; }
  .page-head { padding: 31px 0 28px; }
  .page-head h1 { font-size: clamp(39px, 8.8vw, 60px); }
  .page-head .lead { font-size: 17px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 21px; padding-bottom: 43px; }
  .article-content h2 { font-size: 32px; }
  .article-content section { padding-block: 25px; }
  .article-sidebar { position: static; padding: 25px 28px; }
  .calc-layout { gap: 25px; margin-bottom: 38px; }
  .calculator.full .calculator-input-area { padding: 29px; }
  .calculator.full .calc-results { padding: 34px 29px 28px; }
  .calc-explainer h2 { font-size: 33px; }
  .wide-content { padding-bottom: 43px; }
  .game-nav { gap: 9px; margin-bottom: 24px; }
  .game-nav a { padding: 10px 15px; font-size: 12px; }
  .game-section { padding: 33px 0; }
  .game-section > h2 { font-size: 36px; }
  .game-host { padding: 27px 16px; border-radius: 34px 53px 34px 34px; }
  .playing-card { width: 56px; min-height: 83px; font-size: 23px; border-radius: 8px; }
  .card-hand { gap: 8px; row-gap: 18px; margin: 23px 0; }
  .card-hold { gap: 8px; }
  .game-host .button { padding: 12px 18px; font-size: 13px; }
  .game-feedback { padding: 13px 16px; font-size: 14px; }
  .game-host .game-instructions { font-size: 14px; }
  .game-host .odds-scenario { padding: 21px 17px; font-size: 24px; }
  .error-page { padding: 65px 0 100px; }
}

@media (max-width: 480px) {
  .hero .actions .button { padding-inline: 19px; }
  .hero-visual { aspect-ratio: 1.2; }
  .calculator-desk .section-title h2 { font-size: 35px; }
  .calculator-input-area, .calculator.full .calculator-input-area { padding: 27px 24px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .calc-head h2 { font-size: 28px; }
  .calc-results, .calculator.full .calc-results { padding-inline: 25px; }
  .calc-results .big-result, .calculator.full .calc-results .big-result { font-size: 50px; }
  .calc-breakdown { column-gap: 15px; }
  .calc-breakdown output { font-size: 21px; }
  .game-teaser.featured { min-height: 403px; padding: 42px 31px; border-radius: 45% / 35%; }
  .featured .game-art { height: 183px; }
  .featured .game-teaser-body h3 { font-size: 31px; }
  .ranking-teaser { padding-inline: 25px; }
  .ranking-teaser .game-teaser-body h3 { font-size: 29px; }
  .odds-teaser { grid-template-columns: 92px minmax(0, 1fr); gap: 13px; padding: 28px 27px; border-radius: 76px; }
  .odds-teaser .fraction { font-size: 54px; }
  .odds-teaser .game-teaser-body h3 { font-size: 24px; }
  .odds-teaser .game-teaser-body p, .odds-teaser .game-teaser-body > span { font-size: 12px; }
  .room-entry { grid-template-columns: 47px minmax(0, 1fr) 20px; gap: 13px; padding-inline: 6px; }
  .room-initials { width: 45px; height: 49px; font-size: 20px; }
  .room-entry p { font-size: 13px; }
  .example-sheet { padding: 27px 25px; }
  .end-band { padding: 32px 27px; }
  .playing-card { width: 49px; min-height: 77px; font-size: 22px; }
  .card-hand { gap: 6px; row-gap: 18px; }
  .hold-label { font-size: 11px; }
  .game-host { padding-inline: 13px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 9px; }
  .brand-name { font-size: 28px; }
  .brand-mark { width: 42px; height: 34px; font-size: 21px; }
  .menu-toggle { padding-inline: 13px; }
  .soft-hero h1 { font-size: 42px; }
  .hero .lead { font-size: 16px; }
  .hero .actions .button { flex: 1 1 180px; }
  .calculator-input-area, .calculator.full .calculator-input-area { padding-inline: 22px; }
  .calc-results, .calculator.full .calc-results { padding-inline: 22px; }
  .calc-results .big-result, .calculator.full .calc-results .big-result { font-size: 46px; }
  .calc-bottom { font-size: 12px; }
  .calc-breakdown output { font-size: 19px; }
  .game-teaser.featured { padding-inline: 26px; }
  .featured .game-teaser-body h3 { font-size: 29px; }
  .ranking-teaser { padding-inline: 20px; }
  .ranking-teaser .game-teaser-body h3 { font-size: 27px; }
  .odds-teaser { grid-template-columns: 78px minmax(0, 1fr); padding-inline: 23px; gap: 10px; border-radius: 62px; }
  .odds-teaser .fraction { font-size: 47px; }
  .odds-teaser .game-teaser-body h3 { font-size: 23px; }
  .game-host .button { padding-inline: 15px; }
  .playing-card { width: 43px; min-height: 74px; font-size: 21px; }
}

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