/* A single vertical rhythm for the complete home screen. */
body[data-screen="home"] main{padding-bottom:64px}
body[data-screen="home"] .hero.matchday{min-height:0;margin-bottom:24px;padding-bottom:40px}
body[data-screen="home"] .matchday-title{margin-bottom:22px}
body[data-screen="home"] .fixture-copy{margin-bottom:0}
body[data-screen="home"] .matchday-cta{margin-top:28px}
body[data-screen="home"] .matchday-cta[data-action="league-broadcast"]{aspect-ratio:6/1;background-size:100% auto!important}
body[data-screen="home"] .summary{margin-top:-24px;margin-bottom:0}
body[data-screen="home"] .daily-drop{margin:14px 0 0}
body[data-screen="home"] .daily-drop+.section-head{margin-top:44px}
body[data-screen="home"] .section-head{margin-bottom:18px}
body[data-screen="home"] .starting-six{margin-bottom:0}
body[data-screen="home"] .home-staff{margin:44px 0 0}
body[data-screen="home"] .home-staff .section-head{margin-top:0}
body[data-screen="home"] .training-banner{margin-top:32px}
body[data-screen="home"] .training-banner+ p{margin:24px 0 0}
.music-player{display:flex;align-items:center;gap:12px;min-height:68px;margin:16px 0 0;padding:10px 12px;border:1px solid #aebdca2b;border-radius:10px;background:linear-gradient(105deg,#0a1723f2,#102333e8);box-shadow:inset 0 1px #ffffff0a,0 8px 22px #03101a24;color:#eef5fa}
.music-pulse{display:flex;align-items:center;justify-content:center;gap:2px;flex:0 0 39px;width:39px;height:39px;border:1px solid #b8e8ff2e;border-radius:50%;background:radial-gradient(circle,#17374d 0 28%,#0b1d2b 30% 48%,#29495d 50% 52%,#081723 54%);box-shadow:inset 0 0 0 3px #06111a,0 0 18px #67c9f212}
.music-pulse i{width:2px;height:10px;border-radius:2px;background:#c5efff;opacity:.72;animation:music-pulse .75s ease-in-out infinite alternate}.music-pulse i:nth-child(2){height:16px;animation-delay:-.45s}.music-pulse i:nth-child(3){height:13px;animation-delay:-.2s}.music-pulse i:nth-child(4){height:7px;animation-delay:-.6s}
.music-player:has(.music-toggle:not(.is-playing)) .music-pulse i{animation-play-state:paused;transform:scaleY(.45);opacity:.42}
.music-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:8px;min-width:0;flex:1}.music-copy small{grid-column:1/-1;display:flex;justify-content:space-between;margin-bottom:2px;font-size:6px;font-weight:700;letter-spacing:1.45px;color:#7f9aab}.music-copy small b{font-weight:600;color:#9db1bf}.music-copy strong{overflow:hidden;font-size:12px;letter-spacing:.2px;white-space:nowrap;text-overflow:ellipsis}.music-copy>span{overflow:hidden;max-width:90px;font-size:8px;color:#91a6b5;white-space:nowrap;text-overflow:ellipsis}.music-progress{grid-column:1/-1;display:block;height:2px;margin-top:7px;border-radius:2px;background:#ffffff13;overflow:hidden}.music-progress b{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#79cdec,#d8f6ff);transition:width .25s linear}
.music-controls{display:flex;align-items:center;gap:4px}.music-controls button{display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:50%;background:transparent;color:#b7c7d2;cursor:pointer}.music-controls button:hover{background:#ffffff0d;color:#fff}.music-controls .music-toggle{width:38px;height:38px;border:1px solid #d7efff42;background:#e8f7ff;color:#091a27;box-shadow:0 4px 13px #0005}.music-play{width:0;height:0;margin-left:2px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor}.music-toggle.is-playing .music-play{width:8px;height:10px;margin:0;border:0;border-left:3px solid currentColor;border-right:3px solid currentColor}.music-skip{position:relative;width:11px;height:12px}.music-skip:before{content:'';position:absolute;top:2px;border-top:4px solid transparent;border-bottom:4px solid transparent}.music-skip:after{content:'';position:absolute;top:2px;width:2px;height:8px;background:currentColor}.music-skip.next:before{left:1px;border-left:7px solid currentColor}.music-skip.next:after{right:0}.music-skip.previous:before{right:1px;border-right:7px solid currentColor}.music-skip.previous:after{left:0}
@keyframes music-pulse{to{transform:scaleY(.45);opacity:.38}}
.fixture-hub{width:min(100%,540px);margin-top:26px;padding:22px;border:1px solid #b8c7d333;border-radius:12px;background:linear-gradient(105deg,#071522e8,#0b1b29b8 72%,#10283a70);box-shadow:inset 0 1px #ffffff0d,0 14px 34px #0004;backdrop-filter:blur(3px)}
body[data-screen="home"] .fixture-hub .fixture-copy{max-width:none}
body[data-screen="home"] .fixture-hub .fixture-copy h2{margin:5px 0 4px;font-size:30px}
body[data-screen="home"] .fixture-hub .matchday-title{margin:15px 0 0;font-size:20px;letter-spacing:1.6px;color:#a9bfd0;text-shadow:none}
body[data-screen="home"] .fixture-hub .matchday-cta:not([data-action="league-broadcast"]){width:auto;min-width:220px;min-height:52px!important;margin-top:14px;padding:10px 16px;justify-content:center;border-radius:7px!important;background:linear-gradient(145deg,#1d4966,#102b40)!important;font-size:15px!important;letter-spacing:.8px}
body[data-screen="home"] .fixture-hub .matchday-cta:not([data-action="league-broadcast"]) .mi{width:25px;height:25px;padding:5px}
@media(max-width:760px){
 body[data-screen="home"] main{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
 body[data-screen="home"] .hero.matchday{min-height:0;margin-bottom:16px;padding-top:115px;padding-bottom:34px}
 body[data-screen="home"] .matchday-tag{margin-bottom:0}
 body[data-screen="home"] .matchday-title{margin-top:24px;margin-bottom:26px}
 body[data-screen="home"] .fixture-copy{max-width:76%}
 body[data-screen="home"] .matchday-cta{margin-top:28px}
 body[data-screen="home"] .summary{margin-top:0;margin-bottom:0}
 body[data-screen="home"] .summary>div{min-height:88px;padding-top:17px;padding-bottom:12px}
 body[data-screen="home"] .summary strong{margin-top:9px}
 body[data-screen="home"] .daily-drop{min-height:140px;margin-top:12px}
 body[data-screen="home"] .daily-drop+.section-head{margin-top:32px}
 body[data-screen="home"] .section-head{margin-bottom:18px}
 body[data-screen="home"] .home-staff{margin-top:32px}
 body[data-screen="home"] .training-banner{margin-top:32px}
 body[data-screen="home"] .training-banner+ p{margin-top:20px;margin-bottom:0}
 .fixture-hub{margin-top:14px;padding:16px}
 body[data-screen="home"] .fixture-hub .fixture-copy{max-width:100%}
 body[data-screen="home"] .fixture-hub .fixture-copy h2{font-size:26px}
 body[data-screen="home"] .fixture-hub .matchday-title{margin:12px 0 0;font-size:16px}
 body[data-screen="home"] .fixture-hub .matchday-cta:not([data-action="league-broadcast"]){width:auto;min-width:210px;min-height:48px!important;margin-top:12px;font-size:14px!important}
}
@media(max-width:390px){.music-player{gap:9px;padding-left:10px;padding-right:8px}.music-pulse{flex-basis:35px;width:35px;height:35px}.music-copy>span{max-width:65px}.music-controls{gap:1px}.music-controls button{width:28px}.music-controls .music-toggle{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.music-pulse i{animation:none}}
@media(max-width:390px){
 body[data-screen="home"] .hero.matchday{padding-bottom:30px}
 body[data-screen="home"] .matchday-title{margin-top:22px;margin-bottom:24px}
 body[data-screen="home"] .matchday-cta{margin-top:26px}
 body[data-screen="home"] .summary>div{min-height:84px}
 body[data-screen="home"] .daily-drop{min-height:132px}
}

/* Compact mobile spacing without changing the existing artwork or content. */
.brand-owner-stack{display:grid;align-content:center;gap:2px;flex:0 0 auto;width:190px}
.brand-owner-stack .wordmark{display:flex;width:100%;height:36px;align-items:center}
.brand-home-logo{display:block;width:calc(100% + 60px);height:auto;max-width:none;object-fit:contain;transform:translateY(6px)}
.wordmark .brand-emblem,.wordmark .brand-type{display:none}
.brand-owner-stack .hud-progress{width:100%;padding:0}
.brand-owner-stack .hud-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:5px}
.brand-owner-stack .hud-progress strong{font-size:8px;letter-spacing:.75px;white-space:nowrap}
.brand-owner-stack .hud-progress small{font-size:5px;letter-spacing:.35px;white-space:nowrap}
.brand-owner-stack .hud-progress>span{height:3px;margin-top:2px}
#manager-hud{height:44px;padding:3px;border:1px solid #c2ced83d;border-radius:8px;background:linear-gradient(180deg,#ffffff0d,#02091233);box-shadow:inset 0 1px #ffffff0d,0 5px 16px #0003}
#manager-hud .hud-resource,#manager-hud .hud-fans{height:36px;min-width:94px;padding:0 15px;border:0;border-radius:5px;justify-content:center}
#manager-hud .hud-resource+.hud-resource,#manager-hud .hud-fans{border-left:1px solid #b9c5cf26;border-radius:0}
#manager-hud .hud-resource small,#manager-hud .hud-fans small{margin-top:1px;font-size:6px;letter-spacing:1.2px;color:#8f9eab}
#manager-hud .hud-resource strong,#manager-hud .hud-fans strong{font-size:16px!important;line-height:1;color:#f7fafc}
#manager-hud .hud-coins{gap:8px;background:linear-gradient(180deg,#ffffff0a,transparent)!important}
#manager-hud .hud-coins .mi{width:17px;height:17px;color:#dfe7ed!important}
.header-account summary{transition:border-color .18s,box-shadow .18s,transform .18s}
.header-account summary:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #eef4f766,0 6px 18px #0008}
@media(max-width:760px){
 .brand-owner-stack{width:138px;gap:1px}
 .brand-owner-stack .wordmark{height:31px}
 .brand-home-logo{width:calc(100% + 60px);height:auto;max-width:none}
 .brand-owner-stack .hud-progress strong{font-size:7px}
 .brand-owner-stack .hud-progress small{display:none}
 .brand-owner-stack .hud-progress>span{height:3px;margin-top:2px}
 body[data-screen="home"] .topbar{height:calc(64px + env(safe-area-inset-top));padding-left:14px;padding-right:14px;gap:8px}
 body[data-screen="home"] .wordmark{gap:7px}
 body[data-screen="home"] .hud-progress{padding:7px 8px;margin-left:0}
 body[data-screen="home"] .hud-progress>span{height:4px;margin-top:5px}
 #manager-hud{flex:0 0 auto;width:auto;height:auto;margin-left:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 #manager-hud .hud-coins{width:auto;min-width:64px;height:36px;padding:5px 10px!important;border:1px solid #b8c5cf4d!important;border-radius:18px!important;background:linear-gradient(180deg,#ffffff0d,#02091238)!important;box-shadow:inset 0 1px #ffffff0f}
 #manager-hud .hud-coins .mi{width:15px;height:15px}
 #manager-hud .hud-coins strong{font-size:13px!important}
 .header-account{margin-left:0}
 .header-account summary{width:40px;height:40px;min-height:0;padding:3px}
 .account-monogram{width:32px;height:32px;font-size:13px}
 body[data-screen="home"] main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 body[data-screen="home"] .club-heading{top:14px;left:16px;right:16px}
 body[data-screen="home"] .club-heading .eyebrow{margin-bottom:4px}
 body[data-screen="home"] .club-heading .overall-seal{padding-top:5px;padding-bottom:5px;transform:scale(.82);transform-origin:right top}
 body[data-screen="home"] .hero.matchday{margin-bottom:12px;padding:90px 16px 22px}
 body[data-screen="home"] .matchday-tag{padding-bottom:8px}
 body[data-screen="home"] .fixture-copy{max-width:78%}
 body[data-screen="home"] .fixture-copy .eyebrow{margin-bottom:5px}
 body[data-screen="home"] .fixture-copy h2{margin-top:0;margin-bottom:4px}
 body[data-screen="home"] .fixture-copy p{margin-top:0;margin-bottom:0}
 body[data-screen="home"] .matchday-cta{margin-top:12px}
 body[data-screen="home"] .matchday-cta[data-action="league-broadcast"]{display:flex!important;visibility:visible!important;aspect-ratio:6/1;min-height:64px!important;margin-top:12px}
 body[data-screen="home"] .summary{margin:0;gap:6px;padding:7px}
 body[data-screen="home"] .summary>div{min-height:76px;padding:13px 9px 10px}
 body[data-screen="home"] .summary strong{margin-top:7px}
 body[data-screen="home"] nav{height:calc(66px + env(safe-area-inset-bottom));padding-top:5px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
 body[data-screen="home"] nav a{min-height:47px;padding-top:5px;padding-bottom:3px;gap:4px}
 body[data-screen="home"] nav a.active:after{top:-6px}
}

@media(max-width:390px){
 .brand-owner-stack{width:128px}
 .brand-owner-stack .wordmark{height:29px}
 #manager-hud .hud-coins{min-width:60px;padding-left:8px!important;padding-right:8px!important}
 .header-account summary{width:38px;height:38px}
 .account-monogram{width:30px;height:30px}
 body[data-screen="home"] .hero.matchday{padding-top:86px;padding-bottom:20px}
 body[data-screen="home"] .summary>div{min-height:74px;padding-left:8px;padding-right:8px}
}
