/* Raise: a desert roadside motel at dusk. Stucco cream, motel turquoise, burnt-orange rust, asphalt ink.
   Painted tin signs (cream rim, rivets), turquoise felt in a rust vinyl rail with a chrome strip.
   Yellowtail (the sign script) + Rokkitt (everything else, numbers tabular). */
@font-face { font-family: 'Yellowtail'; src: url(/fonts/Yellowtail.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rokkitt'; src: url(/fonts/Rokkitt.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --stucco: #f4e8d3; --stucco-2: #ead8bb; --stucco-3: #d9c19b; --paper: #fffaf0;
  --ink: #1f2328; --ink-2: #4a4038; --mute: #857462; --line: rgba(31, 35, 40, .14);
  --teal: #14928b; --teal-lit: #35b7ad; --teal-deep: #0b5d58; --teal-dark: #083f3c;
  --rust: #c4531c; --rust-lit: #e0763a; --rust-deep: #86350e;
  --felt: #168a83; --felt-lit: #2aa89e; --felt-deep: #0a5651;
  --chrome: #dfe3e2; --bulb: #ffe2a1; --apricot: #f0b583; --bad: #c23b22;
  --pk-red: #c23b22;
  --script: 'Yellowtail', 'Brush Script MT', cursive; --display: 'Rokkitt', Georgia, serif; --text: 'Rokkitt', Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --rivets: radial-gradient(circle at 12px 12px, var(--paper) 0 3px, rgba(31,35,40,.25) 3.5px 4.5px, transparent 5px), radial-gradient(circle at calc(100% - 12px) 12px, var(--paper) 0 3px, rgba(31,35,40,.25) 3.5px 4.5px, transparent 5px), radial-gradient(circle at 12px calc(100% - 12px), var(--paper) 0 3px, rgba(31,35,40,.25) 3.5px 4.5px, transparent 5px), radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--paper) 0 3px, rgba(31,35,40,.25) 3.5px 4.5px, transparent 5px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--stucco); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-weight: 450; font-size: 19px; line-height: 1.45; overflow-x: hidden; background: var(--stucco); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
code { font-family: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95em; word-break: break-all; }
[hidden] { display: none !important; }
.muted { color: var(--mute); }

