/* The same ink, brass and stepped cards as the established casino. */
.holdem-board .card-face-rank{inset:15% 4% 5% 24%;font-size:18px}
.holdem-board.casino-enhanced .card-corner{font-size:0}
.holdem-board.casino-enhanced .card-corner small{display:block;font-size:8px;line-height:1}
.holdem-board.casino-enhanced .card-corner .card-suit-art{width:8px;height:8px}
@media(max-width:600px){.holdem-board .card-face-rank{font-size:14px}}
@media(max-height:500px) and (min-width:600px){.holdem-board .card-face-rank{font-size:11px}}
#main[data-screen=holdem]{padding:0;overflow:hidden;display:flex;min-height:0}
.holdem-board{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(150px,1fr) auto auto auto;background:#201b17;border:3px ridge #8b6940;color:#efd8a1;font-family:Georgia,serif;overflow:hidden}
.holdem-board>header,.holdem-board>footer{display:flex;justify-content:space-between;gap:8px;padding:5px 10px;align-items:center;font-size:13px;background:#302317}
.holdem-table{position:relative;min-height:0;isolation:isolate;background:#17382d}
.holdem-art{position:absolute;width:100%;height:100%;object-fit:cover;image-rendering:pixelated;opacity:.35;z-index:-1}
.holdem-seat{position:absolute;display:grid;justify-items:center;grid-template-columns:auto auto;column-gap:5px;align-items:center;padding:4px;background:#221c18ee;border:2px solid #7c6340;max-width:29%;font-size:12px;line-height:1.2;box-shadow:2px 2px #080c09}
.holdem-seat>strong{font-size:13px}.holdem-seat>span,.holdem-seat>small{grid-column:2}.holdem-seat .playing-hand{grid-column:1/-1;justify-content:center;gap:4px;margin:3px 0}
.holdem-face{grid-row:1/4;width:40px;height:40px;overflow:hidden}.holdem-face img,.holdem-face svg{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.player-seat{display:grid;place-items:center;height:100%;color:#c5a160;font:bold 15px monospace}
.holdem-seat.seat-1{left:3%;top:3%}.holdem-seat.seat-2{right:3%;top:3%}.holdem-seat.seat-3{right:3%;bottom:3%}.holdem-seat.seat-0{left:3%;bottom:3%}
.holdem-seat.folded{opacity:.58}.holdem-seat.turn{border-color:#e9c47b}.dealer-marker{display:inline-grid;place-items:center;background:#eadba5;color:#2b231c;font:bold 11px monospace;width:17px;height:17px;margin-left:4px;border:2px solid #715331}
.holdem-board .playing-card{width:35px;height:49px;min-width:0;border-radius:0;box-shadow:2px 2px #141611;font-size:15px}.holdem-board .card-corner{font-size:13px}.holdem-board .card-corner small{width:8px}.holdem-board .card-pip{width:18px}.holdem-board .card-corner.bottom{display:none}
.holdem-community{position:absolute;top:35%;left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:3px;font-size:11px;color:#efdcaa;white-space:nowrap;background:#163e31ec;padding:5px;border:2px solid #9b7b48}
.holdem-community .playing-hand{display:flex;gap:5px}.holdem-chips{display:flex;align-items:center;gap:3px}.holdem-chips i{width:13px;height:10px;background:#b44d37;border:2px dashed #eed598;box-shadow:0 3px #614032;animation:chip-place .32s steps(6)}.holdem-chips b{margin-left:4px}
.holdem-comment{margin:0;padding:6px 10px;line-height:1.25;font-size:13px;min-height:27px;border-top:2px solid #795631}
.holdem-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;padding:5px;background:#302519}.holdem-controls button,.holdem-board footer button{min-height:38px;padding:5px 10px;background:#483622;color:#f2dda8;border:2px outset #9d794c;border-radius:0;font-family:inherit;font-size:13px}
.holdem-controls form{display:flex;align-items:center;gap:6px;margin:0;width:auto}.holdem-controls label{display:flex;gap:4px;align-items:center;font-size:12px;margin:0}.holdem-controls input{min-width:0;width:64px;height:35px;padding:4px;background:#e0c998;color:#201d18;border:2px inset #94734b;border-radius:0}.holdem-controls input[type=range]{width:90px;accent-color:#b99a60}.holdem-quick{display:flex;gap:3px}.holdem-board footer button{min-height:28px;padding:3px 6px}
@keyframes chip-place{from{transform:translateY(-14px)}to{transform:translateY(0)}}
@media(max-width:600px){.holdem-board>header{flex-direction:column;gap:1px;font-size:12px;padding:3px}.holdem-seat{font-size:10px;padding:2px;max-width:46%}.holdem-seat>strong{font-size:11px}.holdem-face{width:29px;height:32px}.holdem-seat.seat-1{left:2%;top:2%}.holdem-seat.seat-2{right:2%;top:2%}.holdem-seat.seat-0{left:2%;bottom:2%}.holdem-seat.seat-3{right:2%;bottom:2%}.holdem-board .playing-card{width:28px;height:38px}.holdem-community{top:36%;padding:3px}.holdem-community .playing-card{width:30px;height:42px}.holdem-comment{font-size:12px;padding:4px 6px}.holdem-controls{gap:4px;padding:4px}.holdem-controls form{flex-wrap:wrap;justify-content:center;gap:4px;width:100%}.holdem-controls input[type=range]{width:70px}.holdem-controls button{min-height:38px;padding:4px 7px}.holdem-board footer{padding:3px;font-size:10px}.holdem-quick button{min-height:32px;padding:3px 6px}}
@media(max-height:500px) and (min-width:600px){.holdem-seat .holdem-face,.holdem-seat small{display:none}.holdem-seat{grid-template-columns:auto auto;max-width:30%;font-size:10px}.holdem-seat .playing-hand{grid-column:2;grid-row:1/3;margin:0}.holdem-seat .playing-card{width:23px;height:30px}.holdem-community{top:25%}.holdem-comment{padding:3px;font-size:11px;min-height:18px}.holdem-board header,.holdem-board footer{font-size:10px;padding:2px 6px}.holdem-controls button{min-height:32px}.holdem-board{grid-template-rows:auto minmax(120px,1fr) auto auto auto}}
@media(prefers-reduced-motion:reduce){.holdem-board *{animation:none!important}}

.dialog-person .backroom-portrait{max-height:140px;width:90px;min-width:70px;image-rendering:pixelated}
@media(max-height:500px){.dialog-person .backroom-portrait{height:85px;max-height:85px;width:64px;min-width:50px}}

.point-click-shell:has(#main[data-screen=holdem]) .pc-dock{display:none}
@media(max-height:500px) and (min-width:600px){.holdem-board{grid-template-rows:auto minmax(100px,1fr) auto auto auto}}
