#jadeStage { position:relative;width:100%;min-height:100dvh; }
body.jade-mobile-stage { overflow:hidden!important;overscroll-behavior:none; }
body.jade-mobile-stage #jadeStage { position:fixed;left:var(--stage-left);top:var(--stage-top);width:var(--stage-width);height:var(--stage-height);min-height:0;transform-origin:0 0;overflow:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
body.jade-stage-rotated #jadeStage { transform:rotate(90deg);padding:env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left) env(safe-area-inset-top); }
body.jade-stage-rotated dialog[open] { position:fixed!important;inset:auto!important;left:var(--stage-modal-x)!important;top:var(--stage-modal-y)!important;transform:translate(-50%,-50%) rotate(90deg)!important;max-width:calc(var(--stage-width) - 24px)!important;max-height:calc(var(--stage-height) - 24px)!important;margin:0!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .app { min-height:0!important;height:100%;width:100%;max-width:none;padding:6px 48px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:36px minmax(0,1fr) 54px;gap:8px;justify-items:center;align-items:center; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .hud { grid-row:1;grid-column:1/3;width:100%!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .stage { grid-row:2;grid-column:1;max-height:100%;margin:0!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .status { grid-row:2;grid-column:2;display:flex!important;flex-direction:column;gap:8px;width:100%!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .status .readout { width:100%;height:56px; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls { grid-row:3;grid-column:1/3;width:100%!important;max-width:none!important;margin:0!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .back-home { top:6px;left:6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="xeng"] { overflow:hidden; }
body.jade-mobile-stage #jadeStage[data-stage-page="xeng"] #game { position:absolute!important;inset:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .wrap { max-width:none;width:100%;padding:6px 10px 58px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .layout { grid-template-columns:minmax(0,2.3fr) minmax(180px,1fr);gap:10px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .chip-dock { position:fixed;bottom:0;left:0;right:0;width:100%; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .shell { width:100%;padding:8px 10px 16px; }

body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls { display:grid!important;grid-template-columns:130px 150px 68px 150px!important;justify-content:center;align-items:center;gap:8px!important;height:54px!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .stake { width:130px!important;height:54px!important;max-height:54px; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .toggle { width:150px!important;height:54px!important;min-height:0;max-height:54px; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .spin { width:68px!important;height:54px!important;min-height:0;max-height:54px; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .guide-trigger { position:absolute;left:80px;top:6px;width:180px;height:30px;margin:0;padding:4px 8px;font-size:12px; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .free-meter:empty { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .free-meter:not(:empty) { position:absolute;top:8px;left:45%;margin:0;font-size:12px; }

body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .stake { grid-column:1!important;grid-row:1!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .toggle:not(.quick) { grid-column:2!important;grid-row:1!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .spin { grid-column:3!important;grid-row:1!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .controls .toggle.quick { grid-column:4!important;grid-row:1!important; }

body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .wrap { height:100%;padding:4px 8px 58px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .top { min-height:28px;margin-bottom:4px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .layout { align-items:start; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .table { position:relative;padding:6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .table-head { height:22px;margin:0 0 4px;padding:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .section-title { font-size:13px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .stage { position:absolute;left:6px;top:32px;width:130px;height:96px;min-height:0;margin:0;padding:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .stage .prompt,body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .stage .result { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bowl-wrap,body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bowl { width:128px;height:68px;min-height:0;margin:0;padding:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] #sicboCanvas { width:100%;height:100%; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .round-clock { position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:4px;width:130px;height:25px;margin:0;padding:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .round-clock span,body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .round-clock small { font-size:8px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .round-clock strong { font-size:16px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-groups { display:grid;grid-template-columns:130px minmax(0,1fr);gap:3px;margin:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group { padding:0;margin:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group:nth-child(1) { grid-column:2;grid-row:1; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group:nth-child(2) { grid-column:1;grid-row:2; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group:nth-child(3) { grid-column:2;grid-row:2; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group:nth-child(4) { grid-column:1/3;grid-row:3; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet-group:nth-child(5) { grid-column:1/3;grid-row:4; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .group-title { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .side-bets { grid-template-columns:46px minmax(0,1fr) 46px;gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .side-stack,body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .special-stack { display:grid;gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .special-grid { grid-template-columns:repeat(6,minmax(0,1fr));gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .sum-grid { grid-template-columns:repeat(7,minmax(0,1fr));gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .combo-grid { grid-template-columns:repeat(8,minmax(0,1fr));gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .single-grid { grid-template-columns:repeat(6,minmax(0,1fr));gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet { min-height:35px;height:35px;padding:2px;font-size:10px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet strong { font-size:11px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .bet em { font-size:9px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .side { max-height:280px;overflow:auto; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .side .card { padding:8px;margin-bottom:6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .side h2 { font-size:13px; }

body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .top .lobby-btn { height:28px;min-height:28px;padding:3px 10px;font-size:12px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .top .pill { min-height:26px;height:26px;padding:3px 8px;font-size:12px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .table { padding:4px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .table-head { height:18px;margin:0 0 2px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .round { font-size:11px;white-space:nowrap; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .door-dice { display:flex;position:static;justify-content:center;align-items:center;gap:2px;height:14px;margin:0; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .mini-die { width:14px;height:14px;min-width:14px;min-height:14px;padding:2px;gap:1px;border-radius:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .mini-die i { width:2.5px;height:2.5px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .special strong,body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .single strong { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .combo-dice-stack { position:static;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:4px;height:100%; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .combo-dice-stack .mini-die { width:18px;height:18px;min-width:18px;min-height:18px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .any-triple-grid .bet strong { display:block;font-size:9px;line-height:11px; }
body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .any-triple-grid .door-dice { display:none; }

body.jade-mobile-stage #jadeStage[data-stage-page="sicbo"] .any-triple-grid { grid-template-columns:1fr!important; }

body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .shell { height:100%;padding:4px 8px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .top { height:30px;margin:0 0 6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .brandmark { font-size:18px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .brand span { font-size:14px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .brand small,body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .footer,body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .track-note { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .wallet { padding:4px 8px;font-size:12px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .layout { display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr)!important;gap:8px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .stage-head { padding:4px 8px;height:26px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .stage-head strong { font-size:13px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .badge { padding:3px 5px;font-size:11px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .viewport { min-height:0!important;height:max(150px,calc(var(--stage-height) - 196px))!important;aspect-ratio:auto!important; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .route-timeline { padding:3px 5px;gap:3px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .route-step { padding:2px;font-size:8px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .route-step strong { font-size:9px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .results { max-height:80px;overflow:auto;margin-top:6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] #betHome { max-height:calc(var(--stage-height) - 46px);overflow:auto; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .bet-card { padding:8px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .bet-card h1 { font-size:14px;margin:0 0 4px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .bet-card>p { display:none; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .section-label { padding:3px 0;margin:3px 0;font-size:10px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .odds { grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .odds button { min-height:40px;height:40px;padding:3px;font-size:11px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .odds button .pair { font-size:12px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .chips { gap:4px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .chips button { min-height:28px;height:28px;padding:3px;font-size:11px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .ticket { margin-top:5px;padding:6px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .bet-actions { gap:5px;margin-top:5px; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .bet-actions button { min-height:32px;height:32px;padding:4px;font-size:11px; }

body.jade-mobile-stage #jadeStage[data-stage-page="slot-vn"] .bonus-panel { width:min(700px,calc(var(--stage-width) - 24px));max-height:calc(var(--stage-height) - 24px);overflow:auto; }
body.jade-mobile-stage #jadeStage[data-stage-page="horse"] .admin-panel { max-width:calc(var(--stage-width) - 24px);max-height:calc(var(--stage-height) - 24px);overflow:auto; }