/* buttons: turquoise is the move, asphalt is the wallet, outline is the quiet way */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; font: 750 19px/1 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .08s, background-color .15s, box-shadow .15s; }
.btn:active { transform: translateY(3px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.btn-main { background: var(--teal); color: var(--paper); box-shadow: inset 0 0 0 2px var(--teal-deep), inset 0 0 0 4px rgba(255, 250, 240, .55), inset 0 -6px 0 var(--teal-deep), 0 3px 0 var(--teal-dark); }
.btn-main:hover { background: #18a39b; }
.btn-main:active { box-shadow: inset 0 0 0 2px var(--teal-deep), inset 0 0 0 4px rgba(255, 250, 240, .55), inset 0 -3px 0 var(--teal-deep), 0 0 0 var(--teal-dark); }
.btn-ink, .btn-choc { background: var(--ink); color: var(--paper); box-shadow: inset 0 -4px 0 #0c0e10; }
.btn-ink:hover, .btn-choc:hover { background: #2e343b; }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-quiet:hover { background: rgba(31, 35, 40, .06); }
.btn-big { min-height: 58px; padding: 0 30px; font-size: 21px; }
/* header */
.coin-strip { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px var(--gutter); background: var(--teal-dark); color: var(--paper); font-size: 16px; font-weight: 700; }
.coin-strip code { font-size: 15px; }
.coin-strip a { color: var(--bulb); }
.coin-strip .btn-quiet { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); min-height: 30px; padding: 0 12px; font-size: 15px; }
.top { display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { width: 48px; height: 48px; display: block; }
.brand-word { font: 400 50px/1 var(--script); color: var(--teal-deep); text-shadow: 2px 2px 0 var(--rust); padding: 0 .12em .06em 0; transform: rotate(-4deg); }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; font-weight: 700; color: var(--ink-2); font-size: 19px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-color: var(--rust); }
.nav-x svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.wallet-btn { min-width: 150px; }
.wallet-btn.is-connected { font-variant-numeric: tabular-nums; }

main { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* hero: the motel lot at dusk, the words in the sky to the left of the sign */
.hero { position: relative; margin: 4px 0 0; border-radius: 22px; overflow: hidden; min-height: clamp(540px, 48vw, 700px); display: flex; align-items: flex-start; background: #b9dcd2; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(60, 40, 20, .6); }
.hero-art { position: absolute; inset: 0; }
.hero-art svg { display: block; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 1; padding: clamp(40px, 4.2vw, 64px) 0 0 clamp(32px, 3.4vw, 54px); max-width: min(540px, 40%); }
.hero h1 { font-size: clamp(50px, 4.4vw, 66px); color: var(--ink); text-wrap: balance; letter-spacing: -.015em; }
.lede { font-size: clamp(19px, 1.4vw, 21px); color: var(--ink-2); max-width: 32em; margin-top: 20px; font-weight: 480; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* lobby: every table is a painted tin sign with a motel key tag */
.lobby { padding: clamp(48px, 6vw, 84px) 0 56px; scroll-margin-top: 12px; }
.lobby h2, .how h2 { font-size: clamp(40px, 3.8vw, 56px); color: var(--ink); }
.lobby-head { display: flex; align-items: baseline; gap: 10px 26px; flex-wrap: wrap; margin-bottom: 30px; }
.lobby-head p { color: var(--ink-2); }
.lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.lt {
  position: relative; background: var(--rivets), linear-gradient(var(--paper), #f6ecda); color: var(--ink); border-radius: 16px; padding: 30px 28px 26px; display: grid; gap: 6px;
  border: 6px solid var(--teal); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px rgba(20, 146, 139, .35), 0 6px 0 var(--teal-deep), 0 22px 30px -22px rgba(31, 35, 40, .8);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.lt-six { border-color: var(--rust); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px rgba(196, 83, 28, .3), 0 6px 0 var(--rust-deep), 0 22px 30px -22px rgba(31, 35, 40, .8); }
.lt::after { content: '2'; position: absolute; right: 16px; top: -26px; width: 64px; height: 64px; background: var(--rz-tag-hu) center / contain no-repeat; display: grid; place-items: center; padding-top: 8px; font: 800 26px/1 var(--display); color: var(--paper); transform: rotate(8deg); }
.lt-six::after { content: '6'; background-image: var(--rz-tag-six); }
.lt:hover { transform: translateY(-3px) rotate(-.4deg); }
.lt-top { display: grid; gap: 2px; padding-right: 54px; }
.lt h3 { font-size: 32px; color: var(--ink); }
.lt-format { font-size: 16px; color: var(--ink-2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lt-buyin { font: 800 54px/1 var(--display); color: var(--rust); margin-top: 12px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lt-six .lt-buyin { color: var(--teal-deep); }
.lt-prize { font-weight: 800; font-size: 20px; }
.lt-meta { font-size: 16px; color: var(--ink-2); }
.lt-foot { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; }
.lt-seats { display: flex; gap: 6px; }
.lt-seats i { width: 16px; height: 16px; border-radius: 50%; background: var(--stucco-2); box-shadow: inset 0 0 0 2px var(--stucco-3); }
.lt-seats i.on { background: radial-gradient(circle at 40% 35%, #fffaf0, var(--bulb) 45%, #e8a548); box-shadow: 0 0 0 2px var(--rust-deep); }
.lt-count { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.lt-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 6px; }
.lt-actions .btn, .lt > .btn { white-space: normal; text-align: center; line-height: 1.1; padding: 0 14px; font-size: 18px; }
.lobby-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; }
.lobby-cols h2 { font-size: 36px; margin-bottom: 10px; }
.lr-list { display: grid; }
.lr { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: "d a c" "d b c"; column-gap: 14px; padding: 13px 0; border-top: 1.5px solid var(--line); text-decoration: none; }
.lr::before { content: ''; grid-area: d; align-self: center; width: 18px; height: 18px; background: var(--rz-tag-hu) center / contain no-repeat; }
.lr b { grid-area: a; font-weight: 800; }
.lr span:not(.lr-go) { grid-area: b; color: var(--mute); font-size: 17px; }
.lr-go { grid-area: c; align-self: center; font-weight: 800; color: var(--teal-deep); }
.lr:hover b { color: var(--rust-deep); }

/* at the table */
.how { padding: 56px 0 84px; border-top: 1.5px solid var(--line); }
.how-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 64px; margin: 30px 0 0; max-width: 1160px; }
.how-list div { padding: 18px 22px 20px; background: var(--rivets), var(--paper); border-radius: 12px; box-shadow: inset 0 0 0 2px var(--stucco-3); }
.how-list dt { font: 800 26px/1.1 var(--display); margin-bottom: 8px; color: var(--teal-deep); }
.how-list div:nth-child(even) dt { color: var(--rust-deep); }
.how-list dd { margin: 0; color: var(--ink-2); }

/* table page */
.table-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 8px 0 14px; }
.table-head h1 { font-size: clamp(38px, 3.6vw, 54px); color: var(--ink); }
.th-id { font: 600 .42em var(--text); color: var(--mute); vertical-align: middle; }
.th-meta { display: flex; gap: 6px 20px; flex-wrap: wrap; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.th-level { color: var(--rust-deep); }
.table-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-bottom: 60px; align-items: start; }
.table-main { min-width: 0; }
.table-side { display: grid; gap: 16px; font-size: 17px; }
.table-side h3 { font-size: 28px; margin-bottom: 6px; }
.fair, .results { background: var(--rivets), var(--paper); border-radius: 12px; padding: 18px 20px; display: grid; gap: 6px; box-shadow: inset 0 0 0 2px var(--stucco-3); color: var(--ink-2); }
.fair a, .results a { color: var(--teal-deep); font-weight: 800; }
.fair code { display: block; font-size: 15px; color: var(--ink); background: var(--stucco); padding: 7px 9px; border-radius: 6px; }
.results ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.results li { display: grid; grid-template-columns: 44px 1fr auto; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; }
.payout { font-size: 16px; }

/* the table: turquoise felt in a rust vinyl rail with a chrome strip */
.pk-table { font-family: var(--text); }
.pk-rail {
  background: radial-gradient(110% 130% at 50% 0%, var(--rust-lit) 0, var(--rust) 42%, var(--rust-deep) 100%);
  box-shadow: 0 30px 50px -26px rgba(60, 30, 10, .8), inset 0 3px 0 rgba(255, 220, 180, .35), inset 0 -10px 24px rgba(60, 20, 0, .45);
}
.pk-rail::before { content: ''; position: absolute; inset: 1.2% .8%; border-radius: 999px; background: repeating-linear-gradient(90deg, transparent 0 2.2cqw, rgba(60, 20, 0, .22) 2.2cqw 2.35cqw); -webkit-mask: radial-gradient(closest-side, transparent 90%, #000 91%); mask: radial-gradient(closest-side, transparent 90%, #000 91%); opacity: .7; }
.pk-rail::after { content: ''; position: absolute; inset: 3.6% 2.4%; border-radius: 999px; box-shadow: 0 0 0 max(3px, .45cqw) var(--chrome), 0 0 0 max(4px, .6cqw) #9aa3a2; }
.pk-cloth { background: radial-gradient(72% 82% at 50% 36%, var(--felt-lit) 0, var(--felt) 58%, var(--felt-deep) 100%); box-shadow: inset 0 0 0 3px rgba(8, 63, 60, .6), inset 0 12px 34px rgba(8, 40, 38, .45); }
.pk-cloth::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .02 0 0 0 0 .2 0 0 0 0 .18 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pk-line { border: 2px solid rgba(255, 250, 240, .38); }
.pk-mark { top: 70%; }
.pk-mark::after { content: 'Raise'; font: 400 6.4cqw/1 var(--script); color: var(--felt-deep); opacity: .6; display: block; transform: rotate(-6deg); }
.pk-slot { box-shadow: inset 0 0 0 1.5px rgba(255, 250, 240, .35); }
.pk-front { background: var(--paper); color: var(--ink); box-shadow: 0 .35cqw 1cqw rgba(8, 40, 38, .45), inset 0 0 0 1px rgba(31, 35, 40, .1); font-family: var(--text); }
.pk-idx b { font-weight: 800; }
.pk-court { font-family: var(--display); font-weight: 800; }
.pk-back { background: var(--rz-back) center / 100% 100% no-repeat; box-shadow: 0 .35cqw 1cqw rgba(8, 40, 38, .45); }
.pk-banner { font: 800 clamp(15px, 2.3cqw, 26px)/1.15 var(--text); color: var(--paper); text-shadow: 0 2px 0 var(--felt-deep), 0 2px 8px rgba(8, 40, 38, .55); }
.pk-pot-amt, .pk-bet-amt { font: 800 max(13px, 1.6cqw)/1 var(--text); color: var(--paper); text-shadow: 0 1px 0 var(--felt-deep), 0 1px 4px rgba(8, 40, 38, .7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-plate { background: var(--paper); color: var(--ink); border-radius: 1cqw; box-shadow: inset 0 0 0 .3cqw var(--ink), inset 0 0 0 .5cqw var(--paper), inset 0 0 0 .62cqw rgba(31, 35, 40, .25), 0 .5cqw 1.4cqw rgba(8, 40, 38, .45); font-size: max(12px, 1.45cqw); line-height: 1.2; }
.pk-who { font-weight: 600; font-size: .95em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pk-stack { font-weight: 800; font-size: 1.25em; font-variant-numeric: tabular-nums; }
.pk-note { font-size: .92em; font-weight: 800; color: var(--rust-deep); }
.pk-clock { background: rgba(31, 35, 40, .12); }
.pk-clock i { background: var(--teal); }
.pk-seat.is-late .pk-clock i { background: var(--rust); animation: late .5s steps(2) infinite; }
@keyframes late { 50% { opacity: .35; } }
.pk-seat.is-me .pk-plate { background: var(--teal); color: var(--paper); box-shadow: inset 0 0 0 .3cqw var(--teal-dark), inset 0 0 0 .5cqw var(--paper), 0 .5cqw 1.4cqw rgba(8, 40, 38, .45); }
.pk-seat.is-me .pk-who { color: #d8f1ec; font-weight: 800; }
.pk-seat.is-me .pk-note { color: var(--bulb); }
.pk-seat.is-me .pk-clock { background: rgba(255, 250, 240, .2); }
.pk-seat.is-me .pk-clock i { background: var(--bulb); }
.pk-seat.is-turn .pk-plate { outline: .34cqw solid var(--bulb); outline-offset: .2cqw; }
.pk-seat.is-winner .pk-plate { outline: .4cqw solid var(--rust); outline-offset: .25cqw; }
.pk-seat.is-empty .pk-plate { background: rgba(8, 63, 60, .35); color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255, 250, 240, .5); }
.pk-seat.is-empty .pk-who { color: var(--paper); }
.pk-seat.is-out .pk-plate, .pk-seat.is-away .pk-plate { opacity: .62; }
.pk-dealer { background: var(--paper); color: var(--ink); font-family: var(--text); font-weight: 800; box-shadow: 0 0 0 2px var(--rust), 0 3px 6px rgba(8, 40, 38, .5); }
.pk-sit { font: 800 max(16px, 1.9cqw)/1 var(--text); background: var(--paper); color: var(--teal-deep); border: 0; border-radius: 10px; padding: 1.3cqw 2.8cqw; min-height: 48px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--teal-deep), inset 0 -5px 0 var(--stucco-3), 0 4px 0 var(--teal-dark), 0 12px 24px rgba(8, 40, 38, .4); white-space: nowrap; }
.pk-sit:hover { background: #fff; }

/* chips: motel colours, painted edge spots */
.pk-chip { box-shadow: 0 calc(var(--cw) * .05) 0 var(--d, #000), 0 calc(var(--cw) * .08) calc(var(--cw) * .08) rgba(8, 40, 38, .45); background: radial-gradient(closest-side, var(--in, rgba(255,255,255,.16)) 0 50%, var(--s) 51% 57%, var(--c) 58%); }
.pk-chip::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 8deg, var(--s) 0 22deg, transparent 22deg 60deg); -webkit-mask: radial-gradient(closest-side, transparent 76%, #000 77%); mask: radial-gradient(closest-side, transparent 76%, #000 77%); }
.pk-chip-1 { --c: #fffaf0; --d: #c9b28c; --s: #14928b; --in: #fffdf6; }
.pk-chip-5 { --c: #c4531c; --d: #7a2f0b; --s: #fffaf0; --in: #cf6230; }
.pk-chip-25 { --c: #14928b; --d: #084c48; --s: #fffaf0; --in: #22a198; }
.pk-chip-100 { --c: #1f2328; --d: #08090b; --s: #f0b583; --in: #2c3138; }
.pk-chip-500 { --c: #f0b583; --d: #b07646; --s: #1f2328; --in: #f4c39a; }
.pk-chip-1000 { --c: #6a8fbf; --d: #3a5677; --s: #fffaf0; --in: #7a9dca; }
.pk-chip-5000 { --c: #a8452e; --d: #5e2213; --s: #ffe2a1; --in: #b75740; }
.pk-chip-25000 { --c: #fffaf0; --d: #c9b28c; --s: #c4531c; --in: #fffdf6; }

/* action bar: an asphalt panel with painted buttons */
.table-actions { margin-top: 16px; min-height: 64px; }
.act-box { display: grid; gap: 10px; background: var(--ink); border-radius: 14px; padding: 14px; box-shadow: 0 4px 0 #0c0e10, 0 20px 40px -26px rgba(20, 22, 26, .9); }
.act-turn { font: 400 36px/1 var(--script); color: var(--bulb); }
.act-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.act-row .btn { min-height: 60px; font-size: 21px; white-space: normal; line-height: 1.1; }
.act-fold { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px rgba(255, 250, 240, .6); }
.act-fold:hover { box-shadow: inset 0 0 0 2px var(--paper); }
.act-call { background: var(--paper); color: var(--ink); box-shadow: inset 0 -5px 0 var(--stucco-3); }
.act-raise { background: var(--rust); color: var(--paper); box-shadow: inset 0 0 0 2px var(--rust-deep), inset 0 0 0 4px rgba(255, 250, 240, .45), inset 0 -6px 0 var(--rust-deep); }
.act-raise:hover { background: var(--rust-lit); }
.act-amt { font-variant-numeric: tabular-nums; }
.act-size { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.act-preset { min-height: 40px; padding: 0 14px; font-size: 17px; background: #2e343b; color: var(--stucco-2); box-shadow: inset 0 0 0 1.5px rgba(255, 250, 240, .18); }
.act-preset:hover { color: var(--paper); }
.act-range { flex: 1 1 160px; accent-color: var(--rust); min-width: 0; height: 32px; }
.act-wait { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 2px; font-weight: 700; color: var(--ink-2); }
.table-actions:empty { min-height: 0; margin: 0; }
.act-raise { white-space: nowrap !important; flex-wrap: nowrap; }

/* pages */
.page { max-width: 880px; padding: 24px 0 80px; }
.page h1 { font: 400 clamp(64px, 7vw, 96px)/1 var(--script); color: var(--teal-deep); text-shadow: 3px 3px 0 var(--rust); transform: rotate(-3deg); transform-origin: left; padding-bottom: 6px; }
.page .lede { margin-bottom: 28px; margin-top: 14px; }
.rules { display: grid; gap: 12px; margin-top: 20px; }
.rules h2 { font-size: 34px; margin-top: 24px; scroll-margin-top: 20px; }
.rules p { color: var(--ink-2); }
.rules a { color: var(--ink); }
.levels { border-collapse: collapse; width: min(100%, 360px); font-variant-numeric: tabular-nums; }
.levels th, .levels td { text-align: left; padding: 6px 10px; border-bottom: 1.5px solid var(--line); }
.levels th { color: var(--mute); font-weight: 700; }
.vf-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.vf-form label { display: grid; gap: 4px; font-weight: 700; font-size: 16px; flex: 1 1 140px; color: var(--ink-2); }
.vf-form input { font: 600 18px var(--text); padding: 12px; border-radius: 8px; border: 2px solid var(--stucco-3); background: var(--paper); color: var(--ink); min-width: 0; width: 100%; font-variant-numeric: tabular-nums; }
.vf-form input:focus { outline: none; border-color: var(--teal); }
.vf-manual { margin: 8px 0 20px; }
.vf-manual summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; color: var(--ink-2); }
.vf-checks { list-style: none; padding: 0; display: grid; gap: 8px; margin: 10px 0 18px; }
.vf-checks li { color: var(--ink-2); }
.vf-checks li b { display: inline-block; min-width: 150px; font-weight: 800; font-size: 21px; }
.vf-checks .ok b { color: var(--teal-deep); }
.vf-checks .bad b, .bad { color: var(--bad); }
.vf-deck { --cw: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin: 10px 0 24px; }
.vf-deck .pk-card, .vf-cards .pk-card { --cw: 44px; }
.vf-hand { display: grid; gap: 10px; }
.vf-seat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vf-seat > span:first-child { min-width: 170px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.vf-cards { display: flex; gap: 6px; }

/* dialogs: a tin sign with a turquoise rim */
.dlg { border: 8px solid var(--teal); border-radius: 18px; padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--rivets), var(--paper); color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px rgba(20, 146, 139, .35), 0 30px 80px rgba(20, 22, 26, .45); }
.dlg::backdrop { background: rgba(31, 35, 40, .55); }
.dlg a { color: var(--ink); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px 4px 24px; }
.dlg-head h2 { font-size: 34px; color: var(--ink); }
.dlg-x { border: 0; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; width: 44px; height: 44px; color: var(--ink); }
.dlg-body { padding: 8px 24px 24px; display: grid; gap: 14px; }
.dlg-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.dlg-facts dt { color: var(--ink-2); }
.dlg-facts dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.dlg-label { display: grid; gap: 6px; font-size: 16px; font-weight: 700; }
.dlg-seed { font: 600 17px var(--text); padding: 11px 12px; border-radius: 8px; border: 2px solid var(--stucco-3); background: var(--stucco); color: var(--ink); min-width: 0; width: 100%; }
.dlg-small { font-size: 16px; color: var(--ink-2); }
.dlg-status { font-size: 17px; min-height: 1.4em; }
.dlg-addr { font-weight: 700; font-size: 17px; word-break: break-all; }
.dlg-row, .dlg-wallets { display: grid; gap: 8px; }
.dlg-wallet { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--stucco-3); background: var(--stucco); font: 700 18px var(--text); cursor: pointer; text-decoration: none; color: var(--ink); }
.dlg-wallet:hover { border-color: var(--teal); }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; max-width: calc(100vw - 32px); z-index: 50; font-weight: 700; box-shadow: 0 12px 34px rgba(20, 22, 26, .45); }
.pk-offline .table-head::after { content: 'Reconnecting…'; color: var(--bad); font-weight: 700; }

.foot { max-width: 1440px; margin: 0 auto; padding: 28px var(--gutter) 44px; border-top: 1.5px solid var(--line); display: grid; gap: 6px; color: var(--mute); font-size: 16px; font-weight: 600; }
.foot nav { display: flex; gap: 18px; margin-top: 8px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .table-grid { grid-template-columns: minmax(0, 1fr); }
  .table-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
}
@media (max-width: 1240px) {
  .hero { display: grid; min-height: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .hero-copy { max-width: 760px; padding: 18px 0 0; order: 1; }
  .hero-art { position: relative; inset: auto; order: 2; margin-top: 32px; aspect-ratio: 16 / 8; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -34px rgba(60, 40, 20, .7); }
}
@media (max-width: 860px) {
  .hero-art { aspect-ratio: 16 / 12; border-radius: 18px; margin-top: 28px; }
  .lobby-cols, .how-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .top { gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 8px; }
  .brand-word { font-size: 44px; }
  .brand-mark svg { width: 42px; height: 42px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 20px; font-size: 17px; }
  .nav-x { margin-left: auto; }
  .wallet-btn { margin-left: auto; min-height: 44px; min-width: 0; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 54px); }
  .hero-cta .btn { flex: 1 1 auto; }
  .lt { padding: 28px 22px 22px; }
  .lt-buyin { font-size: 48px; }
  .how-list { gap: 18px; }
  .vf-checks li b { min-width: 0; margin-right: 8px; }
  .table-actions { position: sticky; bottom: 0; z-index: 10; margin: 10px calc(var(--gutter) * -1) 0; padding: 0 8px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--stucco) 18%); }
  .act-turn { display: none; }
  .act-box { padding: 10px; gap: 8px; border-radius: 14px; }
  .act-size { gap: 6px; }
  .act-preset { min-height: 36px; padding: 0 10px; flex: 1 1 0; }
  .act-range { flex: 1 1 100%; height: 26px; }
  .act-row { gap: 8px; }
  .act-row .btn { min-height: 54px; font-size: 19px; padding: 0 10px; }
  .page h1 { font-size: 64px; }
}
