/* life-design-v269 — shared player HUD and Life visual refresh.
   Presentation only: preserve server-owned credit, work, training, housing, club and match data. */
#app.screen:not(.auth-mode){--life-ink:#102c39;--life-turquoise:#1e6c70;--life-mint:#55d5b3;--life-gold:#f5c779;--life-coral:#f58a70;--life-stroke:#98dbc385}
#app.screen:not(.auth-mode)>.always-wallet.game-hud-v269{
 --city-wallet-height:calc(66px + var(--city-safe-top,0px));
 box-sizing:border-box;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;
 min-height:var(--city-wallet-height);height:var(--city-wallet-height);
 padding:calc(7px + var(--city-safe-top,0px)) 10px 7px;
 position:sticky;top:0;z-index:45;width:100%;max-width:100%;
 background:linear-gradient(110deg,#1b5b60fa,#0f303ffd 70%);
 border-bottom:1px solid #a6e7ce80;box-shadow:0 8px 20px #021c2d59;
 backdrop-filter:blur(18px)
}
#app .game-hud-v269 .hud-player{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}
#app .game-hud-v269 .hud-mark{width:37px;height:37px;flex:none;object-fit:contain;padding:3px;border-radius:12px;border:1px solid #f5c77988;background:#245960}
#app .game-hud-v269 .hud-player-copy{display:grid;gap:1px;min-width:0;line-height:1.3}
#app .game-hud-v269 .hud-player-copy small{color:#b7ead8;font-size:10px;font-weight:700}
#app .game-hud-v269 .hud-player .always-wallet-name{display:block!important;max-width:100%!important;min-width:0;flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:900;color:#fff1cf}
#app .game-hud-v269 .always-wallet-button{min-width:0;max-width:42%;flex:none;margin:0;min-height:39px;padding:5px 10px;border:1px solid #79dab4a8;border-radius:14px;background:linear-gradient(135deg,#287d72,#205764)}
#app .game-hud-v269 .always-wallet-button strong{display:flex;align-items:center;gap:4px;margin:0;color:#ffe8b0;font-size:clamp(15px,3.8vw,19px);font-variant-numeric:tabular-nums}
#app .game-hud-v269 .always-wallet-button small{font-size:10px;color:#fff0c9}
#app .game-hud-v269 :is(.always-chat,.always-bag,.always-notices){min-width:38px;width:39px;height:39px;min-height:39px;flex:none;padding:6px;background:#ffffff14;border:1px solid #a6e7ce73;border-radius:13px;color:#ffe3a8}
#app .game-hud-v269 .wallet-shortcuts.hud-tools{display:block!important;position:relative;flex:none;min-width:0}
#app .game-hud-v269 .hud-tools>summary{display:grid;place-items:center;width:39px;height:39px;min-width:39px;border:1px solid #a6e7ce73;border-radius:13px;background:#ffffff14;color:#ffe3a8;font-size:21px;list-style:none;cursor:pointer}
#app .game-hud-v269 .hud-tools>summary::-webkit-details-marker{display:none}
#app .game-hud-v269 .hud-tools .wallet-shortcuts-menu{position:absolute;display:grid;gap:6px;z-index:55;inset-inline-end:0;top:calc(100% + 10px);min-width:190px;max-width:min(85vw,265px);padding:10px;border:1px solid #80c8b2;border-radius:17px;background:linear-gradient(145deg,#215460,#102d3d);box-shadow:0 20px 40px #001724aa}
#app .game-hud-v269 .hud-tools:not([open]) .wallet-shortcuts-menu{display:none}
#app .game-hud-v269 .wallet-shortcuts-menu>button{min-height:44px;width:100%;padding:8px 11px;border:1px solid #a2dcca5c;border-radius:10px;color:#fff2d8;background:#ffffff12;text-align:right;font-weight:800;font-size:13px}
#app .game-hud-v269 .hud-tools .launch-in-game-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:5px 0 0;padding-top:8px;border-top:1px solid #a1ddc455}
#app .game-hud-v269 .hud-tools .launch-in-game-tools button{min-width:0;min-height:44px;width:100%;padding:5px;border:1px solid #a1ddc477;border-radius:10px;background:#ffffff15;color:#ffe3a8;font-size:21px}
#app .game-hud-v269 .hud-tools :is(summary,button):focus-visible{outline:3px solid #ffe6aa;outline-offset:2px}
#app.screen.home-mode:not(.auth-mode)>.hero{display:none}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode,.profile-mode)>.hero{min-height:auto;padding-top:8px;padding-bottom:10px;background:linear-gradient(115deg,#1c5e61,#102e40);border-bottom-color:#9de0c35d}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode,.profile-mode)>.hero .topline{display:none}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode,.profile-mode)>.hero .hero-headline{margin-top:0}
#app.screen:not(.auth-mode):is(.home-mode,.growth-mode,.city-mode,.profile-mode)>.content{background:radial-gradient(ellipse at 50% 0%,#347b7155,transparent 40%),linear-gradient(180deg,#123442,#0b2332 78%);padding-top:13px}
#app.screen.home-mode:not(.auth-mode) .life-city-journey{gap:15px;color:#f5f5e9}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome{min-height:clamp(268px,52vw,320px);padding:18px;align-items:center;overflow:hidden;isolation:isolate;border-radius:24px;border:1px solid #f0d79a9c;background:#205567!important;box-shadow:0 12px 35px #001f3166}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome>.cinematic-picture img{object-fit:cover;object-position:left center;filter:brightness(1.13) saturate(1.2) contrast(1.04)}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome:before{content:"";inset:0;z-index:1;background:linear-gradient(to left,#071f31dc,#0a3044a1 49%,#0b2d4412 88%)}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome:after{content:"";inset:0;z-index:1;background:linear-gradient(to top,#05253655,transparent 47%);pointer-events:none}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome-copy{max-width:70%;display:grid;gap:10px;position:relative;z-index:2;text-shadow:0 2px 10px #001a28b5}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome .life-home-eyebrow{color:#abf2d1;font-weight:800;font-size:11px}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome h2{font-size:clamp(24px,5vw,31px);line-height:1.36;color:#fff0c8;font-weight:900}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome p{font-size:clamp(12px,2.8vw,14px);line-height:1.7;color:#edf8f1}
#app.screen.home-mode:not(.auth-mode) .life-city-football-note{display:inline-flex;width:fit-content;max-width:100%;padding:6px 9px;border:1px solid #a0e5bda0;border-radius:999px;background:#105750aa;color:#fff0c6;font-size:11px}
#app.screen.home-mode:not(.auth-mode) .life-city-welcome .life-how-to-button{min-height:44px;border-radius:13px;border-color:#fff1cb;background:linear-gradient(135deg,#ffe9b6,#e7bd79);color:#12353d;font-size:13px;font-weight:900}
#app.screen.home-mode:not(.auth-mode) .life-city-journey .life-home-work-lead{isolation:isolate;min-height:164px;border:1px solid #9de3bc;border-radius:21px;box-shadow:0 12px 29px #001f3150;background:linear-gradient(110deg,#14585be9,#155460cc 58%,#16475666),url('/play/media/story_employment.webp') center 45%/cover no-repeat}
#app.screen.home-mode:not(.auth-mode) .life-home-work-lead :is(h3,.life-home-work-step){color:#fff0c7}
#app.screen.home-mode:not(.auth-mode) .life-home-work-lead p{color:#ecf9f1;line-height:1.7}
#app.screen.home-mode:not(.auth-mode) .life-home-work-status{display:inline-flex;width:fit-content;padding:4px 9px;border-radius:999px;background:#1d715f;color:#d6ffe6;font-size:11px}
#app.screen.home-mode:not(.auth-mode) .life-home-work-button{min-height:47px;border-radius:13px;border-color:#ffeec3;background:linear-gradient(135deg,#ffe6b0,#dfb46e);color:#173640;font-weight:900}
#app.screen.home-mode:not(.auth-mode) .life-city-journey .life-home-journey{padding:16px;border:1px solid #94dbc469;border-radius:21px;background:linear-gradient(150deg,#245c65,#174351 60%,#123344);box-shadow:0 12px 28px #001c2f55}
#app.screen.home-mode:not(.auth-mode) .life-home-section-heading h3{color:#ffedbb;font-size:clamp(19px,4.5vw,24px)}
#app.screen.home-mode:not(.auth-mode) .life-home-section-heading p{color:#d9ede5}
#app.screen.home-mode:not(.auth-mode) .life-career-card{border:1px solid #a0d4c57d;border-radius:17px;background:linear-gradient(145deg,#245c63,#17394c);box-shadow:0 8px 20px #001b2a55}
#app.screen.home-mode:not(.auth-mode) .life-career-football{border-color:#8cebbb;box-shadow:0 0 0 1px #60df9a30,0 8px 23px #2f9f7c38}
#app.screen.home-mode:not(.auth-mode) .life-career-art{height:110px}
#app.screen.home-mode:not(.auth-mode) .life-career-football .life-career-art{background:linear-gradient(to top,#102b3bcc,transparent),url('/play/media/minelsefr-growth-cinematic-v265.avif') center 54%/cover no-repeat,url('/play/media/life-training-field-v264.svg') center/cover no-repeat}
#app.screen.home-mode:not(.auth-mode) .life-career-home .life-career-art{background:linear-gradient(to top,#102b3bca,transparent),url('/play/media/city-residential-v266.avif') center/cover no-repeat,url('/play/media/city-estate-203.svg') center/cover no-repeat}
#app.screen.home-mode:not(.auth-mode) .life-career-art span{font-size:30px;filter:drop-shadow(0 4px 8px #071b25)}
#app.screen.home-mode:not(.auth-mode) .life-career-body h4{color:#fff0bf;font-size:16px}
#app.screen.home-mode:not(.auth-mode) .life-career-body p{color:#d4efe4;font-size:12px}
#app.screen.home-mode:not(.auth-mode) .life-career-available{min-height:45px;border:1px solid #9ce9c6;border-radius:11px;background:linear-gradient(135deg,#42b396,#2b8578);color:#fffef6;font-weight:900}
#app.screen.home-mode:not(.auth-mode) .life-city-service-grid .life-service-card{border:1px solid #9dccb875;border-radius:16px;background:linear-gradient(150deg,#2a606b,#194350);box-shadow:0 7px 18px #001d2a42}
#app.screen.home-mode:not(.auth-mode) .life-city-service-grid .life-service-icon{border:1px solid #aaead38a;background:linear-gradient(145deg,#358f87,#20515a)}
#app.screen.home-mode:not(.auth-mode) .life-city-service-grid .life-service-action{min-height:44px;border:1px solid #91d1bd;border-radius:11px;background:#265b5e;color:#fff1c6}
#app.screen.home-mode:not(.auth-mode) .life-step-card{border:1px solid #8bd4c47d;border-radius:15px;background:linear-gradient(150deg,#235d62,#153a4a)}
#app.screen.home-mode:not(.auth-mode) .life-step-number{background:#f5c779;color:#123641}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode) .life-hero:before{background:linear-gradient(to left,#071e33aa,#0b36485c 60%,transparent)}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode) .life-hero>.cinematic-picture img{filter:brightness(1.11) saturate(1.19) contrast(1.04)}
#app.screen:not(.auth-mode):is(.growth-mode,.city-mode) .life-hero{border-color:#b7e5bf91;box-shadow:0 12px 28px #001c2a4d}
#app.screen:not(.auth-mode) .bottom button.center.active{background:linear-gradient(135deg,#ffe9b4,#e3b86f);box-shadow:0 6px 21px #f5c77955}
#app.screen:not(.auth-mode) :is(.life-career-available,.life-home-work-button,.life-service-action,.life-how-to-button,.hud-tools summary,.hud-tools button){transition:transform .16s ease,filter .18s ease}
#app.screen:not(.auth-mode) :is(.life-career-available,.life-home-work-button,.life-service-action,.life-how-to-button,.hud-tools summary,.hud-tools button):active{transform:scale(.978);filter:brightness(1.08)}
@keyframes life-v269-reveal{from{opacity:.55;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
#app.screen.home-mode:not(.auth-mode):not(.live-sync) .life-city-journey>section{animation:life-v269-reveal .36s cubic-bezier(.2,.72,.22,1) both}
#app.screen.home-mode:not(.auth-mode):not(.live-sync) .life-city-journey>section:nth-child(2){animation-delay:.05s}
#app.screen.home-mode:not(.auth-mode):not(.live-sync) .life-city-journey>section:nth-child(3){animation-delay:.10s}
@media(max-width:700px){
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269{--city-wallet-height:calc(62px + var(--city-safe-top,0px));gap:6px;padding-inline:8px;grid-template-columns:none;grid-template-rows:none}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 :is(.always-chat,.always-bag){display:none!important}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-wallet-button{max-width:40%;margin:0}
 #app.screen.wallet-compact:not(.auth-mode)>.always-wallet.game-hud-v269{--city-wallet-height:calc(52px + var(--city-safe-top,0px));height:var(--city-wallet-height);min-height:var(--city-wallet-height);margin-bottom:var(--city-wallet-collapse-compensation,10px)}
 #app.screen.wallet-compact .game-hud-v269 .hud-player-copy small{display:none}
 #app.screen.wallet-compact .game-hud-v269 .hud-mark{width:31px;height:31px}
}
@media(max-width:430px){
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269{display:flex!important;flex-wrap:nowrap;--city-wallet-height:calc(61px + var(--city-safe-top,0px));height:var(--city-wallet-height);min-height:var(--city-wallet-height)}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-mark{width:33px;height:33px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-player{gap:5px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-player-copy small{font-size:9px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-player .always-wallet-name{font-size:12px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-wallet-button{padding-inline:6px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-wallet-button strong{font-size:15px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-notices{width:36px;min-width:36px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-tools>summary{min-width:36px;width:36px}
 #app.screen.home-mode:not(.auth-mode) .life-city-welcome{min-height:284px;padding:15px;border-radius:21px}
 #app.screen.home-mode:not(.auth-mode) .life-city-welcome-copy{max-width:76%}
 #app.screen.home-mode:not(.auth-mode) .life-city-welcome h2{font-size:clamp(22px,5.5vw,25px)}
 #app.screen.home-mode:not(.auth-mode) .life-career-art{height:96px}
}
@media(max-width:350px){
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269{gap:4px;padding-inline:6px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-mark{width:30px;height:30px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-player-copy small{display:none}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .hud-player .always-wallet-name{font-size:11px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-wallet-button{padding-inline:5px}
 #app.screen:not(.auth-mode)>.always-wallet.game-hud-v269 .always-wallet-button strong{font-size:14px}
 #app.screen.home-mode:not(.auth-mode) .life-city-welcome-copy{max-width:86%}
 #app.screen.home-mode:not(.auth-mode) .life-city-welcome h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
 #app.screen:not(.auth-mode) .life-city-journey *,#app.screen:not(.auth-mode) .game-hud-v269 *,#app.screen:not(.auth-mode) .life-city-journey *:before,#app.screen:not(.auth-mode) .life-city-journey *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
