/* Last Hero Sitting identity: lobby and presentation, never game state. */
body:not(.playing){background:#0d0c0d;color:#f2ede1}
body:not(.playing) header{position:relative;z-index:2;background:#0e0d0eec;border-bottom:1px solid #8c71374d}
.lobby-portrait{position:fixed;inset:0;background:linear-gradient(90deg,#09090bee 0%,#09090ba8 32%,#09090b00 67%),url('venues/throne.webp') center/cover no-repeat;z-index:-1}
body:not(.playing) main{position:relative;padding-top:24px}
body:not(.playing) .topline{max-width:580px;margin-bottom:20px}
body:not(.playing) h1{font:500 clamp(38px,5vw,68px)/.98 Georgia,serif;letter-spacing:-2px;margin:10px 0;color:#f1e8d2}
body:not(.playing) h1 em{font-style:normal;color:#d9b769}
.lobby-line{font-size:14px;color:#ccc4b4;margin:14px 0}
body:not(.playing) .live-pill{display:none}
body:not(.playing) .game-layout{display:block;width:min(560px,100%)}
body:not(.playing) .game-layout aside,body:not(.playing) .stats,body:not(.playing) .tournament-strip,body:not(.playing) .venue-identity,body:not(.playing) .arena,body:not(.playing) .table-footer,body:not(.playing) .action-timer{display:none}
html[data-theme] body:not(.playing) .play-area{background:#151415ed;border:1px solid #bda16b66;border-radius:12px;backdrop-filter:blur(8px)}
html[data-theme] body:not(.playing) .control-deck{background:transparent;margin:0;padding:20px;border:0}
body:not(.playing) .setup{display:block}body:not(.playing) .setup h2{font-size:17px}
body:not(.playing) .setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
body:not(.playing) .setup-fields label{min-width:0;font-size:12px;color:#d3cfc5}
body:not(.playing) .setup-fields input,body:not(.playing) .setup-fields select{width:100%;margin-top:5px;min-height:38px;background:#242225;border:1px solid #7f7566;color:#f7f1e4;padding:7px;font-size:13px}
body:not(.playing) .difficulty-help{font-size:11px;color:#b5aea0;line-height:1.5}
html[data-theme] body:not(.playing) .start{width:100%;background:#dabe7d;color:#171413;border:1px solid #ead298;margin-top:6px}
.playing .lobby-portrait{display:none}
.brand{font-size:18px;letter-spacing:2px}.playing .brand{font-size:14px;letter-spacing:1.5px}
/* A shared tactile felt, with a distinct finish and rail in each room. */
html[data-theme] .playing .felt{background-image:linear-gradient(var(--theme-felt),var(--theme-felt-edge)),url('venues/felt.webp');background-size:cover;background-blend-mode:color,normal}
html[data-theme] .playing .action-alert{background:var(--theme-panel);color:#f7ead1;border-color:var(--theme-accent);box-shadow:inset 3px 0 var(--theme-accent)}
html[data-theme] .playing .action-alert strong{color:var(--theme-accent)}
html[data-theme] .playing .alert-allin{background:#4c1424;color:#fff;border-color:#ffa5b7}
html[data-theme] .playing .hero .player-info b{color:var(--theme-accent)}
html[data-stage=neon] .playing .felt{border-radius:45%;border-color:#5a3c29;box-shadow:0 0 0 3px #281a13,0 0 0 5px #9f7955,inset 0 0 30px #041c1666,0 15px 24px #0009}
html[data-stage=neon] .felt-line{border-style:dashed;border-color:#a7d4b35e}
html[data-stage=neon] .playing .player-box{border-radius:12px!important;box-shadow:0 3px 8px #0009}
html[data-stage=neon] .playing .pot{border-radius:8px;font-family:Georgia,serif}
html[data-stage=banner] .playing .felt{border-radius:38%;border-color:#805b38;box-shadow:0 0 0 2px #e0b873,0 0 0 6px #301c20,inset 0 0 36px #20000a88,0 15px 22px #0009}
html[data-stage=banner] .playing .player-box{border-radius:5px!important;border-bottom:3px solid #c4a263!important}
html[data-stage=banner] .playing .pot{border-radius:6px;border-width:2px}
html[data-stage=minimal] .playing .felt{border-radius:32%;border-color:#1a2026;box-shadow:0 0 0 2px #e8e7de,0 0 0 5px #4c2229,inset 0 0 35px #0006,0 12px 18px #0008}
html[data-stage=minimal] .felt-line{border-color:#d6d7d742;border-radius:30%}
html[data-stage=minimal] .playing .player-box{border-radius:3px!important;border-left:3px solid #b75561!important}
html[data-stage=minimal] .playing .pot{border-radius:3px;letter-spacing:1px}
html[data-stage=ballroom] .playing .felt{border-radius:48%;border-color:#b49b64;box-shadow:0 0 0 2px #fae1a0,0 0 0 6px #27344b,0 0 0 8px #a68c55,inset 0 0 35px #00183099,0 15px 22px #000a}
html[data-stage=ballroom] .playing .player-box{border-radius:10px!important;background:linear-gradient(135deg,#172c43,#101725)!important;border-color:#bcaa7c!important}
html[data-stage=ballroom] .playing .pot{background:linear-gradient(#172e49,#101d32);border-radius:22px;box-shadow:0 2px 9px #0009}
/* Championship: emerald felt, reflective gold rail, black/gold broadcast panels. */
html[data-stage=broadcast] .playing .felt{border-radius:48%;border-color:#ab8b40;box-shadow:0 0 0 2px #fff0a8,0 0 0 5px #28231d,0 0 0 8px #dfc57a,0 0 0 12px #181717,inset 0 0 38px #00241677,0 18px 25px #000b}
html[data-stage=broadcast] .felt-line{border-color:#d4b76866}
html[data-stage=broadcast] .playing .seat .player-box{background:linear-gradient(#191a15,#090b09)!important;border:1px solid #ba9e5b!important;border-radius:9px!important;box-shadow:inset 0 1px #fff1ac44,0 3px 10px #000b}
html[data-stage=broadcast] .playing .seat.state-in .player-box{border-color:#aeedbd!important;box-shadow:0 0 9px #a6ecc576}
html[data-stage=broadcast] .playing .seat.hero .player-box{border:2px solid #f7d889!important;box-shadow:0 0 8px #eacb7966}
html[data-stage=broadcast] .playing .seat .player-info b{color:#f0d590;font-size:16px}
html[data-stage=broadcast] .playing .pot{background:linear-gradient(#252516,#090d0a);border:2px solid #d6b85e;border-radius:28px;box-shadow:inset 0 1px #fff4c133,0 4px 12px #000a;padding:8px 22px}
html[data-stage=broadcast] .playing .pot strong{color:#f3d478}
html[data-stage=broadcast] .playing .raise-ticket{background:linear-gradient(#77538d,#4c2867);border-color:#bb91dc}
html[data-stage=broadcast] .playing .action-buttons .primary{background:linear-gradient(#f0d996,#bea05c);border-color:#f0d996}
@media(max-width:600px){
 .brand,.playing .brand{font-size:11px;letter-spacing:1px;line-height:1.3;gap:5px}.brand>div{max-width:92px}.playing .brand-suit{font-size:23px}
 body:not(.playing) header{height:60px;padding:0 12px;gap:7px}body:not(.playing) .brand small{display:none}
 body:not(.playing) .header-tag,body:not(.playing) #rulesButton{display:none}
 body:not(.playing) main{padding:22px 12px 45px}
 body:not(.playing) .topline{min-height:180px;align-items:flex-start;margin-bottom:10px}
 body:not(.playing) h1{font-size:40px;letter-spacing:-1px;max-width:200px;margin-top:10px}
 body:not(.playing) .lobby-line{font-size:12px;max-width:190px;line-height:1.5}
 .lobby-portrait{position:absolute;height:430px;background-position:65% top;background-size:auto 430px;background-image:linear-gradient(0deg,#0d0c0d 0%,#0d0c0d00 45%),linear-gradient(90deg,#0d0c0dab,#0d0c0d00 65%),url('venues/throne.webp')}
 html[data-theme] body:not(.playing) .control-deck{padding:16px}
 body:not(.playing) .setup-fields{gap:10px}
 html[data-stage=broadcast] .playing .seat:not(.hero) .player-info b{font-size:12px}
 html[data-stage=broadcast] .playing .felt{box-shadow:0 0 0 1px #fff0a8,0 0 0 3px #28231d,0 0 0 5px #dfc57a,0 0 0 7px #181717,inset 0 0 25px #00241677,0 12px 18px #0009}
 html[data-stage=broadcast] .playing .pot{padding:6px 14px}
}
html[data-theme] .playing .felt{background-image:linear-gradient(color-mix(in srgb,var(--theme-felt) 86%,transparent),color-mix(in srgb,var(--theme-felt-edge) 86%,transparent)),url('venues/felt.webp');background-blend-mode:normal}
