.room-game-shell { padding: max(60px, calc(var(--tg-content-safe-area-inset-top,0px) + 12px)) 12px 24px; }
.room-game-shell .game-room-header { margin-bottom: 8px; }
.room-game-shell .room-wallet { margin-bottom: 10px; padding: 10px 13px; border-radius: 12px; }
.room-game-shell .room-wallet strong { margin-top: 3px; font-size: 22px; }
.room-game-shell .room-wallet button { min-height: 38px; padding: 8px 10px; font-size: 12px; }
.room-plinko { background: radial-gradient(ellipse at 50% 50%,#006c8d,#002c60 47%,#001a46); }
.room-plinko-arena { position: relative; padding-top: 8px; }
.room-plinko-arena h1 { text-align: center; font: italic 800 clamp(27px,8vw,40px)/1 Arial,sans-serif; letter-spacing: 5px; margin-bottom: 10px; }
#plinkoCanvas { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.room-plinko-history { position: absolute; z-index: 1; top: 60px; left: 0; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; width: 16%; height: 38%; overflow: hidden; padding: 8px 3px; border: 1px solid #a1b6c6aa; border-radius: 11px; background: #001135aa; }
.room-plinko-history > span { margin: auto; color: #95aec3; font-size: 9px; writing-mode: vertical-rl; letter-spacing: 2px; }
.room-plinko-history > strong { color: #f5c766; font-size: 10px; }
.room-plinko-multipliers { display: grid; grid-template-columns: repeat(11,minmax(0,1fr)); gap: 2px; width: 92%; margin: -12px auto 19px; position: relative; }
.room-plinko-multipliers span { display: grid; place-items: center; padding: 7px 0; border: 1px solid #ffdf9c88; border-radius: 4px; background: linear-gradient(#ff526c,#c40038); font-size: clamp(7px,2.2vw,12px); font-weight: 700; box-shadow: 0 3px 0 #49092b; }
.room-plinko-multipliers span:nth-child(2),.room-plinko-multipliers span:nth-last-child(2) { background: linear-gradient(#ff6d4d,#ce310d); }
.room-plinko-multipliers span:nth-child(n+3):nth-child(-n+9) { background: linear-gradient(#ff9c4c,#df6117); }
.room-plinko-multipliers span:nth-child(n+5):nth-child(-n+7) { background: linear-gradient(#f5c65b,#c98d13); }
.room-plinko-multipliers span.is-hit { outline: 2px solid #fff4b7; transform: translateY(-4px); box-shadow: 0 0 20px #ffce49; }
.room-game-message { padding: 12px 4px; border-top: 1px solid #ffffff2b; border-bottom: 1px solid #ffffff2b; background: #02112766; text-align: center; font-size: clamp(15px,4.3vw,22px); font-weight: 700; }
.room-bet-controls { display: grid; grid-template-columns: 1fr 1fr 2.2fr 1fr 1fr; gap: 9px; align-items: center; padding: 14px 6px 10px; }
.room-round-button { display: grid; place-items: center; width: 100%; max-width: 50px; aspect-ratio: 1; min-width: 32px; margin: auto; border: 0; border-radius: 50%; background: #0008; color: #e0e9f0; font: 27px Arial,sans-serif; }
.room-round-button[aria-pressed=true] { color: #ffe072; box-shadow: 0 0 0 1px #ffe072aa; }
.room-spin-button { display: grid; place-items: center; width: 100%; max-width: 104px; aspect-ratio: 1; margin: auto; border: 2px solid #bdd9eb77; border-radius: 50%; background: #6fbbd62e; color: #d9ebef; box-shadow: inset 0 0 0 6px #001c3d44; }
.room-spin-button > span { font: 100px/.8 Arial,sans-serif; transform: translateY(-3px); }
.room-spin-button:disabled { opacity: .55; }
.room-spin-button.is-busy > span { animation: roomSpin .9s linear infinite; }
.room-stake-label { grid-column: 1/-1; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; color: #ffcd43; font-size: 15px; font-weight: 700; }
#roomStake { width: 90px; padding: 8px 4px; border: 1px solid #ffffff44; border-radius: 7px; background: #00152d55; color: white; font: 700 18px Arial,sans-serif; text-align: center; }
.room-result { min-height: 26px; text-align: center; color: #ffdb75; font-size: 15px; }
.room-olympus { background: #8f6fa1 url("../../images/olympus-temple-v1-fast.745e41cdd522.webp") center top/cover; }
.room-olympus .game-room-header { text-shadow: 0 1px 5px #19112d; }
.room-olympus .game-room-brand { visibility: hidden; }
.room-olympus .room-wallet { background: #231831c9; border-color: #fae6a5bb; }
.room-olympus-arena h1 { width: 72%; padding: 4px 0 12px; color: #ffe780; font: 900 clamp(24px,7.8vw,40px)/.9 Georgia,serif; text-align: center; text-shadow: 0 2px 0 #875615,0 4px 2px #3f1353,0 0 9px #271030; }
.room-olympus-arena h1 span { display: block; color: #fff0a7; font-size: .4em; letter-spacing: 4px; margin-bottom: 4px; }
.room-olympus-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1px; padding: 8px; border: 6px ridge #e9c75a; outline: 2px solid #ffefa5; border-radius: 5px; background: linear-gradient(140deg,#381140ee,#210d2ff0); box-shadow: 0 3px 0 #805317,0 6px 20px #3c164b99,inset 0 0 25px #0009; }
.room-olympus-symbol { display: grid; place-items: center; min-width: 0; aspect-ratio: 1; border-right: 1px solid #d4ad6040; color: #ffefb0; }
.room-olympus-symbol img { width: 92%; max-height: 90%; filter: drop-shadow(0 3px 2px #0007); }
.room-olympus-symbol.is-win { background: #ffcf4f33; box-shadow: inset 0 0 0 1px #ffeb8d; border-radius: 6px; animation: roomGlow .8s ease-in-out 2; }
.room-olympus-grid.is-spinning img { animation: roomDrop .35s ease-in infinite; animation-delay: calc(var(--column)*30ms); }
.room-olympus .room-game-message { margin-top: 14px; color: white; background: #35203c88; text-shadow: 0 2px 2px #4a2b1c; }
.room-olympus .room-bet-controls { background: #f8d38122; }
.room-olympus .room-spin-button { background: #43382899; border-color: #fff5c0; color: #fff5d2; box-shadow: 0 0 0 5px #ffe9b544; }
.room-olympus #roomStake { background: #30213fbb; }
.room-olympus .room-stake-label,.room-olympus .room-result { color: #ffe788; text-shadow: 0 1px 3px #492c19; }
.room-paytable { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 12px 0; }
.room-paytable div { padding: 10px; border: 1px solid #ffffff22; border-radius: 7px; color: #eed99d; font-size: 12px; }
@keyframes roomSpin { to { transform: translateY(-3px) rotate(360deg); } }
@keyframes roomDrop { from { transform: translateY(-10px); opacity: .4; } to { transform: translateY(10px); opacity: 1; } }
@keyframes roomGlow { 50% { box-shadow: inset 0 0 15px #ffed8caa; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
@media(max-width:350px) { .room-bet-controls { gap: 6px; } .room-spin-button > span { font-size: 77px; } .room-game-shell { padding-left: 9px; padding-right: 9px; } .room-plinko-multipliers { gap: 1px; } }
