/* v26: bounded desktop composition, a visible player, compact form history. */
body.home-screen .game-nav,body.home-screen .main-shell{max-width:1520px}
body.home-screen main{justify-content:flex-start}
body.home-screen .hub-v25{flex:0 1 680px;max-height:680px;grid-template-rows:minmax(0,1.25fr) minmax(0,.85fr);gap:14px}
body.home-screen .hub-title{margin-bottom:12px}
body.home-screen .hub-v25>.panel{border-radius:12px}
body.home-screen .hub-v25>.match-console{padding:17px 19px 14px}
body.home-screen .hub-v25 .match-console .console-head{font-size:11px}
body.home-screen .next-match-label{font-size:11px}
body.home-screen .match-console .match-stage{margin:12px 0;max-height:280px}
body.home-screen .match-team-row .club-badge.large{width:64px;height:74px}
body.home-screen .match-team-row>div{gap:12px}
body.home-screen .match-team-row b:not(.club-badge b){font-size:20px}
body.home-screen .hub-v25 .match-console .kickoff{min-height:43px;height:43px;font-size:14px}
body.home-screen .match-condition{margin-top:12px}
body.home-screen .meter>div:first-child{font-size:11px}
/* The portrait is a main part of the panel rather than an avatar beside a chart. */
body.home-screen .hub-v25>.hub-player-hero{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1fr);align-items:stretch;gap:18px;padding:17px 18px;background:radial-gradient(ellipse at 18% 35%,#28506588,transparent 66%),linear-gradient(125deg,#17344af2,#091a2aee)}
.hub-portrait-stage{min-height:0;min-width:0;display:flex;flex-direction:column;justify-content:center;position:relative;border-radius:9px;background:linear-gradient(145deg,#6b8f9a17,transparent 60%);overflow:hidden}
.hub-portrait-stage:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,transparent 43%,#c3e7ff06 43%,#c3e7ff06 69%,transparent 69%)}
.hub-portrait-art{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;max-height:340px}
.hub-portrait-art>svg{display:block;width:100%;height:100%;max-height:340px;filter:drop-shadow(0 14px 17px #0004)}
.hub-portrait-club{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #a6c5d51c;padding:12px 4px 4px;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.5px;color:#c8d8e1;flex:none;min-width:0;min-height:32px}
.hub-portrait-club>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-portrait-club .club-badge{width:18px;height:21px}
.hub-player-info{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:12px}
body.home-screen .hub-player-hero .hub-profile-top{margin:0;gap:9px;min-height:60px;align-items:center}
body.home-screen .hub-player-hero .hub-profile-name h3{font-size:22px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.1;margin:6px 0;letter-spacing:-.3px}
body.home-screen .hub-player-hero .hub-profile-name .eyebrow{font-size:10px;letter-spacing:.8px}
body.home-screen .hub-player-hero .hub-profile-name .eyebrow{display:block;line-height:1.15}
body.home-screen .hub-player-hero .hub-profile-name button{font-size:11px;margin-top:5px;padding:0;min-height:0;line-height:1.2}
body.home-screen .hub-player-hero .hub-ovr b{font-size:46px}
body.home-screen .hub-player-hero .hub-ovr small{font-size:9px}
body.home-screen .hub-player-hero .season-console.panel{flex:none;min-height:0;margin:0;padding:13px 0 0;border-top:1px solid #94b5d321}
body.home-screen .hub-player-hero .season-console .console-head{margin:0 0 11px;padding:0;min-height:19px}
body.home-screen .hub-player-hero .stats-switch{gap:14px}
body.home-screen .hub-player-hero .stats-switch button{font-size:11px}
body.home-screen .hub-player-hero .hub-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.home-screen .hub-player-hero .hub-stat-tile{min-height:54px;padding:8px 4px;background:#17344770;border-color:#53758b44;box-shadow:none}
body.home-screen .hub-player-hero .hub-stat-copy b{font-size:27px;line-height:1}
body.home-screen .hub-player-hero .hub-stat-copy small{font-size:10px}
.hub-form-ribbon{border-top:1px solid #a5c6dc19;margin-top:10px;padding-top:8px;display:flex;flex-direction:column;gap:6px}
.hub-form-ribbon>span{font-size:10px;color:#9eb6c5}
.hub-rating-list{display:flex;align-items:center;gap:6px;max-width:100%;flex:none}
.recent-rating{height:30px;max-height:30px;min-width:0;flex:1;display:flex;align-items:center;justify-content:center;border-radius:5px;border:1px solid #66819755;background:#7494a21c;color:#c7d9e3;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.recent-rating.excellent-form{background:#c9ff6325;color:#d2ff73;border-color:#c9ff6355}
.recent-rating.good-form{background:#77be6822;color:#bcdf9e;border-color:#7ebe6855}
.recent-rating.poor-form{background:#ce73751c;color:#e7a8ab;border-color:#ce737544}
.recent-rating.no-rating{background:#3c56671c;color:#718b9b;border-color:#5a798b22}
/* Training and coach tasks keep useful, readable sizes on tall monitors. */
body.home-screen .hub-v25>.weekly-console,body.home-screen .hub-v25>.hub-objectives{padding:16px 18px 12px}
body.home-screen .weekly-title h3{font-size:19px}
body.home-screen .weekly-heading{margin-bottom:12px}
body.home-screen .week-slots{gap:10px}
body.home-screen .weekly-console .week-slot{justify-content:flex-start;padding:12px;max-height:170px}
body.home-screen .week-slot-top{flex:none;margin-bottom:7px}
body.home-screen .week-slot-main{flex:1;flex-direction:column;justify-content:center;gap:9px;text-align:center}
body.home-screen .week-slot-icon{height:34px;width:34px}
body.home-screen .week-slot-icon svg{height:19px;width:19px}
body.home-screen .week-slot-copy b{font-size:13px}
body.home-screen .weekly-footer{margin-top:10px;font-size:11px}
body.home-screen .weekly-footer button{font-size:10px}
body.home-screen .hub-task-list{justify-content:flex-start}
body.home-screen .hub-task{flex:1;max-height:61px;min-height:32px;padding:8px 9px}
body.home-screen .hub-task-copy>b{font-size:12px}
body.home-screen .hub-task-copy .meter-track{margin-top:7px}
body.home-screen .hub-coach-heading{margin-bottom:11px}
body.home-screen .hub-wallet-link{padding-top:8px;margin-top:8px}
@media(min-width:1700px) and (min-height:900px){
 body.home-screen .main-shell{padding-top:16px}
 body.home-screen .hub-title{height:38px;min-height:38px;margin:8px 0 16px}
 body.home-screen .hub-title h1{font-size:32px}
 body.home-screen .hub-v25{flex-basis:700px;max-height:700px;gap:16px}
 body.home-screen .hub-v25>.panel{padding:20px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:25px}
 body.home-screen .hub-player-hero .hub-stat-tile{min-height:65px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:30px}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:52px}
 body.home-screen .match-team-row .club-badge.large{width:76px;height:88px}
 body.home-screen .match-team-row b:not(.club-badge b){font-size:23px}
 body.home-screen .weekly-title h3{font-size:21px}
 body.home-screen .hub-task{padding:10px 12px}
 body.home-screen .hub-task-copy>b{font-size:13px}
}
@media(min-width:701px) and (max-height:650px){
 body.home-screen .hub-title{margin-bottom:6px}
 body.home-screen .hub-v25{gap:8px;grid-template-rows:repeat(2,minmax(0,1fr))}
 body.home-screen .hub-v25>.match-console,body.home-screen .hub-v25>.weekly-console,body.home-screen .hub-v25>.hub-objectives{padding:9px 12px 8px}
 body.home-screen .hub-v25>.hub-player-hero{grid-template-columns:90px minmax(0,1fr);gap:10px;padding:9px 12px}
 .hub-portrait-club{display:none}
 .hub-portrait-art,.hub-portrait-art>svg{max-height:160px}
 body.home-screen .hub-player-hero .hub-profile-top{min-height:35px;gap:5px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:16px;margin:3px 0}
 body.home-screen .hub-player-hero .hub-profile-name .eyebrow{font-size:9px}
 body.home-screen .hub-player-hero .hub-profile-name button{font-size:10px;margin:2px 0 0}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:33px}
 body.home-screen .hub-player-info{gap:6px}
 body.home-screen .hub-player-hero .season-console.panel{padding-top:5px}
 body.home-screen .hub-player-hero .season-console .console-head{margin-bottom:5px;min-height:16px}
 body.home-screen .hub-player-hero .hub-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 body.home-screen .hub-player-hero .hub-stat-tile{min-height:42px;padding:6px 2px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:20px}
 body.home-screen .hub-player-hero .hub-stat-copy small{font-size:8px}
 .hub-form-ribbon{margin-top:6px;padding-top:6px;gap:4px}
 .hub-form-ribbon>span{font-size:9px}
 .hub-player-hero .hub-form-ribbon>span{display:none}
 .recent-rating{height:22px;max-height:22px;font-size:10px}
 body.home-screen .match-console .match-stage{margin:7px 0;max-height:none}
 body.home-screen .match-team-row .club-badge.large{width:33px;height:38px}
 body.home-screen .match-team-row b:not(.club-badge b){font-size:12px}
 body.home-screen .hub-v25 .match-console .console-head,body.home-screen .next-match-label{font-size:10px}
 body.home-screen .hub-v25 .match-console .kickoff{height:33px;min-height:33px;font-size:12px}
 body.home-screen .match-condition{margin-top:7px}
 body.home-screen .meter>div:first-child{font-size:10px}
 body.home-screen .weekly-heading{margin-bottom:7px}
 body.home-screen .weekly-title h3{font-size:15px}
 body.home-screen .weekly-console .week-slot{padding:7px}
 body.home-screen .week-slot-top{margin-bottom:5px}
 body.home-screen .week-slot-main{flex-direction:row;text-align:left;gap:5px}
 body.home-screen .week-slot-icon{height:22px;width:22px}
 body.home-screen .week-slot-icon svg{height:13px;width:13px}
 body.home-screen .week-slot-copy b{font-size:11px}
 body.home-screen .weekly-footer{margin-top:6px}
 body.home-screen .hub-task-list{gap:4px}
 body.home-screen .hub-task{min-height:26px;padding:2px 6px}
 body.home-screen .hub-task>button{height:20px;width:24px;min-height:0}
 body.home-screen .hub-task-copy>b{font-size:11px}
 body.home-screen .hub-task-copy .meter-track{margin-top:3px}
 body.home-screen .hub-coach-heading{margin-bottom:6px}
 body.home-screen .hub-wallet-link{margin-top:5px;padding-top:5px}
}
@media(min-width:701px) and (max-width:1050px) and (min-height:651px){
 body.home-screen .hub-v25>.hub-player-hero{grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:12px;padding:12px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:18px}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:35px}
 body.home-screen .hub-player-hero .hub-stat-tile{min-height:51px;padding:8px 3px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:24px}
 body.home-screen .hub-player-hero .hub-profile-name button{font-size:10px}
 .hub-portrait-club{font-size:8px;letter-spacing:0}
}
@media(max-width:700px){
 body.home-screen .hub-v25{flex:1;max-height:720px;gap:10px}
 body.home-screen .hub-v25>.panel{display:none}
 body.home-screen .hub-v25[data-tab="player"]>.hub-player-hero{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(130px,1fr) auto;gap:13px;padding:16px}
 .hub-portrait-stage{min-height:0;max-width:270px;width:100%;margin:0 auto}
 .hub-portrait-art,.hub-portrait-art>svg{max-height:280px}
 .hub-portrait-club{padding:6px 0 0;min-height:27px}
 body.home-screen .hub-player-hero .hub-player-info{gap:9px}
 body.home-screen .hub-player-hero .hub-profile-top{margin:0;min-height:42px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:20px;margin:3px 0}
 body.home-screen .hub-player-hero .hub-profile-name button{margin:4px 0 0}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:40px}
 body.home-screen .hub-player-hero .season-console.panel{margin:0;padding-top:8px}
 body.home-screen .hub-player-hero .hub-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 body.home-screen .hub-player-hero .hub-stat-tile{padding:8px 3px;min-height:50px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:25px}
 body.home-screen .hub-player-hero .hub-stat-copy small{font-size:9px}
 body.home-screen .hub-player-hero .season-console .console-head{margin-bottom:8px}
 .hub-form-ribbon{margin-top:9px;padding-top:8px;flex-direction:row;align-items:center;gap:12px}
 .hub-form-ribbon>span{flex:1;font-size:10px}
 .hub-rating-list{flex:1.2;gap:4px}
 .recent-rating{height:27px;max-height:27px;font-size:10px}
 body.home-screen .hub-v25>.match-console{padding:16px}
 body.home-screen .match-console .match-stage{max-height:none;margin:10px 0}
 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{height:48px;min-height:48px}
 body.home-screen .hub-v25>.weekly-console,body.home-screen .hub-v25>.hub-objectives{padding:14px}
 body.home-screen .weekly-title h3{font-size:16px}
 body.home-screen .week-slot-copy b{font-size:12px}
 body.home-screen .weekly-console .week-slot{padding:8px}
 body.home-screen .week-slot-main{text-align:left;flex-direction:row;gap:5px}
 body.home-screen .hub-task{min-height:30px;max-height:75px;padding:6px 8px}
}
@media(max-width:700px) and (max-height:650px){
 body.home-screen .hub-v25[data-tab="player"]>.hub-player-hero{padding:11px;gap:8px;grid-template-rows:minmax(90px,1fr) auto}
 .hub-portrait-art,.hub-portrait-art>svg{max-height:150px}
 .hub-portrait-club{display:none}
 body.home-screen .hub-player-hero .hub-profile-top{min-height:33px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:17px}
 body.home-screen .hub-player-hero .hub-profile-name .eyebrow{font-size:9px}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:32px}
 body.home-screen .hub-player-hero .hub-stat-tile{min-height:42px;padding:5px 2px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:22px}
 body.home-screen .hub-player-hero .hub-profile-name button{margin-top:2px;font-size:10px}
 body.home-screen .hub-v25>.weekly-console,body.home-screen .hub-v25>.hub-objectives{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{padding:4px 6px;min-height:24px}
 body.home-screen .hub-task>button{height:20px;width:24px;min-height:0}
 body.home-screen .hub-task-copy>b{font-size:11px}
 body.home-screen .hub-task-copy .meter-track{margin-top:4px}
 .hub-form-ribbon{margin-top:6px;padding-top:6px;gap:7px}
 .recent-rating{height:23px;max-height:23px}
}
@media(min-width:701px) and (min-height:651px) and (max-height:800px){
 body.home-screen .hub-v25>.hub-player-hero{padding:13px 15px;gap:14px}
 body.home-screen .hub-player-info{gap:10px}
 body.home-screen .hub-player-hero .hub-profile-top{min-height:48px}
 body.home-screen .hub-player-hero .hub-profile-name h3{font-size:20px;margin:3px 0}
 body.home-screen .hub-player-hero .hub-profile-name button{margin-top:3px}
 body.home-screen .hub-player-hero .hub-ovr b{font-size:40px}
 body.home-screen .hub-player-hero .season-console.panel{padding-top:10px}
 body.home-screen .hub-player-hero .season-console .console-head{margin-bottom:8px}
 body.home-screen .hub-player-hero .hub-stat-tile{min-height:50px;height:50px;padding:4px 3px}
 body.home-screen .hub-player-hero .hub-stat-copy b{font-size:25px}
 body.home-screen .hub-player-hero .hub-stat-copy small{line-height:1.2}
 .hub-player-hero .hub-form-ribbon{margin-top:8px;padding-top:6px;gap:5px}
 .hub-player-hero .recent-rating{height:26px;max-height:26px;font-size:11px}
}
@media(min-width:701px) and (max-height:520px){
 .hub-player-hero .hub-form-ribbon{display:none}
}
