/* V264 — unified illustrated game pages; no client-side money/ownership rules.
   Applies across all native tabs; mobile-first RTL, real buttons and server data remain. */
#app.screen:not(.auth-mode){--v264-mint:#9be4c5;--v264-gold:#f4d79e;--v264-ink:#071d2a;--v264-edge:#648c8c}
#app.screen:not(.auth-mode):not(.club-mode) .content{min-width:0;background:radial-gradient(ellipse at 50% 0%,#286a6650,transparent 48%),linear-gradient(180deg,#0b2130,#071625 73%);padding-top:14px}
#app.screen:not(.auth-mode) .content>*{max-width:100%;min-width:0}
#app.screen:not(.auth-mode) :where(.button,button,select,input,textarea){font-family:inherit}
#app.screen:not(.auth-mode) :where(button,a,input,select,textarea):focus-visible{outline:3px solid #f7dda3;outline-offset:2px}
#app.screen:not(.auth-mode) .hero .brand b{color:#ffdd9b;font-weight:900}
#app.screen:not(.auth-mode):not(.club-mode)>.hero{border-bottom-color:#567f7c;background:linear-gradient(110deg,#102e39,#092633)}
#app.screen:not(.auth-mode):where(.home-mode,.growth-mode,.city-mode,.profile-mode)>.hero .hero-headline{display:none}
#app.screen:not(.auth-mode):where(.home-mode,.growth-mode,.city-mode,.profile-mode)>.hero{padding-bottom:10px}
#app.screen:not(.auth-mode):where(.growth-mode,.city-mode,.profile-mode)>.hero .club-world-label{display:none}
#app.screen:not(.auth-mode) .life-shell{display:grid;gap:16px;min-width:0;padding-bottom:12px;color:#f0f0df}
#app.screen:not(.auth-mode) .life-shell>*{min-width:0}
#app.screen:not(.auth-mode) .life-hero{
 position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;
 min-height:clamp(240px,28vw,288px);padding:clamp(16px,3.3vw,30px);
 border:1px solid #ddc58e;border-radius:22px;
 background:#103544;box-shadow:0 14px 29px #0008,inset 0 1px #fff3;
}
#app.screen:not(.auth-mode) .life-hero-scene{
 position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;object-fit:cover;
 object-position:center;filter:saturate(1.13) contrast(1.12);
}
#app.screen:not(.auth-mode) .life-hero:before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(to left,#061b29f7 0%,#072b38df 38%,#0a314274 65%,#0a30450c 100%);
}
#app.screen:not(.auth-mode) .life-hero-copy{position:relative;display:grid;gap:7px;width:min(100%,550px);max-width:65%;text-shadow:0 2px 12px #000b}
#app.screen:not(.auth-mode) .life-kicker{display:block;font-size:11px;line-height:1.5;color:#a9e9c9;font-weight:800;letter-spacing:0}
#app.screen:not(.auth-mode) .life-hero h2{margin:0;color:#fff0c8;font-size:clamp(28px,4.1vw,43px);font-weight:900;line-height:1.24}
#app.screen:not(.auth-mode) .life-hero h2:after{content:"";display:block;width:120px;max-width:65%;height:2px;margin-top:9px;background:linear-gradient(to left,#efc982,transparent)}
#app.screen:not(.auth-mode) .life-hero p{font-size:clamp(12px,1.7vw,15px);line-height:1.75;color:#e2f1e7;margin:0;max-width:36ch}
#app.screen:not(.auth-mode) .life-area{
 display:grid;gap:12px;min-width:0;padding:clamp(14px,2.5vw,23px);
 border:1px solid #598a86;border-radius:19px;background:linear-gradient(145deg,#173c46,#0a2536);
 box-shadow:0 9px 23px #0006
}
#app.screen:not(.auth-mode) .life-area>h3,#app.screen:not(.auth-mode) .life-area-heading h3{
 color:#f7dca6;font-size:clamp(18px,2.6vw,22px);font-weight:900;margin:0;line-height:1.42
}
#app.screen:not(.auth-mode) .life-area>p,#app.screen:not(.auth-mode) .life-area-heading p{margin:0;font-size:12px;color:#d0e1df;line-height:1.85}
#app.screen:not(.auth-mode) .life-area strong{color:#ffe2ac}
#app.screen:not(.auth-mode) .life-area button,#app.screen:not(.auth-mode) .life-area a{min-height:44px}
#app.screen:not(.auth-mode) .life-area button:disabled{opacity:.63;cursor:not-allowed}
#app.screen:not(.auth-mode) .life-training-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
#app.screen:not(.auth-mode) .life-training-metrics article{
 min-width:0;display:grid;gap:2px;padding:12px 15px;border:1px solid #97bbb090;
 border-radius:12px;background:#082737dc;box-shadow:inset 0 1px #e6e6bb24
}
#app.screen:not(.auth-mode) .life-training-metrics small{font-size:11px;color:#d3e4dc;line-height:1.45}
#app.screen:not(.auth-mode) .life-training-metrics strong{font-size:clamp(21px,2.5vw,29px);font-variant-numeric:tabular-nums;color:#ffdaa0}
#app.screen:not(.auth-mode) .life-training-metrics em{font-size:11px;font-style:normal;color:#dbeada}
#app.screen:not(.auth-mode) .life-growth-skills{gap:12px}
#app.screen:not(.auth-mode) .life-area-heading{display:grid;gap:4px;margin:0 0 2px}
#app.screen:not(.auth-mode) .life-training-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:stretch}
#app.screen:not(.auth-mode) .life-training-card{
 display:flex;flex-direction:column;min-width:0;gap:12px;padding:16px;border:1px solid #668f88;
 border-radius:16px;background:radial-gradient(ellipse at 80% 0,#377e6552,transparent 54%),linear-gradient(145deg,#1b4b51,#102c3e);
 box-shadow:0 6px 19px #0007,inset 0 1px #fff2
}
#app.screen:not(.auth-mode) .life-training-card:nth-child(2n){background:radial-gradient(ellipse at 10% 0,#547d8b57,transparent 53%),linear-gradient(155deg,#174454,#102b3b)}
#app.screen:not(.auth-mode) .life-training-head{display:flex;align-items:center;gap:10px;min-width:0}
#app.screen:not(.auth-mode) .life-training-head>div{flex:1;min-width:0}
#app.screen:not(.auth-mode) .life-training-icon{display:grid;place-items:center;flex:none;width:56px;height:56px;border:1px solid #acdab4;background:#205952;border-radius:13px;font-size:30px;box-shadow:0 3px 11px #0019208c}
#app.screen:not(.auth-mode) .life-training-head h4{font-size:clamp(16px,2vw,19px);line-height:1.4;color:#ffe8b2;margin:0 0 3px}
#app.screen:not(.auth-mode) .life-training-head p{font-size:11px;line-height:1.65;color:#c9e0de;margin:0}
#app.screen:not(.auth-mode) .life-training-progress{display:grid;gap:9px;min-width:0}
#app.screen:not(.auth-mode) .life-training-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:#cce1dc}
#app.screen:not(.auth-mode) .life-training-progress b{color:#ffe1a9;font-variant-numeric:tabular-nums}
#app.screen:not(.auth-mode) .life-training-track{width:100%;height:8px;overflow:hidden;border:1px solid #4a756f;border-radius:99px;background:#092632}
#app.screen:not(.auth-mode) .life-training-track span{display:block;height:100%;background:linear-gradient(to left,#8eedbc,#278e6b);border-radius:inherit}
#app.screen:not(.auth-mode) .life-training-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
#app.screen:not(.auth-mode) .life-training-footer strong{font-size:12px;color:#ffe5ac;white-space:normal}
#app.screen:not(.auth-mode) .life-training-footer button{
 min-height:44px;min-width:129px;border:1px solid #b7e7c2;border-radius:10px;
 background:linear-gradient(130deg,#1e926e,#0e5d56);color:#fff3d4;font-size:12px;font-weight:900
}
#app.screen:not(.auth-mode) .life-training-footer button:disabled{border-color:#769b95;background:#2a4d55;color:#d9e1d7}
#app.screen:not(.auth-mode) .life-training-pending,#app.screen:not(.auth-mode) .life-truth{
 padding:11px 13px;border:1px solid #d1b77d;border-radius:10px;background:#263f40;color:#ffdfae;font-size:12px;line-height:1.7
}
#app.screen:not(.auth-mode) .life-training-disclaimer{font-size:11px;line-height:1.7;color:#b8cccb}
#app.screen:not(.auth-mode) .life-city-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#app.screen:not(.auth-mode) .life-city-shortcuts a{
 display:flex;justify-content:center;align-items:center;min-height:48px;min-width:0;padding:9px 5px;
 border:1px solid #99c9b2;border-radius:12px;background:#123e43;
 text-align:center;text-decoration:none;color:#fff0c4;font-size:12px;font-weight:800;
 box-shadow:0 3px 12px #0006
}
#app.screen:not(.auth-mode) .life-city-shortcuts a:hover,#app.screen:not(.auth-mode) .life-city-shortcuts a:focus-visible{border-color:#ffe5ab;background:#206858}
#app.screen:not(.auth-mode) :is(#life-work,#life-city-housing,#life-city-market){scroll-margin-top:130px}
#app.screen:not(.auth-mode) .life-city-housing{
 background:linear-gradient(to left,#0d2c3bed,#0d2c3bd9),url('/play/media/city-estate-203.svg') center/cover;
 border-color:#cdb77f
}
#app.screen:not(.auth-mode) .life-city-market{
 background:linear-gradient(to left,#102c3beb,#102c3be0),url('/play/media/city-market-203.svg') center/cover;
 border-color:#6da99f
}
#app.screen:not(.auth-mode) .life-inline-actions{display:flex;flex-wrap:wrap;gap:8px}
#app.screen:not(.auth-mode) .life-inline-actions button,
#app.screen:not(.auth-mode) .life-city-market button{
 min-height:46px;padding:9px 14px;border:1px solid #d4bd8c;border-radius:11px;
 background:linear-gradient(140deg,#306958,#124b4a);color:#fff0cc;font-size:12px;font-weight:850
}
#app.screen:not(.auth-mode) .life-work-area{border-color:#88bfae;gap:12px}
#app.screen:not(.auth-mode) .life-work-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
#app.screen:not(.auth-mode) .life-work-heading h3{font-size:clamp(17px,2.6vw,23px);color:#ffe6b4;margin:0}
#app.screen:not(.auth-mode) .life-work-heading span{font-size:11px;color:#bfe8cd}
#app.screen:not(.auth-mode) .life-work-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
#app.screen:not(.auth-mode) .life-work-options article{
 display:flex;flex-direction:column;gap:10px;min-width:0;padding:14px;border:1px solid #73aaa0;
 border-radius:15px;background:linear-gradient(150deg,#1b4850,#102e3a);
 box-shadow:inset 0 1px #fff2
}
#app.screen:not(.auth-mode) .life-work-options article>div{flex:1;min-width:0}
#app.screen:not(.auth-mode) .life-work-options h4{color:#ffe4ad;font-size:15px;margin:0 0 5px;line-height:1.4}
#app.screen:not(.auth-mode) .life-work-options p{color:#d6e3de;font-size:11px;line-height:1.7;margin:0 0 5px}
#app.screen:not(.auth-mode) .life-work-options small{display:block;color:#c4e6d2;font-size:11px;line-height:1.5}
#app.screen:not(.auth-mode) .life-work-icon{display:grid;place-items:center;width:50px;height:50px;font-size:27px;border:1px solid #83bb9b;border-radius:12px;background:#256253}
#app.screen:not(.auth-mode) .life-work-options button{
 min-height:47px;width:100%;margin-top:auto;border:1px solid #b4e9c4;border-radius:10px;
 background:linear-gradient(135deg,#2d9775,#105c57);color:#fff0d4;font-weight:900
}
#app.screen:not(.auth-mode) .life-work-locked{min-height:45px;display:flex;align-items:center;justify-content:center;border:1px solid #7e958f;border-radius:10px;background:#2b4148;color:#e8d6b7;font-size:12px;font-weight:800}
#app.screen:not(.auth-mode) .life-work-active{
 display:grid;gap:14px;padding:15px;border-radius:16px;border:1px solid #97d0b0;
 background:radial-gradient(ellipse at 80% -10%,#277f6050,transparent 60%),linear-gradient(140deg,#1d5053,#0c293b);box-shadow:0 9px 20px #0008
}
#app.screen:not(.auth-mode) .life-work-progress-head{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
#app.screen:not(.auth-mode) .life-work-progress-info{flex:1;min-width:0}
#app.screen:not(.auth-mode) .life-work-progress-info h4{margin:4px 0;color:#ffe4a8;font-size:clamp(15px,2vw,19px)}
#app.screen:not(.auth-mode) .life-work-progress-info p{margin:0;color:#cfe3d9;font-size:12px}
#app.screen:not(.auth-mode) .life-work-clockbox{min-width:110px;display:grid;gap:3px;text-align:center;padding:7px 12px;border:1px solid #9ec5b1;border-radius:10px;background:#062838}
#app.screen:not(.auth-mode) .life-work-clockbox span{font-size:10px;color:#beddd8}
#app.screen:not(.auth-mode) .life-work-clockbox strong{font-size:20px;letter-spacing:.5px;color:#ffe5af;font-variant-numeric:tabular-nums}
#app.screen:not(.auth-mode) .life-work-meter-track{height:11px;overflow:hidden;border-radius:99px;border:1px solid #659c8b;background:#0a2732}
#app.screen:not(.auth-mode) .life-work-meter-track [data-work-fill]{display:block;height:100%;background:linear-gradient(to left,#b8f2ce,#238865);border-radius:inherit}
#app.screen:not(.auth-mode) .life-work-progress-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
#app.screen:not(.auth-mode) .life-work-progress-footer>span{flex:1;min-width:150px;color:#d4e8dd;font-size:11px;line-height:1.7}
#app.screen:not(.auth-mode) .life-work-progress-footer button{min-height:47px;border:1px solid #f1d396;border-radius:10px;background:#256755;color:#ffedc3;font-weight:850}
#app.screen:not(.auth-mode) .life-city-welcome{border-color:#dfc58b;min-height:clamp(218px,27vw,287px);box-shadow:0 15px 30px #0009;border-radius:22px}
#app.screen:not(.auth-mode) .life-city-welcome-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% center;z-index:0;filter:saturate(1.12) contrast(1.06)}
#app.screen:not(.auth-mode) .life-city-welcome:before{
 content:"";position:absolute;inset:0;z-index:1;
 background:linear-gradient(to left,#071d2bf4 0%,#082c3cdb 45%,#092c3c48 80%,transparent)
}
#app.screen:not(.auth-mode) .life-city-welcome:after{z-index:1}
#app.screen:not(.auth-mode) .life-city-welcome-copy{position:relative;z-index:2;max-width:72%;gap:9px}
#app.screen:not(.auth-mode) .life-city-welcome h2{font-size:clamp(21px,3.9vw,31px);color:#ffedbd}
#app.screen:not(.auth-mode) .life-city-welcome p{color:#e4f1e9}
#app.screen:not(.auth-mode) .life-city-welcome-scene{display:none}
#app.screen:not(.auth-mode) .life-city-journey .life-home-work-lead{
 position:relative;isolation:isolate;overflow:hidden;border:1px solid #c6c185;
 background:linear-gradient(110deg,#154c48d9,#154c48d7),url('/play/media/life-city-work-v264.svg') center/cover;
 box-shadow:0 10px 24px #0007;min-height:152px
}
#app.screen:not(.auth-mode) .life-city-journey .life-home-journey,#app.screen:not(.auth-mode) .life-city-services,#app.screen:not(.auth-mode) .life-start-panel{border-color:#7daaa2;box-shadow:0 8px 20px #0006}
#app.screen:not(.auth-mode) .life-career-card{border-radius:16px;box-shadow:0 8px 19px #0007}
#app.screen:not(.auth-mode) .life-career-football{border:1px solid #bbdfac;box-shadow:0 0 0 1px #8bebad33,0 5px 18px #2ab87239}
#app.screen:not(.auth-mode) .life-career-football .life-career-art{background:linear-gradient(to top,#0d2c3cc9,#133c3e50),url('/play/media/life-training-field-v264.svg') center/cover}
#app.screen:not(.auth-mode) .life-career-art span{filter:drop-shadow(0 4px 8px #000b)}
#app.screen:not(.auth-mode) .life-career-body h4{color:#ffe2b0}
#app.screen:not(.auth-mode) .life-service-card{background:linear-gradient(155deg,#173e4c,#0a2738);box-shadow:0 6px 13px #0006}
#app.screen:not(.auth-mode) .life-service-icon{border-color:#a6c6ae;background:#2e6055}
#app.screen:not(.auth-mode) .life-step-card{box-shadow:0 5px 15px #0006}
#app.screen:not(.auth-mode) .profile-city-identity{
 position:relative;isolation:isolate;overflow:hidden;padding:clamp(16px,2.6vw,27px);
 min-height:clamp(250px,27vw,305px);border:1px solid #ecd198;border-radius:22px;background:#08293a;
 box-shadow:0 12px 27px #0008;display:flex;flex-direction:column;justify-content:flex-end
}
#app.screen:not(.auth-mode) .profile-city-scene{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.05)}
#app.screen:not(.auth-mode) .profile-city-identity:before{content:"";position:absolute;inset:0;z-index:1;width:auto;height:auto;top:0;right:0;bottom:0;left:0;border:0;border-radius:0;background:linear-gradient(to left,#071b2bf3,#092a3bd9 48%,#0c354643);box-shadow:none;opacity:1;pointer-events:none}
#app.screen:not(.auth-mode) .profile-city-identity :is(.profile-head,.profile-facts){position:relative;z-index:2}
#app.screen:not(.auth-mode) .profile-city-identity .profile-head{margin-bottom:14px}
#app.screen:not(.auth-mode) .profile-city-identity .profile-person h1{font-size:clamp(25px,3.7vw,33px);color:#ffe9b1}
#app.screen:not(.auth-mode) .profile-city-identity .profile-facts{border-top:1px solid #f3d59b79;padding-top:13px;margin-top:2px}
#app.screen:not(.auth-mode) .profile-city-identity .profile-fact{min-height:76px;background:#092739d5;border:1px solid #91c7b06e;border-radius:13px;box-shadow:inset 0 1px #fff2}
#app.screen:not(.auth-mode) .profile-city-identity .profile-fact strong{color:#ffe0a1}
#app.screen:not(.auth-mode) .profile-resources{gap:11px}
#app.screen:not(.auth-mode) .profile-services-head h2{color:#ffe2aa}
#app.screen:not(.auth-mode) .profile-guide-entry{border:1px solid #709b98;border-radius:15px;background:linear-gradient(155deg,#19434d,#0c2737);box-shadow:0 5px 16px #0007}
#app.screen:not(.auth-mode) .profile-guide-icon{background:#20514c;border:1px solid #b7c7a3}
#app.screen:not(.auth-mode) .profile-guide-copy strong{color:#ffe8c1}
#app.screen:not(.auth-mode) .profile-guide-copy small{color:#c3deda}
#app.screen:not(.auth-mode) .profile-legacy-history,#app.screen:not(.auth-mode) .profile-settings{border-radius:15px;border:1px solid #5c8681;background:#122c3a}
#app.screen:not(.auth-mode) .profile-settings>summary{min-height:58px;align-items:center}
#app.screen:not(.auth-mode):not(.club-mode) .bottom button.active:not(.center){border:1px solid #aae4c6;background:linear-gradient(155deg,#277869,#104d51);color:#ffe5b8;box-shadow:0 0 13px #42c78d3c}
#app.screen:not(.auth-mode):not(.club-mode) .bottom button.center{border-color:#dfc382;background:linear-gradient(170deg,#eccc89,#ca9d59);color:#102b36}
#app.screen:not(.auth-mode):not(.club-mode) .bottom button.center.active{box-shadow:0 0 16px #e5c98188}
#app.screen:not(.auth-mode) .bottom button{min-width:0}
#app.screen:not(.auth-mode)>.always-wallet{border-bottom-color:#55877d}
#app.screen:not(.auth-mode) .always-wallet-button{border-color:#bdc6a073}
#app.screen:not(.auth-mode)[data-player-page]:not([data-player-page="club"]) .content :is(.wallet-ledger-head,.updates-intro,.gov-head,.city-pulse-mast){border-radius:17px}
#app.screen:not(.auth-mode) .content :is(.profile-guide-entry,.profile-fact,.city-walk-place,.life-career-card,.life-service-card):hover{border-color:#f5dda3}
@media(max-width:760px){
 #app.screen:not(.auth-mode) .life-hero{min-height:225px}
 #app.screen:not(.auth-mode) .life-hero-copy{max-width:78%}
 #app.screen:not(.auth-mode) .life-work-options{grid-template-columns:1fr}
 #app.screen:not(.auth-mode) .life-training-grid{grid-template-columns:1fr}
 #app.screen:not(.auth-mode) .life-work-options article{flex-direction:row;align-items:center;flex-wrap:wrap}
 #app.screen:not(.auth-mode) .life-work-options article>div{flex:1 1 170px}
 #app.screen:not(.auth-mode) .life-work-options article>button,#app.screen:not(.auth-mode) .life-work-options .life-work-locked{flex:1 1 100%}
}
@media(max-width:430px){
 #app.screen:not(.auth-mode) .life-shell{gap:12px}
 #app.screen:not(.auth-mode) .life-hero{min-height:210px;padding:14px;border-radius:17px}
 #app.screen:not(.auth-mode) .life-hero-copy{max-width:88%}
 #app.screen:not(.auth-mode) .life-hero h2{font-size:27px}
 #app.screen:not(.auth-mode) .life-hero p{font-size:11px;line-height:1.6}
 #app.screen:not(.auth-mode) .life-training-metrics article{padding:9px}
 #app.screen:not(.auth-mode) .life-training-metrics strong{font-size:20px}
 #app.screen:not(.auth-mode) .life-training-metrics small{font-size:10px}
 #app.screen:not(.auth-mode) .life-area{padding:13px;border-radius:14px}
 #app.screen:not(.auth-mode) .life-training-card{padding:13px}
 #app.screen:not(.auth-mode) .life-training-icon{width:48px;height:48px;font-size:26px}
 #app.screen:not(.auth-mode) .life-training-footer{align-items:stretch}
 #app.screen:not(.auth-mode) .life-city-shortcuts{gap:6px}
 #app.screen:not(.auth-mode) .life-city-shortcuts a{min-height:47px;font-size:10px;padding:7px 4px}
 #app.screen:not(.auth-mode) .profile-city-identity{min-height:254px;padding:14px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-facts{gap:5px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-fact{min-height:68px;padding:9px 6px}
 #app.screen:not(.auth-mode) .life-city-welcome{min-height:229px}
 #app.screen:not(.auth-mode) .life-city-welcome-copy{max-width:87%}
}
@media(max-width:350px){
 #app.screen:not(.auth-mode) .life-hero-copy{max-width:94%}
 #app.screen:not(.auth-mode) .life-hero h2{font-size:24px}
 #app.screen:not(.auth-mode) .life-training-footer{flex-direction:column;align-items:stretch}
 #app.screen:not(.auth-mode) .life-training-footer button{width:100%}
 #app.screen:not(.auth-mode) .life-city-shortcuts{grid-template-columns:1fr}
 #app.screen:not(.auth-mode) .life-city-shortcuts a{min-height:44px}
 #app.screen:not(.auth-mode) .profile-city-identity{min-height:270px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-mark{width:45px;height:45px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-fact small{font-size:9px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-fact strong{font-size:18px}
 #app.screen:not(.auth-mode) .life-city-welcome-copy{max-width:93%}
}
@media(prefers-reduced-motion:reduce){
 #app.screen:not(.auth-mode) .life-shell *,#app.screen:not(.auth-mode) .life-shell *:before,
 #app.screen:not(.auth-mode) .life-shell *:after,#app.screen:not(.auth-mode) .profile-city-identity *,
 #app.screen:not(.auth-mode) .bottom *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* Same visual language across actual secondary player destinations.
   Existing forms and buttons keep their original handlers and server contracts. */
#app.screen:not(.auth-mode)[data-player-page="estate"]>.hero{
 background:linear-gradient(to left,#071d2bf1,#0e3341cf,#152b3f87),
 url('/play/media/city-estate-203.svg') center 55%/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="market"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="bag"]>.hero{
 background:linear-gradient(to left,#071d2bf0,#0d303fe0,#10293c91),
 url('/play/media/city-market-203.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="jobs"]>.hero{
 background:linear-gradient(to left,#071d2bf4,#0b303eec,#10283b80),
 url('/play/media/life-city-work-v264.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="government"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="constitution"]>.hero{
 background:linear-gradient(to left,#071d2bf4,#0d2e3ced,#132e417f),
 url('/play/media/city-square-203.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="wallet"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="profile"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="rewards"]>.hero{
 background:linear-gradient(to left,#071d2bf4,#102f3cdd,#13283b8b),
 url('/play/media/life-profile-city-v264.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="help"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="notifications"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="chat"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="feedback"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="updates"]>.hero,
#app.screen:not(.auth-mode)[data-player-page="city_pulse"]>.hero{
 background:linear-gradient(to left,#071d2bf4,#0f3445da,#122e3d8a),
 url('/play/media/life-city-panorama-v264.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page="business"]>.hero{
 background:linear-gradient(to left,#071d2bf3,#0c303be0,#15354685),
 url('/play/media/city-market-203.svg') center/cover no-repeat;
}
#app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline{
 position:relative;margin-top:10px;padding:12px 0;min-height:78px;
}
#app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline h1{
 color:#ffe8b0;font-weight:900;text-shadow:0 2px 9px #0009;font-size:clamp(21px,3.7vw,31px)
}
#app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline .sub{color:#dcece0;font-size:12px;line-height:1.6}
#app.screen:not(.auth-mode)[data-player-page] .content :is(.panel,.item,.property-card,.bag-item,.vault-item,.gov-service,.wallet-ledger-head,.updates-intro,.chat-room){
 border-radius:18px;min-width:0;box-shadow:0 6px 22px #0005
}
#app.screen:not(.auth-mode)[data-player-page] .content :is(.panel,.item,.property-card,.bag-item,.vault-item):focus-within{
 border-color:#d8c086
}
#app.screen:not(.auth-mode)[data-player-page] .content :is(button,.button,select,input,textarea){max-width:100%;min-width:0}
#app.screen:not(.auth-mode)[data-player-page] .content :is(button,.button):not([hidden]){min-height:44px}
#app.screen:not(.auth-mode)[data-player-page] .content button:disabled{cursor:not-allowed}
@media(max-width:430px){
 #app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline{margin-top:4px;min-height:72px;padding:8px 0}
 #app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline h1{font-size:22px}
 #app.screen:not(.auth-mode)[data-player-page]>.hero .hero-headline .sub{font-size:11px}
 #app.screen:not(.auth-mode)[data-player-page] .content :is(.panel,.item,.property-card,.bag-item,.vault-item){border-radius:14px}
}

@media(max-width:390px){
 #app.screen:not(.auth-mode) .life-hero h2{font-size:25px}
 #app.screen:not(.auth-mode) .life-training-metrics article{padding:8px}
 #app.screen:not(.auth-mode) .life-training-footer strong{font-size:11px}
 #app.screen:not(.auth-mode) .life-city-shortcuts a{font-size:10px}
 #app.screen:not(.auth-mode) .profile-city-identity .profile-facts{gap:5px}
}
