/* Modern Classic graphics rollout. Decorative art; authoritative UI remains live. */
body.ui-modern-classic[data-ui-theme] .mc-avatar{position:relative;overflow:hidden;border-radius:6px;border-color:#5a5654;box-shadow:0 2px 12px #0006}
.mc-avatar-art{position:absolute;inset:0;background:url('../img/ui/graphics-atlas-v1.webp') right bottom/auto 200% no-repeat}
.mc-avatar-initial{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.ui-modern-classic[data-ui-theme] .mc-player-card{background:linear-gradient(110deg,#23272a,#14191c);border-color:#42474c;box-shadow:0 6px 20px #0004,inset 0 1px #ffffff06}
body.ui-modern-classic[data-ui-theme] .mc-resource{background:linear-gradient(125deg,#202629,#151a1d);box-shadow:inset 0 1px #ffffff05,0 3px 10px #0002}
body.ui-modern-classic[data-ui-theme] .mc-action-tile{border-radius:7px;min-height:122px;box-shadow:0 4px 12px #0005,inset 0 1px #ffffff08}
.mc-tile-art{background-image:url('../img/ui/action-atlas-v2.webp')}
.mc-travel-art{background-image:url('../img/ui/action-atlas-v2.webp')}
.mc-tile-crimes .mc-tile-art,.mc-tile-gym .mc-tile-art{background-image:url('../img/ui/graphics-atlas-v1.webp');background-size:200% auto}
.mc-tile-crimes .mc-tile-art{background-position:left 25%}
.mc-tile-gym .mc-tile-art{background-position:right 25%}
body.ui-modern-classic[data-ui-theme] .mc-action-tile::before{background:linear-gradient(90deg,#101315f2 0%,#14181bc9 48%,#12151844 100%)}
body.ui-modern-classic[data-ui-theme] .mc-action-tile.is-resource-full{box-shadow:0 0 16px rgba(var(--glow),.32),inset 0 0 15px rgba(var(--glow),.16)}
body.ui-modern-classic[data-ui-theme] .mc-overview-grid>.card{background:linear-gradient(110deg,#1f2428,#151a1d)!important;border-color:#3a4147!important;box-shadow:0 4px 16px #0003}
body.ui-modern-classic[data-ui-theme] .mc-overview-grid>.card>h2{background:linear-gradient(100deg,#272c30,#1c2226)!important;padding:15px 17px!important;border-bottom:1px solid #3c444b!important;letter-spacing:.01em}
body.ui-modern-classic[data-ui-theme] .mc-overview-grid .stat-line,body.ui-modern-classic[data-ui-theme] .mc-overview-grid .info-list>div{padding:11px 0!important;font-variant-numeric:tabular-nums}
body.ui-modern-classic[data-ui-theme] .mc-overview-grid .stat-line>strong{color:#f6f8fa!important}
.mc-illustrated-page{width:100%;min-width:0}
.mc-section-hero{--glow:230,65,70;position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;isolation:isolate;overflow:hidden;min-height:176px;border:1px solid #64434a;border-radius:10px;padding:24px;margin-bottom:18px;background:#15191d;box-shadow:0 6px 18px #0005}
.mc-section-art{position:absolute;inset:0;z-index:-2;background-image:url('../img/ui/graphics-atlas-v1.webp');background-size:200% auto;background-position:left 23%;background-repeat:no-repeat}
.mc-section-hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101419f2,#12171bc9 60%,#11151872)}
.mc-hero-gym{--glow:122,200,78;border-color:#435347}
.mc-hero-gym .mc-section-art{background-position:right 23%}
.mc-hero-copy{max-width:75%;min-width:0}
.mc-hero-kicker{display:block;color:#da9da4;font-size:10px;letter-spacing:.18em;font-weight:700}
.mc-hero-gym .mc-hero-kicker{color:#abc6b1}
body.ui-modern-classic[data-ui-theme] .mc-hero-copy h3{display:flex;align-items:center;gap:11px;margin:10px 0;font-size:25px;line-height:1.2;color:#fff}
.mc-hero-copy h3 .mc-icon{width:30px;height:30px;flex-shrink:0}
body.ui-modern-classic[data-ui-theme] .mc-hero-copy p{font-size:12px;line-height:1.6;color:#c6cdd5!important;margin:0;max-width:390px}
.mc-hero-resource{display:grid;gap:7px;min-width:120px;background:#11171ccc;border:1px solid #ffffff24;border-radius:8px;padding:14px;font-variant-numeric:tabular-nums;flex-shrink:0}
.mc-hero-resource>span:first-child{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#c1c8d3}
.mc-hero-resource strong{font-size:19px;color:#fff}
.mc-hero-resource-note{font-size:10px;color:#a7b2c0}
.mc-section-hero.is-resource-full{border-color:rgb(var(--glow));box-shadow:0 0 18px rgba(var(--glow),.3),inset 0 0 20px rgba(var(--glow),.12);animation:mc-ready 3s ease-in-out infinite}
.mc-section-hero.is-resource-full .mc-hero-resource{border-color:rgba(var(--glow),.7)}
.mc-section-hero.is-resource-full .mc-hero-resource-note{color:rgb(var(--glow));font-weight:700}
body.ui-modern-classic.page-crimes[data-ui-theme] .native-page .crime-minimal-row{box-shadow:0 3px 10px #0003;border-radius:8px!important}
body.ui-modern-classic.page-crimes[data-ui-theme] .native-page .crime-minimal-row>summary{background:linear-gradient(115deg,#252930,#1b2027)!important;border-radius:8px!important;min-height:76px}
body.ui-modern-classic.page-gym[data-ui-theme] .native-page .gym-stat-grid>.card{background:linear-gradient(130deg,#252c2d,#181e21)!important;box-shadow:0 4px 14px #0004}
body.ui-modern-classic.page-gym[data-ui-theme] .native-page .gym-stat-grid .gym-stat-value{font-variant-numeric:tabular-nums;color:#edf6ef!important;font-size:28px}
body.ui-modern-classic.page-gym[data-ui-theme] .native-page .gym-head{border-radius:9px;background:linear-gradient(100deg,#26312d,#19211e)!important;border-color:#455a4c!important}
@media(max-width:520px){body.ui-modern-classic[data-ui-theme] .mc-action-tile{min-height:107px;padding:13px}.mc-section-hero{min-height:160px;gap:12px;padding:17px 14px;margin-bottom:14px;align-items:flex-start}.mc-hero-copy{max-width:none;flex:1}.mc-hero-resource{min-width:92px;padding:10px;margin-top:8px}.mc-hero-resource strong{font-size:15px}body.ui-modern-classic[data-ui-theme] .mc-hero-copy h3{font-size:19px;gap:7px;overflow-wrap:anywhere}.mc-hero-copy h3 .mc-icon{width:23px;height:23px}.mc-hero-kicker{font-size:9px;letter-spacing:.1em}body.ui-modern-classic[data-ui-theme] .mc-hero-copy p{font-size:11px}.mc-hero-resource-note{font-size:9px}}
@media(max-width:360px){.mc-section-hero{flex-wrap:wrap}.mc-hero-resource{display:flex;align-items:center;gap:10px;width:100%;margin:0}.mc-hero-copy{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.mc-section-hero.is-resource-full{animation:none!important}}
body.reduce-motion .mc-section-hero.is-resource-full{animation:none!important}
body.ui-modern-classic[data-ui-theme] .mc-overview .mc-stat-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.mc-stat-label,.mc-equipment-slot{display:flex;align-items:center;gap:10px;min-width:0}
.mc-stat-label>.mc-icon,.mc-equipment-slot>.mc-icon{width:21px;height:21px;flex-shrink:0;color:#bec6ce}
@media(max-width:360px){body.ui-modern-classic[data-ui-theme] .mc-overview .mc-stat-line{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mc-stat-label{gap:6px;font-size:12px}}
/* Shared scene headers cover every non-overview section. */
body.ui-modern-classic[data-ui-theme] .mc-page-heading{position:relative;isolation:isolate;overflow:hidden;min-height:136px;padding:24px 20px;border:1px solid #51515a!important;border-radius:10px;background:#171c21!important;box-shadow:0 5px 18px #0004}
.mc-heading-art{position:absolute;inset:0;z-index:-2;pointer-events:none;background:url('../img/ui/sections-atlas-v1.webp') left 22%/200% auto no-repeat}
.mc-page-heading::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#101419f5,#141920dc 48%,#14192065)}
.mc-heading-airport .mc-heading-art{background-position:right 22%}.mc-heading-warehouse .mc-heading-art{background-position:left 78%}.mc-heading-social .mc-heading-art{background-position:right 78%}
.mc-heading-city .mc-heading-art,.mc-heading-finance .mc-heading-art{background-image:url('../img/ui/graphics-atlas-v1.webp');background-position:left 78%}
body.ui-modern-classic[data-ui-theme] .mc-heading-compact{min-height:80px;background:linear-gradient(115deg,#242930,#171d23)!important}.mc-heading-compact .mc-heading-art{display:none}
body.ui-modern-classic[data-ui-theme] .mc-page-title h2{color:#fff!important;text-shadow:0 2px 8px #0009;font-size:25px}body.ui-modern-classic[data-ui-theme] .mc-page-title small{color:#d7dce3!important;letter-spacing:.04em}
body.ui-modern-classic[data-ui-theme] .mc-page-actions button{background:#1a2028e8!important;border-color:#68707a!important;color:#e9edf2!important}
body.ui-modern-classic[data-ui-theme] .mc-section-tabs{gap:6px;padding:8px 0;scroll-padding:10px}
body.ui-modern-classic[data-ui-theme] .mc-section-tabs a{border-radius:6px;border:1px solid #353e48;background:#20262e;color:#cbd3de;padding:9px 13px;white-space:nowrap}
body.ui-modern-classic[data-ui-theme] .mc-section-tabs a[aria-current=page]{background:linear-gradient(120deg,#9e3038,#64272d);border-color:#cf5660;color:white}
/* Card hierarchy reaches both typed templates and native pages. */
body.ui-modern-classic[data-ui-theme] .native-page .card{border-radius:9px!important;border-color:#3c4550!important;background:linear-gradient(120deg,#21272e,#171d23)!important;box-shadow:0 3px 12px #0003}
body.ui-modern-classic[data-ui-theme] .native-page .card>h2,body.ui-modern-classic[data-ui-theme] .native-page .card>summary{background:linear-gradient(100deg,#2a3038,#202630)!important;border-bottom-color:#414953!important}
body.ui-modern-classic[data-ui-theme] .native-page .crime-summary>div,body.ui-modern-classic[data-ui-theme] .native-page .economy-strip>div,body.ui-modern-classic[data-ui-theme] .native-page .crime-mini-status>div{background:linear-gradient(130deg,#2a3037,#1c232b)!important;border:1px solid #424b57!important;border-radius:7px;font-variant-numeric:tabular-nums}
body.ui-modern-classic[data-ui-theme] .native-page a:focus-visible,body.ui-modern-classic[data-ui-theme] .native-page button:focus-visible,body.ui-modern-classic[data-ui-theme] .native-page summary:focus-visible,body.ui-modern-classic[data-ui-theme] .mc-section-tabs a:focus-visible{outline:2px solid #ff8991;outline-offset:3px}
/* Property catalogue art and ownership states stay authoritative. */
body.ui-modern-classic[data-ui-theme] .property-home-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-modern-classic[data-ui-theme] .native-page .property-home-row{display:grid!important;grid-template-columns:80px minmax(0,1fr);gap:14px;padding:15px!important;background:linear-gradient(125deg,#292e35,#1a2027)!important;border:1px solid #414956!important;border-radius:9px;align-items:center;min-width:0}
body.ui-modern-classic[data-ui-theme] .property-home-row>form{grid-column:1/-1;justify-self:stretch}
body.ui-modern-classic[data-ui-theme] .property-home-row .property-art{width:80px;height:80px;display:grid;place-items:center;background:radial-gradient(ellipse,#445061,#1b222d);border:1px solid #566171;border-radius:8px}
body.ui-modern-classic[data-ui-theme] .property-home-row .property-art-icon{width:100%;height:100%;object-fit:contain}
body.ui-modern-classic[data-ui-theme] .native-page .property-home-row[data-current=true]{border-color:#b6535e!important;box-shadow:inset 3px 0 #e05460,0 3px 12px #0003}
body.ui-modern-classic[data-ui-theme] .property-home-row[data-owned=true] strong{color:#e7f2ec!important}
body.ui-modern-classic[data-ui-theme] .property-upgrade-row,body.ui-modern-classic[data-ui-theme] .property-staff-row,body.ui-modern-classic[data-ui-theme] .property-storage-row{padding:14px!important;border:1px solid #424b57!important;border-radius:8px;background:#212831!important;margin-bottom:9px}
body.ui-modern-classic[data-ui-theme] .property-staff-row[data-active=true]{border-left:3px solid #78b88e!important}
/* Destinations keep their own scene icons and actual flight progress. */
body.ui-modern-classic[data-ui-theme] .travel-destination-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-modern-classic[data-ui-theme] .native-page .travel-destination-row{display:grid!important;grid-template-columns:80px minmax(0,1fr);gap:14px;padding:15px!important;min-width:0;border:1px solid #45546a!important;border-radius:9px;background:linear-gradient(125deg,#253343,#1a222e)!important;align-items:center}
body.ui-modern-classic[data-ui-theme] .travel-destination-row>form{grid-column:1/-1;justify-self:stretch}
body.ui-modern-classic[data-ui-theme] .travel-scene{display:grid;place-items:center;overflow:hidden;width:80px;height:80px;border-radius:8px;border:1px solid #60738a;background:radial-gradient(ellipse,#526a85,#182738)}
body.ui-modern-classic[data-ui-theme] .travel-scene-icon{max-width:100%;height:100%;object-fit:contain}
body.ui-modern-classic[data-ui-theme] .travel-flight-progress{border:1px solid #516c87;border-radius:8px;padding:18px;background:linear-gradient(120deg,#223348,#152331)}
body.ui-modern-classic[data-ui-theme] .travel-progress-track{height:10px;border-radius:5px;overflow:hidden;background:#101923}
body.ui-modern-classic[data-ui-theme] .travel-progress-track>i{background:linear-gradient(90deg,#438dd0,#8bd1ed)!important}
body.ui-modern-classic[data-ui-theme] .travel-class-option.active{border-color:#75a8cd!important;box-shadow:inset 0 0 14px #71b5e516}
/* Larger thumbnails keep the existing artwork, rarity and comparisons. */
body.ui-modern-classic[data-ui-theme] .native-item-card .item-art,body.ui-modern-classic[data-ui-theme] .market-row .item-art{width:64px!important;height:64px!important;flex:0 0 64px;background:radial-gradient(ellipse,#424a58,#171d25)!important;border-radius:8px;box-shadow:inset 0 1px #ffffff14,0 3px 9px #0005}
body.ui-modern-classic[data-ui-theme] .item-art.rarity-uncommon{border-color:#73ab87!important}body.ui-modern-classic[data-ui-theme] .item-art.rarity-rare{border-color:#6a9fd2!important}body.ui-modern-classic[data-ui-theme] .item-art.rarity-epic{border-color:#ac87d2!important}body.ui-modern-classic[data-ui-theme] .item-art.rarity-legendary{border-color:#d2ad61!important}
body.ui-modern-classic[data-ui-theme] .native-item-card .native-item-summary-copy{min-width:0;gap:5px}
body.ui-modern-classic[data-ui-theme] .inventory-market-strip,body.ui-modern-classic[data-ui-theme] .item-depth-strip{border-radius:6px;background:#121a23!important;padding:11px;border:1px solid #394452}
body.ui-modern-classic[data-ui-theme] .native-market-results .market-row,body.ui-modern-classic[data-ui-theme] .foreign-market-row,body.ui-modern-classic[data-ui-theme] .travel-bag-row{border:1px solid #444d59!important;border-radius:9px;background:linear-gradient(120deg,#272e37,#1a212b)!important;padding:15px!important;margin-bottom:10px}
body.ui-modern-classic[data-ui-theme] .market-row strong,body.ui-modern-classic[data-ui-theme] .native-item-summary strong{font-variant-numeric:tabular-nums;color:#f1f4f8!important}
/* Crime family, readiness and outcome presentation. */
body.ui-modern-classic[data-ui-theme] .crime-family-grid>div{padding:12px;border:1px solid #63404b;border-radius:7px;background:linear-gradient(120deg,#342830,#211e29)}
body.ui-modern-classic[data-ui-theme] .native-page .crime-minimal-row>summary{background:linear-gradient(95deg,#20232bf2,#20232bea),url('../img/ui/graphics-atlas-v1.webp') left 22%/200% auto!important}
body.ui-modern-classic[data-ui-theme] .native-page .crime-minimal-row[data-crime-ready=true]{border-left:3px solid #d85866!important}
body.ui-modern-classic[data-ui-theme] .crime-detail-grid>div{padding:10px;border:1px solid #42404c;border-radius:6px;background:#1c2029}
body.ui-modern-classic[data-ui-theme] .crime-inline-result{padding:13px;border-radius:7px;border-left:3px solid #bf7272;background:#342529}
body.ui-modern-classic[data-ui-theme] .crime-inline-result.success{border-left-color:#87c594;background:#23342b}body.ui-modern-classic[data-ui-theme] .crime-inline-result.critical{border-left-color:#e5b878;background:#393124}
@media(max-width:760px){body.ui-modern-classic[data-ui-theme] .property-home-list,body.ui-modern-classic[data-ui-theme] .travel-destination-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){body.ui-modern-classic[data-ui-theme] .mc-page-heading{min-height:124px;padding:17px 14px;gap:12px;flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .mc-heading-compact{min-height:80px}body.ui-modern-classic[data-ui-theme] .mc-page-title h2{font-size:22px}body.ui-modern-classic[data-ui-theme] .mc-page-actions{width:100%;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .property-home-row,body.ui-modern-classic[data-ui-theme] .travel-destination-row{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:12px!important}body.ui-modern-classic[data-ui-theme] .property-home-row .property-art,body.ui-modern-classic[data-ui-theme] .travel-scene{width:64px;height:64px}body.ui-modern-classic[data-ui-theme] .native-item-card .item-art,body.ui-modern-classic[data-ui-theme] .market-row .item-art{width:52px!important;height:52px!important;flex-basis:52px}body.ui-modern-classic[data-ui-theme] .native-item-card>summary{flex-wrap:wrap;gap:10px}body.ui-modern-classic[data-ui-theme] .native-item-card .native-item-summary{min-width:0;flex:1 1 100%}}
@media(max-width:360px){body.ui-modern-classic[data-ui-theme] .mc-page-actions{justify-content:flex-start}body.ui-modern-classic[data-ui-theme] .native-page .market-row{grid-template-columns:minmax(0,1fr)!important}body.ui-modern-classic[data-ui-theme] .market-row-actions{width:100%;min-width:0}body.ui-modern-classic[data-ui-theme] .property-home-row strong,body.ui-modern-classic[data-ui-theme] .travel-destination-row strong,body.ui-modern-classic[data-ui-theme] .native-item-summary-copy strong{overflow-wrap:anywhere}}
/* Account entry retains the same visual language as the game. */
body.ui-modern-classic[data-ui-theme] .auth-shell{position:relative;isolation:isolate}
body.ui-modern-classic[data-ui-theme] .auth-shell::before{content:'';position:absolute;inset:-18px;z-index:-1;border-radius:12px;pointer-events:none;background:linear-gradient(#111820bd,#111820ee),url('../img/ui/graphics-atlas-v1.webp') left 78%/200% auto}
body.ui-modern-classic[data-ui-theme] .auth-shell .card{border:1px solid #47515e!important;border-radius:9px!important;background:linear-gradient(120deg,#262d35,#19212a)!important;box-shadow:0 5px 20px #0005}
body.ui-modern-classic[data-ui-theme] .auth-shell .card>h2,body.ui-modern-classic[data-ui-theme] .auth-shell .card>summary{background:#2c343f!important;color:#f2f5fa!important;border-bottom:1px solid #47515e}
@media(max-width:520px){body.ui-modern-classic[data-ui-theme] .native-page .property-home-row,body.ui-modern-classic[data-ui-theme] .native-page .travel-destination-row{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:12px!important}body.ui-modern-classic[data-ui-theme] .native-page .property-home-row>div:not(.property-art),body.ui-modern-classic[data-ui-theme] .native-page .travel-destination-row>div:not(.travel-scene){min-width:0}}
/* Profile, equipment and faction/city detail pass. */
body.ui-modern-classic[data-ui-theme] .native-profile .profile-head{position:relative;overflow:hidden;isolation:isolate;min-height:160px;padding:22px!important;background:linear-gradient(95deg,#171c24f2,#202831bb),url('../img/ui/sections-atlas-v1.webp') right 78%/200% auto!important;border:1px solid #72505a!important;border-radius:10px!important;box-shadow:0 5px 20px #0005!important}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-avatar{width:76px;height:76px;flex-shrink:0;display:grid;place-items:center;border:1px solid #df717b;border-radius:12px;background:linear-gradient(145deg,#75444e,#29232f);box-shadow:inset 0 1px #ffffff26,0 3px 12px #0006;font-size:32px;color:#fff}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-head h3{font-size:25px;color:#fff!important;margin:7px 0}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-status{border:1px solid #739888;border-radius:20px;padding:7px 12px;background:#203b31;color:#b8e0c9}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-status.warn{border-color:#b68863;background:#3f3024;color:#f1cdab}
body.ui-modern-classic[data-ui-theme] .profile-honour-strip>span{border:1px solid #a98a61;border-radius:5px;background:linear-gradient(120deg,#493f2d,#2c2924);padding:5px 8px;color:#e8d3ac!important}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-bio-panel,body.ui-modern-classic[data-ui-theme] .native-profile .profile-community{padding:17px!important;border:1px solid #46505d!important;border-radius:9px!important;background:linear-gradient(120deg,#272e37,#1b222b)!important}
body.ui-modern-classic[data-ui-theme] .native-profile .profile-bio-panel>strong{display:block;color:#f4f6fa;letter-spacing:.04em;margin-bottom:9px}
body.ui-modern-classic[data-ui-theme] .native-profile .mc-stat-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:11px 0!important}
.mc-profile-loadout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mc-loadout-slot{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #4d5969;border-radius:8px;background:linear-gradient(120deg,#293444,#1d2530)}
.mc-loadout-slot.is-empty{border-style:dashed;background:#1b222b}.mc-loadout-slot>div{min-width:0;display:grid;gap:5px}.mc-loadout-slot strong{font-size:12px;overflow-wrap:anywhere;color:#eff3f8}.mc-loadout-slot span{font-size:10px;color:#bbc6d5}
.mc-loadout-art{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;background:radial-gradient(ellipse,#435369,#151e2b);border:1px solid #617083;border-radius:7px}.mc-loadout-art img{width:100%;height:100%;object-fit:contain}.mc-loadout-art .mc-icon{width:27px;height:27px;color:#abbad0}.mc-loadout-manage{display:block;margin-top:14px;font-size:12px}
body.ui-modern-classic[data-ui-theme] .native-loadout .equipment-slot{background:linear-gradient(135deg,#2c3746,#1a232f)!important;border:1px solid #516074!important;border-radius:8px!important;min-height:100px;padding:12px!important}
body.ui-modern-classic[data-ui-theme] .native-loadout .equipment-slot-icon{width:52px;height:52px;object-fit:contain;margin-bottom:7px}
.mc-faction-banner{display:flex;align-items:center;gap:18px;position:relative;overflow:hidden;border:1px solid #8a4c57;border-radius:9px;min-height:145px;padding:20px;margin-bottom:16px;background:linear-gradient(95deg,#1f1d28f0,#201c29a8),url('../img/ui/sections-atlas-v1.webp') right 78%/200% auto}
.mc-faction-emblem{display:grid;place-items:center;flex:0 0 65px;height:76px;border:1px solid #bf717d;border-radius:8px 8px 22px 22px;background:linear-gradient(140deg,#633b4a,#251d2c);box-shadow:inset 0 1px #ffffff26,0 3px 12px #0007}.mc-faction-emblem .mc-icon{width:37px;height:37px;color:#f1dce1}
.mc-faction-banner>div{min-width:0}.mc-faction-banner small{font-size:9px;color:#e2b7c2;letter-spacing:.14em}body.ui-modern-classic[data-ui-theme] .mc-faction-banner h3{font-size:23px;color:#fff!important;overflow-wrap:anywhere;margin:8px 0}.mc-faction-banner p{font-size:12px;color:#d1bdc5!important;margin:0}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-row,body.ui-modern-classic.page-operations[data-ui-theme] .native-page .org-row{border:1px solid #564251!important;border-left:3px solid #a45a70!important;border-radius:8px!important;background:linear-gradient(120deg,#302531,#201e29)!important;padding:14px!important}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .stat,body.ui-modern-classic.page-operations[data-ui-theme] .native-page .stat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #41404b;background:#23222c;font-variant-numeric:tabular-nums}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .stat strong,body.ui-modern-classic.page-operations[data-ui-theme] .native-page .stat strong{color:#f3dce5;overflow-wrap:anywhere;text-align:right}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page table,body.ui-modern-classic.page-operations[data-ui-theme] .native-page table{font-variant-numeric:tabular-nums}body.ui-modern-classic.page-factions[data-ui-theme] .native-page th{color:#dec2ce;background:#2d2531!important}
/* Illustrated districts and consistent SVG destinations keep real navigation links. */
body.ui-modern-classic[data-ui-theme] .native-city .city-map-hero{min-height:210px;border:1px solid #5e6b7a!important;border-radius:10px!important;background:linear-gradient(90deg,#111b27ed,#17223075),url('../img/ui/graphics-atlas-v1.webp') left 78%/200% auto!important;box-shadow:0 5px 18px #0005!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-skyline{display:none}
body.ui-modern-classic[data-ui-theme] .native-city .city-map-copy h3{font-size:28px;color:#fff!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-map-emblem{border:1px solid #7288a1;border-radius:10px;background:#1c2e43a8;padding:16px}.city-map-emblem .mc-icon{width:44px;height:44px}
body.ui-modern-classic[data-ui-theme] .native-city .city-live-strip>a{border:1px solid #455b70!important;border-radius:7px;background:linear-gradient(120deg,#2d3b4e,#1c2736)!important;padding:12px!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-featured-grid>a{border:1px solid #505f73!important;border-radius:9px!important;background:linear-gradient(120deg,#2c3645,#1a2432)!important;overflow:hidden;box-shadow:0 3px 12px #0003}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-card{border:1px solid #48576b!important;border-radius:9px!important;overflow:hidden;box-shadow:0 4px 14px #0004}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-card>header{min-height:135px;padding:18px!important;background:linear-gradient(95deg,#18212eeb,#1723328a),url('../img/ui/graphics-atlas-v1.webp') left 78%/200% auto!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-1>header{background-image:linear-gradient(95deg,#24242bed,#25232b8a),url('../img/ui/sections-atlas-v1.webp')!important;background-position:left 22%!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-3>header{background-image:linear-gradient(95deg,#26252bed,#25232b8a),url('../img/ui/sections-atlas-v1.webp')!important;background-position:left 78%!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-4>header{background-image:linear-gradient(95deg,#28202ced,#251d2b8a),url('../img/ui/graphics-atlas-v1.webp')!important;background-position:left 22%!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-district-6>header{background-image:linear-gradient(95deg,#172a3aed,#162a3b8a),url('../img/ui/sections-atlas-v1.webp')!important;background-position:right 22%!important}
body.ui-modern-classic[data-ui-theme] .native-city .city-react-scene-icon .mc-icon{width:29px;height:29px;color:#d3dfec}body.ui-modern-classic[data-ui-theme] .native-city .city-location-scene .mc-icon{width:21px;height:21px;color:#afc6dd}
body.ui-modern-classic[data-ui-theme] .native-city .city-location-list>a{padding:13px!important;background:#1d2633!important;border-bottom:1px solid #3b4b5f!important;min-height:62px}
body.ui-modern-classic[data-ui-theme] .native-city .city-location-list>a:hover{background:#29364a!important}body.ui-modern-classic[data-ui-theme] .native-city .city-location-list strong{color:#eff3f9!important}
@media(max-width:520px){body.ui-modern-classic[data-ui-theme] .native-profile .profile-head{padding:16px!important;gap:12px;flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .native-profile .profile-avatar{width:58px;height:58px;font-size:25px}body.ui-modern-classic[data-ui-theme] .native-profile .profile-head h3{font-size:20px;overflow-wrap:anywhere}.mc-profile-loadout{gap:7px}.mc-loadout-slot{padding:9px;gap:8px}.mc-loadout-art{flex-basis:36px;width:36px;height:36px}.mc-faction-banner{padding:15px;gap:12px;min-height:125px}.mc-faction-emblem{flex-basis:48px;height:62px}body.ui-modern-classic[data-ui-theme] .mc-faction-banner h3{font-size:20px}body.ui-modern-classic[data-ui-theme] .native-city .city-map-copy h3{font-size:23px}body.ui-modern-classic[data-ui-theme] .native-city .city-map-emblem{display:none}body.ui-modern-classic[data-ui-theme] .native-city .city-district-card>header{gap:12px;padding:14px!important}}
@media(max-width:360px){.mc-profile-loadout{grid-template-columns:minmax(0,1fr)}body.ui-modern-classic[data-ui-theme] .native-profile .mc-stat-line{gap:7px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mc-faction-banner{align-items:flex-start}body.ui-modern-classic[data-ui-theme] .native-city .city-district-card>header>div{min-width:0}body.ui-modern-classic[data-ui-theme] .native-city .city-map-copy{max-width:100%;min-width:0}}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-performance-row,body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-rank-row,body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-item-row,body.ui-modern-classic.page-operations[data-ui-theme] .native-page .org-performance-row{padding:14px!important;border:1px solid #544858!important;border-radius:8px!important;background:linear-gradient(120deg,#302835,#211f2b)!important;gap:12px}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-bulletin{padding:16px!important;border:1px solid #64505c!important;border-left:3px solid #c0788e!important;border-radius:7px;background:#2b2430!important}
body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-log-row{padding:11px 13px!important;background:#211e29!important;border-bottom:1px solid #45404e!important}
@media(max-width:520px){body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-rank-row,body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-performance-row{flex-wrap:wrap;min-width:0}body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-rank-row form,body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-performance-row form{width:100%;min-width:0}body.ui-modern-classic.page-factions[data-ui-theme] .native-page .org-bulletin{overflow-wrap:anywhere}}
/* Careers, companies, medical care and custody. */
.mc-service-status{--service-accent:#8caacc;display:flex;align-items:center;gap:18px;min-height:145px;padding:21px;margin-bottom:18px;border:1px solid #52667d;border-radius:10px;background:linear-gradient(110deg,#293545,#17212e);box-shadow:0 5px 18px #0004}
.mc-service-hospital{--service-accent:#8bcecf;border-color:#4d797e;background:linear-gradient(110deg,#233a40,#17292f)}
.mc-service-jail{--service-accent:#d8b886;border-color:#887353;background:linear-gradient(110deg,#3a322b,#24232a)}
.mc-service-status.is-restricted{border-left:4px solid var(--service-accent)}
.mc-service-icon{display:grid;place-items:center;width:58px;height:62px;flex:0 0 58px;border:1px solid var(--service-accent);border-radius:9px;background:#111b296e;color:var(--service-accent);box-shadow:inset 0 1px #ffffff14}.mc-service-icon .mc-icon{width:32px;height:32px}
.mc-service-copy{flex:1;min-width:0}.mc-service-copy small{font-size:9px;font-weight:700;letter-spacing:.14em;color:var(--service-accent)}
body.ui-modern-classic[data-ui-theme] .mc-service-copy h3{font-size:23px;color:#fff!important;margin:7px 0;overflow-wrap:anywhere}.mc-service-copy p{color:#c3cedb!important;font-size:12px;line-height:1.6;margin:0;max-width:380px}
.mc-service-clock{display:grid;gap:7px;min-width:130px;padding:13px;border:1px solid #ffffff24;border-radius:8px;background:#10192391;font-variant-numeric:tabular-nums}.mc-service-clock>span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#bdc9d6}.mc-service-clock strong{color:#eff6fc;font-size:17px}.mc-service-clock a{font-size:10px;color:#b4e1e6!important;line-height:1.5}
body.ui-modern-classic[data-ui-theme] .native-work .card>summary{min-height:76px;padding:16px!important;background:linear-gradient(110deg,#2d3a4a,#202a38)!important;border-left:3px solid #7999ba}
body.ui-modern-classic[data-ui-theme] .native-work .card .info-list>div{padding:13px!important;background:#1d2937;border-bottom:1px solid #43546a;font-variant-numeric:tabular-nums}
body.ui-modern-classic[data-ui-theme] .native-work .card .action-row{gap:10px;padding-top:9px;align-items:stretch}body.ui-modern-classic[data-ui-theme] .native-work .card .action-row form{flex:1;min-width:130px}body.ui-modern-classic[data-ui-theme] .native-work .card .action-row button{width:100%;min-height:40px}
.mc-company-banner{display:flex;align-items:center;gap:17px;min-height:140px;border:1px solid #677b97;border-radius:9px;padding:20px;margin-bottom:16px;background:linear-gradient(95deg,#172331f2,#1a2938a1),url('../img/ui/graphics-atlas-v1.webp') left 78%/200% auto}
.mc-company-emblem{display:grid;place-items:center;flex:0 0 63px;height:68px;border:1px solid #809cbe;border-radius:9px;background:linear-gradient(140deg,#3b5472,#1f2d40);box-shadow:inset 0 1px #ffffff24,0 3px 10px #0004}.mc-company-emblem .mc-icon{width:34px;height:34px;color:#dbe9fc}
.mc-company-banner>div{min-width:0}.mc-company-banner small{font-size:9px;letter-spacing:.14em;color:#bdcee5}body.ui-modern-classic[data-ui-theme] .mc-company-banner h3{font-size:23px;color:#fff!important;overflow-wrap:anywhere;margin:7px 0}.mc-company-banner p{font-size:12px;color:#cbd7e5!important;margin:0}
body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-bulletin{padding:16px!important;background:#233040!important;border:1px solid #52647d!important;border-left:3px solid #86a7d1!important;border-radius:8px}
body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-row,body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-performance-row,body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-rank-row{padding:15px!important;gap:12px;border:1px solid #4c5e75!important;border-radius:8px!important;background:linear-gradient(120deg,#293647,#1d2838)!important;font-variant-numeric:tabular-nums}
body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-log-row{padding:11px 13px!important;border-bottom:1px solid #43536a!important;background:#202c3c!important}
body.ui-modern-classic.page-companies[data-ui-theme] .native-page .stat{padding:11px 13px;background:#202b3a;border-bottom:1px solid #3f4d62;display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}body.ui-modern-classic.page-companies[data-ui-theme] .native-page .stat strong{color:#d7e6fb;text-align:right;overflow-wrap:anywhere}
body.ui-modern-classic[data-ui-theme] .native-hospital .patient-list>.card>summary{min-height:76px;background:linear-gradient(110deg,#294249,#1c3037)!important;border-left:3px solid #80bcbf!important;padding:15px!important}
body.ui-modern-classic[data-ui-theme] .native-jail .custody-list>.card>summary{min-height:76px;background:linear-gradient(110deg,#3d352f,#29272d)!important;border-left:3px solid #c8aa7e!important;padding:15px!important}
body.ui-modern-classic[data-ui-theme] .native-hospital .crime-summary>div{border-color:#486d75!important;background:linear-gradient(120deg,#2b424b,#1d3039)!important}
body.ui-modern-classic[data-ui-theme] .native-jail .crime-summary>div{border-color:#78694f!important;background:linear-gradient(120deg,#3c342d,#2a2729)!important}
body.ui-modern-classic[data-ui-theme] .native-hospital .action-row,body.ui-modern-classic[data-ui-theme] .native-jail .action-row{gap:10px;padding-top:7px}
body.ui-modern-classic[data-ui-theme] .native-hospital .panel-body>form,body.ui-modern-classic[data-ui-theme] .native-jail .panel-body>form{margin-top:12px}body.ui-modern-classic[data-ui-theme] .native-hospital .panel-body>form button,body.ui-modern-classic[data-ui-theme] .native-jail .panel-body>form button{min-height:40px}
@media(max-width:650px){.mc-service-status{gap:13px;flex-wrap:wrap}.mc-service-copy{flex:1 1 65%}.mc-service-clock{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}.mc-service-clock a{margin-left:auto}.mc-company-banner{padding:16px;gap:13px}}
@media(max-width:520px){.mc-service-status{padding:16px;min-height:130px}.mc-service-icon{width:45px;height:51px;flex-basis:45px}.mc-service-icon .mc-icon{width:26px;height:26px}body.ui-modern-classic[data-ui-theme] .mc-service-copy h3{font-size:20px}.mc-service-copy p{font-size:11px}.mc-service-clock strong{font-size:15px}.mc-company-emblem{flex-basis:48px;height:54px}body.ui-modern-classic[data-ui-theme] .mc-company-banner h3{font-size:20px}body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-performance-row,body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-rank-row{flex-wrap:wrap;min-width:0}body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-performance-row form,body.ui-modern-classic.page-companies[data-ui-theme] .native-page .org-rank-row form{width:100%;min-width:0}}
@media(max-width:360px){.mc-service-status{gap:10px}.mc-service-copy{flex-basis:65%}.mc-service-clock a{margin-left:0;flex-basis:100%}body.ui-modern-classic[data-ui-theme] .native-work .card .action-row form{flex-basis:100%}}
/* Leisure and communications detail pass. */
.mc-leisure-banner{--leisure-accent:#d3b17c;display:flex;align-items:center;gap:18px;min-height:165px;padding:23px;margin-bottom:17px;border:1px solid #8d7451;border-radius:10px;background:linear-gradient(95deg,#2c252df0,#2c242c94),url('../img/ui/sections-atlas-v1.webp') right 78%/200% auto;box-shadow:0 5px 18px #0004}
.mc-leisure-racing{--leisure-accent:#8caed5;border-color:#607d9d;background:linear-gradient(95deg,#172635f0,#1727339c),url('../img/world/race.svg') right center/180px 180px no-repeat}
.mc-leisure-emblem{display:grid;place-items:center;flex:0 0 60px;height:68px;border:1px solid var(--leisure-accent);border-radius:10px;background:#131b29a8;box-shadow:inset 0 1px #ffffff25}.mc-leisure-emblem .mc-icon{width:34px;height:34px;color:var(--leisure-accent)}
.mc-leisure-copy{flex:1;min-width:0}.mc-leisure-copy small{font-size:9px;letter-spacing:.14em;color:var(--leisure-accent)}body.ui-modern-classic[data-ui-theme] .mc-leisure-copy h3{font-size:24px;color:#fff!important;margin:8px 0;overflow-wrap:anywhere}.mc-leisure-copy p{font-size:12px;color:#d0cbd0!important;line-height:1.6;margin:0}
.mc-leisure-metrics{display:grid;gap:9px;min-width:155px;background:#111b278c;border:1px solid #ffffff25;border-radius:8px;padding:13px}.mc-leisure-metrics>div{display:grid;gap:4px}.mc-leisure-metrics span{font-size:9px;color:#c2c8d1;text-transform:uppercase;letter-spacing:.04em}.mc-leisure-metrics strong{font-size:13px;color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game{display:flex!important;flex-direction:column;gap:16px;min-width:0;padding:18px!important;border:1px solid #78634e!important;border-radius:9px!important;background:linear-gradient(125deg,#3a3030,#24222a)!important;box-shadow:0 4px 12px #0004!important}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game>div>strong{display:block;color:#f0d5ab!important;font-size:18px;margin-bottom:8px}body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game>div>span{display:block;font-size:12px;line-height:1.6;color:#cec4bf}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game>div>small{display:block;margin-top:10px;font-variant-numeric:tabular-nums;color:#e5ccb0;background:#171b24;border:1px solid #54483e;border-radius:5px;padding:8px}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game form{margin-top:auto;display:grid!important;gap:10px;grid-template-columns:minmax(0,1fr);min-width:0}body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game form button{min-height:42px}body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game input{width:100%;box-sizing:border-box}
body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-history .stat{padding:12px 14px;background:#28232b;border-bottom:1px solid #51434b;font-variant-numeric:tabular-nums}body.ui-modern-classic.page-casino[data-ui-theme] .casino-win{color:#a6d8b4!important}body.ui-modern-classic.page-casino[data-ui-theme] .casino-loss{color:#ee9b9e!important}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-row{display:grid!important;grid-template-columns:70px minmax(0,1fr);gap:13px;align-items:center;padding:16px!important;border:1px solid #526b89!important;border-radius:9px!important;background:linear-gradient(125deg,#2b3a4e,#1b2738)!important;min-width:0}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-row>form{grid-column:1/-1;width:100%;min-width:0}body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-row>form button{width:100%;min-height:40px}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-scene{display:grid;place-items:center;width:70px;height:70px;border:1px solid #6a8ab0;border-radius:8px;background:radial-gradient(ellipse,#425b7a,#1b273b);overflow:hidden}.race-track-scene-icon{max-width:100%;height:100%;object-fit:contain}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-vehicle-row,body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-tuning-grid>div{border:1px solid #4c6482!important;border-radius:8px!important;padding:14px!important;background:#253347!important;min-width:0}
body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-car-head{border-bottom:1px solid #4c6380;padding-bottom:13px;margin-bottom:12px}body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-history .stat{padding:12px 14px;background:#1e2b3c;border-bottom:1px solid #43546e;font-variant-numeric:tabular-nums}
/* Keep existing unread state and sender identity, with readable message surfaces. */
body.ui-modern-classic[data-ui-theme] .native-page .message-conversation-row{padding:16px!important;border:1px solid #4b5264!important;border-radius:8px!important;background:linear-gradient(120deg,#292c3a,#1d2330)!important;gap:14px;min-height:76px;box-shadow:0 3px 10px #0003}
body.ui-modern-classic[data-ui-theme] .native-page .message-conversation-row:has(.unread-pill){border-left:3px solid #ee7687!important;background:linear-gradient(120deg,#37303e,#222634)!important}
body.ui-modern-classic[data-ui-theme] .message-conversation-row>div:first-child{min-width:0;flex:1}body.ui-modern-classic[data-ui-theme] .message-conversation-row>div:first-child>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c2c7d3;font-size:12px;margin-top:6px}body.ui-modern-classic[data-ui-theme] .message-conversation-row time{color:#aab4c6;font-size:10px;white-space:nowrap}
body.ui-modern-classic[data-ui-theme] .unread-pill,body.ui-modern-classic[data-ui-theme] .notification-new{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:4px 7px;border:1px solid #cc6372;border-radius:12px;background:#743643;color:#ffe1e7!important;font-size:10px;line-height:1.2}
body.ui-modern-classic[data-ui-theme] .message-conversation-head{padding:15px!important;border:1px solid #556077!important;border-radius:8px!important;background:#293245!important;gap:12px;flex-wrap:wrap}
body.ui-modern-classic[data-ui-theme] .message-thread{display:grid;gap:12px;padding:12px 0}
body.ui-modern-classic[data-ui-theme] .native-page .message-bubble{max-width:90%;min-width:0;padding:16px!important;border:1px solid #4c596d!important;border-radius:10px!important;background:#283243!important;overflow-wrap:anywhere;box-shadow:0 3px 10px #0003}
body.ui-modern-classic[data-ui-theme] .native-page .message-bubble.mine{justify-self:end;border-color:#705568!important;background:linear-gradient(120deg,#3e3041,#2d293b)!important}body.ui-modern-classic[data-ui-theme] .native-page .message-bubble.theirs{justify-self:start}
body.ui-modern-classic[data-ui-theme] .message-bubble header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #ffffff19;margin-bottom:10px}body.ui-modern-classic[data-ui-theme] .message-bubble header time{font-size:10px;color:#b7c2d4}
body.ui-modern-classic[data-ui-theme] .message-bbcode{font-size:13px;line-height:1.7;color:#e1e7ef;overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .message-bbcode pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#151c29;border:1px solid #4b566a;border-radius:6px;padding:12px}
body.ui-modern-classic[data-ui-theme] .notification-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}body.ui-modern-classic[data-ui-theme] .notification-filters>a{padding:9px 13px;border:1px solid #4f5970;border-radius:6px;background:#293247;color:#d7dfec}
body.ui-modern-classic[data-ui-theme] .notification-filters>a.active{border-color:#c86a7a;background:#69323e;color:#fff}
body.ui-modern-classic[data-ui-theme] .native-page .notification-row{padding:15px!important;border:1px solid #485267!important;border-radius:8px!important;background:linear-gradient(120deg,#283142,#1c2534)!important;gap:13px;align-items:center;min-height:77px}
body.ui-modern-classic[data-ui-theme] .native-page .notification-row.unread{border-left:3px solid #dc788a!important;background:linear-gradient(120deg,#342d3d,#252838)!important}
body.ui-modern-classic[data-ui-theme] .notification-kind-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;border:1px solid #5d6b83;border-radius:7px;background:#1a2232;color:#bdcbe0}.notification-kind-icon img{max-width:24px;max-height:24px}
body.ui-modern-classic[data-ui-theme] .notification-copy{min-width:0;flex:1;overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .notification-copy>strong{color:#f2f5fa!important;font-size:13px}body.ui-modern-classic[data-ui-theme] .notification-copy>span{color:#c1cad9!important;font-size:12px;line-height:1.5;display:block;margin:5px 0}body.ui-modern-classic[data-ui-theme] .notification-copy>small{font-size:10px;color:#a7b3c8}
@media(max-width:760px){body.ui-modern-classic.page-racing[data-ui-theme] .native-page .race-track-list{grid-template-columns:minmax(0,1fr)}.mc-leisure-banner{flex-wrap:wrap}.mc-leisure-copy{flex:1 1 65%}.mc-leisure-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;min-width:0}}
@media(max-width:520px){body.ui-modern-classic.page-casino[data-ui-theme] .native-page .casino-game-grid{grid-template-columns:minmax(0,1fr)}.mc-leisure-banner{padding:16px;gap:12px;min-height:150px}.mc-leisure-emblem{flex-basis:46px;height:56px}body.ui-modern-classic[data-ui-theme] .mc-leisure-copy h3{font-size:21px}.mc-leisure-copy p{font-size:11px}.mc-leisure-metrics{gap:8px;padding:10px}.mc-leisure-metrics strong{font-size:11px}body.ui-modern-classic[data-ui-theme] .native-page .message-bubble{max-width:100%;padding:13px!important}body.ui-modern-classic[data-ui-theme] .native-page .message-conversation-row{padding:13px!important;gap:9px}body.ui-modern-classic[data-ui-theme] .native-page .notification-row{padding:12px!important;gap:10px}body.ui-modern-classic[data-ui-theme] .notification-new{align-self:flex-start}body.ui-modern-classic[data-ui-theme] .notification-kind-icon{width:30px;flex-basis:30px;height:35px}}
@media(max-width:360px){.mc-leisure-metrics{grid-template-columns:minmax(0,1fr)}.mc-leisure-metrics>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.mc-leisure-metrics strong{text-align:right}body.ui-modern-classic[data-ui-theme] .native-page .message-conversation-row{flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .message-conversation-row>div:first-child{flex-basis:100%}body.ui-modern-classic[data-ui-theme] .message-conversation-row>div:last-child{display:flex;justify-content:space-between;width:100%;gap:10px}}
/* Secondary pages and shared finishing details. */
body.ui-modern-classic[data-ui-theme] .panel-title-icon .mc-icon{display:block;width:18px;height:18px;color:#c4cedd}
body.ui-modern-classic[data-ui-theme] .vector-nav .nav-icon .mc-icon{width:23px;height:23px;display:block;margin:auto}
body.ui-modern-classic[data-ui-theme] .native-item-fallback .mc-icon,body.ui-modern-classic[data-ui-theme] .equipment-slot-icon .mc-icon{width:28px;height:28px;color:#b8c7db}
body.ui-modern-classic[data-ui-theme] .mc-empty-state{padding:19px!important;margin:10px 0!important;border:1px dashed #576376;border-radius:8px;background:#1b2431!important;color:#cbd5e3!important;font-size:12px;line-height:1.7}
body.ui-modern-classic[data-ui-theme] .flash,body.ui-modern-classic[data-ui-theme] .live-toast{border:1px solid #5d8d73!important;border-left:3px solid #91cda8!important;border-radius:8px!important;background:#21382d!important;color:#e0f0e6!important;padding:13px 16px!important;line-height:1.6;overflow-wrap:anywhere;box-shadow:0 4px 12px #0004}
body.ui-modern-classic[data-ui-theme] .flash.error,body.ui-modern-classic[data-ui-theme] .live-toast.error{border-color:#a76070!important;border-left-color:#ef91a1!important;background:#422833!important;color:#ffe4ea!important}
body.ui-modern-classic[data-ui-theme] .native-page .row-title-wrap{min-width:0;gap:9px}body.ui-modern-classic[data-ui-theme] .native-page .row-title{overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .native-page .row-preview{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.5}
/* Forums: readable category hierarchy, thread metadata and long posts. */
body.ui-modern-classic[data-ui-theme] .native-page .forum-home-head,body.ui-modern-classic[data-ui-theme] .native-page .forum-category-hero{padding:20px!important;border:1px solid #5a607c!important;border-radius:9px!important;background:linear-gradient(115deg,#303249,#20273a)!important;gap:16px}
body.ui-modern-classic[data-ui-theme] .native-page .forum-category-card{border:1px solid #505975!important;border-radius:9px!important;background:linear-gradient(120deg,#2c3146,#1c2638)!important;overflow:hidden;box-shadow:0 4px 12px #0003}
body.ui-modern-classic[data-ui-theme] .forum-cat-copy{min-width:0;overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .forum-cat-copy strong{color:#eef2fa;font-size:15px}body.ui-modern-classic[data-ui-theme] .forum-cat-stats{font-variant-numeric:tabular-nums;gap:12px;color:#bfcae0}
body.ui-modern-classic[data-ui-theme] .native-page .forum-thread-row,body.ui-modern-classic[data-ui-theme] .native-page .forum-search-result{padding:15px!important;border:1px solid #485573!important;border-radius:8px!important;background:#263147!important;gap:12px;min-height:75px}
body.ui-modern-classic[data-ui-theme] .forum-topic-copy{min-width:0;overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .forum-topic-copy>strong{color:#f0f4fa!important}body.ui-modern-classic[data-ui-theme] .forum-last{color:#afbed5;font-size:11px}
body.ui-modern-classic[data-ui-theme] .native-page .forum-post{padding:17px!important;border:1px solid #4d5a72!important;border-radius:9px!important;background:#222d40!important;margin-bottom:13px}
body.ui-modern-classic[data-ui-theme] .forum-post-body{font-size:13px;line-height:1.75;color:#dce5f2!important;overflow-wrap:anywhere}body.ui-modern-classic[data-ui-theme] .forum-post-body pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#141e2e;border:1px solid #4a5870;border-radius:6px}
body.ui-modern-classic[data-ui-theme] .forum-post-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px}body.ui-modern-classic[data-ui-theme] .forum-quote{padding:13px;border-left:3px solid #8d9abe;background:#182339;border-radius:5px}
body.ui-modern-classic[data-ui-theme] .forum-tags .forum-tag{border:1px solid #677391;border-radius:5px;background:#35405b;padding:3px 6px;font-size:10px}
/* Events and progress: preserve exact dates, targets and rewards. */
body.ui-modern-classic[data-ui-theme] .native-page .season-live-row,body.ui-modern-classic[data-ui-theme] .native-page .upcoming-event-row{padding:16px!important;border:1px solid #6b5b72!important;border-left:3px solid var(--event-accent,#b98fc8)!important;border-radius:9px!important;background:linear-gradient(120deg,#332c41,#242336)!important;gap:14px}
body.ui-modern-classic[data-ui-theme] .event-calendar-head{padding:13px;border:1px solid #56526c;border-radius:8px;background:#2c2a40;margin-bottom:10px}body.ui-modern-classic[data-ui-theme] .event-calendar-head>a{padding:7px 12px;border-radius:5px;background:#45415c;color:#edf0f8}
body.ui-modern-classic[data-ui-theme] .calendar-day{min-height:82px;border:1px solid #49475f;border-radius:5px;background:#242536;padding:8px;overflow:hidden}.calendar-event{overflow-wrap:anywhere;font-size:10px;line-height:1.4}
body.ui-modern-classic[data-ui-theme] .calendar-day.today{border-color:#c48ed0!important;box-shadow:inset 0 0 0 1px #c48ed0}
body.ui-modern-classic[data-ui-theme] .native-page .event-shop-row{padding:15px!important;border:1px solid #63566e!important;border-radius:9px!important;background:#2b293c!important;gap:14px;min-width:0}
body.ui-modern-classic[data-ui-theme] .native-page .award-row,body.ui-modern-classic[data-ui-theme] .native-page .honour-row,body.ui-modern-classic[data-ui-theme] .native-page .prestige-achievement{padding:14px!important;border:1px solid #766447!important;border-radius:8px!important;background:linear-gradient(120deg,#39332d,#25272e)!important;gap:13px}
body.ui-modern-classic[data-ui-theme] .native-page .honour-row>summary{min-height:62px;gap:12px;flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .honour-body{padding-top:14px;line-height:1.6}
body.ui-modern-classic[data-ui-theme] .featured-honours>div{padding:13px;border:1px solid #9a8057;border-radius:8px;background:linear-gradient(120deg,#443b2f,#2e2b29);min-width:0;overflow-wrap:anywhere}
body.ui-modern-classic[data-ui-theme] .native-page .award-row progress,body.ui-modern-classic[data-ui-theme] .native-page .honour-body progress{accent-color:#d0ad72;width:100%;max-width:100%;height:8px}
/* Contracts, collections and trade surfaces. */
body.ui-modern-classic[data-ui-theme] .native-page .contract-row{border:1px solid #5a566e!important;border-radius:9px!important;background:linear-gradient(120deg,#302c3e,#202535)!important;overflow:hidden}
body.ui-modern-classic[data-ui-theme] .contract-head{padding:15px!important;border-bottom:1px solid #554d69;gap:12px}body.ui-modern-classic[data-ui-theme] .contract-row-body{padding:16px;line-height:1.6}
body.ui-modern-classic[data-ui-theme] .contract-meta{display:flex;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.contract-combat-report{overflow-wrap:anywhere}
body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-item{padding:12px!important;border:1px solid #485e74!important;border-radius:7px;background:#233245!important;display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-item.owned{border-color:#6a9b7c!important;background:#263a32!important}body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-item.missing{border-style:dashed!important}
body.ui-modern-classic[data-ui-theme] .native-collections .travel-collection-summary{display:flex;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums;margin:12px 0}body.ui-modern-classic[data-ui-theme] .native-collections .travel-collection-summary>span{padding:7px 10px;border:1px solid #52637b;border-radius:5px;background:#233146}
body.ui-modern-classic.page-trades[data-ui-theme] .native-page .stat,body.ui-modern-classic.page-auctions[data-ui-theme] .native-page .stat,body.ui-modern-classic.page-rentals[data-ui-theme] .native-page .stat{padding:12px 14px;border-bottom:1px solid #465568;background:#263142;display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ui-modern-classic.page-trades[data-ui-theme] .native-page .panel-body>h3{color:#dbe5f5!important;padding:10px 0;border-bottom:1px solid #56637b;margin-top:17px}
body.ui-modern-classic.page-auctions[data-ui-theme] .native-page .panel-body>form,body.ui-modern-classic.page-trades[data-ui-theme] .native-page .panel-body>form{padding:14px!important;border:1px solid #4b5970;border-radius:8px;background:#1d2737!important;margin-top:14px}
body.ui-modern-classic.page-bazaar[data-ui-theme] .native-page .market-row,body.ui-modern-classic.page-night-market[data-ui-theme] .native-page .market-row{padding:15px!important;border:1px solid #5c5267!important;border-radius:8px!important;background:linear-gradient(120deg,#332e40,#232536)!important}
body.ui-modern-classic[data-ui-theme] .native-page select,body.ui-modern-classic[data-ui-theme] .native-page textarea{max-width:100%;box-sizing:border-box}body.ui-modern-classic[data-ui-theme] .native-page textarea{line-height:1.6;resize:vertical}
@media(max-width:650px){body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-items{grid-template-columns:repeat(2,minmax(0,1fr))}body.ui-modern-classic[data-ui-theme] .forum-home-head,body.ui-modern-classic[data-ui-theme] .forum-category-hero{flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .forum-post-actions form{min-width:0}}
@media(max-width:520px){body.ui-modern-classic[data-ui-theme] .native-page .card>summary{flex-wrap:wrap;gap:9px}body.ui-modern-classic[data-ui-theme] .native-page .card>summary>.row-title-wrap{flex:1 1 100%}body.ui-modern-classic[data-ui-theme] .native-page .card>summary>.row-preview{flex:1 1 65%}body.ui-modern-classic[data-ui-theme] .native-page .forum-thread-row{flex-wrap:wrap;min-width:0;padding:12px!important}body.ui-modern-classic[data-ui-theme] .forum-topic-copy{flex:1 1 65%}body.ui-modern-classic[data-ui-theme] .native-page .forum-post{padding:13px!important}body.ui-modern-classic[data-ui-theme] .calendar-day{padding:5px;min-height:65px}.calendar-event{font-size:9px}body.ui-modern-classic[data-ui-theme] .native-page .event-shop-row{flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .native-page .contract-head{flex-wrap:wrap}body.ui-modern-classic[data-ui-theme] .flash,body.ui-modern-classic[data-ui-theme] .live-toast{padding:12px!important}}
@media(max-width:360px){body.ui-modern-classic[data-ui-theme] .native-collections .travel-set-items{grid-template-columns:minmax(0,1fr)}body.ui-modern-classic[data-ui-theme] .native-page .row-preview{font-size:11px}body.ui-modern-classic[data-ui-theme] .native-page .quantity-shortcuts{flex-wrap:wrap;gap:5px}}

/* Profile and overview details share clean label/value rows. */
body.ui-modern-classic[data-ui-theme] .native-profile .info-list>div,
body.ui-modern-classic[data-ui-theme] .mc-overview .info-list>div,
body.ui-modern-classic[data-ui-theme] .mc-stat-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center;gap:12px!important;padding:11px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--mc-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;min-width:0;font-variant-numeric:tabular-nums}
body.ui-modern-classic[data-ui-theme] .native-profile .info-list>div:last-child,
body.ui-modern-classic[data-ui-theme] .mc-overview .info-list>div:last-child,
body.ui-modern-classic[data-ui-theme] .mc-stat-line:last-child{border-bottom:0!important}
body.ui-modern-classic[data-ui-theme] .native-profile .info-list>div>strong,
body.ui-modern-classic[data-ui-theme] .mc-overview .info-list>div>strong,
body.ui-modern-classic[data-ui-theme] .mc-stat-line>strong{min-width:0;text-align:right;overflow-wrap:anywhere}

@media(max-width:360px){body.ui-modern-classic[data-ui-theme] .native-profile .info-list>div,body.ui-modern-classic[data-ui-theme] .mc-overview .info-list>div,body.ui-modern-classic[data-ui-theme] .mc-stat-line{gap:8px!important}}
