/* PhosFit v5 — mobile-first compact dashboard, no data or navigation changes */
#page-home{--pfc-gap:10px}
#page-home .v34-overview{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:0 0 10px!important}
#page-home .v34-overview>.home-mini,#page-home .pfc-card{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;grid-column:1/-1!important;margin:0!important;padding:14px 16px!important;border-radius:16px!important;overflow-wrap:break-word!important;float:none!important;clear:both!important}
#page-home .v34-overview>.home-mini{display:flex!important;flex-direction:column!important;gap:6px!important}
#page-home .v34-overview h3{font-size:12px!important;margin:0!important;letter-spacing:.04em}
#page-home .v34-overview .v34-detail{font-size:12px!important;line-height:1.45!important;margin:0!important}
#page-home .v34-overview .v34-main{font-size:25px!important;line-height:1.1!important}
#page-home .v34-overview .mini-link{margin:3px 0 0!important;align-self:flex-start!important;font-size:12px!important;min-height:25px!important}
#page-home .v34-challenge{background:#0d261e!important;border:1px solid #31c48d!important;border-left:4px solid #31c48d!important}
#page-home .v34-trend{background:#101f35!important;border:1px solid #60a5fa!important;border-left:4px solid #60a5fa!important}
#page-home .v34-recent.pfc-v5-redundant{display:none!important}
#page-home .pfc-load{background:#281b13!important;border:1px solid #fb923c!important;border-left:4px solid #fb923c!important}
#page-home .pfc-injury{background:#0c2522!important;border:1px solid #2dd4bf!important;border-left:4px solid #2dd4bf!important}
#page-home .pfc-competition{background:#2b1523!important;border:1px solid #f472b6!important;border-left:4px solid #f472b6!important}
#page-home .pfc-insight{background:#18213a!important;border:1px solid #a5b4fc!important;border-left:4px solid #a5b4fc!important}
#page-home .pfc-card h2,#page-home .pfc-card h3,#page-home .pfc-card .subhead{font-size:12px!important;line-height:1.35!important;margin:0 0 5px!important}
#page-home .pfc-card p{font-size:12px!important;line-height:1.45!important;margin:5px 0!important}
#page-home .pfc-method{margin:7px 0 0!important;padding:6px 0 0!important;border:0!important;border-top:1px solid #634632!important}
#page-home .pfc-method summary{font-size:11px!important;color:#fdba74!important;text-align:left!important}
#page-home .pfc-method>*:not(summary){font-size:11px!important;line-height:1.45!important}
#page-home .pfc-injury [class*="iw-home"],#page-home .pfc-injury [class*="injury-home"],#page-home .pfc-injury .pfc-injury{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:0!important;width:100%!important;min-width:0!important}
#page-home .pfc-injury *{min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important}
#page-home .pfc-v5-plot{margin:5px 0 2px!important;padding:8px 0 0!important;border-top:1px solid #385575}
#page-home .pfc-v5-title{font-size:10px;color:#b5d6ff;font-weight:800;letter-spacing:.03em}
#page-home .pfc-v5-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin:9px 0 2px}
#page-home .pfc-v5-baritem{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;font-size:10px;color:#d4e5f7}
#page-home .pfc-v5-baritem b{font-size:10px;color:#d4e5f7;white-space:nowrap}
#page-home .pfc-v5-track{height:47px;width:100%;max-width:75px;display:flex;align-items:flex-end;border-bottom:1px solid #4e6985;background:#ffffff07;border-radius:5px 5px 0 0}
#page-home .pfc-v5-track span{display:block;width:100%;border-radius:4px 4px 0 0}
#page-home .pfc-v5-baritem small{font-size:10px;color:#aac3e0;overflow-wrap:anywhere;text-align:center}
#page-home .pfc-v5-note{font-size:10px!important;line-height:1.4!important;color:#9fb4d0!important;margin:6px 0 0!important}
#page-home .pfc-v5-recovery{padding:13px 15px!important;margin:10px 0!important}
#page-home .pfc-v5-recovery h2,#page-home .pfc-v5-recovery h3{font-size:16px!important;margin:0 0 8px!important}
#page-home .pfc-v5-recovery .grid{gap:7px!important}
#page-home .pfc-v5-recovery .grid>div{padding:9px!important;min-height:0!important}
#page-home .pfc-v5-recovery p{font-size:12px!important;margin:5px 0!important}
#page-home .pfc-v5-focus{padding:13px 15px!important;margin:10px 0!important}
#page-home .pfc-v5-focus .inner-panel{padding:11px 12px!important;margin:8px 0 0!important}
#page-home .pfc-v5-focus h2{font-size:17px!important}
#page-home .pfc-v5-focus p{font-size:12px!important;line-height:1.45!important}
#page-home .home-section-label{margin:15px 2px 8px!important;font-size:11px!important}
@media(max-width:390px){#page-home .v34-overview>.home-mini,#page-home .pfc-card{padding:12px 13px!important}}

/* v6 actual seven-day trend, compact mobile presentation */
#page-home .pfc-v6-plot{border-top:1px solid #385575;padding-top:10px;margin:8px 0}
#page-home .pfc-v6-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;align-items:end;margin:12px 0 5px}
#page-home .pfc-v6-day{min-width:0;text-align:center;font-size:10px;color:#c8dcf2}
#page-home .pfc-v6-count{font-size:10px;font-weight:800;min-height:16px}
#page-home .pfc-v6-track{height:64px;background:#ffffff09;border-bottom:1px solid #58718c;border-radius:5px 5px 0 0;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
#page-home .pfc-v6-stack{display:flex;flex-direction:column;justify-content:flex-end;min-height:0;width:100%}
#page-home .pfc-v6-segment{width:100%;min-height:3px}
#page-home .pfc-v6-day small{display:block;font-size:9px;margin-top:4px;color:#b4c9e0}
#page-home .pfc-v6-day[title]{cursor:help}
#page-home .pfc-v6-legend{display:flex;flex-wrap:wrap;gap:6px 11px;margin:9px 0;font-size:10px;color:#c8d9ec}
#page-home .pfc-v6-legend span{display:inline-flex;align-items:center;gap:4px}
#page-home .pfc-v6-legend i{width:8px;height:8px;border-radius:2px;display:inline-block}
#page-home .pfc-v6-summary{font-size:11px!important;line-height:1.5!important;color:#d5e5f7!important;margin:7px 0!important}
#page-home .pfc-v6-note{font-size:10px!important;color:#aabdd2!important;line-height:1.4!important}
#page-home .pfc-v6-error{font-size:11px;color:#f6d3a1}


/* V7 — intentional compact mobile cockpit; visual-only overrides */
#page-home{--pfc-v7-gap:11px}
#page-home .pfc-v7-recovery,
#page-home .pfc-v7-focus,
#page-home .pfc-v7-load,
#page-home .pfc-v7-competition,
#page-home .pfc-v7-insight,
#page-home .pfc-v7-challenge,
#page-home .pfc-v7-trend{
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;margin:10px 0!important;
  padding:14px 16px!important;border-radius:17px!important;
  overflow:hidden!important;float:none!important;clear:both!important;
}
#page-home .pfc-v7-recovery{border-color:#aa8950!important;background:#151c19!important}
#page-home .pfc-v7-recovery h2,#page-home .pfc-v7-recovery h3{font-size:15px!important;margin:0 0 10px!important}
#page-home .pfc-v7-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
#page-home .pfc-v7-metrics>div{min-width:0!important;width:auto!important;padding:9px 7px!important;margin:0!important;border-radius:11px!important;min-height:0!important}
#page-home .pfc-v7-metrics>div *{min-width:0;overflow-wrap:normal;word-break:normal}
#page-home .pfc-v7-metrics>div strong{font-size:clamp(13px,3.4vw,18px)!important}
#page-home .pfc-v7-metrics>div p,#page-home .pfc-v7-metrics>div small{font-size:10px!important;line-height:1.3!important}
#page-home .pfc-v7-recovery>p{font-size:11px!important;line-height:1.4!important;margin:8px 0 0!important}
#page-home .pfc-v7-focus{
 border:1px solid #e5b95e!important;
 background-image:linear-gradient(90deg,rgba(5,8,12,.82),rgba(5,8,12,.22)),url('/phosfit-track-sunset.webp')!important;
 background-size:cover!important;background-position:center 55%!important;
 min-height:135px!important;
}
#page-home .pfc-v7-focus .inner-panel{
 background:rgba(8,12,14,.70)!important;backdrop-filter:blur(2px);
 border:1px solid #c6a45b80!important;border-radius:12px!important;
 margin:7px 0 0!important;padding:10px 12px!important;
}
#page-home .pfc-v7-focus h2{font-size:clamp(16px,4.2vw,21px)!important;line-height:1.2!important;margin:5px 0!important}
#page-home .pfc-v7-focus p{font-size:12px!important;line-height:1.4!important;margin:6px 0!important}
#page-home .pfc-v7-challenge{background:#0b241d!important;border:1px solid #2bbf88!important;border-left:4px solid #2bbf88!important;min-height:0!important}
#page-home .pfc-v7-challenge .v34-main{font-size:26px!important;margin:1px 0!important}
#page-home .pfc-v7-challenge .v34-detail{font-size:12px!important}
#page-home .pfc-v7-challenge .mini-link{margin-top:3px!important}
#page-home .pfc-v7-trend{background:#101f35!important;border:1px solid #60a5fa!important;border-left:4px solid #60a5fa!important}
#page-home .pfc-v7-trend .pfc-v6-chart{margin:7px 0 3px!important}
#page-home .pfc-v7-trend .pfc-v6-track{height:52px!important}
#page-home .pfc-v7-trend .pfc-v6-plot{padding-top:6px!important;margin:5px 0!important}
#page-home .pfc-v7-trend .pfc-v6-note{font-size:10px!important;line-height:1.35!important;margin:4px 0!important}
#page-home .pfc-v7-trend .pfc-v6-summary{font-size:11px!important;margin:4px 0!important}
#page-home .pfc-v7-load{background:#261a13!important;border:1px solid #fb923c!important;border-left:4px solid #fb923c!important}
#page-home .pfc-v7-load p{font-size:12px!important;line-height:1.4!important;margin:5px 0!important}
#page-home .pfc-v7-load .pfc-v7-load-note{font-size:11px!important;color:#d7c5b8!important}
#page-home .pfc-v7-load button{min-height:39px!important;padding:8px 10px!important;margin:5px 0!important}
#page-home .pfc-v7-load details{margin:5px 0 0!important;padding:5px 0 0!important}
#page-home .pfc-v7-competition{
 background:linear-gradient(100deg,rgba(32,12,31,.92),rgba(32,12,31,.45)),url('/phosfit-competition-stadium.webp') center/cover!important;
 border:1px solid #f472b6!important;border-left:4px solid #f472b6!important;
}
#page-home .pfc-v7-competition h2{font-size:16px!important;margin:3px 0!important}
#page-home .pfc-v7-competition p{font-size:12px!important;margin:4px 0!important}
#page-home .pfc-v7-competition button{min-height:37px!important;padding:8px 12px!important;margin:5px 0 0!important;font-size:11px!important}
#page-home .pfc-v7-insight{background:#17223a!important;border:1px solid #91a7ff!important;border-left:4px solid #91a7ff!important;font-size:12px!important;line-height:1.45!important}
#page-home .pfc-v7-insight p{font-size:12px!important;line-height:1.45!important}
#page-home .pfc-v7-duplicate-heading{display:none!important}
#page-home .pfc-injury{padding:12px 15px!important;min-height:0!important}
#page-home .home-section-label{margin:13px 2px 7px!important}
@media(max-width:420px){
 #page-home .pfc-v7-metrics{gap:5px!important}
 #page-home .pfc-v7-metrics>div{padding:7px 5px!important}
 #page-home .pfc-v7-metrics>div strong{font-size:13px!important}
 #page-home .pfc-v7-recovery,#page-home .pfc-v7-focus,#page-home .pfc-v7-load,#page-home .pfc-v7-competition,#page-home .pfc-v7-insight,#page-home .pfc-v7-challenge,#page-home .pfc-v7-trend{padding:12px 13px!important}
}
