body.game-mode #jadeStage #classicGamePanel:has(#classicTable:is(.xi-to-mode,.cat-te-mode):not([hidden])){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;transform:none!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden;container-type:size}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .classic-table-surface{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-table-toolbar{position:absolute!important;inset:1.5% auto auto 1.5%!important;width:72%!important;max-width:none!important;height:44px!important;min-height:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible;gap:10px}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) :is(.compact-stake,.card-room-timer){display:none!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-room-status{flex:0 1 auto;max-width:30cqw;padding:4px 8px;color:#f8edbe;background:#073c33b3;font-size:clamp(11px,1.3cqw,20px)}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .compact-action{box-sizing:border-box;min-width:0!important;width:clamp(76px,10.5cqw,155px)!important;height:clamp(36px,7cqh,61px)!important;min-height:36px!important;padding:0 8px!important;border:solid transparent!important;border-width:9px 23px!important;border-image:url('/assets/tienlen-20261017/outcardBtn.png') 18 46 18 46 / 9px 23px / 0 stretch!important;border-radius:19px;background:linear-gradient(#4aa38b,#07956d 55%,#00aa74)!important;background-clip:padding-box!important;box-shadow:none!important;color:#fff!important;font:700 clamp(12px,1.6cqw,24px)/1 Arial!important;text-shadow:0 1px 2px #003b27!important;white-space:nowrap}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .compact-action.danger{filter:hue-rotate(205deg);color:#fff!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .compact-action:disabled{opacity:.42;filter:grayscale(.7);cursor:default}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .compact-action.loading{opacity:.6;pointer-events:none}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .classic-actions{position:absolute!important;top:auto!important;bottom:1.2%!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:1cqw!important;width:auto!important;max-width:91%!important;min-height:0!important;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important;overflow:visible!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .classic-raise{display:flex;align-items:center;gap:5px;color:#fff1be;font-size:clamp(11px,1.25cqw,18px);white-space:nowrap}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .classic-raise input{box-sizing:border-box;width:clamp(70px,9cqw,130px)!important;height:clamp(34px,6cqh,52px)!important;min-width:0;background:#073c33 url('/assets/tienlen-20261017/InputboxBg.png') center/100% 100% no-repeat!important;border:0!important;color:white!important;font-size:clamp(13px,1.6cqw,22px)!important;padding:0 7px}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) #leaveClassicRoom{order:-1;flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0;background:transparent url('/assets/tienlen-20261017/btn_exit.png') center/contain no-repeat!important;font-size:0!important;color:transparent!important;filter:none}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-table-tools{display:flex;position:absolute;top:1.5%;right:1.5%;gap:10px;z-index:25}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-table-tools button{width:44px;height:44px;padding:0;border:0;background:transparent url('/assets/tienlen-20261017/funcBtn.png') center/contain no-repeat;color:white;font-size:24px}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-tool-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) [hidden]{display:none!important}
body.game-mode #classicGamePanel:has(#classicTable:is(.xi-to-mode,.cat-te-mode):not([hidden]))>.exit-game{display:none!important}
@container(max-width:900px){body.game-mode #jadeStage #classicTable.xi-to-mode .classic-actions{gap:5px!important;max-width:96%!important}body.game-mode #jadeStage #classicTable.xi-to-mode .classic-actions .compact-action{width:clamp(70px,10.3cqw,96px)!important;padding:0 2px!important;border-width:9px 15px!important;border-image-width:9px 15px!important;font-size:12px!important}body.game-mode #jadeStage #classicTable.xi-to-mode .classic-raise{font-size:0}body.game-mode #jadeStage #classicTable.xi-to-mode .classic-raise input{width:76px!important}}

body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-table-toolbar{display:flex!important;z-index:24;pointer-events:auto!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) [data-reference-tool="fullscreen"]{background:#063c32!important;border:2px solid #d9c997;border-radius:50%;font:24px Arial!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-fullscreen-icon{display:block!important;color:#fff!important;font:24px Arial!important}

body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode)[data-table-phase="playing"] #startClassicGame{display:none!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-fullscreen-icon{font-size:0!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .reference-fullscreen-icon::after{content:'⛶';font:26px Arial}

body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-raster-button{position:relative!important;isolation:isolate;min-width:0!important;width:clamp(72px,9cqw,130px)!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:transparent!important;font-size:0!important;line-height:0!important;text-shadow:none!important;filter:none!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-raster-button::before{content:""!important;position:absolute;left:0;top:50%;width:100%;height:auto;aspect-ratio:var(--button-image-ratio);transform:translateY(-50%);background-image:url('/assets/xito-controls-20261021/buttons.png')!important;background-size:var(--button-sheet-size)!important;background-position:var(--button-sheet-position)!important;background-repeat:no-repeat!important;border:0!important;box-shadow:none!important;pointer-events:none}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-raster-button:disabled{opacity:.45;filter:grayscale(.6)!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .classic-actions{gap:clamp(5px,1cqw,16px)!important}
body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-table-toolbar .card-raster-button{width:clamp(105px,11cqw,150px)!important}
body.game-mode #jadeStage #classicTable.xi-to-mode .round-result-actions{display:flex;justify-content:center;gap:12px}
body.game-mode #jadeStage #classicTable.xi-to-mode #continueClassicRound{width:130px!important}
@container(max-width:900px){body.game-mode #jadeStage #classicTable.xi-to-mode .classic-actions .card-raster-button{width:clamp(66px,10cqw,88px)!important;padding:0!important;border:0!important;border-image:none!important;font-size:0!important}body.game-mode #jadeStage #classicTable:is(.xi-to-mode,.cat-te-mode) .card-table-toolbar .card-raster-button{width:120px!important}}
