/* TheMobCity v1.5.238 — modern crime interface.
   Shared component system; gameplay forms, identifiers and event hooks retained. */
:root{color-scheme:dark;--cr-bg:#0c0d10;--cr-surface:#15171d;--cr-raised:#1b1e26;--cr-line:#292d37;--cr-text:#edf0f5;--cr-muted:#929cad;--cr-accent:#893550;--cr-accent-soft:#281923;--bg:var(--cr-bg);--panel:var(--cr-surface);--panel2:var(--cr-raised);--border:var(--cr-line);--text:var(--cr-text);--muted:var(--cr-muted);--gold:#c4ccd9;--cr-ui-gold:#c4ccd9;--cr-ui-focus:#d58ba3;--cr137-bg:var(--cr-bg);--cr137-surface:var(--cr-surface);--cr137-line:var(--cr-line);--cr137-text:var(--cr-text);--cr137-muted:var(--cr-muted)}
html,body.game-shell,body.auth-page{background:#0c0d10!important;background-image:none!important;color:#edf0f5!important;font-family:Inter,'Segoe UI',Arial,sans-serif!important;-webkit-font-smoothing:antialiased}
body.game-shell::before,body.auth-page::before{background:#0c0d10!important;background-image:none!important;box-shadow:none!important}
body.game-shell :is(h1,h2,h3),body.auth-page :is(h1,h2,h3){color:#edf0f5;font-weight:650;letter-spacing:-.035em}
body.game-shell :is(p,.muted),body.auth-page :is(p,.muted){color:#929cad}
body.game-shell a,body.game-shell button,body.auth-page a,body.auth-page button{touch-action:manipulation}
body.game-shell :is(a,button,input,select,textarea):focus-visible,body.auth-page :is(a,button,input,select,textarea):focus-visible{outline:2px solid #d58ba3!important;outline-offset:3px}
/* Page framework */
body.game-shell main#main-content{padding:30px!important;max-width:1440px!important;margin:0 auto!important;min-width:0}
.cr238-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}
.cr238-eyebrow{display:block;color:#a97b8c;font-size:10px;font-weight:650;letter-spacing:.16em;text-transform:uppercase;margin:0 0 10px}
body.game-shell .cr238-page-heading h1{font-size:clamp(26px,2.3vw,36px);font-weight:650;line-height:1.15;margin:0 0 9px;letter-spacing:-.045em}
.cr238-page-heading p{font-size:13px;margin:0;line-height:1.6;color:#929cad}
.cr238-heading-action{flex-shrink:0}
/* One quiet surface treatment across gameplay, community and staff screens. */
body.game-shell :is(.panel,.card,.catalog-card,.crime-card,.cr-compact-card,.stat-card,.dashboard-card,.widget,.feature-card,.activity-card,.section-card,.game-card,.cr-daily-missions,.crsc-panel,.crp-panel),body.auth-page :is(.auth-card,.cr-auth-info){background:#15171d!important;background-image:none!important;border:1px solid #292d37!important;border-radius:14px!important;box-shadow:0 4px 18px #00000012!important}
body.game-shell .panel{padding:22px}
body.game-shell :is(.section-heading,.panel>h2,.crsc-panel>h2,.crp-panel>h2){background:transparent!important;border-color:#292d37!important;color:#edf0f5!important}
body.game-shell .section-heading{margin-bottom:20px;gap:14px;align-items:center}
body.game-shell .section-heading h2{font-size:17px;font-weight:650;letter-spacing:-.025em}
body.game-shell :is(.section-kicker,.section-label,.section-overline){color:#929cad!important;font-size:10px;letter-spacing:.12em}
body.game-shell :is(.button,.btn-primary,.button-primary):not(.danger):not(.success):not(.ghost),body.auth-page .button:not(.danger):not(.success):not(.ghost){display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#84324d!important;background-image:none!important;color:#fff6f9!important;border:1px solid #a34a66!important;border-radius:9px!important;box-shadow:none!important;min-height:42px;padding:10px 16px;font-size:13px;font-weight:600!important;letter-spacing:0!important;transition:background .15s,border-color .15s}
body.game-shell :is(.button,.btn-primary,.button-primary):not(.danger):not(.success):not(.ghost):hover,body.auth-page .button:not(.danger):not(.success):not(.ghost):hover{background:#9a3e5b!important;border-color:#b75b76!important}
body.game-shell .button.ghost,body.auth-page .button.ghost{background:#1b1e26!important;background-image:none!important;color:#cbd3df!important;border:1px solid #343946!important;border-radius:9px!important;box-shadow:none!important;font-weight:550!important}
body.game-shell :is(input,select,textarea),body.auth-page :is(input,select,textarea){background:#101217!important;color:#edf0f5!important;border:1px solid #343946!important;border-radius:9px!important;box-shadow:none!important}
body.game-shell :is(input,textarea)::placeholder,body.auth-page :is(input,textarea)::placeholder{color:#7f8a9d!important}
body.game-shell :is(th,thead){background:#1b1e26!important;color:#a8b3c4!important;border-color:#292d37!important}
body.game-shell :is(td,tr){border-color:#292d37!important}
body.game-shell .page-tip{background:#14171e!important;background-image:none!important;border:1px solid #282e3b!important;border-radius:11px!important;padding:14px 17px!important;margin:0 0 20px!important;font-size:12px!important;color:#a8b3c4!important;box-shadow:none!important}
body.game-shell .page-tip a{color:#c9d1de!important}
/* Header: utility controls share one size; staff permissions remain server-driven. */
body.game-shell .main-shell>header.topbar.cr-v130-header,body.game-shell header.cr-v130-header{background:#101216!important;background-image:none!important;border-bottom:1px solid #252933!important;box-shadow:none!important;padding:0 28px!important}
body.game-shell .cr-v130-inner{min-height:76px!important;gap:16px!important}
body.game-shell .cr-v130-header :is(.cr-v130-search,.cr-v130-location,.cr-v130-bell,.cr-v130-menu,.cr-v130-logout button),body.game-shell .cr-desktop-staff-menu summary{background:#191c23!important;background-image:none!important;border:1px solid #2d323e!important;border-radius:9px!important;color:#c3ccda!important;box-shadow:none!important;font-size:12px!important;font-weight:500!important;min-height:40px!important;height:40px!important}
body.game-shell .cr-v130-search{max-width:440px!important;padding:0 14px!important}
body.game-shell .cr-v130-header .cr-v130-search kbd{background:#222631!important;border-color:#363c49!important;color:#8d99ac!important;font-size:10px!important}
body.game-shell .cr-v130-header .cr-v130-bell,body.game-shell .cr-v130-header .cr-v130-menu{width:40px!important;min-width:40px!important}
body.game-shell .cr-desktop-staff-list{background:#171a21!important;border-color:#343a47!important;border-radius:12px!important;box-shadow:0 12px 32px #0008!important}
body.game-shell .cr-desktop-staff-list a{color:#c3ccda!important;font-weight:500}
body.game-shell .cr-desktop-staff-list a:hover{background:#252a35!important}
/* Navigation: small section labels, generous targets, a single active accent. */
body.game-shell #sidebar{background:#101216!important;background-image:none!important;border-color:#252933!important;box-shadow:none!important}
body.game-shell #sidebar .brand{padding:20px 15px!important;height:76px!important;min-height:76px!important;margin:0!important;border-bottom:1px solid #252933!important}
body.game-shell #sidebar .brand::after{content:none!important}
body.game-shell #sidebar .brand img{width:184px!important;max-width:100%!important;filter:none!important}
body.game-shell #sidebar .nav-group,body.game-shell #sidebar .nav-group+.nav-group{background:transparent!important;border:0!important;border-radius:0!important;margin:0 0 18px!important;padding:0!important;box-shadow:none!important}
body.game-shell #sidebar .nav-label,body.game-shell #sidebar .nav-group:not(.cr5-collapsed)>.nav-label{background:transparent!important;border:0!important;color:#778398!important;font-size:10px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:.09em!important;text-transform:uppercase;padding:8px 12px!important;margin:0 0 4px!important;min-height:0!important;border-radius:0!important}
body.game-shell #sidebar .nav-link{background:transparent!important;color:#a9b4c7!important;border:1px solid transparent!important;border-radius:8px!important;margin:2px 0!important;padding:10px 12px!important;min-height:40px!important;gap:11px!important;font-size:13px!important;font-weight:500!important;line-height:1.35!important;box-shadow:none!important}
body.game-shell #sidebar .nav-link:hover{background:#1a1e27!important;color:#edf0f5!important}
body.game-shell #sidebar .nav-link.active,body.game-shell #sidebar .nav-link[aria-current=page]{background:#281b26!important;border-color:#4b2c3c!important;color:#f2dce5!important;box-shadow:inset 2px 0 #a34a66!important}
body.game-shell #sidebar .nav-link .icon{width:17px!important;height:17px!important;color:#8391a6!important;opacity:1!important}
body.game-shell #sidebar .nav-link.active .icon{color:#d28aa3!important}
body.game-shell #sidebar .cr-redesign-account{background:#101216!important;border-top:1px solid #252933!important;padding:12px!important}
body.game-shell #sidebar .cr-redesign-account button{background:#191c23!important;border:1px solid #303642!important;border-radius:8px!important;color:#b7c2d3!important;font-size:12px!important}
/* Right inspector: balances and live vitals, separated by space rather than stripes. */
body.game-shell>.cr-right-panel{background:#101216!important;background-image:none!important;border-left:1px solid #252933!important}
body.game-shell>.cr-right-panel .cr-rp-inner{padding:26px 20px!important;background:transparent!important}
body.game-shell>.cr-right-panel :is(.cr-rp-title,.cr-rp-section){background:transparent!important;border:0!important;border-radius:0!important;color:#8290a5!important;letter-spacing:.12em!important;font-weight:600!important;font-size:10px!important;line-height:1.5!important;text-transform:uppercase;padding:0!important}
body.game-shell>.cr-right-panel .cr-rp-title{margin:0 0 20px!important;color:#c5cfdf!important;font-size:11px!important;letter-spacing:.08em!important}
body.game-shell>.cr-right-panel .cr-rp-title small{font-size:8px!important;color:#6eac91!important;letter-spacing:.06em!important}
body.game-shell>.cr-right-panel .cr-rp-section{margin:28px 0 12px!important}
body.game-shell>.cr-right-panel .cr-rp-profile{background:transparent!important;border:0!important;border-radius:0!important;padding:0 0 22px!important;border-bottom:1px solid #252933!important;gap:12px!important}
body.game-shell>.cr-right-panel .cr-rp-profile img{width:42px!important;height:42px!important;border:1px solid #3a4251!important;border-radius:11px!important}
body.game-shell>.cr-right-panel .cr-rp-profile strong{font-size:16px!important;font-weight:650!important;color:#e4eaf3!important}
body.game-shell>.cr-right-panel .cr-rp-profile small{font-size:11px!important;color:#8391a6!important}
body.game-shell>.cr-right-panel .cr-rp-money{gap:8px!important}
body.game-shell>.cr-right-panel .cr-rp-money a{background:#171a21!important;border:1px solid #292f3b!important;border-radius:10px!important;padding:13px 10px!important}
body.game-shell>.cr-right-panel .cr-rp-money small{font-size:9px!important;color:#8d9ab0!important;letter-spacing:.04em}
body.game-shell>.cr-right-panel .cr-rp-money strong{font-size:17px!important;letter-spacing:-.03em!important;color:#e1e8f3!important;font-weight:650!important}
body.game-shell>.cr-right-panel .cr-rp-diamonds{background:transparent!important;border:0!important;padding:12px 2px!important;font-size:12px!important;color:#9daac0!important}
body.game-shell>.cr-right-panel .cr-rp-vital{margin:0 0 16px!important}
body.game-shell>.cr-right-panel .cr-rp-vital>div:first-child{font-size:11px!important;color:#a0adc1!important;margin-bottom:8px}
body.game-shell>.cr-right-panel .cr-rp-track{height:4px!important;background:#272e3a!important}
body.game-shell>.cr-right-panel .cr-rp-timers{gap:0!important}
body.game-shell>.cr-right-panel .cr-rp-timer{background:transparent!important;border:0!important;border-bottom:1px solid #252b36!important;border-radius:0!important;padding:12px 2px!important;font-size:12px!important;color:#b7c3d6!important}
body.game-shell>.cr-right-panel .cr-rp-timer strong.cr-ready{color:#8cc3ab!important;font-weight:500!important}
body.game-shell>.cr-right-panel .cr-rp-footer{font-size:11px!important;color:#a487a1!important;margin-top:14px!important}
body.game-shell>.cr-right-panel .cr-rp-season{background:#171a21!important;border:1px solid #2b303d!important;border-radius:10px!important;padding:14px 12px!important;margin-top:26px!important;flex-wrap:wrap}
body.game-shell>.cr-right-panel .cr-rp-season small{font-size:9px!important;color:#8d9ab0!important;letter-spacing:.06em}
/* Crimes: a responsive two-column catalogue with readable risk and reward. */
body.game-shell .cr-compact-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.game-shell .cr-compact-card{position:relative;padding:24px!important;display:flex!important;flex-direction:column!important;gap:0!important;min-width:0;overflow:hidden}
body.game-shell .cr-compact-card::before{content:none!important}
body.game-shell .cr-compact-top{display:flex!important;align-items:flex-start!important;gap:14px!important;margin:0 0 24px!important}
body.game-shell .cr-compact-icon{display:grid!important;place-items:center;width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;background:#241b27!important;color:#bd7e98!important;border:1px solid #453044!important;border-radius:11px!important;box-shadow:none!important}
body.game-shell .cr-compact-icon svg{width:21px!important;height:21px!important}
body.game-shell .cr-compact-name h2{font-size:21px!important;letter-spacing:-.035em!important;font-weight:650!important;line-height:1.2!important;margin:1px 0 7px!important}
body.game-shell .cr-compact-reward{font-size:16px!important;font-weight:550!important;color:#a5b0c1!important;letter-spacing:-.02em}
.cr238-chance{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;margin-bottom:18px;font-size:11px;color:#8795aa}
.cr238-chance strong{font-size:12px;font-weight:600;color:#b2c7be}
.cr238-chance-track{grid-column:1/-1;height:3px;border-radius:3px;background:#292f3a;overflow:hidden}
.cr238-chance-track i{display:block;height:100%;background:#719787;border-radius:3px}
body.game-shell .cr-compact-meta{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;margin:0 0 24px!important}
body.game-shell .cr-compact-meta span{display:inline-flex!important;align-items:center!important;gap:5px!important;background:transparent!important;border:0!important;padding:0!important;color:#8291a8!important;font-size:11px!important}
body.game-shell .cr-compact-meta .icon{width:13px;height:13px;color:#6e7d93}
body.game-shell .cr-compact-card .action-form{margin-top:auto!important}
body.game-shell .cr-compact-card .action-form .button{width:100%;min-height:43px;font-size:12px!important}
body.game-shell .cr-compact-note{font-size:11px!important;color:#929cad!important;margin:0 0 14px!important}
/* Dashboard hierarchy */
body.game-shell[data-page=dashboard] #main-content{display:flex;flex-direction:column}
body.game-shell[data-page=dashboard] #main-content>.cr238-page-heading{order:0}
body.game-shell[data-page=dashboard] #main-content>.cr137-actions{order:1}
body.game-shell[data-page=dashboard] #main-content>.dashboard-top{order:2}
body.game-shell[data-page=dashboard] #main-content>.wealth-grid{order:3}
body.game-shell[data-page=dashboard] #main-content>.vitals{order:4}
body.game-shell[data-page=dashboard] #main-content>.content-grid{order:5}
body.game-shell[data-page=dashboard] #main-content>.cr-challenges{order:6}
body.game-shell[data-page=dashboard] #main-content>.cr-police-entry{order:7;margin:0 0 20px}
body.game-shell[data-page=dashboard] #main-content>#notifications{order:8}
body.game-shell[data-page=dashboard] #main-content>.footer{order:20}
body.game-shell #main-content .cr137-actions{gap:10px!important;margin:0 0 24px!important}
body.game-shell #main-content nav.cr137-actions a.cr137-action{flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;gap:10px!important;min-height:58px!important;padding:12px 16px!important;background:#15171d!important;background-image:none!important;border:1px solid #2a2f3a!important;border-radius:10px!important;box-shadow:none!important;transform:none!important}
body.game-shell #main-content nav.cr137-actions .cr137-action>span{font-size:18px!important;color:#9b7792!important;line-height:1!important}
body.game-shell #main-content nav.cr137-actions .cr137-action strong{font-size:12px!important;font-weight:550!important;color:#b5c1d3!important}
body.game-shell #main-content nav.cr137-actions .cr137-action .icon{width:19px;height:19px}
body.game-shell #main-content .dashboard-top{gap:18px;margin-bottom:20px}
body.game-shell #main-content .season-hero{background-color:#13151c!important;background-image:linear-gradient(100deg,#10131cf2,#14151c66),url('/assets/cityscape.svg')!important;border:1px solid #303340;border-radius:14px!important;min-height:290px;box-shadow:none!important}
body.game-shell #main-content .hero-content{padding:28px}
body.game-shell #main-content .hero-content h2{font-size:34px;line-height:1.08;font-weight:600;letter-spacing:-.04em}
body.game-shell #main-content .hero-content h2 em{color:#c0a4b5;font-style:normal}
body.game-shell #main-content .hero-content p{font-size:12px;color:#8794a9;line-height:1.7}
body.game-shell #main-content .season-tag{background:transparent;border:0;padding:0;color:#8e9ab0;font-size:9px;letter-spacing:.12em}
body.game-shell #main-content .hero-caption{border-color:#292d37;color:#708099;font-size:8px}
body.game-shell #main-content .identity-card{padding:23px!important}
body.game-shell #main-content .identity-main h2{font-size:25px;font-weight:650}
body.game-shell #main-content .wealth-card{background:#15171d!important;border:1px solid #292d37!important;border-radius:12px!important;box-shadow:none!important;padding:20px!important}
body.game-shell #main-content .wealth-card strong{font-size:25px;letter-spacing:-.04em;font-weight:600;color:#e1e8f2}
body.game-shell #main-content .wealth-card :is(span,small){color:#8694a9}
body.game-shell #main-content .stat-icon{background:#23202d!important;color:#b191ad!important;border:0!important;border-radius:10px!important}
body.game-shell #main-content .cr-challenges{background:#15171d!important;border:1px solid #292d37!important;border-radius:14px!important;padding:24px!important;margin:0 0 24px!important;box-shadow:none!important}
body.game-shell #main-content .cr-challenges-title h2{font-size:21px!important;font-weight:650!important}
body.game-shell #main-content .cr-challenges-title p{font-size:12px!important;color:#929cad!important}
body.game-shell #main-content .cr-challenges-title>div>span{color:#9f839d!important;font-size:9px!important;letter-spacing:.12em}
body.game-shell #main-content .quick-action{background:#1a1d25!important;border:1px solid #2b313e!important;border-radius:10px!important;padding:15px!important}
body.game-shell #main-content .quick-action strong{font-size:13px;font-weight:550;color:#c9d3e3}
body.game-shell #main-content .quick-action small{font-size:11px;color:#8492a7}
body.game-shell #main-content .quick-icon{background:#282132;color:#b08ba5;border-radius:9px}
body.game-shell .footer{padding:20px 0!important;margin-top:24px!important;border-top:1px solid #242a35!important;color:#718097!important;font-size:10px!important}
/* Banking and training retain their forms within the shared card system. */
body.game-shell[data-page=bank] #main-content>.three-grid{align-items:stretch;gap:18px}
body.game-shell[data-page=bank] #main-content>.three-grid>.panel{display:flex;flex-direction:column}
body.game-shell[data-page=bank] #main-content>.three-grid>.panel>form{display:flex;flex-direction:column;flex:1}
body.game-shell[data-page=bank] #main-content>.three-grid>.panel>form>.button{margin-top:auto}
body.game-shell .cr-train-head h2{font-size:18px!important;font-weight:600!important;letter-spacing:-.025em!important}
body.game-shell .cr-train-head p{font-size:12px!important;color:#929cad!important}
body.game-shell .cr-train-energy{background:#1a1f28!important;border:1px solid #343e4d!important;border-radius:10px!important}
body.game-shell #sidebar .cr-feature-upload-link{background:#151920!important;border:1px solid #292f3d!important;border-radius:8px!important;color:#9eacc3!important;font-size:11px!important;padding:10px!important;min-height:36px}

/* Account access: a focused card, calm surfaces, and a single accent. */
body.auth-page{background:radial-gradient(ellipse at 50% 0,#261822 0,transparent 50%),#0c0d10!important}
body.auth-page .auth-card{padding:30px!important;border-radius:16px!important}
body.auth-page .auth-card h1{font-size:28px!important;font-weight:650!important;letter-spacing:-.04em!important}
body.auth-page .auth-card>p{font-size:13px!important;line-height:1.65;color:#929cad!important}
body.auth-page .auth-card label{font-size:12px!important;font-weight:550!important;color:#adb9cb!important}
body.auth-page .auth-card input:not([type=checkbox]){min-height:46px!important;font-size:14px!important;padding:12px 14px!important}
body.auth-page .cr-auth-tabs{background:#11141a!important;border-color:#2b313d!important;border-radius:12px!important;padding:4px!important}
body.auth-page .cr-auth-tabs a{background:transparent!important;color:#8b99af!important;border-radius:8px!important;font-size:13px!important;font-weight:550!important}
body.auth-page .cr-auth-tabs a.active{background:#2a1d29!important;color:#e6c5d5!important;box-shadow:none!important}
body.auth-page .cr-auth-stats>div{background:#12151b!important;border-color:#292f3c!important;border-radius:10px!important}
body.auth-page .cr-auth-stats strong{font-size:18px!important;color:#c6d1e2!important;font-weight:550!important}
body.auth-page .cr-auth-stats span{font-size:10px!important;color:#7e8da4!important}
body.auth-page :is(.cr-auth-info,.cr-auth-steps>div){background:#12151b!important;border-color:#292f3c!important;color:#a4b1c6!important}
/* Desktop shell; the tablet/mobile drawer keeps its existing event hooks. */
@media(min-width:1180px){
 body.game-shell{--cr-right-width:288px!important;--cr-left-width:228px}
 body.game-shell>#sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--cr-left-width)!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0 12px!important}
 body.game-shell>#sidebar .nav-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;max-height:none!important;padding:18px 0!important;scrollbar-width:thin;scrollbar-color:#303642 transparent}
 body.game-shell>.main-shell{margin-left:var(--cr-left-width)!important;margin-right:var(--cr-right-width)!important;width:auto!important;min-width:0!important}
 body.game-shell>.cr-right-panel{position:fixed!important;top:0!important;right:0!important;bottom:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;width:var(--cr-right-width)!important;overflow-y:auto!important;scrollbar-width:thin!important}
 body.game-shell .cr-v130-inner{display:flex!important;justify-content:space-between!important}
 body.game-shell .cr-v130-brand{display:none!important}
 body.game-shell .cr-v130-search{flex:1!important;min-width:0!important}
 body.game-shell .cr-v130-actions{flex:none!important;gap:8px!important}
}
@media(min-width:1180px) and (max-width:1450px){
 body.game-shell{--cr-right-width:252px!important;--cr-left-width:208px}
 body.game-shell main#main-content{padding:24px!important}
 body.game-shell>.cr-right-panel .cr-rp-inner{padding:24px 15px!important}
 body.game-shell .cr-v130-header .cr-v130-logout button span{display:none!important}
 body.game-shell .cr-v130-header .cr-v130-location{max-width:140px!important}
 body.game-shell .cr-compact-card{padding:20px!important}
 body.game-shell #main-content nav.cr137-actions a.cr137-action{padding:12px 10px!important;gap:7px!important}
 body.game-shell #main-content .dashboard-top{grid-template-columns:1fr!important}
}
@media(min-width:901px) and (max-width:1179px){
 body.game-shell #sidebar{width:208px!important}
 body.game-shell>.main-shell{margin-left:208px!important;margin-right:0!important}
 body.game-shell .cr-v130-inner{display:flex!important}
 body.game-shell .cr-v130-brand{display:none!important}
 body.game-shell .cr-v130-search{flex:1;min-width:0}
 body.game-shell .cr-v130-header .cr-v130-logout button span{display:none!important}
}
/* Mobile is a first-class layout, not a scaled desktop. */
@media(max-width:900px){
 body.game-shell main#main-content{padding:22px 16px calc(105px + env(safe-area-inset-bottom))!important}
 body.game-shell .main-shell>header.topbar.cr-v130-header,body.game-shell header.cr-v130-header{padding:12px 16px!important}
 body.game-shell .cr-v130-inner{min-height:0!important;gap:10px!important}
 body.game-shell .cr-v130-search{max-width:none!important}
 body.game-shell .cr238-page-heading{gap:12px;margin:0 0 22px;align-items:flex-start;flex-direction:column}
 body.game-shell .cr238-page-heading h1{font-size:28px!important}
 body.game-shell .cr238-page-heading p{font-size:12px;max-width:34em}
 body.game-shell .cr238-heading-action{min-height:38px!important;font-size:12px!important;padding:8px 12px!important}
 body.game-shell .cr-hud{background:#101216!important;border-bottom:1px solid #252b36!important;padding:12px 16px!important;box-shadow:none!important}
 body.game-shell :is(.cr-hud-wallet,.cr-hud-coins,.cr-hud-vital){background:#171a22!important;border:1px solid #2b313e!important;border-radius:9px!important;box-shadow:none!important}
 body.game-shell .cr-hud-wallet-info strong{font-size:15px!important;font-weight:600!important;color:#dce5f2!important}
 body.game-shell .cr-hud-vital-top{font-size:9px!important;color:#98a6bc!important}
 body.game-shell .cr-hud-vital .cr-hud-track{height:3px!important;background:#2d3442!important}
 body.game-shell nav.bottom-nav.cr3-bottom{background:#11141aF5!important;background-image:none!important;border:1px solid #323947!important;border-radius:16px!important;left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;padding:5px!important;gap:2px!important;box-shadow:0 8px 28px #0008!important}
 body.game-shell nav.bottom-nav.cr3-bottom>a,body.game-shell nav.bottom-nav.cr3-bottom>button{background:transparent!important;border:0!important;border-radius:11px!important;min-height:51px!important;font-size:9px!important;font-weight:550!important;gap:5px!important;color:#8b9ab1!important;box-shadow:none!important}
 body.game-shell nav.bottom-nav.cr3-bottom>a.active{background:#302030!important;color:#ebcddd!important}
 body.game-shell nav.bottom-nav.cr3-bottom>a.active::before{content:none!important}
 body.game-shell nav.bottom-nav.cr3-bottom .icon{width:19px!important;height:19px!important}
 body.game-shell #sidebar .cr-menu-head{background:#101216!important;border-color:#292f3b!important;padding:18px 20px!important;margin-bottom:16px!important}
 body.game-shell #sidebar .cr-menu-head>span{font-size:12px!important;color:#c6d1e2!important;letter-spacing:.1em!important;font-weight:600!important}
 body.game-shell #sidebar .cr-menu-close{background:#202530!important;border:1px solid #3b4353!important;border-radius:9px!important;color:#aebed4!important}
 body.game-shell #sidebar .nav-scroll{padding:0 16px 16px!important}
 body.game-shell #sidebar .cr5-profile{background:#171b23!important;border:1px solid #303744!important;border-radius:11px!important;padding:14px!important;margin:0 16px 16px!important;box-shadow:none!important}
 body.game-shell #sidebar .cr5-profile img{border:1px solid #465269!important;border-radius:10px!important}
 body.game-shell #sidebar .cr5-search{background:#151a22!important;border-color:#343e4d!important;border-radius:9px!important;font-size:14px!important}
 body.game-shell #sidebar .cr5-quick a{background:#1c212b!important;border-color:#333d4c!important;border-radius:9px!important;color:#b0bed3!important;box-shadow:none!important}
 body.game-shell .cr-staff-panel{background:#151a22!important;border:1px solid #394456!important;border-radius:16px!important;box-shadow:0 12px 40px #0008!important}
 body.game-shell .cr-staff-action{background:#1d2430!important;border-color:#3a4659!important;color:#c8d4e7!important}
 body.game-shell #main-content nav.cr137-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 body.game-shell #main-content nav.cr137-actions a.cr137-action{padding:11px!important;min-height:52px!important;gap:8px!important}
 body.game-shell #main-content nav.cr137-actions .cr137-action strong{font-size:11px!important}
 body.game-shell #main-content .dashboard-top{grid-template-columns:1fr!important}
 body.game-shell #main-content .season-hero{min-height:248px!important}
 body.game-shell #main-content .hero-content h2{font-size:30px!important}
 body.game-shell #main-content .cr-challenges{padding:20px!important}
}
@media(max-width:650px){
 body.game-shell .cr-compact-grid{grid-template-columns:1fr!important;gap:14px!important}
 body.game-shell .cr-compact-card{padding:22px!important}
 body.game-shell .cr-compact-top{margin-bottom:22px!important}
 body.game-shell .cr-compact-name h2{font-size:21px!important}
 body.game-shell .panel{padding:18px}
 body.game-shell .cr-compact-intro{align-items:flex-start!important;font-size:11px!important;line-height:1.65}
 body.game-shell .cr-compact-intro>a{white-space:nowrap}
 body.auth-page .auth-card{padding:24px!important}
 body.auth-page .auth-card h1{font-size:26px!important}
 body.auth-page .auth-card input:not([type=checkbox]){font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){body.game-shell *,body.auth-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
