/* IDOLBEAT POKER — styles (mockup-matched table) */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  --gold: #e6c368; --gold2: #b8912f; --goldsoft:#d8b45a;
  --ink: #0b0a08; --panel: #16130e; --panel2: #1e1a12; --line: #2c2618;
  --text: #f0ece2; --muted: #9a9080; --green: #57c98a; --red: #e0554f;
  --felt: #1d7a54; --feltdk:#12563a;
}
html, body { height: 100%; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background: #000; color: var(--text); overflow: hidden;
}
.screen { display: none; position: absolute; inset: 0; }
.screen.active { display: flex; }

/* ---------- LOGIN ---------- */
#screen-login { align-items: center; justify-content: center;
  background: radial-gradient(120% 100% at 50% 0%, #1b1810 0%, #0a0906 70%); }
.login-card { width: min(92vw, 380px); text-align: center; padding: 34px 26px;
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.logo { font-size: 30px; letter-spacing: 2px; font-weight: 800; }
.logo span { color: var(--gold); margin-left: 6px; }
.tag { color: var(--muted); margin: 8px 0 24px; font-size: 13px; }
#username, #loginbtn { width: 100%; height: 52px; border-radius: 12px; font-size: 16px; }
#username { background: #0e0c08; border: 1px solid var(--line); color: var(--text); padding: 0 16px; text-align: center; margin-bottom: 12px; }
#username:focus { outline: none; border-color: var(--gold2); }
#loginbtn { border: none; font-weight: 800; letter-spacing: .5px; cursor: pointer; color: #241c05;
  background: linear-gradient(180deg, var(--gold), var(--gold2)); }
#loginbtn:active { transform: translateY(1px); }
.msg { color: var(--red); min-height: 18px; font-size: 13px; margin-top: 10px; }
.fine { color: var(--muted); font-size: 11px; margin-top: 14px; }

/* ---------- LOBBY ---------- */
#screen-lobby { flex-direction: column; padding: 18px; overflow-y: auto;
  background: radial-gradient(120% 100% at 50% 0%, #1b1810 0%, #0a0906 70%); }
.lob-head { display: flex; justify-content: space-between; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.lob-me { display: flex; align-items: center; gap: 12px; }
.av { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold2); object-fit: cover; }
.lob-name { font-weight: 700; font-size: 17px; }
.lob-stats { color: var(--muted); font-size: 12px; margin-top: 3px; }
.lob-bank { text-align: right; }
.bank-label { color: var(--muted); font-size: 11px; }
.bank-amt { font-size: 22px; font-weight: 800; color: var(--gold); }
.rebuy { margin-top: 6px; font-size: 11px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--gold2);
  background: transparent; color: var(--gold); cursor: pointer; display: none; }
.lob-title { margin: 20px 4px 12px; font-size: 15px; color: var(--muted); font-weight: 600; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tier { border-radius: 16px; padding: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), var(--panel2)); position: relative; overflow: hidden; }
.tier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); opacity: .8; }
.tier.locked { opacity: .55; filter: grayscale(.4); }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; }
.tier-name { font-weight: 800; font-size: 17px; }
.tier-buyin { font-weight: 800; color: var(--gold); font-size: 18px; }
.tier-info { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 12px; margin: 12px 0 16px; }
.tier-foot .enter { width: 100%; height: 42px; border: none; border-radius: 10px; font-weight: 800; cursor: pointer;
  color: #241c05; background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.tier-foot .enter:active { transform: translateY(1px); }
.tier-foot .need { color: var(--muted); font-size: 13px; }
.logout { margin: 22px auto 8px; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }

/* ============ TABLE (mockup) ============ */
#table { flex: 1; display: flex; flex-direction: column; position: relative;
  background: radial-gradient(140% 90% at 50% 40%, #241f16 0%, #0d0b07 60%, #050403 100%); }

/* --- top bar --- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 20px; background: linear-gradient(180deg, #100e0a, #0b0906);
  border-bottom: 1px solid #241f14; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #1a1409; background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.brand-name { display: flex; flex-direction: column; line-height: 1; margin-right: 8px; }
.brand-name .bn1 { font-weight: 800; letter-spacing: 1px; font-size: 19px; }
.brand-name .bn2 { font-weight: 700; letter-spacing: 3px; font-size: 12px; color: var(--gold); }
.ginfo { border-left: 1px solid #2a2416; padding-left: 12px; }
.ginfo .g1 { color: var(--gold); font-weight: 700; font-size: 13px; }
.ginfo .g2 { color: #cfc7b6; font-size: 12px; margin-top: 2px; }
.ginfo .g3 { color: var(--muted); font-size: 11px; margin-top: 1px; }
.jackpot { text-align: center; padding: 8px 26px; border-radius: 40px; border: 1px solid var(--gold2);
  background: rgba(20,16,8,.8); box-shadow: inset 0 0 24px rgba(230,195,104,.15); }
.jp-label { color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.jp-amt { color: var(--gold); font-weight: 800; font-size: 24px; letter-spacing: .5px; }
.topright { display: flex; align-items: center; gap: 14px; }
.bal { display: flex; align-items: center; gap: 8px; }
.bal-chip { width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--gold), var(--gold2)); border: 2px solid #7a5f18; }
.bal-label { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-align: right; }
.bal-amt { color: var(--gold); font-weight: 800; font-size: 20px; }
.menu-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: #17130c; color: var(--text); font-size: 18px; cursor: pointer; }

/* --- felt area --- */
.felt-area { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 8px; }
.handinfo { position: absolute; left: 22px; top: 14px; color: var(--muted); font-size: 12px; line-height: 1.5; z-index: 3; }
.handinfo #street-lbl { color: #cfc7b6; letter-spacing: 1px; }
.positions { position: absolute; right: 18px; top: 14px; z-index: 3;
  background: rgba(14,11,7,.85); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 150px; }
.pos-title { color: var(--muted); font-size: 11px; letter-spacing: 2px; margin-bottom: 8px; }
.pos-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cfc7b6; margin: 5px 0; }
.pbadge { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #fff; }
.pbadge.sb { background: #2f7fd6; } .pbadge.bb { background: #8b5cf6; } .pbadge.dl { background: var(--gold); color: #1a1409; }

/* the table itself (stadium oval + rail) */
.felt { position: relative; width: min(1600px, 93vw); height: min(740px, 82vh);
  border-radius: 360px; background: radial-gradient(120% 130% at 50% 42%, var(--felt) 0%, var(--feltdk) 62%, #0d4530 100%);
  box-shadow:
    0 0 0 14px #17140d,
    0 0 0 16px #4a3a1c,
    0 0 0 30px #241d12,
    0 26px 60px rgba(0,0,0,.6),
    inset 0 0 70px rgba(0,0,0,.45); }
.felt::after { content: ""; position: absolute; inset: -30px; border-radius: 300px; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(230,195,104,.25); }
.watermark { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); text-align: center;
  color: rgba(255,255,255,.06); font-weight: 800; font-size: 44px; letter-spacing: 4px; line-height: 1; pointer-events: none; }
.watermark span { display: block; font-size: 22px; letter-spacing: 10px; }

.felt-center { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
.board { display: flex; gap: 7px; justify-content: center; min-height: 84px; }
.potbox { background: rgba(8,6,3,.7); border: 1px solid var(--line); border-radius: 10px; padding: 6px 16px; text-align: center; }
.potbox span { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.potbox b { color: #fff; font-size: 24px; }

/* cards */
.card { width: 66px; height: 92px; background: #f7f6f1; border-radius: 9px; color: #16161c;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800;
  box-shadow: 0 3px 8px rgba(0,0,0,.5); line-height: 1; }
.card span { font-size: 30px; } .card small { font-size: 26px; }
.card.red { color: #d1352f; }
.card.back { background: linear-gradient(135deg, #8a2020, #5c1414); border: 2px solid rgba(230,195,104,.35);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 5px, transparent 5px 10px); }

/* --- seats --- */
.seat { position: absolute; transform: translate(-50%,-50%); z-index: 2; }
.seatbox { display: flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px;
  background: linear-gradient(180deg, rgba(22,18,12,.94), rgba(12,10,7,.94));
  border: 1px solid #33291a; border-radius: 50px; box-shadow: 0 6px 16px rgba(0,0,0,.5); }
.seat.right .seatbox { flex-direction: row-reverse; padding: 5px 5px 5px 18px; }
.avatar { position: relative; width: 88px; height: 88px; border-radius: 50%; flex: none;
  border: 4px solid var(--gold2); background: #222; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.numbadge { position: absolute; right: -4px; bottom: -2px; min-width: 24px; height: 24px; padding: 0 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #1a1409; font-size: 13px; font-weight: 800;
  border-radius: 7px; display: flex; align-items: center; justify-content: center; border: 1px solid #7a5f18; }
.info { text-align: left; padding-right: 8px; }
.seat.right .info { text-align: right; padding: 0 0 0 8px; }
.pname { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.pstack { font-size: 17px; font-weight: 800; color: var(--green); }
.seat .cards { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 22%); display: flex; z-index: -1; }
.seat .cards .card { width: 46px; height: 64px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.seat .cards .card:first-child { transform: rotate(-8deg); }
.seat .cards .card + .card { transform: rotate(8deg); margin-left: -14px; }
.seat .cards .card span { font-size: 20px; } .seat .cards .card small { font-size: 16px; }
.posbadge { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #fff; z-index: 3; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.posbadge.sb { background: #2f7fd6; } .posbadge.bb { background: #8b5cf6; } .posbadge.dl { background: var(--gold); color: #1a1409; }
.betchip { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  background: #7a1d1d; color: #ffe9a8; font-size: 14px; font-weight: 800; padding: 4px 12px; border-radius: 12px; border: 2px solid #b8912f; white-space: nowrap; }
.seat.folded { opacity: .4; } .seat.out { opacity: .3; filter: grayscale(1); }
.seat.turn .seatbox { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(230,195,104,.5); }
.seat.allin .pstack { color: var(--red); }

/* YOU seat */
.seat.me .seatbox { padding: 6px 18px; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(230,195,104,.55); }
.seat.me .avatar { width: 106px; height: 106px; border-color: var(--gold); }
.seat.me .pname { color: var(--gold); font-size: 20px; font-weight: 800; }
.seat.me .pstack { font-size: 21px; }
.seat.me .cards { transform: translate(-50%, 8%); }
.seat.me .cards .card { width: 62px; height: 88px; }
.seat.me .cards .card:first-child { transform: rotate(-6deg); }
.seat.me .cards .card + .card { transform: rotate(6deg); margin-left: -10px; }
.seat.me .cards .card span { font-size: 30px; } .seat.me .cards .card small { font-size: 24px; }
.dealerbtn { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg,#fff,#e6c368);
  color: #1a1409; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #b8912f; z-index: 3; }

/* --- bottom bar --- */
.bottombar { display: flex; gap: 14px; padding: 12px 18px; align-items: stretch;
  background: linear-gradient(180deg, #0c0a07, #080604); border-top: 1px solid #241f14; }
.chat { width: 320px; flex: none; display: flex; flex-direction: column;
  background: rgba(16,13,9,.9); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.chatlog { flex: 1; min-height: 64px; max-height: 120px; overflow-y: auto; padding: 8px 12px; font-size: 12px; }
.logline { color: var(--muted); padding: 1px 0; }
.logline.sys { color: #b7ad99; } .logline.raise { color: var(--gold); }
.logline.fold { color: #7d7360; } .logline.win { color: var(--green); font-weight: 700; }
.chatin { display: flex; align-items: center; border-top: 1px solid var(--line); padding: 0 10px; }
.chatin input { flex: 1; background: none; border: none; color: var(--text); padding: 10px 0; font-size: 13px; outline: none; }
.chatin .emoji { color: var(--muted); }

.actionbar { flex: 1; display: flex; align-items: center; gap: 16px; }
.actionbar:empty { display: none; }
.acts { display: flex; gap: 12px; flex: none; }
.act { height: 62px; min-width: 150px; padding: 0 26px; border-radius: 12px; border: none; font-weight: 800; font-size: 20px; cursor: pointer; letter-spacing: .5px; }
.act.fold { background: linear-gradient(180deg, #8a2f2a, #6d201c); color: #ffd7d3; }
.act.call { background: linear-gradient(180deg, #1f7a49, #145c37); color: #d6ffe6; }
.act.raise { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #1a1409; }
.act:active { transform: translateY(1px); }
.sizer { flex: 1; display: flex; align-items: center; gap: 12px; }
.sizer .lbl { color: var(--muted); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
#slider { flex: 1; min-width: 90px; accent-color: var(--gold); }
.amtbox { background: #17130c; border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; color: var(--gold); font-weight: 800; font-size: 18px; min-width: 78px; text-align: center; }
.quick { display: flex; gap: 8px; }
.quick button { background: #17130c; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 14px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.quick button:active { transform: translateY(1px); }

/* theme felt tints (per tier) */
#table.theme-downtown .felt { background: radial-gradient(120% 130% at 50% 42%, #2668a8, #17497c 62%, #0e3358); }
#table.theme-strip .felt { background: radial-gradient(120% 130% at 50% 42%, #8a3570, #631f4f 62%, #431334); }
#table.theme-highroller .felt { background: radial-gradient(120% 130% at 50% 42%, #5a3596, #3d2568 62%, #271747); }
#table.theme-whale .felt { background: radial-gradient(120% 130% at 50% 42%, #128079, #0b5852 62%, #073b37); }
#table.theme-champ .felt { background: radial-gradient(120% 130% at 50% 42%, #7a5f22, #4f3c14 62%, #2f2410); }

/* modal */
.modal { position: absolute; inset: 0; background: rgba(0,0,0,.72); display: none; align-items: center; justify-content: center; z-index: 20; }
.modal.show { display: flex; }
.modal-card { width: min(88vw, 340px); background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--gold2); border-radius: 18px; padding: 26px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.modal-title { font-size: 26px; font-weight: 800; color: var(--gold); }
.modal-body { margin: 14px 0 22px; color: var(--text); line-height: 1.6; font-size: 15px; }
.modal-body b { color: var(--gold); }
#result-close { width: 100%; height: 46px; border: none; border-radius: 12px; font-weight: 800; cursor: pointer;
  color: #241c05; background: linear-gradient(180deg, var(--gold), var(--gold2)); }

#table { overflow: hidden; }
.felt-area { min-width: 0; }
@media (max-width: 699px) {
  .jackpot { padding: 6px 14px; } .jp-amt { font-size: 16px; }
  .ginfo { display: none; }
  .bottombar { flex-wrap: wrap; }
  .chat { width: 100%; order: 2; }
  .actionbar { order: 1; flex-wrap: wrap; }
  .act { min-width: 84px; font-size: 14px; padding: 0 12px; height: 50px; }
  .sizer { flex-basis: 100%; }
}

/* 2026-07 visual pass: legibility-first desktop table */
@media (min-width: 700px) {
  .topbar {
    min-height: 84px;
    padding: 12px 28px;
    border-bottom-color: #30333a;
    background: linear-gradient(180deg, #0b0e12 0%, #07090d 100%);
  }
  .brand { gap: 10px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 9px; }
  .brand-name { margin-right: 16px; }
  .brand-name .bn1 { font-size: 20px; }
  .brand-name .bn2 { font-size: 18px; letter-spacing: .5px; color: #f3efe7; }
  .ginfo { padding-left: 28px; }
  .ginfo .g1 { font-size: 15px; }
  .ginfo .g2 { font-size: 14px; }
  .ginfo .g3 { font-size: 13px; }
  .jackpot { min-width: 265px; padding: 10px 30px; border-radius: 12px; }
  .jp-label { display: inline; margin-right: 24px; color: #f2d66f; font-size: 13px; font-weight: 800; }
  .jp-amt { display: inline; color: #ffd493; font-size: 24px; }
  .topright { gap: 28px; }
  .bal { padding-left: 24px; border-left: 1px solid #252931; gap: 14px; }
  .bal-chip { width: 28px; height: 28px; }
  .bal-label { font-size: 13px; text-align: left; }
  .bal-amt { font-size: 24px; }
  .menu-btn { border: 0; background: transparent; font-size: 26px; }

  .felt-area { padding: 22px 70px 14px; }
  .handinfo { left: 32px; top: 34px; font-size: 14px; }
  .positions { right: 28px; top: 32px; min-width: 150px; padding: 14px 16px; background: rgba(7,9,12,.78); border-color: #34383f; }
  .pos-title { font-size: 13px; font-weight: 700; }
  .pos-row { font-size: 13px; margin: 8px 0; }
  .felt {
    width: min(82vw, 2140px);
    height: min(calc(100vh - 235px), 760px);
    min-height: 420px;
    border-radius: 42% / 50%;
    box-shadow: 0 0 0 12px #111419, 0 0 0 16px #9b6d24, 0 0 0 30px #22252a, 0 24px 60px rgba(0,0,0,.7), inset 0 0 80px rgba(0,0,0,.38);
  }
  .felt::after { inset: -31px; border-radius: 42% / 50%; box-shadow: inset 0 0 0 2px rgba(230,195,104,.35); }
  .watermark { top: 46%; font-size: 46px; }
  .felt-center { top: 41%; }
  .potbox { min-width: 96px; padding: 9px 18px; background: rgba(7,25,20,.76); border: 0; }
  .potbox span { font-size: 12px; }
  .potbox b { font-size: 21px; color: #ffd33d; }

  .seatbox { min-width: 190px; padding: 7px 20px 7px 7px; gap: 10px; border-radius: 24px; border-color: #5d625f; background: linear-gradient(180deg, rgba(17,20,21,.96), rgba(8,12,11,.97)); }
  .seat.right .seatbox { padding: 7px 7px 7px 20px; }
  .avatar { width: 94px; height: 94px; border-width: 3px; border-color: #807b69; box-shadow: 0 5px 14px rgba(0,0,0,.55); }
  .numbadge { right: -5px; bottom: 4px; background: #111519; color: #f8d04d; border: 2px solid #a47f24; }
  .pname { max-width: 118px; font-size: 17px; }
  .pstack { margin-top: 2px; font-size: 19px; }
  .seat .cards { transform: translate(-50%, 25%); }
  .seat .cards .card { width: 48px; height: 68px; }
  .betchip { top: calc(100% + 10px); padding: 4px 11px; font-size: 14px; }
  .seat.me .seatbox { min-width: 230px; justify-content: center; border-radius: 16px; padding: 10px 24px; }
  .seat.me .avatar { width: 112px; height: 112px; }
  .seat.me .pname { font-size: 22px; }
  .seat.me .pstack { font-size: 24px; }
  /* Keep the hero seat inside the felt; its generated inline slot is 101%. */
  .seat.me { top: 88% !important; }

  .bottombar { min-height: 114px; gap: 28px; padding: 10px 28px 12px; background: linear-gradient(180deg, #090d12, #070a0e); border-top-color: #252a31; }
  .chat { width: 375px; border-color: #303740; background: rgba(9,14,19,.96); }
  .chatlog { min-height: 70px; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
  .chatin input { font-size: 14px; }
  .actionbar { gap: 24px; }
  .acts { gap: 14px; }
  .act { height: 78px; min-width: 175px; padding: 0 28px; border-radius: 10px; font-size: 22px; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 5px 16px rgba(0,0,0,.28); }
  .sizer { display: grid; grid-template-columns: auto minmax(130px,1fr) 130px; grid-template-rows: 34px 42px; gap: 8px 14px; padding-left: 24px; border-left: 1px solid #29303a; }
  .sizer .lbl { font-size: 14px; }
  #slider { width: 100%; }
  .amtbox { padding: 8px 18px; font-size: 19px; }
  .quick { grid-column: 1 / -1; justify-content: flex-end; }
  .quick button { min-width: 78px; padding: 10px 14px; font-size: 14px; }
}

@media (min-width: 700px) and (max-height: 820px) {
  .topbar { min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
  .felt-area { padding-top: 14px; padding-bottom: 10px; }
  .felt { height: calc(100vh - 204px); min-height: 400px; }
  .felt-center { top: 38%; }
  .seat.me { top: 84% !important; }
  .seat.me .avatar { width: 98px; height: 98px; }
  .seat.me .pname { font-size: 20px; }
  .seat.me .pstack { font-size: 22px; }
  .bottombar { min-height: 112px; }
}

@media (min-aspect-ratio: 2/1) and (min-width: 1400px) {
  .felt-center { top: 39%; }
  .seat.me { top: 86% !important; }
}

@media (min-width: 1900px) {
  .felt { height: min(calc(100vh - 230px), 800px); }
  .felt-area { padding-left: 90px; padding-right: 90px; }
  .seatbox { transform: scale(1.08); }
  .seat .cards { transform: translate(-50%, 20%) scale(1.08); }
  .seat.me .cards { transform: translate(-50%, 8%) scale(1.08); }
}
