[hidden] { display: none !important; }
body { color: #f7f5e9; background: #0b1213; font-family: Arial, Helvetica, sans-serif; }
.game-room-shell { position: fixed; inset: 0; overflow: auto; padding: max(76px, calc(var(--tg-content-safe-area-inset-top, 0px) + 18px)) 16px max(28px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 85% 8%, #5b482121, transparent 50%), #0b1213; overscroll-behavior: contain; }
.game-room-header, #gameRoomContent, .game-room-status { width: min(100%, 560px); margin: 0 auto; }
.game-room-header { display: flex; align-items: center; justify-content: space-between; min-height: 46px; margin-bottom: 18px; }
.game-room-back { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #e6e7df; font-size: 14px; text-decoration: none; }
.game-room-back > span { font: 30px/1 Arial, sans-serif; }
.game-room-brand { color: #f6e6b1; font-size: 13px; font-weight: 800; letter-spacing: 3px; text-align: center; }
.game-room-brand span { display: block; margin-top: 5px; color: #84958f; font-size: 9px; letter-spacing: 5px; }
.game-room-header-star { width: 55px; text-align: right; color: #d9b75a; font-size: 25px; }
.room-wallet { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 28px; padding: 21px; border: 1px solid #dac27166; border-radius: 20px; background: radial-gradient(ellipse at 0 0,#80703833,transparent 65%),linear-gradient(135deg,#1e302f,#0f1c22); }
.room-wallet > div { min-width: 0; }
.room-wallet-label { display: block; color: #b1c0b7; font-size: 12px; }
.room-wallet strong { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: clamp(24px, 7vw, 38px); font-weight: 600; }
.room-wallet em { color: #efc558; font-size: .7em; font-style: normal; }
.room-wallet button, .room-primary { flex-shrink: 0; min-height: 44px; padding: 11px 14px; border: 1px solid #ffe5a377; border-radius: 10px; background: linear-gradient(140deg,#f6dea0,#c59b40); color: #282819; font: 600 13px/1.3 Arial,sans-serif; cursor: pointer; }
.game-room-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.game-room-section-heading h2 { margin: 0; font-size: 20px; font-weight: 600; }
.game-room-section-heading > span { color: #728781; font-size: 12px; letter-spacing: 2px; }
.game-room-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.game-room-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0; aspect-ratio: .57; border: 1px solid #ffffff18; border-radius: 14px; color: #fff; text-decoration: none; }
.game-room-tile--olympus { background: linear-gradient(160deg,#5c3878,#211e4f 60%,#161c28); }
.game-room-tile--aviator { border-color: #e8c77388; background: linear-gradient(165deg,#761c30,#2c1321 60%,#181a22); box-shadow: 0 6px 22px #0005; }
.game-room-tile--plinko { background: linear-gradient(160deg,#202d76,#241154 55%,#101c2e); }
.game-room-poster { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.game-room-tile-copy { position: relative; display: flex; flex-direction: column; align-items: center; padding: 3px 5px 13px; text-align: center; }
.game-room-tile-eyebrow { color: #ead89a; font-size: clamp(7px,1.9vw,10px); font-weight: 700; letter-spacing: 1.6px; }
.game-room-tile strong { margin: 3px 0 10px; font-size: clamp(12px,3.8vw,21px); letter-spacing: -.5px; text-shadow: 0 2px 5px #000b; }
.game-room-tile strong.game-room-aviator-title { font-family: Georgia,serif; font-style: italic; font-size: clamp(18px,5vw,29px); }
.game-room-play { display: block; padding: 7px 3px; width: 100%; border-radius: 7px; background: #efd48b; color: #29241a; font-size: clamp(9px,2.5vw,12px); font-weight: 700; }
.game-room-poster--aviator img { position: absolute; width: 100%; top: 20%; left: -4%; transform: rotate(-18deg); filter: drop-shadow(0 8px 10px #ff1d4955); }
.game-room-orbit { position: absolute; width: 145%; height: 60%; top: 37%; left: -15%; border: 2px solid #ed4465; border-radius: 50%; transform: rotate(-27deg); box-shadow: 0 0 15px #ff2955; }
.game-room-poster--olympus { background: url("../images/olympus-temple-v1-fast.745e41cdd522.webp") 65% 0/cover; }
.game-room-temple, .game-room-gem, .game-room-sun { display: none; }
.game-room-ball { position: absolute; z-index: 1; top: 10%; left: 36%; width: 30%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #ffb9fb; background: radial-gradient(circle at 32% 26%,#ffb7f0,#f011dc 50%,#6b20b5); box-shadow: 0 0 18px #e23aff; }
.game-room-pins { position: absolute; bottom: 13%; left: 0; width: 100%; text-align: center; color: #a3e4ff; font: bold clamp(18px,5vw,29px)/.65 Arial; text-shadow: 0 0 8px #5386ff; }
.game-room-bins { position: absolute; display: flex; gap: 2px; height: 12%; bottom: 0; left: 8%; width: 84%; }
.game-room-bins i { flex: 1; border-radius: 2px; background: #f0b83a; box-shadow: inset 0 2px 3px #fff6; }
.game-room-bins i:nth-child(2n) { background: #e76339; }
.game-room-bins i:nth-child(3) { background: #f0da55; }
.game-room-status { padding: 30px 8px; color: #b4c3ba; font-size: 14px; text-align: center; }
.room-game-shell #gameRoomStatus{width:fit-content;max-width:calc(100% - 24px);margin-inline:auto;padding:12px 18px;border-radius:12px;color:#f0f8f4;background:#10251ff5}
.game-room-status a { display:inline-flex;align-items:center;min-height:44px;margin-top:16px;padding:10px 18px;border:1px solid #e2c37188;border-radius:10px;background:#263b33;color:#f9df9a;font:inherit;text-decoration:none }
.room-overlay { position: fixed; z-index: 10040; inset: 0; display: grid; place-items: center; padding: 16px; background: #000b; backdrop-filter: blur(8px); }
.room-dialog { position: relative; width: min(100%,440px); max-height: 85dvh; overflow: auto; padding: 28px 20px; border: 1px solid #c9b26188; border-radius: 22px; background: linear-gradient(145deg,#1b302d,#0c171e); color: #f2f5ed; }
.room-dialog h2 { margin: 0 28px 16px 0; font-size: 23px; }
.room-dialog p { margin: 12px 0; color: #b7c5be; font: 13px/1.6 Arial,sans-serif; white-space: pre-line; }
.room-dialog h3 { margin: 20px 0 10px; font-size: 16px; }
.room-dialog-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #ffffff09; color: #c8d4cc; font-size: 28px; }
.room-dialog label { display: block; margin-bottom: 9px; color: #bac6bb; font-size: 13px; }
.room-dialog input { width: 100%; padding: 14px; border: 1px solid #79927d66; border-radius: 12px; background: #08191e; color: white; font: 22px Arial,sans-serif; }
.room-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 10px 0 18px; }
.room-presets button { padding: 10px 0; border: 1px solid #cab57155; border-radius: 9px; color: #eadba9; background: #24352b; font: 14px Arial,sans-serif; }
.room-primary { width: 100%; }
.room-primary:disabled { opacity: .5; }
.room-help { display: block; margin: 14px auto; border: 0; background: none; color: #e5c978; text-decoration: underline; font: 12px Arial,sans-serif; }
.room-wallet-history { color: #b7c5be; font: 12px/1.5 Arial,sans-serif; }
.room-wallet-history > div { padding: 9px 0; border-bottom: 1px solid #ffffff12; overflow-wrap: anywhere; }
.game-room-shell--aviator .aviator-page { position: static; padding: 0; overflow: visible; background: none; }
.game-room-shell--aviator #aviatorCurrencies, .game-room-shell--aviator .aviator-balance { display: none !important; }
.game-room-shell--aviator .room-wallet { margin-bottom: 12px; padding: 13px 18px; }
.game-room-shell--aviator .room-wallet strong { font-size: 25px; }
.game-room-back:focus-visible, .game-room-tile:focus-visible, button:focus-visible { outline: 2px solid #efd48b; outline-offset: 3px; }
@media(max-width:350px) { .game-room-shell { padding-left: 12px; padding-right: 12px; } .game-room-grid { gap: 7px; } .game-room-tile { border-radius: 11px; } .room-wallet { padding: 16px 13px; gap: 8px; } .room-wallet button { font-size: 11px; padding: 10px; } }
