.feature-meter{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 12px;margin:6px 0 10px;border:1px solid #f4cd7880;border-radius:12px;background:#21162edc;color:#ffecb7;font:700 12px/1.35 Arial,sans-serif;min-height:42px}.feature-meter>strong{margin-left:auto;font-variant-numeric:tabular-nums}.feature-skip{color:#fff5d1;border:1px solid #ebd39370;border-radius:7px;background:#ffffff12;padding:7px 10px;min-height:36px;cursor:pointer}.feature-skip[hidden]{display:none}.feature-popup{position:absolute;z-index:8;pointer-events:none;left:12%;right:12%;top:37%;padding:18px 10px;border:2px solid #ffe095;border-radius:20px;background:linear-gradient(130deg,#382453f5,#142d33f5);box-shadow:0 8px 24px #0009;text-align:center;color:#ffe6a2}.feature-popup[hidden]{display:none}.feature-popup>span{display:block;font-size:12px;font-weight:700}.feature-popup>strong{display:block;font:bold clamp(24px,8vw,40px)/1.3 Arial,sans-serif}.feature-symbol-value{position:absolute;z-index:2;inset:auto 0 6%;text-align:center;color:#fff2a5;text-shadow:0 2px 4px #000;font:bold 12px Arial,sans-serif;pointer-events:none}.feature-paytable{width:100%;border-collapse:collapse;font-size:12px}.feature-paytable td,.feature-paytable th{padding:7px 3px;border-bottom:1px solid #ffffff21;text-align:center}.feature-paytable td:first-child{text-align:left}.room-olympus-symbol,.sweet-cell{position:relative}.room-symbol-art--green{background-position:0 0;filter:hue-rotate(255deg)}.room-symbol-art--purple{background-position:0 0;filter:hue-rotate(75deg)}.room-symbol-art--hourglass,.sweet-art--apple{display:grid;place-items:center;background-image:none;font-size:clamp(21px,8vw,45px);filter:drop-shadow(0 2px 2px #0008)}.sweet-art--purple{background-position:66.666% 100%;filter:hue-rotate(140deg)}.room-symbol-art--scatter,.sweet-art--scatter{display:grid;place-items:center;background-image:none;font-size:clamp(24px,8vw,47px);background:radial-gradient(ellipse,#ffeeba44,transparent 68%)}.sweet-art--scatter{background-image:url("../images/sweet/symbols-v1.5c414444ec8d.webp");background-size:400% 200%;background-position:100% 100%;font-size:0}.room-symbol-art--multiplier,.sweet-art--multiplier{display:block;background:radial-gradient(circle at 35% 25%,#ffffff,#96f7cb 13%,#176c86 35%,#17264c 65%,transparent 68%);filter:drop-shadow(0 0 5px #83ffb8)}[data-symbol=multiplier] .feature-symbol-value{top:35%;font-size:clamp(13px,4vw,25px)}.room-training-notice{padding:10px 12px;margin:10px 0;border:1px solid #d4ba6c7a;border-radius:12px;background:#3f2d17;color:#fff1c9;font-size:12px;line-height:1.45}.room-training-notice strong{display:block;margin-bottom:2px}.room-training-notice[hidden]{display:none}.room-options.room-mines-options{display:block}.room-mines-options select{display:block;width:100%;min-height:44px;padding:8px;border:1px solid #83bdb9;border-radius:10px;background:#112b39;color:#f5eece;font:inherit}.room-chicken .room-options{grid-template-columns:repeat(4,minmax(0,1fr))}

.room-round-options{display:flex;gap:12px;margin:10px 0}.room-round-options label{display:flex;align-items:center;gap:8px;flex:1;color:#f8edcb;font-size:12px}.room-round-options select{width:100%;min-height:42px;border:1px solid #81bec7;border-radius:9px;background:#0d2b40;color:#fff1bd;padding:8px;font:inherit}.room-plinko-multipliers{grid-template-columns:repeat(var(--plinko-bins,11),minmax(0,1fr));display:grid}
.browser-player .room-olympus-grid{width:min(calc(100cqw - 8px),calc((100cqh - 110px)*1.17))}.browser-player .room-olympus-arena .feature-meter{flex:none;width:min(100%,390px);margin:0;padding:7px 9px;min-height:34px}.browser-player .sweet-frame{width:min(100cqw,calc((100cqh - 140px)*1.18))}.browser-player .sweet-frame .feature-meter{min-height:34px;margin:0 0 7px;padding:7px 9px}.browser-player .room-plinko-arena{--plinko-size:min(100cqw,calc(100cqh - 110px))}.browser-player #plinkoCanvas{width:var(--plinko-size)}.browser-player .room-plinko-multipliers{width:min(92cqw,calc((100cqh - 110px)*.92))}.browser-player .room-plinko-multipliers span{font-size:clamp(5px,1.8vw,8px);white-space:nowrap;overflow:hidden}.browser-player .room-round-options{flex:none;margin:6px 0;gap:10px}.room-training-notice{flex:none;margin:3px 0;padding:7px 10px;font-size:11px}.room-training-notice strong{display:inline;margin-right:7px}[data-symbol=scatter] .feature-symbol-value{font-size:clamp(6px,1.8vw,10px);letter-spacing:-.25px}.sweet-art--apple,.room-symbol-art--hourglass{background-image:none!important}.sweet-art--scatter{background-image:url("../images/sweet/symbols-v1.5c414444ec8d.webp");background-size:400% 200%;background-position:100% 100%}

/* Generated RGBA atlas: apple, purple candy, hourglass, multiplier orb. */
.sweet-art--apple,.sweet-art--purple,.room-symbol-art--hourglass,.room-symbol-art--multiplier,.sweet-art--multiplier{display:block!important;background-image:url("../images/slots/features-v3.06b56113e6bc.webp")!important;background-size:200% 200%!important;background-repeat:no-repeat!important;font-size:0!important;filter:drop-shadow(0 2px 2px #0006)}
.sweet-art--apple{background-position:0 0!important}.sweet-art--purple{background-position:100% 0!important}.room-symbol-art--hourglass{background-position:0 100%!important}.room-symbol-art--multiplier,.sweet-art--multiplier{background-position:100% 100%!important}
/* A fixed-height feature meter prevents board jumps when free spins start. */
.feature-meter{display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:14px 16px;column-gap:6px;row-gap:1px;height:50px;min-height:50px;max-height:50px;padding:7px 9px;align-content:center}.feature-meter>span{grid-column:1;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:14px}.feature-meter>strong{grid-column:1;grid-row:2;margin:0;text-align:left;white-space:nowrap;font-size:11px;line-height:16px}.feature-meter .feature-skip{grid-column:2;grid-row:1/3;min-height:40px;height:40px;width:40px;padding:0;font-size:26px;line-height:1}.browser-player .room-olympus-arena .feature-meter,.browser-player .sweet-frame .feature-meter{height:50px;min-height:50px;max-height:50px;padding:7px 9px}
#plinkoExact{min-height:18px;padding:3px 0;font-size:10px;color:#fff0bd;line-height:12px;text-align:center}.browser-player .room-plinko-arena{--plinko-size:min(100cqw,calc(100cqh - 130px))}.browser-player .room-plinko-multipliers{width:min(92cqw,calc((100cqh - 130px)*.92))}.room-plinko-multipliers span[role=button]{cursor:pointer}.room-plinko-multipliers span:focus-visible{outline:2px solid #fff2ad;outline-offset:3px}
/* Keep the two new feature games readable in Telegram's narrow viewport. */
@media(max-width:430px){body:not(.browser-player) .room-sweet .room-wallet,body:not(.browser-player) .room-olympus .room-wallet{flex-wrap:nowrap;padding:6px 9px;gap:6px;min-height:58px}body:not(.browser-player) .room-sweet .room-wallet>div:first-child,body:not(.browser-player) .room-olympus .room-wallet>div:first-child{width:auto;flex:1;min-width:0}body:not(.browser-player) .room-sweet .room-wallet-actions,body:not(.browser-player) .room-olympus .room-wallet-actions{width:auto;gap:5px}body:not(.browser-player) .room-sweet .room-wallet-actions button,body:not(.browser-player) .room-olympus .room-wallet-actions button{padding:8px 6px!important;font-size:11px!important}body:not(.browser-player) .room-sweet .room-wallet strong,body:not(.browser-player) .room-olympus .room-wallet strong{font-size:18px}body:not(.browser-player) .room-sweet .room-wallet-label,body:not(.browser-player) .room-olympus .room-wallet-label{font-size:9px}}

/* Short Telegram screens reserve controls first; boards use the remaining space. */
@media(max-height:700px){
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator){height:100svh;min-height:0;padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .room-native-back:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator){padding-top:max(52px,calc(var(--tg-content-safe-area-inset-top,0px) + 6px))}
 body:not(.browser-player) .room-game-shell{display:flex;flex-direction:column;gap:4px;overflow:hidden}
 body:not(.browser-player) .room-game-shell #gameRoomContent:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;padding:0}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .game-room-header{flex:none;min-height:28px;margin:0}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .room-wallet{flex:none;min-height:54px;padding:5px 8px;margin:0;gap:5px;flex-wrap:nowrap}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .room-wallet>div:first-child{flex:1;width:auto;min-width:0}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .room-wallet-actions{width:auto;gap:4px}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .room-wallet-actions button{min-height:44px;padding:5px!important;font-size:10px!important}
 body:not(.browser-player) :is(.room-game-shell,.game-room-shell--aviator) .room-wallet strong{font-size:18px}
 body:not(.browser-player) .room-currencies{flex:none;margin:0}.room-short-stage{flex:1;min-height:0;position:relative;container-type:size;display:flex;flex-direction:column;justify-content:center}
 body:not(.browser-player) .room-game-shell :is(.room-bet-controls,.room-decision-controls,.room-decision-strip,.room-decision-result){flex:none}
 body:not(.browser-player) .room-game-shell #roomGameMessage{flex:none;min-height:24px;height:24px;padding:3px;margin:0;font-size:11px;line-height:18px}
 body:not(.browser-player) .room-game-shell .room-bet-controls{padding:3px 0;margin:0;grid-template-columns:44px 44px 58px 44px 44px;justify-content:center;gap:3px 4px}
 body:not(.browser-player) .room-game-shell .room-round-button{width:44px;min-height:44px}
 .room-short-stage>.slot-arena{flex:1;min-height:0;margin:0;display:flex;flex-direction:column}
 .room-short-stage .slot-hero{flex:none;height:38px;padding:5px 8px 0}.room-short-stage .slot-hero h1{font-size:22px}.room-short-stage .slot-hero p{display:none}.room-short-stage .slot-hero::after{width:34px;height:34px;top:2px}
 .room-short-stage .slot-frame{margin:auto;width:min(calc(100cqw - 12px),calc((100cqh - 100px)*1.4));flex:none}
 .room-sugar .room-short-stage .slot-frame{width:min(calc(100cqw - 12px),calc(100cqh - 100px))}
 .room-short-stage .slot-meter{flex:none;min-height:23px;height:23px;padding:4px 8px}.room-short-stage .slot-total{flex:none;min-height:31px;height:31px;padding:4px 8px}
 .room-short-stage .sweet-arena{flex:1;min-height:0;margin:0;display:flex;flex-direction:column}
 .room-short-stage .sweet-title{flex:none;height:42px;padding:0}.room-short-stage .sweet-title>span{font-size:26px}.room-short-stage .sweet-title h1{font-size:20px}
 .room-short-stage .sweet-frame{flex:none;margin:auto;width:min(100cqw,calc((100cqh - 124px)*1.18));padding:5px}
 .room-short-stage .sweet-cascade-bar{flex:none;height:24px;min-height:24px;margin:3px 0 0;padding:4px 8px;font-size:9px}
 .room-short-stage .room-olympus-arena{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}
 .room-short-stage .room-olympus-arena h1{flex:none;width:100%;padding:0;margin:0;font-size:26px}
 .room-short-stage .room-olympus-grid{flex:none;width:min(calc(100cqw - 8px),calc((100cqh - 100px)*1.17))}
 .room-short-stage .room-olympus-arena .feature-meter{flex:none;width:min(100%,390px);margin:0}
 .room-short-stage .room-plinko-arena{height:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}
 .room-short-stage .room-plinko-arena h1{flex:none;margin:0;font-size:26px;height:28px}
 .room-short-stage .room-round-options{flex:none;width:100%;margin:4px 0;gap:8px}.room-short-stage .room-round-options select{font-size:16px;padding:4px;min-height:44px}
 .room-short-stage #plinkoCanvas{flex:none;width:min(100cqw,calc(100cqh - 140px))}
 .room-short-stage .room-plinko-multipliers{flex:none;width:min(92cqw,calc((100cqh - 140px)*.92));height:22px;margin:-3px 0 0}
 .room-short-stage .room-plinko-multipliers span{font-size:6px;overflow:hidden;white-space:nowrap;padding:3px 0}.room-short-stage .room-plinko-history{top:90px;height:25%;width:12%}
 .room-short-stage #plinkoExact{flex:none;width:100%}
 .room-short-stage .mines-arena{height:100%;min-height:0;margin:0;padding:0 8px 4px;display:flex;flex-direction:column;align-items:center}
 .room-short-stage .room-arena-heading{flex:none;padding:3px}.room-short-stage .mines-frame{flex:none;margin:auto;width:min(calc(100cqw - 20px),calc(100cqh - 38px));padding:5px}
 .room-short-stage .mines-grid{gap:4px;padding:2px}.room-short-stage .mines-board-caption{display:none}
 body:not(.browser-player) .room-interactive .room-decision-strip{margin:0;height:31px;min-height:31px}
 body:not(.browser-player) .room-interactive .room-decision-controls{padding:5px;gap:4px}
 body:not(.browser-player) .room-interactive .room-options{margin:0 0 4px}
 body:not(.browser-player) .room-interactive .room-stake-row{margin:0 0 4px}
 body:not(.browser-player) .room-interactive .room-tools-row{padding-top:2px}.room-short-stage .chicken-arena{height:100%;min-height:0;margin:0;display:flex;flex-direction:column}
 .room-short-stage .chicken-viewport{flex:1;min-height:0!important;height:auto!important}.room-short-stage .chicken-stats{flex:none;height:26px;padding:3px 8px}.room-short-stage .chicken-progress{flex:none}
 body:not(.browser-player) .room-mines .room-decision-controls{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:8px}
 body:not(.browser-player) .room-mines .room-mines-options{grid-column:1;margin:0}
 body:not(.browser-player) .room-mines .room-stake-row{grid-column:2;grid-template-columns:36px minmax(40px,1fr) 36px;margin:0}
 body:not(.browser-player) .room-mines .room-stake-row label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body:not(.browser-player) .room-mines :is(.room-action-row,.room-tools-row){grid-column:1/-1}
 /* Reserve space for both Aviator bets, including the second panel. */
 body:not(.browser-player) .game-room-shell--aviator{display:flex;flex-direction:column;gap:4px;overflow:hidden}
 body:not(.browser-player) .game-room-shell--aviator #gameRoomContent:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;padding:0}
 body:not(.browser-player) .game-room-shell--aviator .aviator-page{flex:1;min-height:0;display:flex;flex-direction:column;gap:4px}
 body:not(.browser-player) .game-room-shell--aviator .aviator-header{flex:none;height:27px;min-height:27px;margin:0}
 body:not(.browser-player) .game-room-shell--aviator .aviator-history{flex:none;min-height:26px;height:26px;margin:0;padding:0}
 body:not(.browser-player) .game-room-shell--aviator .aviator-arena{flex:1;min-height:0!important;height:auto!important;margin:0}
 body:not(.browser-player) .game-room-shell--aviator .aviator-bets{flex:none;gap:4px}
 body:not(.browser-player) .game-room-shell--aviator .aviator-bet-card{padding:4px 6px}
 body:not(.browser-player) .game-room-shell--aviator .aviator-action{min-height:62px}
 body:not(.browser-player) .game-room-shell--aviator .aviator-options{min-height:24px;margin:0 0 3px}
 body:not(.browser-player) .game-room-shell--aviator .aviator-connection{position:absolute;z-index:10;top:90px;left:12px;right:12px}
}

/* Readable native fields avoid focus-driven magnification on small screens. */
@media(max-width:767px){.game-room-shell .aviator-amount-control>input,.game-room-shell .room-round-options select,.game-room-shell .browser-language select,.game-room-shell #chickenMode{font-size:16px}}
/* The close control stays reachable while the dialog content scrolls. */
body:not(.browser-player) .room-dialog-close,body:not(.browser-player) .aviator-modal-close{position:sticky;top:0;right:auto;float:right;z-index:5;background:#203236}
/* A settled round replaces its status text without taking space from the board. */
.room-round-status{position:relative;flex:0 0 28px;height:28px;min-height:28px}
.room-round-status #roomGameMessage{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:28px;min-height:28px;margin:0;padding:3px 5px;font-size:11px;line-height:1.15;text-align:center}
.room-round-status #roomResult{box-sizing:border-box;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;min-height:0;height:28px;margin:0;padding:2px 5px;font-size:11px;line-height:1.15;text-align:center;pointer-events:none}
.room-round-status #roomResult:empty{display:none}.room-round-status:has(#roomResult:not(:empty)) #roomGameMessage{visibility:hidden}
/* Each Aviator panel reserves its result line before the first payout. */
body:not(.browser-player) .game-room-shell--aviator .aviator-last-result{box-sizing:border-box;height:12px;min-height:12px;margin:2px 0 0;font-size:10px;line-height:12px}
body:not(.browser-player) .game-room-shell--aviator .aviator-last-result[hidden]{display:block!important;visibility:hidden}
/* A queued-round caption must not grow either bet panel on a short phone. */
@media(max-height:700px){body:not(.browser-player) .game-room-shell--aviator .aviator-action{height:66px;min-height:66px;padding:4px 5px}body:not(.browser-player) .game-room-shell--aviator .aviator-action-title{font-size:18px;line-height:20px}body:not(.browser-player) .game-room-shell--aviator .aviator-action-value{font-size:11px;line-height:12px;margin-top:2px}}

/* Align the landing bins with the canvas on normal and compact layouts. */
.room-plinko-arena{--plinko-width:min(100%,380px,max(192px,calc(100svh - 440px)))}
.room-plinko-arena #plinkoCanvas,.room-plinko-arena .room-plinko-multipliers{width:var(--plinko-width)}
.room-plinko-arena .room-plinko-multipliers{gap:1px}
@media(max-height:700px){
.room-short-stage .room-plinko-arena{--plinko-width:min(100cqw,max(192px,calc(100cqh - 124px)))}
.room-short-stage .room-plinko-arena #plinkoCanvas{width:var(--plinko-width);height:min(var(--plinko-width),max(72px,calc(100cqh - 124px)));aspect-ratio:auto}
.room-short-stage .room-plinko-arena .room-plinko-multipliers{width:var(--plinko-width)}
}
.room-plinko-arena .room-plinko-multipliers span{border-width:0;font-size:clamp(6px,1.65vw,8px);font-variant-numeric:tabular-nums}

/* A 7x7 field needs readable cells on compact phones, not a 150px thumbnail. */
@media(max-height:700px) and (orientation:portrait){
 body:not(.browser-player) .room-sugar .room-wallet{min-height:32px;padding:3px 8px}
 .room-sugar .room-wallet>div:first-child{display:flex;align-items:baseline;gap:6px}
 .room-sugar .room-wallet .room-wallet-label{font-size:10px;margin:0}
 .room-sugar .room-training-notice{font-size:10px;line-height:1.2;padding:4px 8px}
 .room-sugar .room-short-stage .slot-hero{height:30px;padding:3px 7px}
 .room-sugar .room-short-stage .slot-frame{width:min(calc(100cqw - 12px),max(238px,calc(100cqh - 72px)));border-width:5px}
 .room-sugar .room-short-stage .slot-total{height:24px;min-height:24px;padding:2px 8px}
 .room-sugar .room-short-stage .slot-total>strong{font-size:16px}
 .room-sugar .room-short-stage .slot-meter{height:20px;min-height:20px;padding:2px 8px}
 .room-sugar .room-bet-controls .room-stake-label{margin:0;min-height:28px;padding:0;font-size:12px}
 .room-sugar .room-bet-controls #roomStake{min-height:28px;height:28px}
 body:not(.browser-player) .room-sugar .room-spin-button{width:58px;height:58px;min-height:58px}
 .room-sugar .room-short-stage>.slot-arena{min-height:310px}
 .room-sugar .slot-meter>strong{font-size:11px}
}
.room-bass .slot-meter{gap:5px}
.room-bass .slot-meter>strong{font-size:12px;white-space:nowrap}

/* Keep prize labels attached to the moving symbol; cell multipliers stay on the board. */
.slot-symbol,.feature-symbol{position:absolute;inset:0;display:grid;place-items:center}
@media(max-height:700px) and (orientation:portrait){
 body:not(.browser-player) .room-mines .room-wallet{min-height:32px;padding:3px 8px}
 .room-mines .room-wallet>div:first-child{display:flex;align-items:baseline;gap:6px}
 .room-mines .room-wallet .room-wallet-label{font-size:10px;margin:0}
 .room-mines .room-training-notice{font-size:10px;line-height:1.2;padding:4px 8px}
 .room-mines .room-short-stage .mines-frame{width:min(calc(100cqw - 20px),max(198px,calc(100cqh - 38px)))}
 .room-mines .room-short-stage{min-height:226px}
}
