/* Full Launch: preserve v24 art direction and fit the career hub into its iframe. */
body{touch-action:manipulation}
body.home-screen{height:100vh;height:100dvh;min-height:0;overflow:hidden}
body.home-screen #app{height:100%;display:flex;flex-direction:column}
body.home-screen .game-nav{height:58px;min-height:58px;padding:0 20px;gap:14px;flex:none;width:100%;max-width:1600px}
body.home-screen .brand-avatar{width:34px;height:34px}
body.home-screen .game-nav .brand{min-width:0;flex:none}
body.home-screen .brand-name{font-size:18px}
body.home-screen .game-nav nav{min-width:0;gap:0}
body.home-screen .nav-item{padding:0 13px;font-size:11px;letter-spacing:.8px;margin:0}
body.home-screen .nav-tools{gap:8px;align-items:center}
.nav-tools button.wallet-coins{display:flex;align-items:center;gap:6px;background:#b8ef4210;border:1px solid #b8ef4233;padding:6px 9px;border-radius:18px;color:var(--lime);font-size:13px}
.nav-tools>button.wallet-coins{width:auto;height:auto;min-width:48px;flex:none}
.nav-tools>button.wallet-coins>span{display:none}
.nav-tools .wallet-coins svg{width:18px;height:18px}
body.home-screen .main-shell{min-height:0;flex:1;display:flex;flex-direction:column;width:100%;max-width:1600px;padding:0 20px}
body.home-screen .game-hud{margin:0;padding:6px 0;height:29px;min-height:29px;font-size:10px;line-height:1;flex:none}
body.home-screen .game-hud .club-badge{width:16px;height:18px}
body.home-screen main{padding:4px 0 8px;min-height:0;flex:1;display:flex;flex-direction:column;gap:0}
body.home-screen .game-footer{height:19px;min-height:19px;padding:0 0 5px;font-size:9px;flex:none}
body.home-screen .hub-title{height:31px;min-height:31px;margin:0 0 8px;gap:10px}
body.home-screen .hub-title h1{font-size:28px;line-height:1}
body.home-screen .hub-title>span{font-size:11px}
.dashboard-tabs{display:none}
body.home-screen .hub-v25{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:minmax(0,1.18fr) minmax(0,1fr);gap:12px}
body.home-screen .hub-v25>.panel{margin:0!important;min-width:0;min-height:0;border-radius:12px;overflow:hidden;box-shadow:inset 0 1px #ffffff0a,0 8px 24px #0002}
body.home-screen .hub-v25>.match-console{grid-column:1;grid-row:1;padding:13px 16px 12px;display:flex;flex-direction:column;border-top:2px solid #c8ff6388}
body.home-screen .hub-v25 .match-console .console-head{font-size:10px;letter-spacing:.5px;gap:8px;flex:none;margin:0;padding:0}
body.home-screen .match-console .console-head>span{white-space:nowrap}
body.home-screen .match-console .console-head>span:last-child{font-size:10px}
body.home-screen .next-match-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center;font-size:10px}
body.home-screen .match-console .match-stage{height:auto;min-height:0!important;flex:1;overflow:hidden;margin:7px 0}
body.home-screen .match-stage .pitch-art{inset:0 6px;transform:none}
body.home-screen .match-console .match-team-row{min-height:0;height:100%;padding:4px 0;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)}
body.home-screen .match-team-row>div{gap:7px}
body.home-screen .match-team-row .club-badge.large{width:clamp(35px,5vh,66px);height:clamp(40px,6vh,76px)}
body.home-screen .match-team-row b:not(.club-badge b){font-size:clamp(13px,1.7vh,21px);line-height:1.1;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.home-screen .match-team-name{padding:0;min-height:0;margin:0}
body.home-screen .versus{font-size:22px}
body.home-screen .hub-v25 .match-console .kickoff{min-height:39px;height:39px;padding:9px 14px;font-size:13px;letter-spacing:1px;margin:0;flex:none;border-radius:7px!important}
body.home-screen .match-condition{margin-top:10px;gap:16px;flex:none}
body.home-screen .meter>div:first-child{font-size:10px;margin-bottom:5px}
body.home-screen .meter b{font-size:11px}
body.home-screen .match-condition .meter-track{height:4px}
body.home-screen .match-readiness{margin:0 0 4px;font-size:10px;min-height:0}
body.home-screen .end-season-art{font-size:17px;gap:4px}
body.home-screen .end-season-art svg{height:45px;width:45px}
body.home-screen .hub-v25>.hub-profile{grid-column:2;grid-row:1;padding:12px 16px;display:flex;flex-direction:column;background:linear-gradient(125deg,#17344ae8,#091a2aee)}
.hub-profile-top{display:flex;align-items:center;gap:12px;min-width:0;flex:none}
.hub-avatar{width:70px;height:66px;overflow:hidden;border-radius:10px;background:linear-gradient(145deg,#4b677955,#182e4000);flex:none}
.hub-avatar>svg{width:100%;height:100%;object-fit:contain}
.hub-profile-name{min-width:0;flex:1}
.hub-profile-name .eyebrow{font-size:10px;letter-spacing:1px}
.hub-profile-name h3{font-size:20px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}
.hub-profile-name button,.hub-coach-heading button{display:flex;align-items:center;gap:5px;background:transparent;border:0;padding:2px 0;color:#9cb3c5;font-size:11px;white-space:nowrap}
.hub-profile-name button:hover,.hub-coach-heading button:hover{color:var(--lime)}
.hub-profile-name button svg,.hub-coach-heading button svg{width:13px;height:13px}
.hub-ovr{display:flex;flex-direction:column;text-align:center;line-height:1;flex:none;color:var(--lime)}
.hub-ovr b{font-size:38px;font-weight:900;font-family:var(--display)}
.hub-ovr small{font-size:9px;color:#9baebc;letter-spacing:2px;margin-top:4px}
body.home-screen .hub-profile .season-console.panel{margin:10px 0 0;border:0;border-top:1px solid #9bbbd522;border-radius:0!important;background:none;box-shadow:none;padding:10px 0 0;flex:1;min-height:0;display:flex;flex-direction:column}
body.home-screen .season-console .console-head{padding:0;margin:0 0 6px;min-height:20px}
body.home-screen .stats-switch{gap:12px}
body.home-screen .stats-switch button{font-size:11px;padding:0 0 4px;min-height:0}
body.home-screen .stats-section-mark svg{height:14px;width:14px}
body.home-screen .hub-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;flex:none}
body.home-screen .hub-stat-tile{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 4px;min-height:0;border-radius:7px}
body.home-screen .hub-stat-icon{display:none}
body.home-screen .hub-stat-copy{display:flex;flex-direction:column;text-align:center;gap:3px}
body.home-screen .hub-stat-copy b{font-size:26px;line-height:1}
body.home-screen .hub-stat-copy small{font-size:10px}
body.home-screen .hub-form{margin-top:9px;padding-top:8px;border-top:1px solid #9bbbd519;min-height:0;flex:1;display:flex;flex-direction:column}
body.home-screen .hub-form-heading{font-size:10px;margin-bottom:3px}
body.home-screen .hub-form-bars{flex:1;min-height:0;height:auto;gap:10px}
body.home-screen .hub-form-column{min-height:0;display:flex;flex-direction:column}
body.home-screen .hub-form-column>b{font-size:10px;margin-bottom:3px}
body.home-screen .hub-form-column>div{height:auto;min-height:0;flex:1}
body.home-screen .hub-form-empty{display:none}
body.home-screen .hub-v25>.weekly-console{grid-column:1;grid-row:2;padding:13px 16px 10px;display:flex;flex-direction:column}
body.home-screen .weekly-heading{margin:0 0 10px;gap:8px;flex:none}
body.home-screen .weekly-emblem{height:30px;width:30px}
body.home-screen .weekly-title{gap:9px}
body.home-screen .weekly-title .eyebrow{font-size:9px;letter-spacing:1.3px}
body.home-screen .weekly-title h3{font-size:18px;margin:3px 0 0;line-height:1.05}
body.home-screen .weekly-progress>b{font-size:24px}
body.home-screen .weekly-progress>b small{font-size:12px}
body.home-screen .weekly-progress>span{font-size:9px}
body.home-screen .weekly-progress-track{margin-top:4px}
body.home-screen .week-slots{gap:8px;min-height:0;flex:1;grid-template-columns:repeat(3,minmax(0,1fr))}
body.home-screen .weekly-console .week-slot{display:flex;flex-direction:column;min-height:0;padding:10px;justify-content:center;border-radius:7px!important}
body.home-screen .week-slot-top{margin:0 0 9px;width:100%;font-size:9px;line-height:1.1;gap:5px}
body.home-screen .week-slot-status{font-size:9px;letter-spacing:.1px}
body.home-screen .week-slot-main{width:100%;margin:0;gap:7px;display:flex;align-items:center;min-height:0}
body.home-screen .week-slot-icon{width:27px;height:29px;flex:none}
body.home-screen .week-slot-icon svg{width:15px;height:15px}
body.home-screen .week-slot-copy b{font-size:12px;line-height:1.2}
body.home-screen .week-slot-copy small{display:none}
body.home-screen .week-slot-go{display:none}
body.home-screen .weekly-footer{margin:8px 0 0;padding:0;flex:none;font-size:10px;min-height:16px}
body.home-screen .weekly-footer button{font-size:10px}
body.home-screen .weekly-footer svg{height:12px;width:12px}
body.home-screen .hub-v25>.hub-objectives{grid-column:2;grid-row:2;padding:13px 16px 10px;display:flex;flex-direction:column;background:linear-gradient(145deg,#163248ec,#0b2032ed)}
.hub-coach-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;margin-bottom:10px}
.hub-coach-heading>span{display:flex;align-items:center;gap:8px;font-size:15px}
.hub-coach-heading>span>svg{color:var(--lime);height:18px;width:18px}
.hub-task-list{flex:1;display:flex;flex-direction:column;gap:6px;min-height:0}
.hub-task{flex:1;min-height:0;display:flex;align-items:center;gap:9px;background:#061a294d;border:1px solid #51738d35;border-radius:7px;padding:6px 9px}
.hub-task-state{display:flex;color:#8da7bd}
.hub-task-state svg{width:16px;height:16px}
.hub-task.is-ready .hub-task-state,.hub-task.is-done .hub-task-state{color:var(--lime)}
.hub-task-copy{min-width:0;flex:1}
.hub-task-copy>b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:1.2}
.hub-task-copy .meter-track{height:3px;margin-top:6px;border-radius:2px}
.hub-task-copy .meter-track,.hub-task-copy .meter-track i{box-shadow:none}
.hub-task>small{font-size:11px;white-space:nowrap;color:#b1c7d5;font-variant-numeric:tabular-nums}
.hub-task-reward{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#d9c682;font-size:11px;min-width:35px}
.hub-task-reward svg{width:13px;height:13px}
.hub-task>button{background:#d0fa5b;color:#132016;border:0;border-radius:4px;width:29px;height:28px;display:grid;place-items:center}
.hub-task>button svg{width:17px;height:17px}
.hub-wallet-link{display:flex;align-items:center;gap:7px;flex:none;background:none;border:0;border-top:1px solid #9bbbd519;padding:8px 0 0;margin-top:8px;color:#a7bdca;text-align:left;font-size:10px}
.hub-wallet-link>span{flex:1}
.hub-wallet-link>svg{width:13px;height:13px;color:var(--lime)}
.hub-wallet-link>b{color:var(--lime);font-size:12px}
/* Rewarded actions live in menus, with ordinary play always available. */
.modal-preview .modal-footer .btn.primary{flex:1;min-height:56px;padding:8px 12px;font-size:13px}
.rewarded-simulation>span{display:flex;flex-direction:column;gap:4px;line-height:1.1}
.rewarded-simulation small{font-size:10px;font-weight:600;letter-spacing:0}
.modal-wallet{max-width:470px}
.wallet-balance{display:flex;align-items:center;justify-content:center;gap:13px;padding:25px 0;color:var(--lime)}
.wallet-balance svg{width:33px;height:33px}
.wallet-balance>b{font-size:48px;font-weight:900;font-family:var(--display);line-height:1}
.wallet-balance>span{font-size:13px;color:var(--muted)}
.coin-ad-offer{border:1px solid #47697d77;border-radius:12px;background:linear-gradient(120deg,#19354aed,#11293bea);padding:18px;margin:20px 0}
.coin-ad-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.coin-ad-title>svg{color:var(--lime);width:24px;height:24px}
.coin-ad-title>div{flex:1}
.coin-ad-title h3{font-size:17px;margin:0 0 5px}
.coin-ad-title span{font-size:12px;color:var(--muted)}
.coin-ad-title>b{font-size:30px;color:var(--lime);font-family:var(--display)}
.coin-ad-offer>small{display:block;font-size:11px;color:var(--muted);margin-top:11px;line-height:1.5}
.wallet-earn-rates{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.wallet-earn-rates>span{display:flex;flex-direction:column;gap:7px;background:#1830447a;border:1px solid #45647b44;border-radius:7px;text-align:center;padding:12px 5px;font-size:12px;color:var(--muted)}
.wallet-earn-rates b{color:#ebf3e3;font-size:22px}
#ad-wait{position:fixed;inset:0;z-index:9990;background:#07111beb;display:flex;align-items:center;justify-content:center;gap:15px;color:#e9f3f8;font-size:16px}
#ad-wait>i{width:24px;height:24px;border:2px solid #415a6e;border-top-color:var(--lime);border-radius:50%;animation:adSpin 1s linear infinite}
#ad-wait.ad-started{background:#07111b33;pointer-events:none}
#ad-wait.ad-started>*{visibility:hidden}
@keyframes adSpin{to{transform:rotate(360deg)}}
/* Interactive guide: a precise outline, no full-screen dimming or click interception. */
#career-guide{position:fixed;inset:0;z-index:500;pointer-events:none}
.guide-highlight{position:fixed;border:2px solid var(--lime);border-radius:10px;box-shadow:0 0 0 3px #caff601a,0 0 25px #b9ec4622;pointer-events:none}
.guide-tip{position:fixed;background:linear-gradient(135deg,#1b3548,#0c1b2b);border:1px solid #66854a;border-top:2px solid var(--lime);border-radius:11px;padding:15px 17px;box-shadow:0 12px 38px #0008;pointer-events:auto}
.guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:10px;font-weight:800;letter-spacing:1px;color:var(--lime)}
.guide-top button{background:transparent;border:0;padding:4px 0;font-size:11px;color:#a6bdce;letter-spacing:0}
.guide-top button:hover{color:white}
.guide-tip h3{font-size:18px;margin:0 0 7px;line-height:1.2}
.guide-tip p{font-size:12px;color:#c3d3df;line-height:1.5;margin:0}
.guide-tip .btn{margin-top:12px}
.tutorial-replay{margin:8px 0 20px}
@media(min-width:701px) and (max-height:650px){
 body.home-screen .game-nav{height:49px;min-height:49px}
 body.home-screen .game-hud{height:23px;min-height:23px;padding:3px 0}
 body.home-screen .hub-title{height:25px;min-height:25px;margin-bottom:6px}
 body.home-screen .hub-title h1{font-size:24px}
 body.home-screen .hub-v25{gap:8px;grid-template-rows:minmax(0,1.17fr) minmax(0,1fr)}
 body.home-screen .hub-v25>.panel{padding:9px 12px 8px}
 body.home-screen .hub-profile .hub-form{display:none}
 body.home-screen .hub-avatar{width:46px;height:43px}
 body.home-screen .hub-profile-name h3{font-size:16px;margin:2px 0}
 body.home-screen .hub-profile-name .eyebrow{font-size:9px}
 body.home-screen .hub-profile-name button{font-size:10px}
 body.home-screen .hub-ovr b{font-size:32px}
 body.home-screen .hub-profile .season-console.panel{padding-top:5px;margin-top:6px}
 body.home-screen .hub-stat-copy b{font-size:22px}
 body.home-screen .hub-stat-tile{padding:5px 3px}
 body.home-screen .match-team-row>div{gap:3px}
 body.home-screen .match-console .match-team-row>div{flex-direction:row;gap:8px;text-align:left}
 body.home-screen .match-team-row b:not(.club-badge b){font-size:12px;text-align:left}
 body.home-screen .match-team-row .club-badge.large{width:33px;height:38px}
 body.home-screen .match-condition{margin-top:7px;gap:12px}
 body.home-screen .hub-v25 .match-console .kickoff{min-height:33px;height:33px;padding:6px 11px;font-size:12px}
 body.home-screen .weekly-heading{margin-bottom:7px}
 body.home-screen .weekly-title h3{font-size:15px}
 body.home-screen .weekly-emblem{display:none}
 body.home-screen .week-slot-top{margin-bottom:6px}
 body.home-screen .week-slot-status{display:none}
 body.home-screen .week-slot-icon{width:22px;height:23px}
 body.home-screen .weekly-console .week-slot{padding:7px}
 body.home-screen .weekly-footer{margin-top:6px}
 body.home-screen .hub-coach-heading{margin-bottom:6px}
 body.home-screen .hub-coach-heading>span{font-size:13px}
 body.home-screen .hub-task{padding:4px 7px;gap:6px}
 body.home-screen .hub-task-copy>b{font-size:11px}
 body.home-screen .hub-task-copy .meter-track{margin-top:4px}
 body.home-screen .hub-wallet-link{padding-top:5px;margin-top:5px}
}
@media(min-width:701px) and (max-width:1050px){
 body.home-screen .game-nav{flex-wrap:nowrap;padding:0 12px;gap:8px}
 body.home-screen .brand-name{display:none}
 body.home-screen .nav-item{padding:0 9px;flex:1;min-width:0;font-size:10px;letter-spacing:.2px}
 body.home-screen .game-nav nav{order:0;height:100%;margin:0;flex-basis:auto;flex:1}
 body.home-screen .nav-tools{margin:0;gap:5px}
 body.home-screen .nav-tools :is(button,a){padding:4px}
 body.home-screen .nav-tools button.wallet-coins{padding:5px 7px}
 body.home-screen .nav-tools :is(button,a) svg{width:16px;height:16px}
 body.home-screen .main-shell{padding:0 12px}
 body.home-screen .console-head{letter-spacing:0}
 body.home-screen .next-match-label{max-width:56%;font-size:9px}
 body.home-screen .weekly-title .eyebrow{font-size:8px}
 body.home-screen .week-slot-copy b{font-size:11px}
 body.home-screen .hub-profile-name h3{font-size:16px}
 body.home-screen .hub-task-state{display:none}
}
@media(max-width:700px){
 body.home-screen .game-nav{height:91px;min-height:91px;flex-wrap:wrap;gap:0;padding:6px 12px 0;align-content:space-between}
 body.home-screen .brand-name{display:block;font-size:16px}
 body.home-screen .game-nav nav{height:35px;margin:0;order:3;flex-basis:100%;justify-content:space-between}
 body.home-screen .nav-item{font-size:9px;letter-spacing:0;padding:0 5px;flex:1}
 body.home-screen .nav-tools{margin-left:auto;gap:6px}
 body.home-screen .nav-tools :is(button,a){padding:4px}
 body.home-screen .main-shell{padding:0 12px}
 body.home-screen .hub-title{height:25px;min-height:25px;margin:0 0 7px}
 body.home-screen .hub-title h1{font-size:23px}
 body.home-screen .hub-title>span{font-size:9px;text-align:right}
 body.home-screen .game-footer{height:16px;min-height:16px;font-size:8px}
 .dashboard-tabs{display:flex;flex:none;background:#0c1d2c;border:1px solid #3e5c7055;padding:3px;border-radius:8px;gap:3px;margin-bottom:9px}
 .dashboard-tabs>button{flex:1;border:0;border-radius:5px;background:none;color:#a5bbcb;padding:8px 4px;font-size:12px;font-weight:750}
 .dashboard-tabs>button[aria-selected="true"]{background:#b9ea461b;color:var(--lime);box-shadow:inset 0 0 0 1px #b9ea4633}
 body.home-screen .hub-v25{display:flex;flex-direction:column;gap:10px}
 body.home-screen .hub-v25>.panel{display:none;grid-column:auto;grid-row:auto;padding:16px}
 body.home-screen .hub-v25[data-tab="match"]>.match-console{display:flex;flex:1}
 body.home-screen .hub-v25[data-tab="training"]>.weekly-console{display:flex;flex:1}
 body.home-screen .hub-v25[data-tab="training"]>.hub-objectives{display:flex;flex:1.15}
 body.home-screen .hub-v25[data-tab="player"]>.hub-profile{display:flex;flex:1}
 body.home-screen .match-console .console-head{font-size:9px}
 body.home-screen .match-team-row .club-badge.large{width:65px;height:75px}
 body.home-screen .match-team-row b:not(.club-badge b){font-size:18px}
 body.home-screen .hub-v25 .match-console .kickoff{min-height:48px;height:48px;font-size:14px}
 body.home-screen .match-condition{margin-top:18px;gap:13px}
 body.home-screen .meter>div:first-child{font-size:10px}
 body.home-screen .weekly-heading{margin-bottom:10px}
 body.home-screen .week-slot-status{display:none}
 body.home-screen .week-slot-icon{display:none}
 body.home-screen .weekly-console .week-slot{padding:9px}
 body.home-screen .week-slot-copy b{font-size:12px}
 body.home-screen .weekly-title h3{font-size:16px}
 body.home-screen .weekly-title .eyebrow{font-size:8px}
 body.home-screen .weekly-emblem{display:none}
 body.home-screen .hub-profile-top{margin:7px 0 16px}
 body.home-screen .hub-profile .season-console.panel{padding-top:14px}
 body.home-screen .hub-profile .hub-form{margin-top:18px;padding-top:14px}
 body.home-screen .hub-stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}
 body.home-screen .hub-stat-tile{padding:16px 5px}
 body.home-screen .hub-stat-copy b{font-size:30px}
 body.home-screen .hub-stat-copy small{font-size:11px}
 body.home-screen .hub-form-column>div{max-height:110px}
 .modal-preview .modal-footer{flex-wrap:wrap;gap:8px}
 .modal-preview .modal-footer>.btn.secondary{order:3;min-height:35px;width:100%}
 .modal-preview .modal-footer>.btn.primary{min-width:0;min-height:60px;font-size:12px}
 .rewarded-simulation small{font-size:9px}
}
@media(max-width:700px) and (max-height:650px){
 body.home-screen .game-nav{height:77px;min-height:77px}
 body.home-screen .game-nav nav{height:30px}
 body.home-screen .game-hud{height:23px;min-height:23px;font-size:9px}
 body.home-screen .hub-v25>.panel{padding:11px}
 body.home-screen .weekly-heading{margin-bottom:7px}
 body.home-screen .weekly-title h3{font-size:14px}
 body.home-screen .weekly-footer{margin-top:7px}
 body.home-screen .hub-task-copy>b{font-size:11px}
 body.home-screen .hub-task-state{display:none}
 body.home-screen .hub-task{padding:4px 6px}
 body.home-screen .hub-coach-heading{margin-bottom:7px}
 body.home-screen .hub-coach-heading>span{font-size:13px}
 body.home-screen .hub-profile-top{margin:0 0 5px}
 body.home-screen .hub-stat-tile{padding:10px}
 body.home-screen .hub-profile .hub-form{margin-top:10px}
 .guide-tip{padding:11px 13px}
 .guide-tip h3{font-size:16px}
 .guide-tip p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.guide-highlight{box-shadow:none}#ad-wait>i{animation-duration:2s}}
