/* User's November 26 corrections: full viewport, no desktop nav blocks. */
:root{--header42-row:68px;--nav42-reserve:calc(88px + var(--safe-bottom,0px));--header-offset:calc(var(--safe-top,0px) + var(--header42-row))}
html,body,#root{width:100%;max-width:none;min-height:100dvh;box-sizing:border-box;background:#0e0e0e!important}
body{margin:0}.app-shell{width:100%!important;max-width:none!important;min-height:100dvh!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:#0e0e0e}
.app-header{top:0;left:0;transform:none;width:100%;max-width:none;height:var(--header-offset);padding:calc(var(--safe-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) 12px max(12px,env(safe-area-inset-left,0px));box-sizing:border-box;gap:12px}
.header40-wallet{display:none!important}.app-header__user.app-header__chip{flex:1;min-width:0;margin:0}.header40-name{max-width:min(50vw,240px)}
.app-header__deposit{margin-left:auto}.app-header__avatar{width:36px;height:36px;min-width:36px}
.app-main{width:100%;max-width:none!important;box-sizing:border-box;min-height:100dvh!important;height:auto!important;padding:calc(var(--header-offset) + 16px) 0 var(--nav42-reserve)!important;overflow-x:clip;overflow-y:visible;background:#0e0e0e}
.route42{width:100%;min-width:0}.route42>.page,.route42>.game-page-shell,.route42>.home-page,.route42>[class*='_page_'],.route42>[class*='_game_']{width:100%;max-width:none!important;margin-inline:0!important;box-sizing:border-box}
.tilt31-brand{margin:4px auto 20px;top:0}.home-page,.cases-page,.profile-page,.inventory-page,.top-page,.tilt-tasks-page,.upgrade22,.rocket-page,.ice-page,.chicken-road-page{padding-inline:0!important;max-width:none!important;margin-inline:0!important;width:100%;box-sizing:border-box}
.home-banners{gap:12px}.home-banner{border-radius:16px!important;background:#0e0e0e!important}.live-drops{padding-inline:0;margin-inline:0}.cases-grid{gap:12px!important}.cases-page__title,.cases-hero h1,.inventory-page__header,.top-page__brand{padding-inline:12px}
.home-banner .home-banner__img{transform:none!important;object-fit:contain!important;width:100%!important;height:100%!important}
.bottom-nav{left:0;right:0;transform:none;width:100%;max-width:none;bottom:0;top:auto;padding:0;box-sizing:border-box;z-index:2100}
.bottom-nav__pill{width:100%;max-width:none;box-sizing:border-box;border-radius:20px 20px 0 0;padding:8px 8px calc(8px + var(--safe-bottom,0px));margin:0;box-shadow:none}
.bottom-nav__tab--center .bottom-nav__icon,.bottom-nav__tab--center.is-active .bottom-nav__icon{background:var(--primary);filter:none!important;transform:none!important}
.bottom-nav__icon--pop{animation:none!important}.bottom-nav__tab-body{color:#b4b4b4!important}.bottom-nav__tab.is-active .bottom-nav__tab-body{color:#fff!important}
html.bottom-sheet-open .bottom-nav{visibility:visible!important;pointer-events:auto!important}
.bottom-sheet{bottom:var(--nav42-reserve);box-sizing:border-box}.bottom-sheet__panel{max-height:calc(100dvh - var(--header-offset) - var(--nav42-reserve) - 16px)!important}
.bottom-sheet__footer{padding-bottom:16px!important}.bottom-sheet__body{scroll-padding-block:16px}
.bonus31{padding-bottom:calc(var(--nav42-reserve) + 16px)}body:has(.bonus31) .bottom-nav,body:has([class*='_container_12a6j']) .bottom-nav{z-index:100010}
/* A full-width field and full-width controls below it, on every screen size. */
.rocket-page{display:flex!important;flex-direction:column;gap:12px;align-items:stretch}
.rocket-page>*{width:100%;min-width:0;box-sizing:border-box}.rocket-page>.rocket-bet-dock{margin:0;grid-column:auto;grid-row:auto}
.rocket-field{margin:0!important;width:100%;height:clamp(320px,90vw,480px)!important;min-height:0!important;max-height:none!important;flex-shrink:0;aspect-ratio:auto!important;box-sizing:border-box}
.rocket-bet-dock,.game-bet-panel{width:100%;max-width:none;box-sizing:border-box}
.rocket-page>.rocket-actions:empty{display:none}.rocket-history{max-width:100%}
.chicken-road-page{display:flex!important;flex-direction:column;gap:12px}
.chicken-road-page [class*='_stage_li4cn']{width:100%;height:clamp(340px,100vw,480px);aspect-ratio:auto;box-sizing:border-box}
.chicken-road-page [class*='_panel_li4cn']{width:100%;max-width:none;margin:0}
.app-main [class*='_page_17i4f']{padding-inline:0;max-width:none!important}
.ice-page{display:flex;width:100%;gap:12px}.ice-page>.ice-field{width:100%;box-sizing:border-box}.ice-page>.ice-toolbar-v19{width:100%;box-sizing:border-box;padding-inline:12px}
.game-bet-panel,.app-main [class*='_panel_li4cn'],.app-main [class*='_panel_17i4f']{border-radius:16px!important}
/* Restore readable profile groups instead of a squeezed left-hand rail. */
.profile-page{display:flex!important;flex-direction:column;gap:16px}
.profile-page__hero{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;padding:16px;margin:0;box-sizing:border-box;min-width:0}
.profile-page__avatar-ring{width:72px;height:72px;flex:none;margin:0}.profile-page__avatar{width:72px;height:72px}.profile-page__username{margin:0;font-size:20px;overflow-wrap:anywhere}
.profile-page>.vip-club-v21{width:100%;margin:0;box-sizing:border-box;min-width:0;padding:24px}
.profile-page__referral-block{width:100%;padding:16px;box-sizing:border-box;display:flex;flex-direction:column;gap:16px}
.profile-page__ref-hero{width:100%;padding:16px;box-sizing:border-box;border:0}
.profile-page__ref-headline{font-size:24px;line-height:1.4;display:block;margin:12px 0 8px}
.profile-page__ref-headline strong{display:inline;font:inherit;color:var(--primary)}
.profile-page__ref-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px}
.profile-page__ref-stats{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.profile-page__ref-stat{display:grid;grid-template-columns:40px minmax(0,1fr);gap:6px 12px;align-items:center;padding:16px;min-width:0}
.profile-page__ref-stat-icon{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:10px}
.profile-page__ref-stat-label{grid-column:2;grid-row:1;font-size:12px;overflow-wrap:anywhere}
.profile-page__ref-stat-value{grid-column:2;grid-row:2;font-size:22px;min-width:0}
.profile-page__ref-actions{gap:12px}.profile-page__ref-actions button{min-height:48px;min-width:0}
.profile-page__ref-link-box{width:100%;box-sizing:border-box}.profile-page__ref-link-copy{min-width:0}.profile-page__ref-link-text{white-space:normal;overflow-wrap:anywhere}
.profile-page__withdraw{width:100%;box-sizing:border-box;padding:16px}.profile-page__withdraw-body{display:block}
.profile-page__wallet-field{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:16px}.profile-page__wallet-field input{width:100%;box-sizing:border-box;min-height:48px}
.profile-page__withdraw-btn{margin-top:16px;width:100%;min-height:48px;justify-content:center}
.cases-prizes{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.cases-prize .gift-frame-wrap{width:100%;max-width:180px;margin-inline:auto}.cases-prize .gift-frame{width:100%;aspect-ratio:1}.cases-prize .gift-frame img{object-fit:contain}
/* Transitions carry real state changes; game physics are untouched. */
.cases42-detail,.cases42-catalog{animation:view42-enter 220ms cubic-bezier(.16,1,.3,1)}
.case40-reels,.upgrade22-slot img,.inventory-page__grid{animation:view42-enter 180ms cubic-bezier(.16,1,.3,1)}
.app-shell button,.bottom-nav__tab,.bottom-nav__tab-body{transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,opacity 160ms ease}
.bottom-nav__tab.is-active .bottom-nav__icon{filter:none!important}
.rocket-field__countdown-num,.rocket-field__mult{font-family:Onest,system-ui,sans-serif;font-weight:600}
@keyframes view42-enter{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:420px){.profile-page__ref-stat{grid-template-columns:minmax(0,1fr);padding:12px}.profile-page__ref-stat-icon{grid-row:1;grid-column:1}.profile-page__ref-stat-label{grid-column:1;grid-row:2}.profile-page__ref-stat-value{grid-column:1;grid-row:3}.profile-page__ref-actions{flex-direction:column}.profile-page__ref-actions button{width:100%}}
@media(min-width:1024px){
 :root{--header42-row:76px;--nav42-reserve:0px;--desktop42-nav:56px}
 .app-header{padding-inline:20px}.header40-brand{margin-right:auto;min-width:100px}.app-header__user.app-header__chip{flex:0 1 200px}.app-header__deposit{margin-left:0}
 .app-main{padding-top:calc(var(--header-offset) + var(--desktop42-nav) + 16px)!important;padding-bottom:32px!important}
 .bottom-nav{top:var(--header-offset);bottom:auto;left:0;width:100%;padding:0;height:var(--desktop42-nav);background:#0e0e0e}
 .bottom-nav__pill{width:100%;max-width:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;height:56px;padding:0;background:transparent!important;border:0;border-radius:0}
 .bottom-nav__tab,.bottom-nav__tab.is-active,.bottom-nav__tab:hover{width:100%;height:56px;min-height:56px;margin:0;padding:0;border:0;border-radius:0;background:transparent!important;display:flex!important;align-items:center;justify-content:center;position:relative}
 .bottom-nav__tab-body{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;margin:0;padding:0}
 .bottom-nav__tab--center .bottom-nav__tab-body{margin:0}.bottom-nav__tab--center .bottom-nav__icon{width:22px;height:22px;border:0;background:transparent!important;border-radius:0;box-shadow:none}
 .bottom-nav__tab--center .bottom-nav__tab-body:after{font-size:14px;font-weight:500}.bottom-nav__label{font-size:14px;font-weight:500}.bottom-nav__icon{width:22px;height:22px;filter:none!important}
 .bottom-nav__tab:after{position:absolute;content:'';bottom:0;left:25%;right:25%;height:2px;border-radius:2px;background:transparent;transition:background-color 160ms ease}.bottom-nav__tab.is-active:after{background:var(--primary)}
 .bottom-sheet{top:calc(var(--header-offset) + 56px + 8px);bottom:16px}.bottom-sheet__panel{max-height:calc(100dvh - var(--header-offset) - 80px)!important}
 .rocket-field{height:clamp(480px,62dvh,840px)!important;min-height:0!important}.rocket-bet-dock .game-bet-panel{padding:20px!important}
 .chicken-road-page [class*='_stage_li4cn']{height:clamp(480px,65dvh,840px)}
 .profile-page{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch}
 .profile-page__hero{grid-column:1/5;grid-row:1;align-items:center;padding:24px}.profile-page>.vip-club-v21{grid-column:5/-1;grid-row:1;min-width:0}
 .profile-page__referral-block{grid-column:1/-1;grid-row:2;padding:24px;gap:20px}.profile-page__ref-stats{gap:20px}.profile-page__ref-stat-label{font-size:14px}.profile-page__ref-stat-value{font-size:28px}
 .cases-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important}.cases-prizes{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important}
 .inventory-page__grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important}
 .ice-page{display:grid;grid-template-columns:minmax(0,1fr) 360px;margin:0!important;padding:0!important}
 .app-main [class*='_page_17i4f']{grid-template-columns:minmax(0,1fr) 360px;width:100%;margin:0}
 .upgrade22{padding:24px 12px}.upgrade22-stage{gap:32px}.upgrade22-ring{max-width:420px}
 [class*='_gameArea_9k2no']{max-width:none;width:100%;grid-template-columns:minmax(0,1fr) 360px}
}
@media(prefers-reduced-motion:reduce){.cases42-detail,.cases42-catalog,.case40-reels,.upgrade22-slot img,.inventory-page__grid{animation:none}.app-shell button,.bottom-nav__tab,.bottom-nav__tab-body,.bottom-nav__tab:after{transition:none}}
