/* Cards and decisions each reserve their own area at every screen size. */
body.poker-game-active{background:#101918}
body.poker-game-active .main{background:#101918;padding:10px 12px calc(var(--safe-bottom) + 180px)}
.poker-page{color:#edf1e5;padding-bottom:30px;max-width:720px;margin:auto}
.poker-page .game-back{font-size:11px;padding:6px 10px;min-height:32px;margin-bottom:8px;background:#23382c;color:#d9dfca}
.poker-page-header{margin:0 0 10px;gap:8px;align-items:center}.poker-page-header h1{font-size:19px;color:#f2e3bd}.poker-page-header .eyebrow{font-size:9px;color:#a3b7a6}.poker-page-header p{font-size:10px;color:#a4b3a4;margin:3px 0}
.poker-wallet{background:transparent;border:0;box-shadow:none;padding:0}.poker-wallet b{font-size:16px;color:#e6c789}.poker-wallet small{font-size:10px;color:#a4b3a4}
.poker-table-tabs{gap:6px;margin-bottom:7px}.poker-table-tabs button{min-height:36px;padding:6px 9px;background:#273c30;color:#c0cdbb;border:1px solid #50644d;border-radius:9px}.poker-table-tabs button.active{background:#dec38e;color:#34291b;box-shadow:none}.poker-table-tabs b{font-size:12px}.poker-table-tabs small{font-size:9px}
.poker-settings{font-size:11px;color:#a8b9a8;margin-bottom:8px}.poker-settings summary{cursor:pointer;padding:6px 0}.poker-settings .poker-sound-panel{margin-top:6px}.poker-settings .poker-rule-strip{padding-bottom:4px}
.poker-guidance{padding:7px 9px;margin-bottom:4px;border:1px solid #536947;border-radius:10px;background:#223a2b!important;box-shadow:none;grid-template-columns:24px minmax(0,1fr);gap:7px}.poker-guidance .guide-icon{width:24px;height:24px;font-size:12px;background:#4a603b!important;color:#f0d997}.poker-guidance b{font-size:12px;color:#ecd199}.poker-guidance small{font-size:10px;color:#b1c0aa}
.poker-page .poker-room{padding:0;background:transparent;border:0;box-shadow:none}
.poker-page .poker-table{position:relative;display:block;width:100%;max-width:420px;height:490px;min-height:490px;margin:0 auto;padding:0;border:0;background:none;box-shadow:none;overflow:visible;border-radius:0;isolation:isolate}
.poker-page .poker-table:before{inset:23px 32px 34px;border-radius:48% / 35%;background:radial-gradient(ellipse at 48% 35%,#34725b,#20533f 60%,#143c30);border:9px solid #4d3427;box-shadow:0 0 0 1px #a78b5c,inset 0 0 0 2px #ae986666,inset 0 0 45px #071e1980,0 15px 40px #0006;z-index:0}
.poker-page .poker-table:after{inset:46px 55px 57px;border:1px solid #c6b47330;border-radius:48% / 35%;background:none;z-index:0}
.poker-page .poker-table .poker-seat{position:absolute;left:var(--x)!important;top:var(--y)!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;display:block;width:78px;max-width:78px;min-height:65px;height:auto;margin:0;padding:5px 3px;border-radius:12px;border:1px solid #698071;background:linear-gradient(#23352f,#172a23);box-shadow:0 5px 12px #0005;color:#edf1e5;z-index:4}
.poker-page .poker-table .s0{--x:50%;--y:89%}.poker-page .poker-table .s1{--x:19%;--y:76%}.poker-page .poker-table .s2{--x:11%;--y:49%}.poker-page .poker-table .s3{--x:21%;--y:22%}.poker-page .poker-table .s4{--x:50%;--y:9%}.poker-page .poker-table .s5{--x:79%;--y:22%}.poker-page .poker-table .s6{--x:89%;--y:49%}.poker-page .poker-table .s7{--x:81%;--y:76%}
.poker-page .poker-seat .avatar{width:20px;height:20px;min-width:20px;font-size:13px}.poker-seat-number{position:absolute;left:5px;top:4px;font-size:9px;color:#9eb19d}.poker-page .poker-seat-name{font-size:10px;margin:3px 0 1px;line-height:1.3}.poker-page .poker-seat-balance{font-size:10px;display:block;line-height:1.3;color:#eed09b;overflow-wrap:anywhere}.poker-page .poker-seat .badge{font-size:7px;padding:1px 3px;margin:1px}.poker-page .poker-seat.mine{border-color:#e5c37b}.poker-page .poker-seat.turn{border-color:#f0d48f;box-shadow:0 0 0 2px #dfbf6460,0 4px 18px #edc67b30}.poker-page .poker-seat.empty{min-height:62px;border-style:dashed;color:#c7d4be}
.poker-page .poker-table .poker-seat-bet{position:absolute;left:50%;top:calc(100% + 3px);bottom:auto;transform:translateX(-50%);width:max-content;max-width:94px;padding:1px 3px;background:#233b29d9;border:0;border-radius:5px;font-size:9px;color:#e6d197;box-shadow:none;white-space:normal}.poker-page .poker-table .s0 .poker-seat-bet{left:calc(100% + 4px);top:auto;bottom:7px;transform:none}
.poker-page .poker-lobby-time{font-size:8px;line-height:1.2;margin-top:2px}.poker-page .poker-seat-ready{font-size:8px;margin:2px auto 0;padding:1px 3px}.poker-page .poker-seat-timeout{font-size:7px}
.poker-page .poker-table .poker-center{position:absolute;inset:0;transform:none;width:100%;max-width:none;pointer-events:none;z-index:2}
.poker-page .poker-board{position:absolute;left:50%;top:41%;transform:translateX(-50%);width:calc(100% - 166px);max-width:242px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e6d7b0}
.poker-page .poker-pot{font-size:12px;padding:0;margin:0 0 10px;background:none;border:0;color:#eed5a0;box-shadow:none}.poker-page .poker-board-label{position:absolute;top:-17px;left:0;right:0;margin:0;font-size:9px;color:#a7c4ad}
.poker-page .poker-community{gap:4px;min-height:0}.poker-page .poker-community .playing-card{width:auto!important;flex:1 1 0!important;min-width:0;max-width:44px;height:auto!important;aspect-ratio:.69;border-radius:5px}.poker-page .poker-community .card-corner{top:4px;left:3px}.poker-page .poker-community .card-corner b{font-size:17px}.poker-page .poker-community .card-corner i{display:none}.poker-page .poker-community .card-suit{font-size:23px}
.poker-page .poker-my-hand{position:absolute;left:50%;top:64%;transform:translateX(-50%);width:106px;max-width:106px;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.poker-page .poker-my-hand .playing-card{width:39px!important;flex:0 0 39px;height:54px!important}.poker-page .poker-my-hand small{font-size:9px;display:block;margin-top:4px;color:#d8cea4}.poker-page .poker-my-hand .card-corner b{font-size:18px}.poker-page .poker-my-hand .card-corner i{display:none}.poker-page .poker-my-hand .card-suit{font-size:25px}
.poker-page .poker-seat .playing-card{width:19px!important;flex-basis:19px!important;height:27px!important}.poker-page .poker-seat .card-corner b{font-size:9px}.poker-page .poker-seat .card-corner i{display:none}.poker-page .poker-seat .card-suit{font-size:12px}
.poker-page .poker-table .poker-action-bubble{position:absolute;left:50%;top:auto;bottom:calc(100% + 8px);transform:translateX(-50%);min-width:0;width:max-content;max-width:140px;white-space:normal;padding:7px 9px;margin:0;z-index:20;background:#f6efda;color:#3c3426;border:0;border-radius:11px;font-size:11px;box-shadow:0 5px 16px #0005;animation:pokerRingBubble 5s ease forwards}.poker-page .poker-table .poker-action-bubble:after{display:block;top:100%;bottom:auto;left:calc(50% - 5px);transform:none;width:0;height:0;background:none;border:5px solid transparent;border-top-color:#f6efda}.poker-page .poker-table .poker-action-bubble.allin{background:#ab4637;color:#fff6da}.poker-page .poker-table .poker-action-bubble.allin:after{border-top-color:#ab4637}
.poker-page .poker-table .s3 .poker-action-bubble,.poker-page .poker-table .s4 .poker-action-bubble,.poker-page .poker-table .s5 .poker-action-bubble{bottom:auto;top:calc(100% + 9px)}.poker-page .poker-table .s3 .poker-action-bubble:after,.poker-page .poker-table .s4 .poker-action-bubble:after,.poker-page .poker-table .s5 .poker-action-bubble:after{top:auto;bottom:100%;border:5px solid transparent;border-bottom-color:#f6efda}
.poker-page .poker-table .poker-win-badge{position:absolute;left:50%;top:-24px;transform:translateX(-50%);font-size:11px;padding:4px 8px;margin:0;z-index:5}.poker-page .poker-table .poker-win-amount{font-size:10px;line-height:1.3}.poker-page .poker-seat.winner{border-color:#e8c87e}
.poker-page .poker-table .poker-danmaku{position:absolute;top:29%;left:0;right:0;inset-block-end:auto;height:60px;display:block;overflow:hidden;pointer-events:none;z-index:12}.poker-page .poker-table .poker-danmaku span{position:absolute;left:100%;top:calc(var(--row)*27px);width:max-content;max-width:85%;animation:pokerDanmaku 7s linear var(--delay) both;font-size:10px;padding:4px 8px}
@keyframes pokerRingBubble{0%{opacity:0}5%,80%{opacity:1}100%{opacity:0;visibility:hidden}}
.poker-page .poker-command{background:#1a2a24;color:#edf0db;border:1px solid #536749;padding:12px;box-shadow:none}.poker-page .poker-command-header h3{font-size:14px;color:#e7cf97}.poker-page .poker-command-header p{font-size:10px;color:#a7bba6}.poker-page .poker-command.my-turn{position:fixed;z-index:80;bottom:var(--safe-bottom);left:50%;right:auto;top:auto;transform:translateX(-50%);width:calc(100% - 16px);max-width:440px;max-height:calc(100dvh - var(--safe-bottom) - 68px);overflow-y:auto;overscroll-behavior:contain;padding:12px;margin:0;border:1px solid #87946a;border-radius:16px;background:#1a2a24fa;box-shadow:0 -8px 35px #0005,0 12px 35px #0005}
.poker-page .poker-command.my-turn.sheet-collapsed{display:none}.poker-page .poker-command.my-turn .poker-command-header{padding-right:100px;min-height:35px}.poker-page .poker-command.my-turn .poker-command-header p{display:block}.poker-page .poker-countdown{width:30px;height:30px;border-width:2px;font-size:10px}.poker-page .poker-countdown small{font-size:7px;margin-top:-8px}.poker-page .poker-peek{position:absolute;right:12px;top:12px;min-height:32px;padding:5px 8px;font-size:10px;background:#324b3a;color:#eed9aa;border:1px solid #647956;border-radius:8px}
.poker-page .poker-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.poker-page .poker-action-grid button{min-height:44px;padding:7px 3px;font-size:12px;line-height:1.3;border-radius:10px;margin:0;background:#dec18a;color:#302617;letter-spacing:0}.poker-page .poker-action-grid .poker-fold-action{background:#283b31;border:1px solid #556858;color:#d5dccd}.poker-page .poker-action-grid .poker-raise-toggle{background:#46694c;color:#f6f3da;order:2}.poker-page .poker-action-grid .poker-allin-action{order:3;background:#954033!important;color:#fff0d6;box-shadow:none}
.poker-page .poker-raise{display:none;background:transparent;border-top:1px solid #3c4d3f;border-radius:0;padding:10px 0 0;margin-top:10px}.poker-page .poker-raise.raise-open{display:block}.poker-page .poker-raise-top label{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;font-size:11px;color:#becbb8}.poker-page #pokerRaiseTo{width:110px;min-height:38px;font-size:25px;padding:3px 5px;background:#263c2e;color:#eed6a0;border:1px solid #617253;border-radius:9px}.poker-page .poker-raise-confirm{min-height:46px;margin:8px 0 0;background:#dec18a;color:#2e281b;font-size:14px}.poker-page .poker-raise-confirm:disabled{opacity:.4}.poker-page .poker-raise-stepper{margin:9px 0;gap:6px}.poker-page .poker-raise-stepper button{min-height:43px;background:#344c3b;color:#f4edd8;border-radius:9px;font-size:14px}.poker-page .poker-slider-label{font-size:10px;color:#a9bca6}.poker-page .poker-raise-range{height:40px;min-height:40px;margin:0}.poker-page .poker-raise-cost{font-size:11px;line-height:1.5;color:#bbcab2}.poker-page .poker-raise-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.poker-page .poker-raise-quick button{min-height:36px;font-size:11px;background:#2a4131;color:#dce2cc}.poker-page .poker-sheet-secondary button{font-size:10px;background:none;color:#a7b7a4;padding:6px 0;min-height:28px}.poker-page .poker-sheet-secondary{margin-top:4px}
.poker-action-dock{position:fixed;z-index:80;bottom:var(--safe-bottom);left:50%;transform:translateX(-50%);width:calc(100% - 16px);max-width:440px;min-height:52px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;border:1px solid #bfa36c;border-radius:14px;background:#243c2ff5;color:#d5dcca;font-size:11px;box-shadow:0 5px 22px #0006}.poker-action-dock strong{font-size:13px;color:#f2d9a1}.poker-action-dock b{font-weight:500}.poker-action-dock.dock-hidden{display:none}
.poker-page .poker-phase-track{max-width:420px;margin:8px auto}.poker-page .poker-chat,.poker-page .poker-chat-hint{max-width:420px;margin:8px auto}.poker-page .poker-phase-track span{padding:4px;font-size:9px}.poker-page .poker-result-card{z-index:auto}.poker-page .poker-rules{margin-top:9px}
@media(max-width:700px){.poker-page .poker-table{height:460px;min-height:460px}.poker-page .poker-seat{width:74px;max-width:74px}.poker-page .poker-board{width:calc(100% - 158px)}.poker-page .poker-community .card-corner b{font-size:15px}.poker-page .poker-community .card-suit{font-size:20px}}
@media(max-width:350px){body.poker-game-active .main{padding-inline:8px}.poker-page .poker-table{height:450px;min-height:450px}.poker-page .poker-table .poker-seat{width:66px;max-width:66px}.poker-page .poker-board{width:calc(100% - 140px)}.poker-page .poker-community{gap:3px}.poker-page .poker-community .card-corner b{font-size:13px}.poker-page .poker-community .card-suit{font-size:18px}.poker-page .poker-action-grid button{font-size:11px}}
/* Beat the older mobile presentation layer's three-column action rule. */
.poker-page .poker-command.my-turn .poker-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.poker-game-active .topbar{background:#101918;color:#ece6ce;border-color:#344733}
body.poker-game-active .topbar .brand{color:#e7d2a1}
.poker-page .poker-seat-markers{position:absolute;top:3px;right:2px;max-width:22px;line-height:1}
.poker-page .poker-seat-markers .badge{display:block;margin:1px 0}
.poker-page .poker-seat-ready{position:absolute;right:3px;bottom:3px;margin:0;padding:1px 3px}
.poker-page .poker-table .poker-win-badge{width:max-content;max-width:110px;white-space:nowrap;overflow-wrap:normal}
.poker-page .poker-table .s1 .poker-action-bubble,.poker-page .poker-table .s2 .poker-action-bubble,.poker-page .poker-table .s3 .poker-action-bubble{left:0;transform:none}
.poker-page .poker-table .s5 .poker-action-bubble,.poker-page .poker-table .s6 .poker-action-bubble,.poker-page .poker-table .s7 .poker-action-bubble{left:auto;right:0;transform:none}
@media(prefers-reduced-motion:reduce){.poker-page .poker-action-bubble{animation-timing-function:steps(1,end)}}

/* Compact decisions remain visible; only custom amount controls fold away. */
.poker-page .poker-compact-command{padding:10px!important}
.poker-page .poker-compact-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:16px;color:#f1d79f}
.poker-page .poker-compact-heading .poker-peek{position:static;margin-left:auto;font-size:13px;min-height:36px}
.poker-page .poker-compact-heading .poker-countdown{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:48px;width:auto;height:46px;padding:2px 4px;font-size:13px;line-height:1.35;white-space:nowrap;flex-shrink:0}
.poker-page .poker-compact-heading .poker-countdown small{margin:0;font-size:8px;line-height:1.2;flex-shrink:0}
.poker-page .poker-command.my-turn.poker-compact-command .poker-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:6px}
.poker-page .poker-compact-command .poker-action-grid button{font-size:16px;min-height:44px;padding:8px 4px}
.poker-page .poker-compact-command .poker-raise{margin-top:8px;padding-top:8px}
.poker-page .poker-raise-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.poker-page .poker-raise-presets button{font-size:16px;min-height:44px;margin:0;padding:7px 4px;background:#46694c;color:#fff7df;border:1px solid #72876a;border-radius:9px}
.poker-page .poker-compact-command .poker-raise-confirm{font-size:17px;min-height:44px;margin:5px 0 0}
.poker-page .poker-compact-command .poker-raise-cost{margin:5px 0 0;padding:0;border:0;background:none;font-size:13px;line-height:1.4;color:#e0d4b5}
.poker-page .poker-custom-raise{display:none;padding-top:8px}
.poker-page .poker-custom-raise.custom-open{display:block}
.poker-page .poker-raise-input-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:14px}
.poker-page .poker-sheet-secondary{margin-top:7px}
.poker-page .poker-leave-compact{min-height:36px;padding:5px 10px;font-size:13px;background:transparent;color:#c9d5c1;border:1px solid #70826a;border-radius:8px}
.poker-page .poker-idle-tools{display:flex;justify-content:flex-end;margin:7px 0}
.poker-page .poker-ready-command .poker-ready-leave{display:inline-block;width:auto;min-height:34px;padding:5px 13px;margin:5px 0 0;font-size:14px;background:transparent;color:#f1e3c6;border:1px solid #b5b58b;border-radius:8px}
.message{display:flow-root}
.message-head{min-width:0;gap:6px;flex-wrap:wrap}
.message-head>b{min-width:0;overflow-wrap:anywhere}
.message .message-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-top:7px}
.message .message-text{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}
.message .message-actions{display:flex;flex-direction:column;gap:4px}
.message .message-actions button{float:none;min-height:36px;white-space:nowrap;font-size:12px;padding:5px 9px;margin:0}
.player-announcement{position:fixed;z-index:90;top:calc(env(safe-area-inset-top,0px) + 8px);left:env(safe-area-inset-left,0px);width:calc(100% - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-width:680px;box-sizing:border-box;padding:12px 16px;border:1px solid #e8cb7b;border-radius:15px;background:#253b30f5;color:#fff5d6;box-shadow:0 5px 24px #0005;pointer-events:none;overflow-wrap:anywhere;will-change:transform}
.player-announcement[hidden]{display:none}
.player-announcement strong{display:block;font-size:13px;color:#efd292;margin-bottom:4px}
.player-announcement p{margin:0;font-size:17px;line-height:1.4;white-space:pre-wrap}
.poker-page .poker-community .card-corner b{font-size:18.7px}
.poker-page .poker-community .card-suit{font-size:26.45px}
.poker-page .poker-my-hand .card-corner b{font-size:19.8px}
.poker-page .poker-my-hand .card-suit{font-size:28.75px}
.poker-page .poker-seat .card-corner b{font-size:9.9px}
.poker-page .poker-seat .card-suit{font-size:13.8px}
@media(max-width:350px){.poker-page .poker-community .card-corner b{font-size:14.3px}}

/* Keep the actual community cards, own cards, pot, clock and primary actions
   together. No duplicate card projection and no fixed sheet over the felt. */
@media(max-width:700px){
  body.poker-game-active .main{padding:6px 10px calc(var(--safe-bottom) + 12px)}
  .poker-page.poker-live-stage{padding-bottom:0}
  .poker-live-stage .poker-page-header,.poker-live-stage>.poker-guidance{display:none}
  .poker-live-stage .game-back{margin:0 0 5px;min-height:28px;padding:4px 9px}
  .poker-live-stage .poker-table-tabs{margin-bottom:2px}
  .poker-live-stage .poker-table-tabs button{min-height:32px;padding:4px 7px}
  .poker-page.poker-live-stage .poker-table{height:250px;min-height:250px;max-width:420px}
  .poker-live-stage .poker-table:before{inset:12px 25px 14px;border-width:7px}
  .poker-live-stage .poker-table:after{inset:29px 42px 31px}
  .poker-page.poker-live-stage .poker-table .poker-seat{min-height:56px;width:72px;max-width:72px;padding:3px 2px}
  .poker-live-stage .poker-table .s0{--y:91%}.poker-live-stage .poker-table .s1,.poker-live-stage .poker-table .s7{--y:75%}
  .poker-live-stage .poker-table .s3,.poker-live-stage .poker-table .s5{--y:23%}.poker-live-stage .poker-table .s4{--y:12%}
  .poker-live-stage .poker-seat .avatar{width:18px;height:18px;min-width:18px;font-size:12px}
  .poker-live-stage .poker-seat-name{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0;font-size:10px}
  .poker-live-stage .poker-seat-balance{font-size:10px;line-height:12px}
  .poker-page.poker-live-stage .poker-board{top:27%;width:calc(100% - 158px)}
  .poker-live-stage .poker-pot{font-size:12px;margin-bottom:7px;line-height:16px}
  .poker-live-stage .poker-board-label{font-size:9px;top:-13px}
  .poker-live-stage .poker-community{gap:3px}
  .poker-live-stage .poker-community .card-corner b{font-size:16px}
  .poker-live-stage .poker-community .card-suit{font-size:22px}
  .poker-page.poker-live-stage .poker-my-hand{top:57%}
  .poker-page.poker-live-stage .poker-my-hand .playing-card{height:54px!important;width:39px!important;flex-basis:39px;display:flex!important;flex-direction:column;justify-content:space-between;align-items:stretch;padding:2px 3px}
  /* Keep each private rank and suit in separate rows when text is enlarged. */
  .poker-page.poker-live-stage .poker-my-hand .playing-card .card-corner{position:static;display:block;line-height:1;text-align:left}
  .poker-page.poker-live-stage .poker-my-hand .playing-card .card-corner b{display:block;font-size:16px;line-height:1}
  .poker-page.poker-live-stage .poker-my-hand .playing-card .card-suit{position:static;display:block;font-size:20px;line-height:1;text-align:right}
  .poker-live-stage .poker-my-hand small{display:none}
  .poker-live-stage .poker-table .poker-danmaku{display:none}
  .poker-live-stage .poker-table .poker-action-bubble{display:none}
  .poker-page.poker-live-stage .poker-command.my-turn{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;max-width:none;max-height:none;overflow:visible;margin:7px 0 0;box-shadow:none}
  .poker-live-stage .poker-compact-heading{margin-bottom:6px;font-size:15px}
  .poker-live-stage .poker-compact-heading .poker-peek{min-height:30px;font-size:12px;padding:4px 7px}
  .poker-live-stage .poker-compact-command .poker-raise{margin-top:6px;padding-top:6px}
  .poker-live-stage .poker-raise-presets button{font-size:14px;min-height:40px}
  .poker-live-stage .poker-compact-command .poker-raise-confirm{font-size:16px}
  .poker-live-stage .poker-sheet-secondary{margin-top:4px}
  .poker-live-stage .poker-leave-compact{min-height:30px;padding:3px 8px;font-size:12px}
  .poker-live-stage .poker-action-dock{position:relative;left:auto;transform:none;bottom:auto;margin-top:8px;width:100%;max-width:none}
  .poker-live-stage .poker-chat,.poker-live-stage .poker-phase-track{margin-top:12px}
}

/* A raised/custom amount never covers either private or community cards. */
.poker-page.poker-live-stage .poker-command.my-turn{position:relative;inset:auto;transform:none;width:100%;max-width:none;max-height:none;overflow:visible;margin:0;z-index:auto;box-shadow:none}
.poker-page.poker-live-stage .poker-action-dock{position:relative;inset:auto;transform:none;width:100%;max-width:none;margin:0;z-index:auto}
.poker-page .poker-custom-raise{padding:10px 0 0}
.poker-page .poker-custom-raise .poker-raise-stepper{grid-template-columns:repeat(4,minmax(0,1fr))}
.poker-page .poker-custom-raise .poker-raise-stepper button{min-height:40px;margin:0}
.poker-page .poker-raise-input-label{flex-wrap:wrap;color:#e8dbc1}
.poker-page .poker-raise-input-label input{flex:1 1 110px;max-width:170px;font-size:20px}
.poker-decision-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;min-width:0}
@media(min-width:701px){
 .poker-page.poker-live-stage{max-width:1040px;padding-bottom:0}
 .poker-live-stage .poker-decision-layout{grid-template-columns:minmax(0,1fr) minmax(290px,340px);gap:20px;margin:12px 0}
 .poker-live-stage .poker-decision-layout>.poker-table{grid-column:1;grid-row:1/3;margin:0 auto;width:100%;height:460px;min-height:460px}
 .poker-live-stage .poker-decision-layout>.poker-command,.poker-live-stage .poker-decision-layout>.poker-action-dock{grid-column:2}
 .poker-live-stage .poker-compact-heading{font-size:14px;gap:6px}
 .poker-live-stage .poker-compact-heading .poker-peek{font-size:11px;padding:5px 7px}
 .poker-live-stage .poker-raise-presets button{font-size:14px}
}
@media(max-width:700px){
 .poker-live-stage .poker-decision-layout{gap:9px}
 .poker-live-stage .poker-decision-layout>.poker-command{margin:0!important}
 .poker-live-stage .poker-custom-raise{padding-top:8px}
}
