/* A separate app shell and screen layouts for phones. Desktop keeps its own header and city strip. */
.mobile-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:12px;padding:6px 12px;padding-top:max(6px,env(safe-area-inset-top));height:calc(58px + env(safe-area-inset-top));background:#0d151bf5;border-bottom:1px solid #ffffff15;backdrop-filter:blur(14px)}
.mobile-header button{background:none;border:0;padding:0;min-height:44px}.mobile-header .mobile-brand{width:126px;margin-right:auto}.mobile-brand img{display:block;width:126px;height:46px;object-fit:contain}.mobile-header>span{font-size:12px;color:#87d6b0;white-space:nowrap}.mobile-header .mobile-menu-trigger{width:44px;font-size:24px;color:#e9c67d}
.mobile-player{margin:12px 12px 0;padding:14px;border:1px solid #ffffff16;border-radius:16px;background:linear-gradient(135deg,#1d2b31ed,#111d24f5)}.mobile-player-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.mobile-identity{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;min-width:0;text-transform:none;text-align:left}.mobile-identity img{width:44px;height:44px;border-radius:12px;object-fit:cover;flex-shrink:0}.mobile-identity>span{min-width:0}.mobile-identity strong{display:block;font-size:16px;overflow-wrap:anywhere}.mobile-identity small{display:block;font-size:11px;color:#a7bbc4;line-height:1.5}.mobile-vip{font-size:10px;color:#e4c57d;max-width:90px;text-align:right}.mobile-balances{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px;margin:12px 0}.mobile-balances button{background:#0b151b;border:1px solid #ffffff0d;border-radius:9px;text-align:left;padding:9px 11px;min-width:0;text-transform:none}.mobile-balances span{display:block;font-size:9px;color:#91a8b4;letter-spacing:.09em}.mobile-balances strong{display:block;font-size:17px;color:#abebc0;margin-top:4px;overflow-wrap:anywhere}.mobile-balances button+button strong{color:#f0cf8a}.mobile-vitals{display:grid;gap:7px}.mobile-meter{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:11px}.mobile-meter>span{color:#adc1cb}.mobile-meter>div{height:7px;border-radius:20px;background:#060e15;overflow:hidden}.mobile-meter i{height:100%;display:block;border-radius:20px;background:#63b6ee}.mobile-meter.health i{background:#e16f75}.mobile-meter.xp i{background:#d4b26b}.mobile-meter b{font-size:10px;font-weight:500;color:#d0dce2;font-variant-numeric:tabular-nums}.mobile-player-details{margin-top:11px;border-top:1px solid #ffffff13}.mobile-player-details summary{display:flex;align-items:center;justify-content:space-between;padding-top:10px;cursor:pointer;font-size:11px;color:#9fbbc8;list-style:none;min-height:30px}.mobile-player-details summary::-webkit-details-marker{display:none}.mobile-stats{padding-top:12px}.mobile-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.mobile-stat-grid>div{display:flex;gap:6px;justify-content:space-between;padding:8px;background:#ffffff05;border-radius:6px;font-size:11px}.mobile-stat-grid span{color:#a9bbc4}.mobile-recharge{width:100%;font-size:12px}.mobile-status{width:100%;padding:10px;margin-top:10px;border-color:#c39e5277;background:#72572b33;white-space:normal;color:#f5cf86;font-size:12px}
.mobile-page-context{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:15px 14px 10px}.mobile-page-context strong{font-size:14px}.mobile-page-context>span{font-size:10px;color:#9aabb7;font-variant-numeric:tabular-nums}
.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;border-top:1px solid #ffffff20;background:#101a21f7;padding:5px 6px calc(6px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:52px;min-width:0;border:0;border-radius:9px;background:transparent;color:#9fb1bb;padding:4px 0;font-size:10px;text-transform:none}.mobile-bottom-nav button>span{font-size:23px;line-height:24px}.mobile-bottom-nav button[aria-current="page"]{color:#f3cf86;background:#edc36c13}
.mobile-city-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border:0;padding:16px 16px calc(22px + env(safe-area-inset-bottom));background:#0e1922;color:#eaf0f4;overflow-y:auto;overscroll-behavior:contain}.mobile-city-dialog::backdrop{background:#0009}.mobile-city-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.mobile-city-dialog header h2{font-size:22px;margin:4px 0}.mobile-city-dialog header small{font-size:10px;color:#e6c47a;letter-spacing:.14em}.mobile-city-dialog header button{width:44px;height:44px;font-size:19px}.mobile-city-dialog .user-search{display:block;position:relative;width:100%;height:auto;margin:0 0 18px;background:transparent;border:0;padding:0}.mobile-city-dialog .user-search input{font-size:16px;min-height:46px}.mobile-city-dialog .user-search button{min-height:44px}.mobile-city-dialog .user-search-dropdown{width:100%;max-width:100%;right:0;left:0}.mobile-city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mobile-city-grid>button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-width:0;padding:0 0 10px;overflow:hidden;background:#182630;border:1px solid #ffffff12;border-radius:12px;color:#d5e0e6;text-transform:none;font-size:11px;line-height:1.4}.mobile-city-grid img{display:block;width:100%;height:64px;object-fit:cover;background:#101d26}.mobile-city-grid span{padding:0 4px;overflow-wrap:anywhere}.mobile-city-grid>button.active{border-color:#d9b66c;color:#f6d590;background:#3f3826}.mobile-city-dialog .mobile-logout{display:block;width:100%;margin-top:20px;color:#f7aaaa;min-height:46px;background:#54252a44}
@media(max-width:767px){
 html{scroll-padding-top:66px}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body:has(.mobile-city-dialog[open]){overflow:hidden}
 .mobile-shell{width:100%;min-width:0;padding:0 0 calc(82px + env(safe-area-inset-bottom));min-height:100dvh}.mobile-shell>*{min-width:0}.mobile-shell .game-content{width:auto;max-width:none;min-width:0;margin:0 10px;border:1px solid #ffffff13;border-radius:14px;background:#101b23ed;min-height:30vh;box-shadow:none}
 .mobile-shell .game-content :is(section,article,header,form,div){min-width:0}.mobile-shell :is(button,input,select,textarea){font-family:inherit}.mobile-shell button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.mobile-shell :is(input,select,textarea){font-size:16px;max-width:100%;width:100%;min-width:0}.mobile-shell :is(h1,h2,h3,h4,p,strong,small,span,em){overflow-wrap:anywhere}.mobile-shell :is(p,li){line-height:1.6}.mobile-shell img{max-width:100%}
 .mobile-shell :is(.panel-page,.underworld-page,.profile-screen,.newspaper,.help-page){padding:14px 12px;margin:0;width:100%;min-width:0}.mobile-shell .page-heading h1{font-size:22px;line-height:1.2;margin:0 0 8px}.mobile-shell .page-heading p{font-size:12px;line-height:1.6;margin:0 0 16px}.mobile-shell :is(.under-panel,.profile-main-card,.bank-panel,.inventory-card,.ranking-full,.help-list){padding:12px;margin:12px 0;border-radius:10px}
 .mobile-shell :is(.crime-list,.shop-grid,.asset-grid,.profile-grid,.profile-main-card:first-of-type,.pvp-grid,.assassin-grid,.gang-command-grid,.gang-hero,.gang-hero-v51,.gang-edit-grid,.subworld-grid,.split-panel,.credit-grid,.vip-grid,.ranking-board-grid,.levels-grid,.messages-layout,.profile-status-card,.help-card-grid,.virtual-raid-grid,.subworld-guide-grid,.crimecity-grid,.rankings-grid,.upload-row,.event-grid,.news-grid,.mission-grid,.career-grid,.territory-benefits){grid-template-columns:minmax(0,1fr)}
 .mobile-shell :is(.profile-tabs,.profile-stats){grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mobile-shell .profile-tabs button{font-size:11px;padding:6px}.mobile-shell .profile-hero{display:flex;flex-wrap:wrap;gap:12px;padding:12px}.mobile-shell .profile-table div{grid-template-columns:minmax(0,1fr);gap:4px}.mobile-shell .profile-table strong{white-space:normal}.mobile-shell .avatar-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-shell :is(.profile-main-card,.achievements-card){max-width:100%}.mobile-shell .profile-main-card:first-of-type{display:grid}.mobile-shell .skill-list article{grid-template-columns:minmax(0,1fr) 50px}.mobile-shell .avatar-model-grid img{max-height:100px;object-fit:contain}
 .mobile-shell .paper-title{padding:8px;flex-wrap:wrap;justify-content:center}.mobile-shell .paper-title img{max-width:180px;height:auto}.mobile-shell .paper-title span{font-size:15px}.mobile-shell .season-ticker{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mobile-shell .season-ticker>*{font-size:11px;min-width:0;padding:8px}.mobile-shell .season-ticker button{grid-column:1/-1}.mobile-shell .crimecity-card{padding:12px;min-height:0}.mobile-shell .crimecity-card h3{font-size:14px}.mobile-shell .crimecity-card p{font-size:12px}.mobile-shell .crimecity-player{grid-template-columns:38px 8px minmax(0,1fr);gap:6px;padding:8px}.mobile-shell .crimecity-player .profile-avatar-img.small{width:38px;height:38px}.mobile-shell .crimecity-player strong{font-size:13px}.mobile-shell .crimecity-player small{font-size:11px}.mobile-shell .progression-summary{grid-template-columns:minmax(0,1fr);padding:10px;gap:8px}.mobile-shell .progression-summary button{padding:10px;text-align:left;min-height:58px}
 .mobile-shell .solo-robbery-panel{padding:10px;gap:10px}.mobile-shell .solo-robbery-head h2{font-size:16px}.mobile-shell .solo-filter-row{display:flex;gap:6px;flex-wrap:wrap}.mobile-shell .solo-filter-row button{font-size:11px;min-height:38px;padding:6px 8px}.mobile-shell .solo-selected{grid-template-columns:auto minmax(0,1fr);gap:6px;padding:8px}.mobile-shell .solo-selected small{font-size:10px}.mobile-shell .solo-crime-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:440px;padding:2px;overscroll-behavior-y:contain}.mobile-shell .solo-crime-cards .solo-crime-card{padding:9px;gap:7px;min-height:172px;height:auto;border-radius:10px}.mobile-shell .crime-card-top{flex-wrap:wrap;justify-content:flex-start;gap:4px}.mobile-shell .solo-crime-card .sp-badge{font-size:10px;min-width:0;padding:4px 6px}.mobile-shell .crime-card-state{font-size:9px}.mobile-shell .solo-crime-card strong{font-size:12px;line-height:1.4}.mobile-shell .crime-card-reward{font-size:11px}.mobile-shell .crime-card-details{font-size:9px}.mobile-shell .solo-action-bar{grid-template-columns:minmax(0,1fr);gap:9px}.mobile-shell .solo-action-bar>*{grid-column:1;grid-row:auto}.mobile-shell .solo-options-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mobile-shell .solo-options-row button{padding:7px;font-size:10px;min-height:44px;justify-content:flex-start;text-align:left}.mobile-shell .solo-summary-row{display:flex;flex-wrap:wrap;font-size:10px}.mobile-shell .solo-rob-button{width:100%;min-width:0;font-size:14px;min-height:48px}.mobile-shell .virtual-raid-card{padding:12px}.mobile-shell .crime-meta{grid-template-columns:repeat(2,minmax(0,1fr));font-size:11px}.mobile-shell .crime-card{padding:12px}.mobile-shell .crime-card h2{font-size:17px}
 .mobile-shell :is(.target-row,.gang-list article,.gang-rival-grid article){grid-template-columns:minmax(0,1fr);gap:10px}.mobile-shell .target-row button{width:100%}.mobile-shell .gang-quick-stats{flex-wrap:wrap;gap:8px}.mobile-shell .gang-hero-v51 h2{font-size:21px}.mobile-shell .gang-truck-card img{height:130px;width:100%;object-fit:contain}.mobile-shell .gang-member-list{overflow-wrap:anywhere}.mobile-shell .gang-list article strong{font-size:14px}.mobile-shell .truck-level-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mobile-shell .market-good-row.under-row{grid-template-columns:52px minmax(0,1fr);gap:10px;padding:12px}.mobile-shell .market-good-row>img{width:52px;height:52px}.mobile-shell .under-row:not(.market-good-row){grid-template-columns:minmax(0,1fr)}.mobile-shell .market-good-row .under-trade,.mobile-shell .market-good-row .under-actions{grid-column:1/-1}.mobile-shell .under-actions{flex-wrap:wrap}.mobile-shell .under-row input{width:100%}.mobile-shell .under-row button{min-width:0}.mobile-shell .under-page-panel>header{flex-wrap:wrap;gap:12px}.mobile-shell .addiction-panel{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.mobile-shell .addiction-panel em{grid-column:1/-1}
 .mobile-shell .vip-page .vip-status{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-shell .vip-status>button{grid-column:1/-1;font-size:12px}.mobile-shell .bank-actions{display:flex;flex-direction:column;gap:9px}.mobile-shell .bank-actions>*{width:100%;min-width:0}.mobile-shell .button-row>*{flex:1 1 100%;min-width:0}.mobile-shell .equipment-inventory-row,.mobile-shell .equipment-card-head{flex-wrap:wrap;gap:8px}.mobile-shell .equipment-shop-card{min-height:0}.mobile-shell .equipment-meta{gap:6px;font-size:11px}.mobile-shell .equipment-section-head{flex-wrap:wrap;gap:8px}.mobile-shell .equipment-section h2{font-size:17px}
 .mobile-shell .rank-row,.mobile-shell .compact-ranking .rank-row{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:12px 0;font-size:12px}.mobile-shell .rank-row>em,.mobile-shell .rank-row>small{grid-column:2}.mobile-shell .player-link{min-height:36px;text-align:left;white-space:normal}.mobile-shell .mini-rank-row{grid-template-columns:28px minmax(0,1fr);gap:6px}.mobile-shell .mini-rank-row em{grid-column:2}.mobile-shell .levels-grid article{grid-template-columns:32px minmax(0,1fr);gap:8px}.mobile-shell .levels-grid article>em{grid-column:2}.mobile-shell .levels-grid article>div{min-width:0}
 .mobile-shell .messages-page{min-height:0}.mobile-shell .message-privacy{flex-direction:column;align-items:stretch;gap:8px}.mobile-shell .message-thread-list{padding:10px;max-height:300px;overflow-y:auto}.mobile-shell .message-thread-list>button{grid-template-columns:32px minmax(0,1fr) auto}.mobile-shell .message-thread-list small{max-width:100%;white-space:normal}.mobile-shell .message-conversation{padding:10px}.mobile-shell .message-conversation header{flex-wrap:wrap;gap:8px}.mobile-shell .message-reply{grid-template-columns:minmax(0,1fr) 44px}.mobile-shell .message-reply button{padding:0;min-width:0}.mobile-shell .private-message-list article{max-width:95%;font-size:13px}.mobile-shell .beco-shell{grid-template-columns:minmax(0,1fr)}.mobile-shell .beco-top{grid-template-columns:32px minmax(0,1fr);gap:8px}.mobile-shell .beco-top>span:last-child{grid-column:2}.mobile-shell .beco-message{grid-template-columns:32px minmax(0,1fr);gap:8px}.mobile-shell .beco-message img{width:32px;height:32px}.mobile-shell .beco-messages{padding:10px;max-height:55dvh;min-height:200px}.mobile-shell .beco-input{grid-template-columns:minmax(0,1fr) 44px;padding:8px;gap:6px}.mobile-shell .beco-input button{width:44px;padding:0}.mobile-shell .beco-chat{min-height:0}.mobile-shell .help-card-grid button{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:10px}.mobile-shell .help-card-grid button>span{width:36px;height:36px}
 .mobile-shell .progression-intro.with-art{min-height:170px;padding:16px}.mobile-shell .progression-intro h1{font-size:23px}.mobile-shell .progression-intro p{font-size:12px}.mobile-shell .progression-info{gap:8px;flex-direction:column;align-items:flex-start;padding:12px;font-size:11px}.mobile-shell .career-card{padding:14px}.mobile-shell .career-card h2{font-size:20px}.mobile-shell .career-card button{font-size:12px}.mobile-shell .career-slot-controls{display:grid;grid-template-columns:minmax(0,1fr)}.mobile-shell .territory-layout{grid-template-columns:minmax(0,1fr);gap:12px}.mobile-shell .territory-map{min-height:400px;border-radius:10px}.mobile-shell .territory-map button{min-height:0;overflow-wrap:normal}.mobile-shell .territory-map strong{overflow-wrap:normal}.mobile-shell .territory-detail{padding:12px}.mobile-shell .territory-detail h2{font-size:22px}.mobile-shell .territory-business-card>div{font-size:11px}.mobile-shell .mission-card{padding:14px}.mobile-shell .game-message{position:relative;padding:12px;font-size:12px;border-radius:10px;margin:10px}
 .mobile-shell table{width:100%;table-layout:fixed;font-size:11px}.mobile-shell td,.mobile-shell th{padding:7px 4px;overflow-wrap:anywhere;white-space:normal}
 .auth-page{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:20px;padding:24px 18px 100px;min-height:100dvh}.auth-hero{text-align:center}.auth-hero .brand{justify-content:center;flex-direction:column;gap:4px}.auth-hero .brand-logo{width:200px;max-width:70vw;height:90px}.auth-hero .brand>div{display:none}.auth-hero h1{font-size:29px;line-height:1.12;margin:12px auto 10px;max-width:330px}.auth-hero p{font-size:12px;line-height:1.6;max-width:340px;margin:0 auto}.auth-card{padding:18px;border-radius:16px;gap:14px;width:100%;max-width:460px;align-self:center}.auth-card input{font-size:16px;height:48px}.auth-card button{min-height:46px}.auth-card label{font-size:11px;letter-spacing:.04em}
 body:has(.mobile-shell) .pwa-install-banner{bottom:calc(78px + env(safe-area-inset-bottom));z-index:46}body:has(.mobile-shell) .pwa-install-launcher{bottom:calc(78px + env(safe-area-inset-bottom));font-size:11px;padding:7px 12px;z-index:46}.mobile-shell .mobile-menu-trigger{font-size:24px}.mobile-shell .mobile-bottom-nav button{min-height:52px}
}
@media(max-width:359px){.mobile-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-balances strong{font-size:15px}.mobile-player{padding:12px;margin-inline:10px}.mobile-shell .game-content{margin-inline:7px}.mobile-shell .panel-page{padding:12px 9px}.mobile-shell .solo-crime-cards .solo-crime-card{padding:7px}.mobile-shell .solo-options-row{grid-template-columns:minmax(0,1fr)}}

@media(max-width:767px){.mobile-shell .virtual-gangs-panel{padding:12px}.mobile-shell .virtual-gangs-panel>header{grid-template-columns:minmax(0,1fr)}.mobile-shell .virtual-gangs-panel>header strong{width:auto;white-space:normal;font-size:12px}.mobile-shell .virtual-gangs-panel>header h2{font-size:18px}.mobile-shell .virtual-gangs-panel>header p{font-size:12px}.mobile-shell .help-topbar{margin:0 0 14px;padding:0 8px;grid-template-columns:34px minmax(0,1fr) 34px}.mobile-shell .help-topbar h1{font-size:18px}}

@media(max-width:767px){.mobile-shell .subworld-card{text-transform:none;min-height:180px}.mobile-shell .subworld-card h2{font-size:21px}.mobile-shell .subworld-card p{font-size:12px}.mobile-shell .progression-summary button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}.mobile-shell .progression-summary strong{font-size:13px}}

/* Phone rankings: position, player and score share the first row. */
@media(max-width:767px){
 .mobile-shell .rank-row,.mobile-shell .compact-ranking .rank-row{grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:3px 7px;padding:9px 7px}
 .mobile-shell .rank-row>span{grid-column:1;grid-row:1;font-size:11px}
 .mobile-shell .rank-row>strong{grid-column:2;grid-row:1;min-width:0}
 .mobile-shell .rank-row>strong .player-link{display:block;width:100%;min-height:32px;line-height:32px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .mobile-shell .rank-row>.rank-name,.mobile-shell .rank-row .gang-rank-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mobile-shell .rank-row>em{grid-column:3;grid-row:1;max-width:108px;text-align:right;font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums}
 .mobile-shell .rank-row>small{grid-column:2/4;grid-row:2;font-size:10px;line-height:1.4;color:#91a5b0}
 .mobile-shell .rank-row:nth-child(odd),.mobile-shell .mini-rank-row:nth-child(even){background:#ffffff04}
 .mobile-shell .mini-rank-row,.mobile-shell .simple-home-rankings .mini-rank-row{grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 6px}
 .mobile-shell .mini-rank-row>span{grid-column:1;grid-row:1;font-size:11px}
 .mobile-shell .mini-rank-row>.player-link{grid-column:2;grid-row:1;display:block;width:100%;min-width:0;min-height:32px;line-height:32px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .mobile-shell .mini-rank-row>em{grid-column:3;grid-row:1;max-width:100px;text-align:right;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
}

@media(max-width:767px){.mobile-shell .territory-layout>.territory-map{min-height:0;aspect-ratio:3/2}.mobile-shell .territory-map .territory-marker{width:68px;padding:4px 2px;gap:2px;translate:0 0;transform:translate(-50%,-50%)}.mobile-shell .territory-marker strong{font-size:8px;line-height:1.2}.mobile-shell .territory-marker small{font-size:7px}.mobile-shell .territory-marker .map-dot{width:5px;height:5px}.mobile-shell .territory-map .map-caption{font-size:6px;top:5px;left:6px}.mobile-shell .territory-map .territory-marker-industrial{left:57%!important;top:27%!important;top:48%!important}.mobile-shell .territory-map .territory-marker-morro{left:17%!important;top:29%!important;top:67%!important}.mobile-shell .territory-map .territory-marker-docas{left:61%!important;top:77%!important;top:49%!important}}

/* Compact map labels fit the complete artwork on narrow phone screens. */
@media(max-width:767px){
 .mobile-shell .territory-map .territory-marker{width:54px;max-width:19%;min-height:0;padding:3px 2px;gap:1px;border-radius:5px;box-shadow:0 2px 6px #0008;translate:0 0;transform:translate(-50%,-50%)}
 .mobile-shell .territory-map .territory-marker strong{font-family:Arial,sans-serif;font-size:7px;line-height:1.15;letter-spacing:0;white-space:normal;overflow-wrap:normal}
 .mobile-shell .territory-map .territory-marker small{font-family:Arial,sans-serif;font-size:6px;line-height:1.15}
 .mobile-shell .territory-map .map-dot{display:none}
 .mobile-shell .territory-map .map-caption{display:none}
 .mobile-shell .territory-map .territory-marker-morro{left:17%!important;top:29%!important}
 .mobile-shell .territory-map .territory-marker-industrial{left:57%!important;top:27%!important}
 .mobile-shell .territory-map .territory-marker-porto{left:86%!important;top:43%!important}
 .mobile-shell .territory-map .territory-marker-avenida{left:21%!important;top:71%!important}
 .mobile-shell .territory-map .territory-marker-docas{left:61%!important;top:77%!important}
 .mobile-shell .territory-map .territory-marker-centro{left:48%!important;top:48%!important}
}

/* News rankings use one full-width surface on phones, without nested gutters. */
@media(max-width:767px){
 .mobile-shell .game-content:has(.crimecity-home){margin-left:0;margin-right:0;border:0;border-radius:0;background:transparent}
 .mobile-shell .newspaper.crimecity-home{padding:0;width:100%;max-width:none}
 .mobile-shell .crimecity-home>.simple-home-rankings{margin:14px 0;padding:0;border:0;border-radius:0;background:transparent}
 .mobile-shell .simple-home-rankings>h2{padding:0 12px;font-size:17px;line-height:1.4}
 .mobile-shell .simple-home-rankings>.rankings-grid{width:100%;grid-template-columns:minmax(0,1fr);gap:16px;padding:0}
 .mobile-shell .simple-home-rankings .mini-ranking{width:100%;min-width:0;min-height:0;padding:0;border-left:0;border-right:0;border-radius:0;overflow:hidden;box-sizing:border-box}
 .mobile-shell .simple-home-rankings .mini-ranking h3{margin:0;padding:12px;background:#ffffff08;font-size:14px}
 .mobile-shell .simple-home-rankings .mini-rank-row{padding:5px 12px;grid-template-columns:24px minmax(0,1fr) auto;gap:7px}
 .mobile-shell .simple-home-rankings .mini-rank-row>.player-link{font-size:13px;line-height:36px;min-height:36px}
 .mobile-shell .simple-home-rankings .mini-rank-row>em{max-width:110px;font-size:12px}
}
