/* Shared Home layout: the same composition for direct visits and return navigation. */
:root{--bh-paper:#fff;--bh-tint:#f0f5ff;--bh-card:#f7f9fd;--bh-ink:#17243a;--bh-muted:#52647d;--bh-line:#d9e2ed;--bh-blue:#075fdb;--bh-blue-ink:#0753bd;--bh-gold:#805400;--bh-gold-bg:#ffedb3}
html[data-bb-theme=dark]{--bh-paper:#101c2c;--bh-tint:#132944;--bh-card:#152337;--bh-ink:#edf3ff;--bh-muted:#aebfd5;--bh-line:#2b405b;--bh-blue:#1265d5;--bh-blue-ink:#8dbbff;--bh-gold:#f3d278;--bh-gold-bg:#332c1b}
html body #bbx-home{display:block!important;color:var(--bh-ink)!important}html body #bbx-home[hidden]{display:none!important}
html body #bbx-home .bw-welcome{display:grid;grid-template-columns:1.05fr 1fr;min-height:325px!important;position:relative;margin:12px 0 0!important;background:var(--bh-paper)!important;border:1px solid var(--bh-line)!important;border-radius:22px!important;overflow:hidden;box-shadow:none!important}
html body #bbx-home .bw-welcome-copy{padding:34px 38px!important;position:relative;z-index:1}
html body #bbx-home .bw-eyebrow{font-size:10px!important;font-weight:750!important;letter-spacing:.14em!important;color:var(--bh-muted)!important;margin:0 0 12px!important;line-height:1.5!important;opacity:1!important}
html body #bbx-home #bbx-title{font-size:clamp(42px,4.6vw,65px)!important;font-weight:850!important;line-height:1.03!important;letter-spacing:-.055em!important;color:var(--bh-ink)!important;margin:14px 0 16px!important;-webkit-text-fill-color:currentColor!important}
html body #bbx-home #bbx-title em{font-style:italic!important;color:var(--bh-blue-ink)!important}
html body #bbx-home .bw-hero-description{font-size:13px!important;color:var(--bh-muted)!important;line-height:1.65!important;margin:0!important}
html body #bbx-home .bw-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px!important;position:relative;z-index:2}
html body #bbx-home :is(.bw-primary,.bw-secondary){display:inline-flex;gap:18px;align-items:center;justify-content:space-between;min-height:44px;padding:12px 17px!important;border-radius:10px!important;font-size:12px!important;font-weight:700!important;text-decoration:none!important;border:1px solid var(--bh-line)!important;line-height:1.3!important}
html body #bbx-home .bw-primary{background:var(--bh-blue)!important;color:#fff!important;border-color:var(--bh-blue)!important}
html body #bbx-home .bw-secondary{background:var(--bh-paper)!important;color:var(--bh-blue-ink)!important}
html body #bbx-home .bw-welcome-art{position:relative;display:block;height:auto!important;background:var(--bh-tint)!important;overflow:hidden}
html body #bbx-home .bw-art-grid{position:absolute;inset:0;background-image:linear-gradient(#8daedd16 1px,transparent 1px),linear-gradient(90deg,#8daedd16 1px,transparent 1px);background-size:34px 34px}
html body #bbx-home .bw-art-number{position:absolute;top:-24px;right:8px;font-size:210px;line-height:1;font-weight:900;color:var(--bh-blue-ink);opacity:.08;transform:rotate(-8deg)}
html body #bbx-home .bw-art-player{position:absolute;width:43%;height:83%;top:11%;object-fit:cover;object-position:center top;border:4px solid var(--bh-paper);border-radius:100px 100px 15px 15px;box-shadow:0 15px 30px #102c4d15}
html body #bbx-home .bw-art-player-one{left:10%;transform:rotate(-8deg);z-index:1}
html body #bbx-home .bw-art-player-two{right:8%;top:16%;height:78%;transform:rotate(8deg)}
html body #bbx-home .bw-art-caption{position:absolute;bottom:16px;left:18px;right:18px;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bh-paper);color:var(--bh-ink);border:1px solid var(--bh-line);border-radius:9px;font-size:11px}
html body #bbx-home .bw-art-caption span{font-size:8px;color:var(--bh-muted)}
html body #bbx-home .bw-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 26px!important}
html body #bbx-home .bw-shortcuts>a{display:flex;gap:12px;align-items:center;padding:16px!important;border-radius:13px!important;border:1px solid var(--bh-line)!important;background:var(--bh-paper)!important;color:var(--bh-ink)!important;text-decoration:none;box-shadow:none!important;min-width:0;transition:transform .15s,border-color .15s}
html body #bbx-home .bw-shortcuts>a:hover{transform:translateY(-2px);border-color:var(--bh-blue)!important}
html body #bbx-home .bw-shortcuts>a>span{display:grid;place-items:center;width:35px;height:35px;background:var(--bh-tint);color:var(--bh-blue-ink);border-radius:10px;font-size:24px;flex-shrink:0}
html body #bbx-home .bw-shortcuts strong{font-size:12px;color:var(--bh-ink)}html body #bbx-home .bw-shortcuts small{display:block;margin-top:3px;font-size:10px;color:var(--bh-muted)!important}html body #bbx-home .bw-shortcuts b{margin-left:auto;font-size:14px;color:var(--bh-muted)}
html body #bbx-home .bw-home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:22px;align-items:start}
html body #bbx-home .bw-home-panel{padding:24px!important;border-radius:17px!important;background:var(--bh-paper)!important;border:1px solid var(--bh-line)!important;box-shadow:none!important;min-width:0}
html body #bbx-home .bw-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--bh-line)!important;padding-bottom:16px;margin-bottom:18px}
html body #bbx-home .bw-panel-heading h2{font-size:23px!important;font-weight:800!important;line-height:1.2!important;margin:0!important;letter-spacing:-.04em;color:var(--bh-ink)!important}
html body #bbx-home .bw-panel-heading .bw-eyebrow{margin-bottom:6px!important;font-size:9px!important}html body #bbx-home .bw-panel-heading>a{color:var(--bh-blue-ink)!important;font-size:11px;white-space:nowrap;text-decoration:none}
html body #bbx-home .bbx-day-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
html body #bbx-home #bbx-today{font-size:11px!important;color:var(--bh-muted)!important}
html body #bbx-home .bbx-filter-tabs{display:flex;gap:4px;padding:3px;background:var(--bh-card);border-radius:9px}
html body #bbx-home .bbx-filter-tabs button{min-height:34px;padding:6px 11px!important;font-size:10px!important;border-radius:7px!important;background:transparent!important;border:0!important;color:var(--bh-muted)!important;box-shadow:none!important}
html body #bbx-home .bbx-filter-tabs button[aria-pressed=true]{background:var(--bh-paper)!important;color:var(--bh-blue-ink)!important;box-shadow:0 1px 4px #142c4d12!important}
html body #bbx-home .bbx-fixture{display:block;background:var(--bh-card)!important;border:1px solid var(--bh-line)!important;border-radius:11px!important;padding:13px 15px!important;margin:9px 0!important;text-decoration:none!important}
html body #bbx-home .bbx-fixture-meta{display:flex;justify-content:space-between;margin-bottom:9px;font-size:10px!important;color:var(--bh-muted)!important}
html body #bbx-home .bbx-team{display:flex;gap:9px;align-items:center;min-height:31px;font-size:12px!important;color:var(--bh-ink)!important}
html body #bbx-home .bbx-team b{margin-left:auto;font-size:16px!important;color:var(--bh-ink)!important}html body #bbx-home .bbx-team>img{width:24px;height:24px;object-fit:contain}
html body #bbx-home .bbx-crest-fallback{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:9px;color:var(--bh-muted)!important;background:var(--bh-tint)!important}
html body #bbx-home .bbx-feed-time{font-size:10px!important;color:var(--bh-muted)!important;margin-top:13px;border:0!important}
html body #bbx-home .bw-matchday-more{display:flex;justify-content:space-between;border-top:1px solid var(--bh-line);padding-top:14px;margin-top:14px;color:var(--bh-blue-ink)!important;font-size:11px;font-weight:650;text-decoration:none}
html body #bbx-home .bw-gold-tag{background:var(--bh-gold-bg)!important;color:var(--bh-gold)!important}
html body #bbx-home .bw-spotlight-portrait{height:220px!important;background:var(--bh-tint)!important}
html body #bbx-home .bw-spotlight-portrait::after{background:linear-gradient(90deg,var(--bh-tint) 15%,transparent 85%)!important}
html body #bbx-home .bw-spotlight-portrait>span{color:var(--bh-ink)!important;text-shadow:none!important}
html body #bbx-home .bw-spotlight-stats b{font-size:30px;font-weight:800;color:var(--bh-ink)}html body #bbx-home .bw-spotlight-stats span{color:var(--bh-muted)!important}html body #bbx-home .bw-spotlight-link{color:var(--bh-blue-ink)!important;border-color:var(--bh-line)!important}
html body #bbx-home :is(.bw-news-section,.bw-play-section){margin:28px 0}
html body #bbx-home .bw-home-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html body #bbx-home .bw-news-teaser{background:var(--bh-paper)!important;border:1px solid var(--bh-line)!important;box-shadow:none!important;border-radius:14px;overflow:hidden;min-width:0;text-decoration:none}
html body #bbx-home .bw-news-teaser small{color:var(--bh-muted)!important}html body #bbx-home .bw-news-teaser h3{color:var(--bh-ink)!important;font-size:17px!important;line-height:1.4!important;font-weight:750!important}
html body #bbx-home .bw-news-teaser span{color:var(--bh-blue-ink)!important}
html body #bbx-home .bw-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0!important}
html body #bbx-home :is(.bw-xi-promo,.bw-compare-promo){display:block;position:relative;overflow:hidden;background:var(--bh-tint)!important;border:1px solid var(--bh-line)!important;border-radius:16px!important;padding:26px!important;text-decoration:none;color:var(--bh-ink)!important;box-shadow:none!important}
html body #bbx-home .bw-compare-promo{background:var(--bh-gold-bg)!important}
html body #bbx-home .bw-bottom-grid h3{font-size:30px!important;font-weight:850!important;letter-spacing:-.045em;line-height:1.1;margin:14px 0 22px!important;color:var(--bh-ink)!important}
html body #bbx-home .bw-text-link{position:relative;z-index:1;color:var(--bh-blue-ink)!important;font-weight:650;font-size:12px!important}
html body #bbx-home .bw-xi-promo>b{position:absolute;right:22px;bottom:15px;font-size:115px;font-style:italic;opacity:.08;line-height:1}
html body #bbx-home .bw-compare-promo::after{color:var(--bh-gold)!important;opacity:.1}
html body #bbx-home .bw-install-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px!important;background:var(--bh-paper)!important;border:1px solid var(--bh-line)!important;border-radius:16px!important;box-shadow:none!important;margin:28px 0!important}
html body #bbx-home .bw-install-promo h2{font-size:25px!important;font-weight:800!important;color:var(--bh-ink)!important;margin:7px 0 8px!important}
html body #bbx-home .bw-install-promo p{color:var(--bh-muted)!important;font-size:12px!important}
html body #bbx-home .bw-install-actions{display:flex;gap:8px;flex-wrap:wrap}
html body #bbx-home .bw-install-actions button{background:var(--bh-tint)!important;border:1px solid var(--bh-line)!important;color:var(--bh-blue-ink)!important;border-radius:9px;min-height:44px;padding:11px 15px;font-size:12px;font-weight:650;cursor:pointer}
@media(max-width:767px){html body #bbx-home .bw-welcome{display:block!important;min-height:0!important;border-radius:17px!important}html body #bbx-home .bw-welcome-copy{padding:23px 20px 20px!important}html body #bbx-home #bbx-title{font-size:39px!important;max-width:230px;margin:13px 0!important}html body #bbx-home .bw-eyebrow{font-size:8px!important;letter-spacing:.1em!important}html body #bbx-home .bw-hero-description{font-size:11px!important;max-width:190px;min-height:38px}html body #bbx-home .bw-welcome-art{position:absolute;right:-27px;top:35px;width:157px;height:200px!important;background:transparent!important;pointer-events:none}html body #bbx-home .bw-art-player-one{width:85%;height:95%;left:9%;top:4%;transform:rotate(-9deg);border-width:3px}html body #bbx-home :is(.bw-art-player-two,.bw-art-caption,.bw-art-number,.bw-art-grid){display:none}html body #bbx-home .bw-hero-actions{padding-top:10px;margin-top:20px!important;gap:8px}html body #bbx-home :is(.bw-primary,.bw-secondary){padding:11px 12px!important;font-size:11px!important;min-height:43px;gap:10px;flex:1;white-space:nowrap}html body #bbx-home .bw-shortcuts{gap:8px;margin:12px 0 20px!important;grid-template-columns:repeat(2,minmax(0,1fr))}html body #bbx-home .bw-shortcuts>a{padding:11px!important;gap:8px}html body #bbx-home .bw-shortcuts>a>span{width:29px;height:29px;font-size:21px}html body #bbx-home .bw-shortcuts strong{font-size:11px}html body #bbx-home .bw-shortcuts small{font-size:9px}html body #bbx-home .bw-shortcuts b{display:none}html body #bbx-home .bw-home-grid{grid-template-columns:1fr;gap:18px}html body #bbx-home .bw-home-panel{padding:18px!important}html body #bbx-home .bw-panel-heading h2{font-size:20px!important}html body #bbx-home .bw-panel-heading>a{font-size:10px}html body #bbx-home .bbx-team{font-size:12px!important}html body #bbx-home .bw-spotlight-portrait{height:185px!important}html body #bbx-home .bw-home-stories{grid-template-columns:1fr;gap:12px}html body #bbx-home .bw-news-teaser{display:grid;grid-template-columns:100px minmax(0,1fr)}html body #bbx-home .bw-news-teaser>img{height:100%;width:100px;min-height:125px;object-fit:cover}html body #bbx-home .bw-news-teaser>div{padding:13px}html body #bbx-home .bw-news-teaser h3{font-size:14px!important;margin:7px 0!important}html body #bbx-home .bw-bottom-grid{gap:10px}html body #bbx-home :is(.bw-xi-promo,.bw-compare-promo){padding:18px 14px!important}html body #bbx-home .bw-bottom-grid h3{font-size:23px!important;line-height:1.15}html body #bbx-home .bw-text-link{font-size:10px!important}html body #bbx-home .bw-install-promo{display:block;padding:20px!important}html body #bbx-home .bw-install-actions{margin-top:16px}html body #bbx-home .bw-install-actions button{flex:1;padding:11px 10px}}
@media(max-width:359px){html body #bbx-home .bw-welcome-art{right:-47px;opacity:.7}html body #bbx-home #bbx-title{font-size:35px!important;max-width:200px}}
html body .bb-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px!important;border:1px solid var(--bh-line)!important;border-radius:10px!important;background:var(--bh-paper)!important;color:var(--bh-ink)!important;font:650 11px/1.3 Inter,-apple-system,Arial,sans-serif!important;cursor:pointer;white-space:nowrap;box-shadow:none!important}
html body .bb-theme-toggle svg{flex:none}html body .bb-theme-toggle:focus-visible{outline:3px solid #7dafff;outline-offset:3px}
@media(max-width:767px){html body #ba-controls{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px}html body .bb-theme-toggle{min-height:36px;font-size:10px!important;padding:7px 10px!important}}
html[data-bbx-home=true] #active-category-glass{display:none!important}
html body #bbx-home .bw-spotlight-stats>div{border-color:var(--bh-line)!important}
html body #bbx-home .bbx-no-matches{background:var(--bh-card)!important;color:var(--bh-muted)!important;border-color:var(--bh-line)!important}html body #bbx-home .bbx-no-matches strong{color:var(--bh-ink)!important}html body #bbx-home .bbx-no-matches a{color:var(--bh-blue-ink)!important}

/* The website mark is an isolated transparent B in either theme. */
html body .bb-premium-mark,html body .bb-mobile-brand{background:transparent!important;box-shadow:none!important;border:0!important}
html body .bb-premium-mark::before,html body .bb-premium-mark::after{display:none!important}
html body :is(.bb-premium-mark,.bb-mobile-brand) img{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;object-fit:contain!important}
html[data-bb-theme="light"] body #bbx-home .bw-gold-tag{color:#704900!important;background:#ffedb3!important;border:1px solid #b78318!important}
html[data-bb-theme="light"] body #bbx-home .bw-compare-promo{border-color:#b78318!important}

/* Phone settings stay with the header, below the logo and outside the status bar. */
@media(max-width:767px){
 html body.bb-mobile-view{overflow-x:clip!important}
 html body.bb-mobile-view>main{padding-top:0!important;overflow:visible!important}
 html body.bb-mobile-view>main>.bbx-header{position:sticky!important;top:0!important;z-index:40!important;isolation:isolate;margin:0 0 14px!important;padding:calc(10px + var(--bb-mobile-safe-top, env(safe-area-inset-top, 0px))) 0 12px!important;background:var(--bh-paper)!important;border-bottom:1px solid var(--bh-line)!important;box-shadow:0 3px 14px #10223b08!important;overflow:visible!important}
 html body.bb-mobile-view>main>.bbx-header #bb-mobile-topbar{margin:0 0 9px!important;min-height:44px!important}
 html body.bb-mobile-view>main>.bbx-header #ba-controls{display:flex!important;position:static!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:44px!important;margin:0!important;transform:none!important}
 html body.bb-mobile-view #ba-controls :is(.ba-tools-button,.bb-theme-toggle,.ba-language){min-height:44px!important;box-sizing:border-box!important;flex-shrink:0!important}
 html body.bb-mobile-view #ba-controls .ba-language{width:auto!important;max-width:90px!important;height:44px!important;line-height:normal!important;font-size:13px!important;padding:8px!important}
 html body.bb-mobile-view #ba-controls .ba-tools-button{margin-inline-end:auto!important;padding:8px 10px!important;font-size:11px!important}
 html body.bb-mobile-view #ba-controls .bb-theme-toggle{font-size:11px!important;padding:8px 10px!important}
 html body.bb-mobile-view #bb-main-header-row:not([hidden]){margin-top:10px!important}
}
@media(max-width:359px){html body.bb-mobile-view #ba-controls{gap:6px!important}html body.bb-mobile-view #ba-controls .ba-tools-button{font-size:10px!important;padding:8px!important}html body.bb-mobile-view #ba-controls .bb-theme-toggle{font-size:10px!important;padding:8px!important}}
