/* The game itself occupies the viewport; records open separately. */
#points-page .sc-inner-page.sc-table-page{
 display:flex;flex-direction:column;width:100%;height:100dvh;max-width:none;
 padding:0;overflow:hidden;background:#123f36;color:#f6f0dc;
}
#points-page .sc-table-page>.game-section-heading{
 position:relative;flex:none;width:100%;max-width:none;box-sizing:border-box;
 margin:0;padding:calc(8px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));
 min-height:50px;background:#102f29;border-bottom:1px solid #ffffff18;backdrop-filter:none;
}
#points-page .sc-table-page>.game-section-heading h2{color:#f6f0dc;font-size:16px}
#points-page .sc-table-page>div[id$="-area"]{flex:1;min-height:0;width:100%;max-width:none;margin:0}
#points-page .sc-table-page .sc-game{
 height:100%;width:100%;display:grid;grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;
 border:0;border-radius:0;box-shadow:none;background:#123f36;overflow:hidden;
}
#points-page .sc-table-page .sc-game>.sc-topbar{
 grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;
 align-items:center;gap:2px 16px;padding:10px max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left));
 height:auto;min-height:0;background:#163e34;color:#f5edda;border-bottom:1px solid #ffffff12;
}
#points-page .sc-table-page .sc-topbar>div:first-child{grid-column:1;grid-row:1;margin:0}
#points-page .sc-table-page .sc-topbar .sc-eyebrow{display:none}
#points-page .sc-table-page .sc-topbar strong{margin:0;font-size:15px}
#points-page .sc-table-page .sc-topbar strong small{color:#c5d3ba}
#points-page .sc-table-page .sc-topbar .sc-table-info{grid-column:1;grid-row:2;color:#d4c9a4;font-size:11px}
#points-page .sc-table-page .sc-topbar .sc-table-tools{
 grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;
}
#points-page .sc-table-page .sc-table-tools button{
 min-height:40px;width:auto;height:auto;padding:8px 12px;border:1px solid #ffffff2b;
 border-radius:9px;background:#ffffff0c;color:#f6f0dc;font-size:12px;white-space:nowrap;
}
#points-page .sc-table-page .sc-table-tools .sc-autoplay{
 background:#f4cd59;color:#26392d;border-color:#ffe5a2;box-shadow:0 2px 0 #806626;
 min-width:144px;font-size:14px;font-weight:750;
}
#points-page .sc-table-page .sc-autoplay span{margin-right:5px;font-size:11px}
#points-page .sc-table-page .sc-autoplay:hover:not(:disabled){background:#ffe08a}
#points-page .sc-table-page .sc-autoplay:focus-visible{outline:3px solid white;outline-offset:3px}
#points-page .sc-table-page .sc-game>.sc-felt{
 grid-column:1;grid-row:2;min-height:0;height:auto;gap:12px;
 padding:18px max(32px,env(safe-area-inset-right)) 12px max(32px,env(safe-area-inset-left));
 background:radial-gradient(ellipse at 50% 45%,#2c7863,#164b3f 70%,#123f36);
}
#points-page .sc-table-page .sc-felt:before{inset:10px 20px;border-radius:100px}
#points-page .sc-table-page .sc-felt:after{inset:15px 25px;border-radius:96px}
#points-page .sc-table-page .sc-game .sc-opponents{flex:none}
#points-page .sc-table-page .sc-game .sc-center{flex:1;min-height:0;gap:9px;overflow-y:auto;overscroll-behavior:contain;justify-content:safe center}
#points-page .sc-table-page .sc-game .sc-center>*{flex-shrink:0}
#points-page .sc-table-page .sc-game .sc-self{flex:none;padding-top:8px}
#points-page .sc-table-page .sc-game .sc-seat-play{min-height:0;margin-top:3px;padding:3px 8px}
#points-page .sc-table-page .sc-game .sc-center-hint{margin:6px 0}
#points-page .sc-table-page .sc-game .sc-hand-panel{
 grid-column:1;grid-row:3;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;
 padding:10px max(20px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
 background:#f1f4e9;border-top:1px solid #cad8bd;
}
#points-page .sc-table-page .sc-announcement{min-height:22px;margin:0 0 8px;padding:3px 8px;font-size:11px}
#points-page .sc-table-page .sc-game .sc-hand-heading{min-height:20px;margin:0 0 10px;font-size:12px}
#points-page .sc-table-page .sc-game .sc-my-hand{margin:0 auto 10px}
#points-page .sc-table-page .sc-game .sc-my-hand.sc-ddz-hand{gap:9px 4px}
#points-page .sc-table-page .sc-game .sc-actions{max-width:680px}
#points-page .sc-table-page .sc-game .sc-actions>button{min-height:44px;font-size:14px}
#points-page .sc-table-page .sc-status:empty{display:none}
#points-page .sc-table-page .sc-game>.sc-log,
#points-page .sc-table-page .sc-game>.sc-reveal{display:none}
#points-page .sc-table-page .sc-game[data-phase="finished"] .sc-hand-panel{max-height:55dvh}
#points-page .sc-table-page .sc-result{width:min(100%,480px);margin:0 auto;padding:2px 0}
#points-page .sc-table-page .sc-result>strong{font-size:28px;margin:5px 0}
#points-page .sc-table-page .sc-result p{margin:5px 0;font-size:10px}
#points-page .sc-table-page .sc-next-base{margin:8px 0;white-space:nowrap}
#points-page .sc-table-page .sc-next-base select{width:90px;flex:none}
.sc-records-dialog{width:min(640px,calc(100vw - 32px));max-height:85dvh;box-sizing:border-box;padding:20px;color:#244737}
.sc-records-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.sc-records-heading h2{margin:0;font-size:18px}.sc-records-heading button{border:0;border-radius:9px;width:40px;height:40px;background:#edf2e7;color:#244737;font-size:26px;cursor:pointer}
.sc-records-dialog .sc-log{padding:12px 0}.sc-records-dialog .sc-history{padding:12px 0}
.sc-records-dialog .sc-reveal{padding:12px 0;overflow:hidden}
@media(min-width:700px) and (min-height:600px){
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-hand-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-announcement{grid-column:1/-1}
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-hand-heading{grid-column:1;grid-row:2;align-self:start}
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-my-hand{grid-column:1;grid-row:3;align-self:start;width:100%}
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-result{grid-column:2;grid-row:2/4}
}
@media(min-width:1000px) and (min-height:600px){
 #points-page .sc-table-page .sc-game .sc-my-hand.sc-ddz-hand{display:flex;justify-content:center;max-width:1100px;gap:4px;min-height:0}
 #points-page .sc-table-page .sc-game .sc-ddz-hand .sc-card{flex:0 1 50px;min-width:0;width:50px;height:68px}
 #points-page .sc-table-page .sc-game .sc-felt{padding-left:60px;padding-right:60px}
}
@media(max-width:600px){
 #points-page .sc-inner-page.sc-table-page{padding:0}
 #points-page .sc-table-page>.game-section-heading{padding:calc(7px + env(safe-area-inset-top)) 10px 7px;gap:6px;min-height:46px;margin:0}
 #points-page .sc-table-page>.game-section-heading h2{font-size:13px}
 #points-page .sc-table-page .sc-game>.sc-topbar{padding:8px 10px;gap:6px 8px}
 #points-page .sc-table-page .sc-topbar>div:first-child{grid-column:1;grid-row:1}
 #points-page .sc-table-page .sc-topbar .sc-table-info{grid-column:2;grid-row:1;text-align:right;font-size:10px}
 #points-page .sc-table-page .sc-topbar .sc-table-tools{grid-column:1/-1;grid-row:2;justify-content:stretch;gap:5px}
 #points-page .sc-table-page .sc-table-tools button{min-height:40px;font-size:10px;padding:7px 8px}
 #points-page .sc-table-page .sc-table-tools .sc-autoplay{flex:1;min-width:120px;font-size:12px}
 #points-page .sc-table-page .sc-table-tools [data-sc="refresh"]{padding:7px 10px;font-size:17px}
 #points-page .sc-table-page .sc-game>.sc-felt{padding:12px 14px 10px;gap:8px}
 #points-page .sc-table-page .sc-felt:before{inset:6px;border-radius:40px}
 #points-page .sc-table-page .sc-felt:after{inset:11px;border-radius:36px}
 #points-page .sc-table-page .sc-game .sc-opponents{gap:12px}
 #points-page .sc-table-page .sc-game .sc-center{gap:7px}
 #points-page .sc-table-page .sc-game .sc-opponents .sc-avatar{width:32px;height:32px}
 #points-page .sc-table-page .sc-game .sc-self .sc-avatar{width:30px;height:30px}
 #points-page .sc-table-page .sc-game .sc-self .sc-seat{grid-template-columns:30px minmax(0,1fr) auto}
 #points-page .sc-table-page .sc-game .sc-self .sc-seat-count{font-size:12px}
 #points-page .sc-table-page .sc-game>.sc-hand-panel{padding:8px 10px max(10px,env(safe-area-inset-bottom))}
 #points-page .sc-table-page .sc-game .sc-hand-heading{font-size:11px;margin-bottom:10px}
 #points-page .sc-table-page .sc-game .sc-my-hand.sc-ddz-hand{gap:9px 3px;min-height:0}
 #points-page .sc-table-page .sc-game .sc-ddz-hand .sc-card{height:53px}
 #points-page .sc-table-page .sc-game .sc-actions>button{min-height:42px;font-size:12px}
 #points-page .sc-table-page .sc-game .sc-raise{margin-top:8px;gap:5px}
 #points-page .sc-table-page .sc-announcement{margin-bottom:6px;font-size:10px;min-height:20px}
}
@media(orientation:portrait) and (max-width:600px) and (max-height:740px){
 #points-page .sc-table-page .sc-game.sc-holdem .sc-opponents .sc-seat{grid-template-columns:28px minmax(0,1fr);gap:2px 4px;text-align:left;justify-items:start}
 #points-page .sc-table-page .sc-game.sc-holdem .sc-opponents .sc-avatar{grid-column:1;grid-row:1/3;width:28px;height:28px}
 #points-page .sc-table-page .sc-game.sc-holdem .sc-opponents .sc-identity{grid-column:2;grid-row:1}
 #points-page .sc-table-page .sc-game.sc-holdem .sc-opponents .sc-seat-count{grid-column:2;grid-row:2;font-size:9px}
 #points-page .sc-table-page .sc-game.sc-holdem .sc-hole-pair{grid-row:3;margin-top:4px}
 #points-page .sc-table-page .sc-game.sc-holdem .sc-seat-action{grid-row:4;min-height:12px}
 #points-page .sc-table-page .sc-game .sc-hole-pair>.sc-card{width:25px;height:34px}
 #points-page .sc-table-page .sc-game .sc-poker-hand .sc-card{height:56px;width:43px}
 #points-page .sc-table-page .sc-game .sc-ddz-hand .sc-card{height:48px}
}
@media(orientation:landscape) and (max-height:599px){
 #points-page .sc-table-page>.game-section-heading{padding:5px 12px;min-height:40px}
 #points-page .sc-table-page>.game-section-heading button{min-height:30px;padding:6px 10px}
 #points-page .sc-table-page .sc-game{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 #points-page .sc-table-page .sc-game>.sc-topbar{grid-column:1/-1;padding:6px 12px;gap:2px 10px}
 #points-page .sc-table-page .sc-table-tools button{min-height:36px;padding:6px 10px;font-size:11px}
 #points-page .sc-table-page .sc-table-tools .sc-autoplay{min-width:132px;font-size:12px}
 #points-page .sc-table-page .sc-game>.sc-felt{grid-column:1;grid-row:2;padding:10px 16px;gap:6px}
 #points-page .sc-table-page .sc-game>.sc-hand-panel{grid-column:2;grid-row:2;padding:8px 12px max(8px,env(safe-area-inset-bottom));border-top:0;border-left:1px solid #c7d4bb}
 #points-page .sc-table-page .sc-game .sc-center{min-height:0;gap:4px}
 #points-page .sc-table-page .sc-game .sc-opponents .sc-avatar{height:28px;width:28px}
 #points-page .sc-table-page .sc-game .sc-self{padding-top:5px}
 #points-page .sc-table-page .sc-game .sc-center-hint{font-size:10px;margin:4px 0}
 #points-page .sc-table-page .sc-game .sc-announcement{min-height:20px;margin-bottom:5px;font-size:10px}
 #points-page .sc-table-page .sc-game .sc-hand-heading{font-size:10px;min-height:18px;margin-bottom:8px}
 #points-page .sc-table-page .sc-game .sc-my-hand{margin-bottom:8px}
 #points-page .sc-table-page .sc-game .sc-my-hand.sc-ddz-hand{min-height:0;gap:8px 3px}
 #points-page .sc-table-page .sc-game .sc-ddz-hand .sc-card{height:43px;padding:3px}
 #points-page .sc-table-page .sc-game .sc-actions>button{min-height:36px;padding:7px 3px;font-size:11px}
 #points-page .sc-table-page .sc-game .sc-raise{margin-top:6px}
 #points-page .sc-table-page .sc-game[data-phase="finished"] .sc-hand-panel{max-height:none}
}
