/* Shared table (gto-table.js), GTO Wizard-style: thin oval, round seats, centred board. */
.gt-table{position:relative;width:100%;max-width:720px;aspect-ratio:2.05;margin:44px auto 64px}
.gt-felt{position:absolute;inset:6% 9%;border:2px solid #3a3d42;border-radius:999px;background:radial-gradient(ellipse at center,#1d2024 0%,#16181b 70%)}
.gt-seat{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px;z-index:2}
.gt-disc{display:grid;place-items:center;align-content:center;width:62px;height:62px;border-radius:50%;background:#26292e;border:2px solid #45494f;color:#fff;line-height:1.1}
.gt-disc b{font-size:14px;font-weight:800}.gt-disc small{font-size:11px;color:#b6bcc4;font-weight:600;white-space:nowrap;letter-spacing:-.2px}
.gt-seat.active .gt-disc{border-color:#7fe0a0;box-shadow:0 0 0 3px #7fe0a033}
.gt-seat.hero .gt-disc{background:#2f2643;border-color:#9a74e6}
.gt-seat.hero.active .gt-disc{border-color:#7fe0a0}
.gt-seat.folded{opacity:.35}
.gt-hole{display:flex;gap:3px}
.gt-hole{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%)}  /* cards beside the seat, bets keep the lane to the pot */
.gt-disc{position:relative}
.gt-dealer{position:absolute;top:-6px;right:-10px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f1f1f1;color:#111;font-size:11px;font-weight:900}
.gt-bet{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;font-size:13px;font-weight:800;color:#ffd34f;z-index:1}
.gt-bet--from-left{transform:translate(0,-50%)}.gt-bet--from-right{transform:translate(-100%,-50%)}   /* render's betsBySeat */
.gt-bet i{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,#ffd34f 0 35%,#c49420 36% 60%,#ffd34f 61%);box-shadow:0 1px 2px #0008}
.gt-mid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px}
.gt-pot{font-size:13px;font-weight:800;color:#e8eaed;background:#0e0e0e99;padding:3px 10px;border-radius:999px}
.gt-board{display:flex;gap:4px;padding:6px;border-radius:8px;background:#0f1012}
.gt-card{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:40px;height:54px;padding:3px 5px;border-radius:5px;color:#fff;font-weight:800;line-height:1;background:#4b4f55}
.gt-card b{font-size:21px}.gt-card i{font-style:normal;font-size:13px;margin-top:2px}
.gt-card.suit-h{background:#c8313b}.gt-card.suit-d{background:#2c5fd0}.gt-card.suit-c{background:#2e9a4c}.gt-card.suit-s{background:#4b4f55}
/* the skull greyed down by a veil of the slot's own colour (Shaun, 2026-10-23: "fade the skulls on these so they are greyish not white") */
.gt-card.slot{background:linear-gradient(#25282da6,#25282da6),url('logo/muck-skull.svg') center/22px no-repeat,#25282d;opacity:.55}
.gt-card.back{background:repeating-linear-gradient(45deg,#3a2a5c 0 6px,#2d2047 6px 12px);border:1px solid #5b4a85}
.gt-card.sm{width:28px;height:38px}.gt-card.sm b{font-size:15px}.gt-card.sm i{font-size:10px}
.gt-card.big{width:48px;height:66px}.gt-card.big b{font-size:26px}.gt-card.big i{font-size:16px}
@media(max-width:600px){.gt-table{aspect-ratio:1.45}.gt-disc{width:50px;height:50px}.gt-disc b{font-size:12px}.gt-card{width:32px;height:44px}.gt-card b{font-size:17px}.gt-card.big{width:40px;height:56px}}
/* 4/6-max on phones: smaller seats, and only the hero's cards (opponents' backs would hang off the edge) */
@media(max-width:560px){.gt-table:is([data-n="4"],[data-n="6"]) .gt-disc{width:48px;height:48px}.gt-table:is([data-n="4"],[data-n="6"]) .gt-disc b{font-size:12px}.gt-table:is([data-n="4"],[data-n="6"]) .gt-disc small{font-size:10px}.gt-table:is([data-n="4"],[data-n="6"]) .gt-seat:not(.hero) .gt-hole{display:none}}
/* Cards (2026-10-02): the hero's disc and cards form one row centred on the seat; everyone else's
   backs sit toward the middle of the table instead of off to the side. */
/* Every seat: disc and cards in one row beside each other, so cards never cover a bet; seats on the
   right half put their cards on the inner (left) side (Shaun, 2026-10-02). */
.gt-seat{flex-direction:row;align-items:center;gap:8px}
.gt-seat[data-side=right]{flex-direction:row-reverse}
.gt-seat .gt-hole{position:static;transform:none;gap:3px}
.gt-seat.hero .gt-hole{gap:4px}
/* Dealer button (Shaun, 2026-10-02): next to the cards, off the seat label, in the corner facing the
   middle of the table: top corner for the bottom half (the hero), bottom corner for the top half. */
.gt-seat > .gt-dealer{flex:none}
.gt-seat[data-half=bottom] > .gt-dealer{align-self:flex-start}
.gt-seat[data-half=top] > .gt-dealer{align-self:flex-end}
/* ...but out of the row, so having the button doesn't widen the seat and slide the disc and cards over (Shaun, 2026-10-23:
   "the placement of things shifts a bit"): it hangs just past the cards, where it sat in the row */
.gt-seat > .gt-dealer{position:absolute;right:auto;left:calc(100% + 6px)}
.gt-seat[data-side=right] > .gt-dealer{left:auto;right:calc(100% + 6px)}
.gt-seat[data-half=bottom] > .gt-dealer{top:0}
.gt-seat[data-half=top] > .gt-dealer{top:auto;bottom:0}
.gt-hole-empty{visibility:hidden}
.gt-disc > .gt-dealer{top:-6px;right:-26px}
.gt-seat[data-side=right] .gt-disc > .gt-dealer{right:auto;left:-26px}
.gt-seat[data-half=top] .gt-disc > .gt-dealer{top:auto;bottom:-6px}
/* Phones, 4/6-max: the pot under the board, so the top seats' bets can sit above it (gto-table.js narrow) */
@media(max-width:560px){.gt-table:is([data-n="4"],[data-n="6"]) .gt-mid{flex-direction:column-reverse}}
/* Small phones (339 px zoomed iPhone), 4/6-max: a taller table and a narrower board, so the board fits between the side
   seats and the bets under it clear it (2026-10-23 overlap sweep) */
@media(max-width:380px){.gt-table:is([data-n="4"],[data-n="6"]){aspect-ratio:1.2}
.gt-table:is([data-n="4"],[data-n="6"]) .gt-board{gap:3px;padding:5px}
.gt-table:is([data-n="4"],[data-n="6"]) .gt-board .gt-card{width:27px;height:37px}
.gt-table:is([data-n="4"],[data-n="6"]) .gt-board .gt-card b{font-size:15px}}
/* Bets carry the BB in their own span, same size as the number; phones drop it so bets clear the pot and the buttons */
.gt-bet .gt-unit{font-size:inherit;font-weight:inherit;color:inherit}
@media(max-width:600px){.gt-bet .gt-unit{display:none}}
/* Phones, 4/6-max: opponents' cards are hidden, so their button tucks into the disc's outer top corner, clear of the
   board and the bets */
@media(max-width:560px){.gt-table:is([data-n="4"],[data-n="6"]) .gt-seat:not(.hero) > .gt-dealer,
.gt-table:is([data-n="4"],[data-n="6"]) .gt-seat:not(.hero) .gt-disc > .gt-dealer{left:auto;right:calc(100% - 14px);top:-8px;bottom:auto}
.gt-table:is([data-n="4"],[data-n="6"]) .gt-seat:not(.hero)[data-side=right] > .gt-dealer,
.gt-table:is([data-n="4"],[data-n="6"]) .gt-seat:not(.hero)[data-side=right] .gt-disc > .gt-dealer{right:auto;left:calc(100% - 14px)}}
