/* November 27 adjustments: the user's latest screenshots are authoritative. */
.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
.header40-brand{display:flex!important;grid-column:2;grid-row:1;align-items:center;justify-content:center;gap:6px;margin:0!important;padding:0;border:0;background:none;color:#f5f5f5;font:650 20px Onest,system-ui,sans-serif;letter-spacing:.02em;min-height:44px;min-width:0}
.header40-brand img{width:26px;height:26px;object-fit:contain}
.app-header__user.app-header__chip{grid-column:1;grid-row:1;justify-self:start;min-width:0;max-width:100%;margin:0}
.app-header__deposit{grid-column:3;grid-row:1;justify-self:end;margin:0!important;min-width:0;border-radius:24px;background:#292929!important;border:1px solid #ffffff14;padding:0 10px 0 12px;gap:7px;box-shadow:none}
.app-header__deposit:hover{background:#363636!important}.app-header__deposit>.lucide24{width:24px;height:24px;box-sizing:border-box;padding:3px;border-radius:50%;background:var(--primary)}
.app-header__deposit .app-header__gram{filter:none;color:#fff}.header40-name{max-width:100px}.app-main>.tilt31-brand{display:none}
.app-header__deposit:active{transform:scale(.98)}
/* Crop only the white export border in the existing assets. No replacement artwork. */
.home-banner{overflow:hidden!important;border-radius:20px!important;background:#0e0e0e!important;isolation:isolate}
.home-banner--tiltplay .home-banner__img,.home-banner--ice .home-banner__img{object-fit:cover!important;transform:scale(1.055)!important;transform-origin:center}
.profile-page__avatar-ring,.profile-page__avatar{width:112px;height:112px}.profile-page__username{font-size:28px;font-weight:600}.profile-page__hero{gap:24px}
.upgrade22-slot{border-radius:16px;aspect-ratio:1.25;min-height:0;justify-content:center;max-width:340px;width:100%;justify-self:center;box-sizing:border-box}
.upgrade22{padding-inline:16px!important}.upgrade22-stage{gap:24px}.upgrade22-slot strong{font-weight:500}
/* The screenshot's rectangle is an input outline, not selected text. Keep normal
   selection/paste and a soft rounded keyboard indicator on the containing field. */
input[inputmode=decimal]:focus,input[inputmode=decimal]:focus-visible,.deposit-sheet__amount-input:focus,.game-bet-panel__amount-input:focus,.rocket-auto-row__coef-input:focus{outline:0!important;box-shadow:none!important;border-color:transparent!important}
.deposit-sheet__amount-box:has(input:focus-visible),.game-bet-panel__amount-box:has(input:focus-visible){box-shadow:inset 0 0 0 1px #777!important}
.deposit-sheet__amount-input{border-radius:10px}
.case40-count button.is-active,.upgrade22-multipliers .is-active,.game-bet-panel__preset.is-active,.game-bet-panel__diff.is-active{background:#58313a!important;color:#fff!important}
.app-main [class*='_quickRow_li4cn'] [class*='_quickMax_li4cn'],.app-main [class*='_tierBtnActive_17i4f']{background:#58313a!important;color:#fff!important}
.deposit37 .deposit-sheet__tab.is-active{background:#58313a!important;background-image:none!important;color:#fff}
.inventory-page__grid,.cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:379px){.header40-name{max-width:54px}.app-header__avatar{width:30px;height:30px;min-width:30px}.header40-brand{font-size:18px;gap:4px}.header40-brand img{width:22px;height:22px}.app-header__deposit{padding:0 8px;gap:4px}.app-header__deposit>.lucide24{display:none}.app-header__amount{font-size:11px}.app-header__deposit .app-header__gram{width:12px}}
@media(min-width:768px) and (max-width:1023px){.inventory-page__grid,.cases-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:1024px){
 .header40-brand{font-size:24px;gap:8px}.header40-brand img{width:30px;height:30px}.app-header__user.app-header__chip{max-width:320px}.header40-name{max-width:240px;font-size:14px}
 .inventory-page__grid,.cases-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}.cases-prizes{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .profile-page__hero{padding:28px}.profile-page__avatar-ring,.profile-page__avatar{width:128px;height:128px}.profile-page__username{font-size:32px}
 .upgrade22{padding-inline:32px!important}.upgrade22-stage{grid-template-columns:minmax(200px,1fr) minmax(300px,1.4fr) minmax(200px,1fr);gap:32px}.upgrade22-slot{aspect-ratio:1.12;min-height:260px;max-width:340px}
 .rocket-page{display:grid!important;grid-template-columns:minmax(0,7fr) minmax(250px,1fr);gap:16px;align-items:start}
 .rocket-page>*{grid-column:1;min-width:0}.rocket-page>.rocket-field{grid-row:1;height:clamp(420px,58dvh,680px)!important}
 .rocket-page>.rocket-bet-dock{grid-column:2!important;grid-row:1/5!important;align-self:start;padding:0}.rocket-bet-dock .game-bet-panel{padding:12px!important;gap:10px}.rocket-bet-dock .game-bet-panel__preset{font-size:10px;padding-inline:3px}.rocket-bet-dock .rocket-auto-row{padding:8px;gap:6px}.rocket-bet-dock .rocket-auto-row__label{font-size:11px}
 /* Square arena coordinates stay unchanged; constrain the actual field size. */
 .ice-page{grid-template-columns:650px 340px;justify-content:center;column-gap:16px;align-items:start}
 .ice-page>.ice-field{width:min(100%,650px)!important;justify-self:center;align-self:start}
 .app-main [class*='_page_17i4f']{grid-template-columns:650px 340px;justify-content:center;column-gap:16px;align-items:start}
 .app-main [class*='_fieldWrap_17i4f']{width:min(100%,650px);justify-self:center;align-self:start}
 .case-reel--horizontal .case-reel__viewport{--cell-ratio:4.8}.case40-reels.is-multi .case-reel__viewport{--cell-ratio:4.8}
}
@media(prefers-reduced-motion:reduce){.app-header__deposit:active{transform:none}}
