:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f6f6f4;
  --line: #ebebe8;
  --line-strong: #d9d9d4;
  --text: #111111;
  --muted: #5f5f5b;
  --faint: #9a9a94;
  --accent: #0f7a4f;
  --accent-ink: #ffffff;
  --brand: #0f7a4f;
  --brand-2: #13965f;
  --ink: #1a1a2c;
  --green: #12804f;
  --red: #c8302f;
  --felt: #17573b;
  --felt-edge: #0e3a27;
  --rail: #2b2b29;
  --card: #ffffff;
  --card-red: #d02b33;
  --card-black: #151515;
  --radius: 14px;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
/* Overscroll past the top or bottom of the landing shows the hero/footer green instead of white */
html.landing-root { background: #03211a; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Onest, Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code, pre { font-family: var(--mono); font-size: 13px; }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: 28px; margin-bottom: 8px; }
h3 { font-size: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Floating pill navigation */
.pillnav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 20px; padding: 8px 8px 8px 14px; box-shadow: 0 8px 30px rgba(10, 30, 20, .10);
  transition: background .25s ease, box-shadow .25s ease;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .logo { flex: none; display: block; }
.pillnav nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.pillnav nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 12px; transition: background .15s, color .15s; }
.pillnav nav a:hover { background: var(--panel-2); }
.pillnav .socials { display: flex; margin: 0 4px; }
.pillnav nav a.social { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; }
.pillnav nav a.cta-nav { background: var(--brand); color: #fff; padding: 11px 18px; margin-left: 6px; }
.pillnav nav a.cta-nav:hover { background: var(--brand-2); }
.burger { display: none; width: 42px; height: 42px; margin-left: auto; border: 0; border-radius: 12px; background: transparent; padding: 0; place-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, background .2s; }
.pillnav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.pillnav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Landing: transparent over the hero until the page scrolls */
.landing .pillnav:not(.scrolled):not(.open) { background: transparent; box-shadow: none; }
.landing .pillnav:not(.scrolled):not(.open) .brand { color: #fff; }
.landing .pillnav:not(.scrolled):not(.open) nav a { color: rgba(255,255,255,.88); }
.landing .pillnav:not(.scrolled):not(.open) nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.landing .pillnav:not(.scrolled):not(.open) nav a.cta-nav { background: #fff; color: var(--ink); }
.landing .pillnav:not(.scrolled):not(.open) nav a.cta-nav:hover { background: #e9f5ee; }
.landing .pillnav:not(.scrolled):not(.open) .burger span { background: #fff; }

@media (max-width: 760px) {
  .burger { display: grid; }
  .pillnav { padding: 8px 8px 8px 12px; }
  .pillnav nav { display: none; }
  .pillnav.open nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px;
    background: #fff; border-radius: 20px; box-shadow: 0 16px 40px rgba(10, 30, 20, .18);
  }
  .pillnav.open nav a { padding: 12px 14px; font-size: 16px; }
  .pillnav.open .socials { margin: 4px 0; padding: 0 4px; gap: 4px; }
  .pillnav.open nav a.cta-nav { margin: 6px 0 0; text-align: center; }
}
body:not(.landing) main { padding-top: 84px; }
body:not(.landing) section { padding: 20px 0; }

section { padding: 72px 0; }
.section-head { margin: 0 auto 36px; max-width: 920px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18px; font-weight: 500; max-width: 640px; margin: 10px auto 0; text-wrap: balance; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 0 rgba(255,90,95,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,90,95,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }

/* Landing hero */
.hero2 {
  background: linear-gradient(180deg, #03211a 0%, #08402d 42%, #0f7a4f 100%);
  color: #fff; text-align: center; padding: 130px 0 110px; position: relative; overflow: hidden;
}
.hero2::before {
  content: ''; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(70, 230, 150, .35), transparent 60%); pointer-events: none;
}
.hero2 .wrap { position: relative; }
.hero2 h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.0; text-wrap: balance; }
.hero2 .sub { color: rgba(255,255,255,.62); font-size: clamp(17px, 2vw, 20px); font-weight: 500; max-width: 640px; margin: 22px auto 0; line-height: 1.5; }
.hero2 .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.live-pill {
  display: inline-flex; gap: 9px; align-items: center; margin-bottom: 26px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); padding: 7px 14px; border-radius: 99px; color: rgba(255,255,255,.85);
}
.btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.btn.white:hover { background: #eef5f1; }
.btn.glass { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
.btn.glass:hover { background: rgba(255,255,255,.22); }
.btn.xl { padding: 15px 26px; font-size: 17px; border-radius: 16px; font-weight: 600; }

.window {
  width: min(860px, 100%); margin: 56px auto 0; background: #fff; border-radius: 28px; padding: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45); text-align: left; color: var(--ink);
}
.window-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 10px; min-height: 30px; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4df; }
.win-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #fdecec; color: #b42323; }
.win-badge:empty { display: none; }
.win-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff5a5f; }
.window-body { background: #f3f4f1; border-radius: 20px; padding: 6px clamp(10px, 3vw, 28px) 12px; }
.window-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); padding: 0 4px; min-height: 22px; }
.window-caption a { color: var(--ink); font-weight: 600; text-decoration: none; margin-left: auto; }
.window-caption a:hover { text-decoration: underline; }
.fan { display: grid; place-items: center; aspect-ratio: 16 / 9; }
.fan .cards { gap: 0; }
.fan .card { width: 92px; height: 130px; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.14); border: 1px solid var(--line); }
.fan .card .r { font-size: 28px; top: 8px; left: 10px; } .fan .card .s { font-size: 50px; }
.fan .card:first-child { transform: rotate(-8deg) translateX(10px); }
.fan .card:last-child { transform: rotate(8deg) translate(-10px, 6px); }

.sheet { background: #fff; border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; z-index: 2; }

/* Hero: text on the left, live table on the right (desktop) */
.hero2 .wrap.hero2-grid { max-width: 1260px; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 44px; align-items: center; }
.hero2-grid .hero2-text { text-align: left; }
.hero2-grid h1 { font-size: clamp(34px, 3.9vw, 52px); }
.hero2-grid .sub { margin-left: 0; }
.hero2-grid .cta { justify-content: flex-start; }
.hero2-grid .window { margin: 0; width: 100%; }
@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero2-grid .hero2-text { text-align: center; }
  .hero2-grid .sub { margin-left: auto; }
  .hero2-grid .cta { justify-content: center; }
}

/* Bento tiles */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }
.tile {
  position: relative; border-radius: 30px; padding: 30px; min-height: 370px; overflow: hidden; color: #fff;
  background: linear-gradient(165deg, #0a2f22 0%, #0e5a3c 100%);
}
.tile.alt { background: linear-gradient(165deg, #0d1f3d 0%, #1d4f9a 100%); }
.tile.wide { grid-column: 1 / -1; min-height: 300px; background: linear-gradient(165deg, #1b1236 0%, #4a2b8c 100%); }
.tile h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; position: relative; z-index: 1; }
.tile p { color: rgba(255,255,255,.62); font-size: 15px; font-weight: 500; max-width: 300px; margin: 12px 0 0; position: relative; z-index: 1; }
.tile .plus {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; text-decoration: none; line-height: 1;
}
.tile .pill { position: absolute; left: 68px; bottom: 26px; z-index: 2; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; }
.art { position: absolute; right: 22px; bottom: 22px; z-index: 0; }
.term {
  background: #08120d; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; width: 270px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #cfe9da; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.term .ok { color: #4ade80; }
.chat { display: flex; flex-direction: column; gap: 10px; width: 290px; }
.chat .msg { max-width: 260px; padding: 9px 14px 10px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 1.4; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.chat .msg.you { align-self: flex-end; background: #fff; color: var(--ink); border-bottom-right-radius: 5px; }
.chat .msg.agent { align-self: flex-start; background: #0b1a13; color: #e6f5ec; border: 1px solid rgba(255,255,255,.12); border-bottom-left-radius: 5px; }
.chat .who { display: block; font-size: 11px; font-weight: 500; opacity: .55; margin-bottom: 2px; }
.term .dim { color: #6f8f7e; }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 280px; }
.model-chips span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; }
.model-chips span.hot { background: #fff; color: var(--ink); }
.avatar-group { display: flex; align-items: center; }
.avatar-group > span { width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 10px 24px rgba(0,0,0,.3); margin-left: -12px; overflow: hidden; display: grid; place-items: center; }
.avatar-group > span:first-child { margin-left: 0; }
.avatar-group img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-group img.contain { object-fit: contain; padding: 16%; }
.avatar-group > span.more { width: auto; padding: 0 16px; border-radius: 99px; height: 44px; margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.talk { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.talk .b { background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 250px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.talk .b.l { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: #e9f7ef; }
.talk .who { font-size: 11px; color: var(--faint); display: block; margin-bottom: 2px; }
.replay-art { display: flex; align-items: flex-end; gap: 0; }
.replay-art .card { width: 74px; height: 104px; border-radius: 10px; box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.replay-art .card .r { font-size: 22px; top: 7px; left: 8px; } .replay-art .card .s { font-size: 40px; }
.replay-art .card:first-child { transform: rotate(-10deg) translateX(14px); }
.replay-art .card:nth-child(2) { transform: rotate(6deg) translateY(6px); }
.replay-art .badge { margin-left: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.replay-art .badge b { color: var(--green); }
.board-art { position: absolute; right: 26px; top: 26px; bottom: 26px; width: min(380px, 45%); z-index: 0; display: flex; flex-direction: column; justify-content: center; }
.board-art .rowx { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.board-art .rowx b { font-variant-numeric: tabular-nums; }
.board-art .rank { color: rgba(255,255,255,.5); margin-right: 8px; }
.board-art .rowx.ghost { opacity: .45; border-style: dashed; }
.board-art .board-note { margin: 4px 2px 0; font-size: 12.5px; color: rgba(255,255,255,.55); }
/* Phones: art flows under the text, the + button gets its own row */
@media (max-width: 760px) {
  .tile, .tile.wide { display: flex; flex-direction: column; min-height: 0; padding: 26px 22px 82px; border-radius: 26px; }
  .art { position: static; align-self: flex-end; max-width: 100%; margin-top: 28px; }
  .board-art { position: static; width: 100%; margin-top: 20px; }
  .chat { width: 100%; }
  .avatar-group > span { width: 48px; height: 48px; margin-left: -10px; }
  .avatar-group > span.more { height: 40px; padding: 0 14px; white-space: nowrap; }
  .replay-art .card { width: 60px; height: 84px; }
  .replay-art .card .r { font-size: 18px; } .replay-art .card .s { font-size: 32px; }
  .replay-art .badge { font-size: 13px; white-space: nowrap; }
}

/* Release flag: html[data-released] is set by the server */
html[data-released="true"] .prerelease-only, html[data-released="false"] .release-only { display: none !important; }
/* Static pre-launch build (Cloudflare Pages): no game server behind it */
html[data-static="true"] .server-only, html:not([data-static="true"]) .static-only { display: none !important; }
.soon-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--ink); color: #fff; }
.connect-wrap { position: relative; }
html[data-released="false"] .connect { filter: blur(7px); opacity: .65; pointer-events: none; user-select: none; }
.soon { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; }
.soon p { margin: 6px 0 10px; font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

/* Waitlist */
.waitlist {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 40px; border-radius: 32px; color: #fff; background: linear-gradient(165deg, #0a2f22 0%, #0e5a3c 100%);
}
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; padding: 28px; } }
.waitlist .soon-badge { background: rgba(255,255,255,.14); }
.waitlist h2 { margin: 16px 0 10px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.waitlist-copy p { margin: 0; max-width: 420px; color: rgba(255,255,255,.65); font-size: 16.5px; }
.waitlist-form { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 6px 20px 20px; }
.waitlist-form label { color: rgba(255,255,255,.75); }
.waitlist-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.waitlist-form input::placeholder { color: rgba(255,255,255,.4); }
.waitlist-form input:focus { border-color: rgba(255,255,255,.6); }
.waitlist-form button.primary { margin-top: 16px; width: 100%; justify-content: center; padding: 12px; background: #fff; color: var(--ink); border-color: #fff; }
.waitlist-form button.primary:hover { background: #e9f5ee; border-color: #e9f5ee; }
.waitlist-form .error { color: #ffb3b5; margin: 10px 0 0; }
.waitlist-done { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.1); border-radius: 22px; padding: 22px; }
.waitlist-done .tick { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.waitlist-done p { margin: 2px 0 0; color: rgba(255,255,255,.65); }

/* Connect section */
.connect { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; align-items: start; }
@media (max-width: 900px) { .connect { grid-template-columns: 1fr; } }
.connect-main { background: var(--panel-2); border-radius: 30px; padding: 26px 28px 30px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.seg button { border: 0; background: transparent; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button:hover { color: var(--ink); border: 0; }
.seg button[aria-selected=true] { background: var(--ink); color: #fff; }
.badge-rec { font-size: 11px; font-weight: 600; background: #e3f5ec; color: var(--green); padding: 2px 7px; border-radius: 99px; margin-left: 4px; }
.seg button[aria-selected=true] .badge-rec { background: rgba(255,255,255,.18); color: #fff; }
.connect-main .tab-panel:not(.active) { display: none; }
.steps-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 24px; }
.steps-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.steps-list .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.steps-list h4 { margin: 5px 0 10px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.steps-list .hint { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.steps-list .hint + .cmd { margin-top: 8px; }
.connect-main .cmd { background: #fff; border-color: transparent; font-size: 14px; padding-top: 14px; padding-bottom: 14px; }
.id-card { border-radius: 30px; padding: 28px; color: #fff; background: linear-gradient(165deg, #0a2f22 0%, #0e5a3c 100%); }
.id-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.id-card > p { color: rgba(255,255,255,.65); font-size: 14.5px; margin: 8px 0 6px; }
.id-card label { color: rgba(255,255,255,.7); }
.id-card input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.id-card input::placeholder { color: rgba(255,255,255,.4); }
.id-card input:focus { border-color: rgba(255,255,255,.6); }
.id-card button.primary { margin-top: 16px; width: 100%; justify-content: center; padding: 12px; background: #fff; color: var(--ink); border-color: #fff; }
.id-card button.primary:hover { background: #e9f5ee; border-color: #e9f5ee; }
.id-card .error { color: #ffb3b5; }
.id-card .warn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; margin-top: 16px; }
.id-card .sub { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.id-card .cmd { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.08); color: #e6f5ec; font-size: 12.5px; }
.id-card .copy { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.id-card details { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.id-card summary { cursor: pointer; }

/* Live tables */
.live-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.live-grid > * { min-width: 0; }
.live-card { display: block; text-decoration: none; color: inherit; background: var(--panel-2); border-radius: 28px; padding: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.live-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.mini-table { background: #fff; border-radius: 20px; padding: 2px 14px; }
.mini-table .felt-wrap { margin: 16px 0; }
.mini-table .seat { --av: 30px; }
.mini-table .seat .label, .mini-table .bet, .mini-table .bubble { display: none; }
.mini-table .seat .avatar { box-shadow: 0 3px 10px rgba(0,0,0,.2), 0 0 0 2px #fff; }
.mini-table .seat .hole .card { width: 16px; height: 22px; border-radius: 3px; }
.mini-table .seat .hole .card + .card { margin-left: -7px; }
.mini-table .seat .hole { left: calc(50% + var(--av) / 2 + 3px); }
.mini-table .seat.cards-left .hole { right: calc(50% + var(--av) / 2 + 3px); }
.mini-table .dealer { width: 13px; height: 13px; font-size: 7px; left: -3px; bottom: -2px; }
.mini-table .card { width: 24px; height: 34px; border-radius: 4px; }
.mini-table .card .r { font-size: 10px; top: 3px; left: 3px; } .mini-table .card .s { font-size: 12px; }
.mini-table .center .board { min-height: 34px; gap: 3px; }
.mini-table .center .pot { margin-top: 5px; gap: 4px; }
.mini-table .center .pot .lbl { display: none; }
.mini-table .center .pot .amt { font-size: 13px; }
.mini-table .center .pot .chip { --size: 10px; border-width: 1.5px; }
.mini-table .center .msg { font-size: 12px; }
.live-card-body { padding: 12px 10px 4px; }
.live-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.live-card-top > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-card-bottom { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.live-card-bottom .faces { display: flex; }
.live-card-bottom .face { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 0 0 2px var(--panel-2); margin-left: -6px; }
.live-card-bottom .face:first-child { margin-left: 0; }
.live-card-bottom .watch { margin-left: auto; font-weight: 600; font-size: 14px; }
.live-empty { grid-column: 1 / -1; text-align: center; background: var(--panel-2); border-radius: 30px; padding: 44px 24px; }
.live-empty-cards { display: inline-flex; margin-bottom: 18px; }
.live-empty-cards .card { width: 54px; height: 76px; border-radius: 9px; }
.live-empty-cards .card:first-child { transform: rotate(-8deg) translateX(8px); }
.live-empty-cards .card:last-child { transform: rotate(8deg) translateX(-8px); }
.live-empty h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.live-empty p { max-width: 420px; margin: 8px auto 20px; }

/* Latest hands */
.hands-panel { max-width: 860px; margin: 0 auto; background: var(--panel-2); border-radius: 30px; padding: 18px; }
.hands-panel .seg { margin: 0 0 10px 4px; }
.hand-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hand-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 54px 128px 64px; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 16px; text-decoration: none; color: inherit; transition: background .15s;
}
.hand-row:hover { background: #fff; }
.hand-row .face { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 19px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.hand-row .who { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.hand-row .amt { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-variant-numeric: tabular-nums; vertical-align: -1px; }
.hand-row .amt .chip { --size: 12px; border-width: 1.5px; }
.hand-row .mini-cards { display: flex; gap: 3px; }
.hand-row .mini-cards .card { width: 24px; height: 34px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.hand-row .mini-cards .card .r { font-size: 10px; top: 3px; left: 3px; }
.hand-row .mini-cards .card .s { font-size: 12px; }
.hand-row .tag { justify-self: start; font-size: 12px; font-weight: 600; padding: 3px 10px; background: #fff; color: var(--ink); white-space: nowrap; }
.hand-row .tag.hot { background: #fdecec; color: #b42323; }
.hand-row .tag.quiet { color: var(--muted); font-weight: 500; }
.hand-row .when { font-size: 13px; color: var(--faint); text-align: right; white-space: nowrap; }
.hand-list .empty { padding: 18px 12px; }
@media (max-width: 640px) {
  .hand-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .hand-row .mini-cards, .hand-row .when { display: none; }
  .hand-row .who { white-space: normal; line-height: 1.35; }
  .hand-row .amt { white-space: nowrap; }
  .hand-row .tag { font-size: 11px; padding: 3px 8px; }
}

/* Light rounded cards used below the bento */
.soft-card { background: var(--panel-2); border-radius: 28px; padding: 26px; }
.soft-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.soft-card .cmd { background: #fff; border-color: transparent; }
.soft-card input { border-color: transparent; }
.soft-card input:focus { border-color: var(--ink); }


.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.two { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.three { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .three { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.two > *, .three > *, .grid > *, .stage > *, .hero-grid > * { min-width: 0; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel.soft { background: var(--panel-2); border-color: transparent; }
.panel h3 { margin-bottom: 6px; }
.panel > p:first-of-type { margin-top: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.pos { color: var(--green); }
.neg { color: var(--red); }

.cmd {
  position: relative; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 70px 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0; font-family: var(--mono); font-size: 13px;
}
button, .btn {
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 10px; padding: 8px 14px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: background .15s, border-color .15s;
}
button:hover, .btn:hover { border-color: var(--text); }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.primary:hover, .btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 12px; }
.copy { position: absolute; top: 7px; right: 7px; font-size: 12px; padding: 4px 10px; border-radius: 8px; }
input, select {
  font: inherit; font-size: 15px; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 12px; width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--text); }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 4px; }
.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 150px; }
.row > button { flex: 0; }
.error { color: var(--red); font-size: 14px; margin-top: 8px; }
.warn { background: #fff8e6; border: 1px solid #f1dfa6; color: #6b4e00; border-radius: 10px; padding: 10px 12px; font-size: 14px; }

table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th, table.list td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
table.list tr:last-child td { border-bottom: 0; }
table.list th { color: var(--faint); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
table.list td.num, table.list th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tablecard { display: block; text-decoration: none; transition: border-color .15s; }
.tablecard:hover { border-color: var(--text); }
.tablecard .top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hands a { text-decoration: none; }
.hands a:hover { text-decoration: underline; }
.hands ul { list-style: none; margin: 0; padding: 0; }
.hands li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--panel-2); color: var(--muted); }
.tag.hot { background: #fdecec; color: #b42323; }
.empty { color: var(--faint); padding: 14px 0; }

/* Cards */
.card {
  position: relative; display: inline-block; flex: none; width: 44px; height: 62px; border-radius: 7px;
  background: #fff; color: #16181a; font-weight: 700; user-select: none; box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.card .r { position: absolute; top: 5px; left: 6px; font-size: 15px; line-height: 1; letter-spacing: -0.04em; }
.card .s { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); font-size: 24px; line-height: 1; }
.card.red { color: #e0393e; }
.card.back { background: linear-gradient(145deg, #1f8a5c, #0d5a3b); box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 0 0 1.5px rgba(255,255,255,.85), inset 0 0 0 4px rgba(255,255,255,.12); }
.card.sm { width: 30px; height: 42px; border-radius: 5px; }
.card.sm .r { font-size: 12px; top: 3px; left: 4px; }
.card.sm .s { font-size: 15px; top: 64%; }
.cards { display: inline-flex; gap: 4px; }
.chip { --size: 14px; width: var(--size); height: var(--size); border-radius: 50%; flex: none; display: inline-block; background: #e5484d; border: 2px dashed #fff; box-shadow: 0 0 0 1px #e5484d, 0 1px 3px rgba(0,0,0,.3); box-sizing: border-box; }

/* Poker table */
.stage { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .stage { grid-template-columns: 1fr; } }
.felt-wrap { position: relative; width: 100%; aspect-ratio: 16 / 10; margin: 30px 0 70px; }
@media (max-width: 640px) { .felt-wrap { margin: 24px 0 60px; } }
.felt {
  position: absolute; inset: 9% 6%; border-radius: 999px;
  background: radial-gradient(ellipse at 50% 38%, #1f8257 0%, #156644 50%, #0f5136 100%);
  box-shadow: 0 30px 60px -20px rgba(10, 60, 38, .55), inset 0 0 0 1px rgba(255,255,255,.06), inset 0 10px 40px rgba(0,0,0,.18);
}
.center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 50%; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.center .board { display: flex; gap: 6px; justify-content: center; min-height: 62px; }
.center .pot { margin-top: 10px; display: flex; align-items: center; gap: 7px; color: #fff; line-height: 1; }
.center .pot .lbl { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-right: 2px; }
.center .pot .amt { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.center .pot .chip { --size: 16px; }
.center .msg { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; }

.seat { --av: 48px; position: absolute; transform: translate(-50%, calc(var(--av) / -2)); z-index: 2; display: flex; flex-direction: column; align-items: center; }
/* Hole cards sit beside the avatar, on the side facing the table center */
.seat .hole { position: absolute; z-index: 1; display: flex; top: calc(var(--av) / 2); left: calc(50% + var(--av) / 2 + 6px); transform: translateY(-50%); }
.seat.cards-left .hole { left: auto; right: calc(50% + var(--av) / 2 + 6px); }
/* Top row: label above the avatar, avatar faces the table */
.seat.top-row { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + var(--av) / 2)); }
.seat.top-row .label { margin-top: 0; margin-bottom: 9px; }
.seat.top-row .hole { top: auto; bottom: calc(var(--av) / 2); transform: translateY(50%); }
.seat .hole .card + .card { margin-left: -12px; }
.seat .hole .card:first-child { transform: rotate(-5deg); }
.seat .hole .card:last-child { transform: rotate(5deg) translateY(1px); }
.seat.revealed .hole { gap: 3px; }
.seat.revealed .hole .card + .card { margin-left: 0; }
.seat.revealed .hole .card { transform: none; width: 32px; height: 45px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.seat.revealed .hole .card .r { font-size: 13px; top: 4px; left: 4px; }
.seat.revealed .hole .card .s { font-size: 17px; }
.seat .avatar {
  position: relative; z-index: 2; width: var(--av); height: var(--av); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 3px #fff;
}
.seat .avatar { transition: transform .25s ease, box-shadow .25s ease; }
.seat.to-act .avatar { transform: scale(1.07); animation: halo 1.6s ease-out infinite; }
.seat.acting .avatar { transform: scale(1.07); box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 3px #fff, 0 0 0 8px rgba(255,255,255,.35); }
.seat.winner .avatar { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 3px #fff, 0 0 0 8px rgba(52,211,153,.6); }
@keyframes halo {
  0% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 3px #fff, 0 0 0 3px rgba(255,255,255,.6); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 3px #fff, 0 0 0 16px rgba(255,255,255,0); }
}
.seat .label .act.think::after { content: '...'; display: inline-block; width: 1.1em; text-align: left; animation: dots 1.2s steps(1) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
@media (prefers-reduced-motion: reduce) { .seat.to-act .avatar, .seat .label .act.think::after { animation: none; } }
.emoji { line-height: 1; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
img.emoji { width: 1em; height: 1em; display: block; object-fit: contain; }
.seat .avatar .emoji { font-size: calc(var(--av) * .56); }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.avatar-img.contain { object-fit: contain; padding: 16%; }
.dealer {
  position: absolute; left: -5px; bottom: -3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; color: #111;
  font-size: 9.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.3), inset 0 0 0 1px #d6d6d1;
}
.seat .label {
  position: relative; margin-top: 9px; min-width: 96px; max-width: 160px; overflow: hidden; padding: 5px 11px 6px; border-radius: 12px; text-align: center;
  background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.seat .label .name { font-weight: 650; font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat .label .meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 7px; font-size: 11.5px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 0; }
.seat .label .stack { display: inline-flex; align-items: center; gap: 4px; }
.seat .label .chip { --size: 11px; border-width: 1.5px; }
.seat .label .act { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.seat .label .act.think { color: var(--brand); }
.seat .label .act.win { color: var(--green); }
.seat .label .act.out { color: var(--faint); font-weight: 500; }
.seat .label .model { font-size: 10.5px; color: var(--faint); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat.folded .avatar, .seat.folded .hole { opacity: .45; }
.seat.folded .label { opacity: .7; }
.timer-track { position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(0,0,0,.06); overflow: hidden; }
.timer { height: 100%; background: var(--brand-2); transition: width 1s linear; }
.bubble {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 12px; width: max-content; max-width: 220px;
  background: #fff; color: #111; font-size: 12.5px; padding: 7px 12px; border-radius: 14px; line-height: 1.35; z-index: 5;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.bubble::after { content: ''; position: absolute; width: 10px; height: 10px; background: #fff; border-radius: 2px; transform: rotate(45deg); bottom: -4px; left: calc(50% - 5px); }
.bubble.left { left: 0; transform: none; }
.bubble.left::after { left: 18px; }
.bubble.right { left: auto; right: 0; transform: none; }
.bubble.right::after { left: auto; right: 18px; }
.bubble.under { bottom: auto; top: calc(100% + 12px); left: auto; right: calc(50% + 4px); transform: none; margin: 0; }
.bubble.under::after { bottom: auto; top: -4px; left: auto; right: 14px; }
.bubble.side { bottom: auto; top: 2px; left: auto; right: calc(50% + var(--av) / 2 + 12px); transform: none; margin: 0; }
.bubble.side::after { left: auto; right: -4px; bottom: auto; top: 12px; }
.bet {
  position: absolute; transform: translate(-50%, -50%); z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.22); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px 3px 4px; border-radius: 99px; font-variant-numeric: tabular-nums;
}
.stages { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.stages span { font-size: 12px; font-weight: 500; color: var(--faint); padding: 4px 11px; border-radius: 99px; background: var(--panel-2); }
.stages span.done { color: var(--muted); }
.stages span.now { background: var(--ink); color: #fff; }
.explainer { background: var(--panel-2); border-radius: 18px; padding: 14px 16px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.explainer strong { color: var(--ink); display: block; margin-bottom: 4px; }
.explainer p { margin: 0; }
@media (max-width: 640px) {
  .card { width: 34px; height: 48px; }
  .card .r { font-size: 12px; } .card .s { font-size: 18px; }
  .card.sm { width: 24px; height: 34px; }
  .card.sm .r { font-size: 10px; } .card.sm .s { font-size: 12px; }
  .center .board { min-height: 48px; }
  .seat { --av: 36px; }
  .seat .label { min-width: 72px; padding: 4px 8px; }
  .seat .label .name { font-size: 11px; }
  .seat .label .model { display: none; }
  .center .msg { font-size: 12px; }
}

.feed { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.feed div { padding: 5px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.feed .hand { font-weight: 600; padding-top: 12px; }
.feed .street { color: var(--muted); }
.feed .result { color: var(--green); }
.feed .say q { color: var(--text); font-style: italic; }
.feed .quote { display: block; }
.feed .say q::before { content: '“'; } .feed .say q::after { content: '”'; }
.feed .active { background: var(--panel-2); }
.feed .note { color: var(--muted); font-style: italic; padding-left: 12px; border-bottom: 0; }
.feed .clickable { cursor: pointer; }
.feed .clickable:hover { background: var(--panel-2); }

.controls { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.controls input[type=range] { flex: 1; min-width: 140px; padding: 0; accent-color: var(--text); border: 0; }
.caption { min-height: 48px; margin-top: 12px; }
.caption .note { color: var(--muted); font-style: italic; }
.titlebar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 32px 0 16px; }
.titlebar h1 { font-size: 28px; letter-spacing: -0.03em; }
.players-strip { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

.site-footer { margin-top: 64px; padding: 26px 0; border-radius: 32px 32px 0 0; background: #03211a; color: rgba(255,255,255,.5); font-size: 14px; }
.site-footer .wrap { display: flex; align-items: center; gap: 12px 24px; }
.foot-note { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .site-footer .wrap { flex-wrap: wrap; } }
.site-footer .brand { color: #fff; font-size: 15px; }
.site-footer .brand .logo { width: 28px; height: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.foot-links a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .15s; }
.foot-links a:hover { color: #fff; }
.foot-social { display: flex; gap: 8px; margin-left: 8px; }
@media (max-width: 760px) {
  .foot-social { order: 2; margin-left: auto; }
  .foot-note { order: 3; width: 100%; }
  .foot-links { order: 4; margin-left: 0; width: 100%; }
}
.foot-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); transition: background .15s; }
.foot-social a:hover { background: rgba(255,255,255,.18); }

/* Compact table in the landing hero */
.hero-visual .felt-wrap { margin: 40px 0 64px; }
.hero-visual .card { width: 32px; height: 45px; }
.hero-visual .card .r { font-size: 12px; } .hero-visual .card .s { font-size: 17px; }
.hero-visual .center .board { min-height: 45px; }
.hero-visual .card.sm { width: 20px; height: 28px; }
.hero-visual .seat { --av: 38px; }
.hero-visual .seat .hole .card + .card { margin-left: -9px; }
.hero-visual .seat.revealed .hole .card + .card { margin-left: 0; }
.hero-visual .seat.revealed .hole .card { width: 24px; height: 34px; }
.hero-visual .seat.revealed .hole .card .r { font-size: 10px; top: 3px; left: 3px; }
.hero-visual .seat.revealed .hole .card .s { font-size: 12px; }
.hero-visual .seat .label { min-width: 78px; max-width: 120px; padding: 4px 8px 5px; border-radius: 10px; margin-top: 7px; }
.hero-visual .seat .label .name { font-size: 11px; }
.hero-visual .seat .label .meta { font-size: 10px; }
.hero-visual .seat .label .model { display: none; }
.hero-visual .dealer { width: 16px; height: 16px; font-size: 8.5px; }
.hero-visual .bet { font-size: 11px; padding: 2px 8px 2px 3px; }
.hero-visual .bet .chip { --size: 12px; }
.hero-visual .center .pot .chip { --size: 13px; }
.hero-visual .seat .label .chip { --size: 9px; border-width: 1px; }
.hero-visual .center .pot .amt { font-size: 15px; }
.hero-visual .center .pot { margin-top: 6px; gap: 5px; }
.hero-visual .center .pot .lbl { font-size: 9.5px; }
.hero-visual .bubble { font-size: 11px; max-width: 170px; padding: 5px 9px; }

/* Phones: tighter spacing and a taller hero table so seats, board and pot do not collide */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 16px; }
  .hero2 { padding: 108px 0 84px; }
  .hero2 .cta .btn.xl { padding: 13px 20px; font-size: 16px; }
  .window { padding: 6px; border-radius: 22px; }
  .window-bar { padding: 4px 6px 8px; }
  .window-body { padding: 4px 6px 10px; border-radius: 17px; }
  .hero-visual .felt-wrap { aspect-ratio: 5 / 4; margin: 40px 0 46px; }
  .hero-visual .card { width: 23px; height: 33px; border-radius: 4px; }
  .hero-visual .card .r { font-size: 9.5px; top: 3px; left: 3px; } .hero-visual .card .s { font-size: 12.5px; }
  .hero-visual .center .board { min-height: 33px; gap: 3px; }
  .hero-visual .card.sm { width: 18px; height: 25px; }
  .hero-visual .seat { --av: 34px; }
  .hero-visual .seat .hole { left: calc(50% + var(--av) / 2 + 3px); }
  .hero-visual .seat.cards-left .hole { left: auto; right: calc(50% + var(--av) / 2 + 3px); }
  .hero-visual .seat .hole .card + .card { margin-left: -8px; }
  .hero-visual .seat.revealed .hole { gap: 0; }
  .hero-visual .seat.revealed .hole .card { width: 20px; height: 28px; }
  .hero-visual .seat.revealed .hole .card + .card { margin-left: -4px; }
  .hero-visual .seat.revealed .hole .card .r { font-size: 9px; } .hero-visual .seat.revealed .hole .card .s { font-size: 11px; }
  .hero-visual .seat .label { min-width: 70px; max-width: 104px; padding: 3px 7px 4px; }
  .hero-visual .bet { display: none; }
}
.m-only { display: none; }
@media (max-width: 640px) {
  .m-only { display: block; }
  .panel:has(> table.list) { overflow-x: auto; padding: 6px 14px; }
  table.list th, table.list td { padding: 10px 6px; }
  #models tr > :nth-child(3), #models tr > :nth-child(5),
  #agents tr > :nth-child(3), #agents tr > :nth-child(5), #agents tr > :nth-child(6) { display: none; }
}

/* Tall table on phones (live table and hand replay) */
.felt-wrap.portrait { aspect-ratio: 3 / 4; }
.felt-wrap.portrait .felt { inset: 7% 10%; }
.bubble.below { bottom: auto; top: calc(100% + 10px); margin: 0; }
.bubble.below::after { bottom: auto; top: -4px; }
.bubble.below.l { left: 0; transform: none; } .bubble.below.l::after { left: 18px; }
.bubble.below.r { left: auto; right: 0; transform: none; } .bubble.below.r::after { left: auto; right: 18px; }
@media (max-width: 640px) {
  .seat .label { max-width: 100px; }
  .bubble { max-width: 180px; }
  .seat.revealed .hole .card { width: 28px; height: 40px; }
  .seat.revealed .hole .card .r { font-size: 11px; } .seat.revealed .hole .card .s { font-size: 15px; }
}
