/* Final room-only layout layer. Preserve readable controls while fitting the board. */
.game-room-shell { padding: max(12px,var(--tg-content-safe-area-inset-top,0px)) 12px max(8px,env(safe-area-inset-bottom)); }
.room-native-back .game-room-shell { padding-top:max(52px,calc(var(--tg-content-safe-area-inset-top,0px) + 6px)); }
.room-native-back .game-room-back { display:none; }
.room-native-back .game-room-header { display:grid; grid-template-columns:1fr auto 1fr; }
.room-native-back .game-room-brand { grid-column:2; }
.room-native-back .game-room-header-star { grid-column:3; justify-self:end; }
.game-room-header { min-height:30px; margin-bottom:8px; }
.game-room-brand { font-size:11px; letter-spacing:3px; }.game-room-brand span { margin-top:2px; font-size:7px; }
.game-room-header-star { font-size:21px; }
.game-room-shell .room-wallet { margin-bottom:8px; padding:8px 12px; border-radius:12px; gap:8px; }
.game-room-shell .room-wallet-label { font-size:10px; }
.game-room-shell .room-wallet strong { margin-top:3px; font-size:22px; line-height:1.15; }
.game-room-shell .room-wallet button { min-height:40px; padding:8px 11px; font-size:12px; }
.game-room-section-heading { margin:17px 0 12px; }
.game-room-tile { aspect-ratio:.59; }
.game-room-poster>i { width:84%; height:auto; aspect-ratio:1; left:8%; top:50%; transform:translateY(-50%); }
.game-room-poster--sweet>i { transform:translateY(-50%) rotate(-7deg); }
.game-room-poster--aviator img { inset:14%; width:72%; height:72%; max-width:72%; object-fit:contain; transform:rotate(-18deg); }
.game-room-poster--olympus { background-size:cover; background-position:70% top; }
.game-room-tile-copy { padding:7px 5px 8px; }.game-room-tile strong { margin-bottom:7px; }
.room-game-shell .room-game-message { padding:7px 4px; margin-top:5px; font-size:14px; line-height:1.25; }
.room-game-shell .room-bet-controls { gap:5px; padding:7px 4px 3px; }
.room-game-shell .room-spin-button { max-width:66px; }
.room-game-shell .room-round-button { max-width:42px; min-height:40px; font-size:22px; }
.room-game-shell .room-stake-label { margin-top:2px; gap:7px; font-size:13px; }
.room-game-shell #roomStake { padding:6px 4px; font-size:16px; min-height:34px; }
.room-game-shell .room-result { min-height:0; font-size:11px; line-height:1.25; padding-top:4px; }
.room-result:empty,.room-decision-result:empty { display:none; }
.room-slots .slot-arena { margin-top:7px; border-radius:16px; }
.room-slots .slot-hero { height:88px; padding:14px 12px 0; background-position:center 47%; }
.room-slots .slot-eyebrow { display:none; }
.room-slots .slot-hero h1 { max-width:calc(100% - 83px); font-size:clamp(23px,7vw,32px); line-height:.95; margin:2px 0 5px; }
.room-slots .slot-hero p { max-width:calc(100% - 75px); margin-top:5px; font-size:9px; }
.room-slots .slot-hero::after { content:''; position:absolute; z-index:1; right:7px; top:5px; width:76px; height:76px; background-repeat:no-repeat; filter:drop-shadow(0 3px 3px #0006); }
.room-bass .slot-hero::after { background-image:url("../../images/bass/symbols-v2.48b17ab7933b.webp"); background-size:400% 300%; background-position:0 50%; }
.room-dog .slot-hero::after { background-image:url("../../images/dog/symbols-reference-v2.225ea8536ba1.webp"); background-size:400% 300%; background-position:0 0; }
.room-sugar .slot-hero::after { background-image:url("../../images/sugar/symbols-v1.bfe28ff56a7d.webp"); background-size:400% 200%; background-position:100% 100%; }
.room-slots .slot-frame { margin-inline:auto; width:calc(100% - 18px); }
.room-slots .slot-art { width:var(--room-symbol-size,90%); height:var(--room-symbol-size,90%); max-width:94%; max-height:94%; }
.room-slots .slot-art.slot-flying { max-width:none; max-height:none; }
.room-slots .slot-meter { min-height:27px; padding:6px 12px; font-size:10px; }
.room-slots .slot-meter>strong { font-size:12px; }
.room-slots .slot-total { min-height:37px; padding:7px 12px; }.room-slots .slot-total>strong { font-size:21px; }
.room-slots .slot-total>button { min-height:30px; padding:5px 7px; }
.room-slots .slot-popup { top:16%; }
.room-interactive #gameRoomContent { padding-bottom:0; }
.room-interactive .room-arena-heading { padding:10px 8px; }
.room-interactive .room-arena-heading>span,.room-interactive .room-arena-heading p { display:none; }
.room-interactive .room-arena-heading h1 { font-size:30px; margin:0; }
.room-interactive .mines-arena { margin-top:7px; padding-bottom:7px; }
.room-interactive .mines-frame { margin-inline:auto; width:100%; }
.room-interactive .mines-board-caption { margin-top:7px; }
.room-interactive .room-decision-strip { margin-top:7px; }.room-interactive .room-decision-strip>span { padding:7px 3px; gap:3px; }
.room-interactive .room-decision-strip strong { font-size:17px; }
.room-interactive .room-decision-message { min-height:30px; padding:6px 4px; font-size:11px; }
.room-interactive .room-decision-controls { padding:9px; border-radius:13px; }
.room-interactive .room-options { margin-bottom:7px; }.room-interactive .room-options legend { margin-bottom:5px; }
.room-interactive .room-options span { padding:7px 3px; font-size:11px; }
.room-interactive .room-stake-row { margin-bottom:8px; }
.room-interactive .room-tools-row { padding-top:7px; }.room-interactive .room-tools-row button { min-height:32px; }
.room-interactive .room-action-row>button { min-height:46px; }
.room-interactive .room-decision-result { min-height:0; padding-top:5px; font-size:10px; }
.room-sweet .sweet-title { padding:4px 0 9px; }.room-sweet .sweet-title>span { font-size:34px; }.room-sweet .sweet-title h1 { font-size:25px; }.room-sweet .sweet-title p { display:none; }
.room-sweet .sweet-arena { margin-top:6px; }.room-sweet .sweet-frame { margin-inline:auto; width:100%; padding:7px; border-radius:16px; }
.room-sweet .sweet-cascade-bar { padding:7px 9px; }
.room-olympus .room-olympus-grid { margin-inline:auto; width:100%; }
.room-plinko #plinkoCanvas { margin-inline:auto; }
.game-room-shell--aviator .aviator-header { min-height:34px; }.game-room-shell--aviator .aviator-history { margin-bottom:5px; }
.game-room-shell--aviator .aviator-bet-card { padding:6px; border-radius:14px; }
.game-room-shell--aviator .aviator-quick-bets { grid-template-columns:repeat(4,minmax(0,1fr)); }
.game-room-shell--aviator .aviator-quick-bets button { height:26px; font-size:11px; }
.game-room-shell--aviator .aviator-action { min-height:66px; border-radius:12px; }
.game-room-shell--aviator .aviator-options { min-height:24px; margin-bottom:4px; }
.game-room-shell--aviator .aviator-bet-limit { margin-top:3px; font-size:9px; }
.game-room-shell--aviator .aviator-bets { gap:6px; }
.game-room-shell--aviator .aviator-connection { padding:4px 7px; margin:4px 0; font-size:11px; }

