html body.bb-app .home-discovery{max-width:1180px;width:calc(100% - 32px);margin:20px auto 28px;color:inherit}
.discovery-row{margin:0 0 28px;min-width:0}
html body.bb-app .discovery-row>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}
html body.bb-app .discovery-row h2{font:800 clamp(20px,2.4vw,28px)/1.2 Georgia,serif!important;letter-spacing:-.025em;margin:0!important;padding:0!important;border:0!important;color:inherit!important}
html body.bb-app .discovery-row>header>a{font:800 13px/1.3 Arial,sans-serif;white-space:nowrap;color:inherit!important;text-decoration:none}
.discovery-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/3.35);gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 0 8px;overscroll-behavior-x:contain}
.discovery-rail::-webkit-scrollbar{display:none}
html body.bb-app a.discovery-cover{display:block;position:relative;aspect-ratio:4/5;border-radius:16px;overflow:hidden;scroll-snap-align:start;background:#102840!important;color:#fff!important;text-decoration:none!important;isolation:isolate}
.discovery-cover>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .3s}
.discovery-cover:hover>img{transform:scale(1.035)}
.discovery-cover:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(5,15,26,.85) 70%,#05101c);z-index:0;pointer-events:none}
html body.bb-app .discovery-cover .discovery-copy{position:absolute;inset:auto 0 0;padding:22px 18px;z-index:1;color:#fff!important;background:transparent!important}
html body.bb-app .discovery-copy strong{display:block;font:800 clamp(21px,2vw,27px)/1.1 Georgia,serif!important;color:#fff!important;letter-spacing:-.025em;text-transform:none!important;margin:7px 0 10px}
html body.bb-app .discovery-copy span{display:block;font:600 14px/1.45 Arial,sans-serif!important;color:#fff!important;letter-spacing:0!important}
.discovery-arrows{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
html body.bb-app .discovery-arrows button{background:transparent!important;color:inherit!important;border:1px solid #82919c!important;border-radius:20px;min-width:40px;min-height:36px;padding:6px 12px;font:700 14px Arial;cursor:pointer}
.discovery-empty{grid-column:1/-1;font:400 16px/1.5 Arial;min-width:250px}
dialog.discovery-detail{width:min(760px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid #cbd5df;border-radius:20px;background:#fff;color:#102840;overflow:auto}
dialog.discovery-detail::backdrop{background:#05101cb3}
html[data-theme=night] dialog.discovery-detail{background:#14191e;color:#fff;border-color:#53616b}
.discovery-detail .discovery-close{position:sticky;top:8px;float:right;z-index:3;margin:8px 10px -52px 0;background:#fff!important;color:#102840!important;border:1px solid #cbd5df;border-radius:24px;padding:10px 16px;min-height:44px;font:700 15px Arial;cursor:pointer}
.discovery-detail>img{width:100%;max-height:380px;object-fit:contain;display:block;background:var(--bb-surface,#102840)}
.discovery-detail-body{padding:24px}
.discovery-detail-body h2{font:800 32px/1.1 Georgia;margin:0 0 12px;color:inherit}
.discovery-detail-body p,.discovery-detail-body dd{font:400 16px/1.55 Arial;margin:0 0 12px;overflow-wrap:anywhere}
.discovery-detail-body dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
.discovery-detail-body dt{font:800 12px/1.5 Arial;text-transform:uppercase;opacity:.7}
.discovery-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.discovery-detail-actions :is(a,button){font:700 14px/1.3 Arial;padding:12px 16px;border:1px solid #a9b6c0;border-radius:8px;background:transparent!important;color:inherit!important;text-decoration:none;cursor:pointer;min-height:44px}
.discovery-detail-actions a:first-child{background:#c5283a!important;color:#fff!important;border-color:#c5283a}
.discovery-detail-body a{color:inherit}
.discovery-distance-status{font:400 13px/1.4 Arial}
@media(max-width:700px){html body.bb-app .home-discovery{width:calc(100% - 24px);margin-top:18px}.discovery-rail{grid-auto-columns:84%;gap:12px}.discovery-detail-body{padding:20px}.discovery-detail-body dl{grid-template-columns:1fr}.discovery-copy strong{font-size:26px!important}}
@media(prefers-reduced-motion:reduce){.discovery-cover>img{transition:none}}
html[data-theme=day] body.bb-app .bb-app-scroll .home-discovery .discovery-arrows button{background:#fff!important;color:#102840!important;border-color:#bac6d0!important}
html[data-theme=night] body.bb-app .bb-app-scroll .home-discovery .discovery-arrows button{background:#20262c!important;color:#fff!important;border-color:#64717e!important}
html[data-theme] body.bb-app dialog.discovery-detail button{background:#f1f5f8!important;color:#102840!important;border:1px solid #cbd5df!important;border-radius:8px;padding:10px 14px;font:700 14px/1.4 Arial;min-height:44px;cursor:pointer}
html[data-theme=night] body.bb-app dialog.discovery-detail button{background:#20262c!important;color:#fff!important;border-color:#64717e!important}
html[data-theme] body.bb-app dialog.discovery-detail .member-state-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
html[data-theme] body.bb-app dialog.discovery-detail .member-rating{display:flex;align-items:center;gap:10px;margin-bottom:16px;font:400 14px Arial}
html[data-theme] body.bb-app dialog.discovery-detail .discovery-detail-body h2{color:inherit!important;text-transform:none!important}

/* Compact Home rails: three rows share the former single-card footprint. */
html body.bb-app .home-discovery{margin:12px auto 16px;max-width:1180px}
html body.bb-app .home-discovery .discovery-row{margin:0 0 10px}
html body.bb-app .home-discovery .discovery-row>header{margin:0 0 5px;gap:8px;min-height:24px}
html body.bb-app .home-discovery .discovery-row h2{font:800 14px/1.2 Arial,sans-serif!important;letter-spacing:.02em}
html body.bb-app .home-discovery .discovery-row>header>a{font-size:12px;padding:5px 0}
html body.bb-app .home-discovery .discovery-rail{grid-auto-columns:116px;gap:8px;padding:0;scroll-padding:0;-webkit-overflow-scrolling:touch}
html body.bb-app .home-discovery a.discovery-cover{aspect-ratio:3/4;border-radius:8px}
html body.bb-app .home-discovery .discovery-copy{padding:7px 6px!important}
html body.bb-app .home-discovery .discovery-copy strong{font:800 13px/1.15 Arial,sans-serif!important;letter-spacing:0;margin:3px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body.bb-app .home-discovery .discovery-copy span{font:600 11px/1.2 Arial,sans-serif!important}
html body.bb-app .home-discovery .discovery-copy span:last-child{display:none}
html body.bb-app .home-discovery .discovery-arrows{display:none}
html body.bb-app .home-discovery .discovery-empty{font-size:14px;min-height:100px;display:flex;align-items:center;margin:0}
@media(max-width:700px){html body.bb-app .home-discovery{width:calc(100% - 24px);margin-top:10px}html body.bb-app .home-discovery .discovery-rail{grid-auto-columns:calc((100% - 24px)/3.4);gap:8px}}
/* Poster rails and complete collections share one visual system. */
html body.bb-app .home-discovery .discovery-row>header{position:relative;display:grid;grid-template-columns:1fr auto;gap:1px 8px;min-height:35px}
.discovery-subtitle{font:500 11px/1.2 Arial;grid-column:1;opacity:.75}
html body.bb-app .home-discovery .discovery-row>header>a{grid-column:2;grid-row:1/3;align-self:center;min-height:32px;display:flex;align-items:center}
html body.bb-app .home-discovery .discovery-row>header:has(>.explore-directory-shortcut){grid-template-columns:minmax(0,1fr) auto auto}
html body.bb-app .home-discovery .discovery-row>header>.explore-directory-shortcut~a{grid-column:3}
html body.bb-app .home-discovery .discovery-copy strong{font-family:Georgia,serif!important;font-size:13px!important;line-height:1.05!important}
html body.bb-app .home-discovery .discovery-copy{background:linear-gradient(transparent,rgba(5,15,26,.9))!important;padding-top:18px!important}
html body.bb-app .home-discovery .discovery-copy span:first-child{color:#fff!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.03em!important}
html body.bb-app .home-discovery .discovery-row{margin-bottom:7px}
dialog.discovery-collection{width:min(1200px,100vw);height:94dvh;max-height:100dvh;max-width:100vw;padding:0;border:1px solid #bac7d1;border-radius:16px;background:#fff;color:#102840;overflow:auto}
.discovery-collection::backdrop{background:#061323b8}
.discovery-collection>header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:inherit;border-bottom:1px solid #aebbc7}
.discovery-collection h2{font:800 20px/1.15 Georgia;margin:0;color:inherit!important}
.collection-filters{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px}
html[data-theme] body.bb-app .discovery-collection :is(button,input,select){background:#fff!important;color:#102840!important;border:1px solid #aebbc7;border-radius:8px;min-height:44px;padding:8px 12px;font:600 14px Arial}
.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:0 16px 24px}
html body.bb-app .collection-grid .discovery-copy{padding:12px!important}
html body.bb-app .collection-grid .discovery-copy strong{font-size:18px!important;line-height:1.1!important}
html body.bb-app .collection-grid .discovery-copy span{font-size:12px!important}
html[data-theme=night] .discovery-collection{background:#12171c;color:#fff}
html[data-theme=night] body.bb-app .discovery-collection :is(button,input,select){background:#20272d!important;color:white!important}
@media(max-width:700px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.discovery-collection>header{padding:12px}.discovery-collection h2{font-size:17px}.collection-filters input{width:100%}}
@media(max-height:740px) and (max-width:700px){html body.bb-app .home-discovery a.discovery-cover{aspect-ratio:4/5}}
/* Finished event artwork includes its own safe-area typography. */
html body.bb-app a.discovery-cover.event-poster{background:#fff!important}
.discovery-cover.event-poster:after{display:none}
.discovery-cover.event-poster>img{object-fit:contain;transform:none!important}
.discovery-detail>img[src*="/event-covers/"]{height:auto;max-height:none;object-fit:contain;aspect-ratio:1200/630}
/* Keep the close control clear of text baked into event artwork. */
.discovery-detail:has(>img[src*="/event-covers/"])>.discovery-close{position:sticky;top:0;display:block;margin:8px 8px 8px auto;}
/* Continuous unique rails: compact on phones, comfortable pointer browsing on desktop. */
html body.bb-app .home-discovery .discovery-rail{grid-auto-columns:150px;touch-action:pan-x pan-y;cursor:grab}
html body.bb-app .home-discovery .discovery-cover{cursor:grab}
html body.bb-app .home-discovery .discovery-rail.is-dragging,html body.bb-app .home-discovery .discovery-rail.is-dragging .discovery-cover{cursor:grabbing}
html body.bb-app .home-discovery a.discovery-cover{height:190px;aspect-ratio:auto}
html body.bb-app .home-discovery .discovery-copy strong{display:block;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:normal;font:800 16px/1.12 Arial,sans-serif!important;letter-spacing:0}
html body.bb-app .home-discovery .discovery-copy{padding:12px!important}
.collection-day{grid-column:1/-1;margin:16px 0 0;font:800 18px/1.2 Arial}
@media(min-width:701px){html body.bb-app .home-discovery .discovery-arrows{display:flex;gap:6px;justify-content:flex-end;margin:5px 0}.discovery-arrows button{min-width:36px;min-height:32px}}
@media(max-width:700px){html body.bb-app .home-discovery .discovery-rail{grid-auto-columns:calc((100% - 16px)/2.35)}html body.bb-app .home-discovery a.discovery-cover{height:clamp(144px,22dvh,185px)}dialog.discovery-collection{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.collection-grid{content-visibility:auto}}
.collection-item{min-width:0}.collection-item .discovery-cover{width:100%;aspect-ratio:3/4}.collection-caption{display:grid;gap:4px;padding:10px 0;font:400 14px/1.3 Arial}.collection-caption strong{font-weight:800}.home-sports-scoreboard{max-width:1180px;margin:18px auto;padding:0 12px}.home-sports-scoreboard h2{font-size:20px}.home-sports-scoreboard .card-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
/* Today's events reuse the Activities photo-cover treatment only. */
html body.bb-app .home-discovery [data-discovery-row=today] .today-photo-cover .discovery-copy{padding:12px!important;inset:auto 0 0;min-width:0;background:linear-gradient(transparent,rgba(5,15,26,.9))!important}
html body.bb-app .home-discovery [data-discovery-row=today] .today-photo-cover .discovery-copy strong{font:800 var(--event-title-size,16px)/1.12 Arial,sans-serif!important;margin:0 0 6px;white-space:normal;overflow-wrap:anywhere;display:block;overflow:visible;text-transform:uppercase!important}
html body.bb-app .home-discovery [data-discovery-row=today] .today-photo-cover .discovery-copy span{display:block!important;font:600 11px/1.25 Arial,sans-serif!important;letter-spacing:0!important;margin-top:3px;white-space:normal}
html body.bb-app .home-discovery [data-discovery-row=today] .today-photo-cover>img{object-fit:cover}
/* One bounded scroll surface and cover treatment, based on Activities. */
html body.bb-app .home-discovery .discovery-rail{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y pinch-zoom;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;}
html body.bb-app .home-discovery .discovery-rail.is-dragging{scroll-snap-type:none;scroll-behavior:auto;}
html body.bb-app .home-discovery .discovery-cover{min-width:0;width:100%;max-width:100%;touch-action:pan-x pan-y pinch-zoom;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;}
html body.bb-app .home-discovery .photo-cover>img{height:100%!important;width:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none;}
html body.bb-app .home-discovery .photo-cover .discovery-copy{inset:auto 0 0;padding:12px!important;min-width:0;pointer-events:none;}
html body.bb-app .home-discovery .photo-cover .discovery-copy strong{display:block!important;font:800 var(--cover-title-size,16px)/1.12 Arial,sans-serif!important;margin:3px 0;letter-spacing:0;white-space:normal!important;overflow:visible;-webkit-line-clamp:unset;word-break:normal;overflow-wrap:normal;text-transform:uppercase!important;}
html body.bb-app .home-discovery .photo-cover .discovery-copy .cover-meta{display:block!important;font:600 11px/1.25 Arial,sans-serif!important;letter-spacing:0!important;margin-top:4px;white-space:normal;}
/* Approved cinematic poster proportions. One size for all three collections. */
html body.bb-app .home-discovery{--poster-gap:6px;--poster-ratio:2/5;--poster-width:clamp(124px,11.6vw,148px);}
html body.bb-app .home-discovery .discovery-rail{grid-auto-columns:var(--poster-width);gap:var(--poster-gap);}
html body.bb-app .home-discovery :is([data-discovery-row],.discovery-row) a.discovery-cover{height:auto!important;aspect-ratio:var(--poster-ratio)!important;border-radius:9px;width:100%!important;border:1px solid #10284024;}
html body.bb-app .home-discovery .photo-cover .discovery-copy{padding:11px 9px!important;}
html body.bb-app .home-discovery .cinematic-event:after{inset:0;background:linear-gradient(180deg,rgba(1,8,15,.92),rgba(1,8,15,.5) 26%,transparent 43%,rgba(2,12,22,.12) 53%,#051322 79%);}
html body.bb-app .home-discovery .cinematic-event .discovery-copy{inset:0;display:flex;flex-direction:column;background:transparent!important;}
html body.bb-app .home-discovery .cinematic-event .discovery-copy strong{font-family:Georgia,'Times New Roman',serif!important;text-align:center;text-wrap:balance;text-shadow:0 2px 7px #000;}
html body.bb-app .home-discovery .cinematic-event .poster-details{margin-top:auto;display:grid;gap:3px;padding-top:12px;}
html body.bb-app .home-discovery .cinematic-event .discovery-copy .cover-meta{font-size:12px!important;line-height:1.2!important;margin:0;}
html body.bb-app .home-discovery .cinematic-event .cover-meta:first-child{font-weight:800!important;}
html body.bb-app .home-discovery .cinematic-event .discovery-copy .poster-category{display:block!important;flex:none;border-top:1px solid #ffffff2a;margin:10px -9px -11px;padding:8px 7px;background:#0a233a!important;color:white!important;font:700 10px/1.2 Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.02em!important;}
@media(max-width:700px){html body.bb-app .home-discovery{--poster-width:calc((100% - 12px)/2.8);}}
@media(min-width:701px) and (max-width:1000px){html body.bb-app .home-discovery{--poster-width:calc((100% - 24px)/5.2);}}
/* Verified live events; keep artwork and poster dimensions intact. */
.home-discovery .discovery-cover.is-live{border:1px solid #ff3048!important;box-shadow:0 0 0 1px #ed1b3599,0 0 12px #ed1b3555,inset 0 0 12px #ed1b3522}
.poster-live{position:absolute;z-index:4;left:7px;top:7px;background:#c8102e;color:#fff;padding:3px 6px;border-radius:5px;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.03em}
.home-discovery .is-live .discovery-copy{padding-top:30px}
.sports-poster-art{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 47%,#41526c,#09121d 67%);display:flex;align-items:center;justify-content:center;gap:4px;padding:5px}
.sports-poster-art img{position:static!important;width:47%!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 5px 6px #0008)}
.score-heading{font:700 20px/1.2 Georgia,serif;margin:12px 0 8px;color:var(--ink,#102840)}
.score-rail{display:flex;gap:8px;overflow-x:auto;min-width:0;max-width:100%;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;padding:3px 2px 10px}
.score-rail::-webkit-scrollbar{display:none}
.score-card{position:relative;flex:0 0 clamp(170px,24vw,245px);scroll-snap-align:start;border:1px solid #dbe1e8;border-radius:10px;padding:20px 10px 10px;background:#fff;color:#102840;text-align:center;text-decoration:none;user-select:none;min-height:118px;box-sizing:border-box}
.score-match{display:flex;align-items:center;justify-content:space-between;gap:5px;height:58px}
.score-match img{width:52px;height:52px;object-fit:contain;pointer-events:none}.score-match strong{font:800 23px/1.1 Arial,sans-serif;white-space:nowrap}.score-status{font:800 14px/1.4 Arial,sans-serif;margin:4px 0}.score-red{color:#c8102e}.score-live{position:absolute;top:5px;left:7px;border-radius:4px;background:#c8102e;color:white;padding:2px 5px;font:700 10px Arial,sans-serif}.score-card small{font:12px/1.3 Arial,sans-serif}.score-source{font-size:11px}
[data-theme=night] .score-card{background:#132536;color:#f6f8fa;border-color:#344655}[data-theme=night] .score-heading{color:#f6f8fa}

/* Glide and mouse selection retain their exact position; touch stays native. */
html body.bb-app .home-discovery .discovery-rail:is(.is-auto-scrolling,.is-pointer-held){scroll-snap-type:none!important;scroll-behavior:auto!important}

.discovery-collection .event-poster.is-live{position:relative;border:1px solid #ff3048;box-shadow:0 0 12px #ed1b3555}
/* NOW owns a real flow row. The title never shares its rectangle. Both themes. */
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-status-row{display:flex;align-items:center;gap:6px;flex:none;min-height:18px;margin:0 0 7px;padding:0;position:relative;z-index:4;}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-status-row .poster-live{position:static!important;display:inline-flex!important;width:auto;flex:none;font:700 10px/1.2 Arial,sans-serif!important;margin:0!important;letter-spacing:.03em!important;padding:3px 6px;color:#fff!important;background:#c8102e!important;}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .discovery-copy strong{flex:none;overflow-wrap:normal;word-break:normal;hyphens:none;}
html body.bb-app .home-discovery .cinematic-event .sports-poster-art{inset:var(--visual-top,90px) 0 var(--visual-bottom,108px);padding:0 5px;min-height:0;background:transparent;}
html body.bb-app .home-discovery .cinematic-event .sports-poster-art img{max-height:100%;height:100%!important;object-fit:contain!important;}
/* Compact broadcast scoreboard: one structure and identical geometry in both themes. */
/* Official artwork owns the space between title and facts, without a destructive crop. */
html body.bb-app .home-discovery .cinematic-event[data-artwork-fit=contain]>img{top:var(--visual-top,90px);bottom:var(--visual-bottom,108px);height:calc(100% - var(--visual-top,90px) - var(--visual-bottom,108px))!important;object-fit:contain;transform:none!important;z-index:1;}
html body.bb-app .home-discovery .cinematic-event[data-artwork-fit=contain]:after{background:linear-gradient(180deg,#051322,transparent 35%,transparent 65%,#051322);}
.home-sports-scoreboard{--score-font:Impact,'Arial Narrow','Roboto Condensed',sans-serif;padding-top:12px;border-top:3px solid var(--bb-accent,#c8102e)}
.home-sports-scoreboard h2,.score-heading{font-family:Impact,'Arial Narrow',sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.home-sports-scoreboard h2{font-size:clamp(26px,4vw,38px);margin:0 0 10px}
.score-row-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0 8px}
.score-heading{font-size:clamp(20px,3vw,28px);margin:0;padding-left:12px;border-left:4px solid var(--bb-accent,#c8102e);color:var(--bb-text,#102840)}
.score-motion{font:600 12px Arial,sans-serif;min-height:44px;padding:8px 10px;background:var(--bb-surface,#fff);color:var(--bb-text,#102840);border:1px solid var(--bb-border,#dbe1e8);border-radius:4px}
.score-rail{gap:8px;padding:0 2px 10px;cursor:grab}.score-rail:active{cursor:grabbing}.score-rail.score-auto{scroll-snap-type:none;scroll-behavior:auto}
.score-card{flex:0 0 clamp(96px,26vw,160px);border-radius:3px;min-height:0;padding:0 5px 5px;overflow:hidden}
.score-tab{display:block;width:94%;margin:0 auto 5px;box-sizing:border-box;clip-path:polygon(0 0,100% 0,94% 100%,6% 100%);background:#c8102e;color:#fff;padding:3px 4px;font:800 11px/1.2 'Arial Narrow',Arial,sans-serif;text-transform:uppercase;min-height:20px}
.score-teams{display:grid;grid-template-columns:1fr 1fr;align-items:start}.score-team{display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 4px}.score-team+.score-team{border-left:1px solid var(--bb-border,#dbe1e8)}
.score-team img{width:clamp(30px,8vw,48px);height:clamp(30px,8vw,48px);object-fit:contain;pointer-events:none}.score-monogram{height:32px;display:flex;align-items:center;font:800 13px Arial,sans-serif}
.score-team-name{font:700 11px/1.1 'Arial Narrow',Arial,sans-serif;min-height:1.2em;margin-top:3px;max-width:100%;white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none;overflow:hidden;text-overflow:ellipsis}
.score-number{font:800 clamp(24px,6vw,36px)/1 Impact,'Arial Narrow',sans-serif;font-variant-numeric:tabular-nums;margin:1px 0 3px}
.score-meta{font:10px/1.2 Arial,sans-serif;padding-top:4px;margin-top:4px;border-top:1px solid var(--bb-border,#dbe1e8);min-height:1.2em;color:var(--bb-text-secondary,var(--bb-text,#102840))}
.score-card:focus-visible,.score-motion:focus-visible,.score-rail:focus-visible{outline:3px solid var(--bb-accent,#c8102e);outline-offset:2px}
[data-theme=night] .home-sports-scoreboard{background:transparent}[data-theme=night] .score-tab{background:#c8102e;color:#fff}
/* Weekly football controls share one explicit theme contract, including interaction states. */
html[data-theme=day] body.bb-app .score-motion,html[data-theme=day] body.bb-app .score-motion:hover,html[data-theme=day] body.bb-app .score-motion:active,html[data-theme=day] body.bb-app .score-motion:focus{background:#fff!important;color:#102840!important;border:1px solid #dbe1e8!important}
html[data-theme=night] body.bb-app .score-motion{background:#172332!important;color:#f7f9fc!important;border:1px solid #415164!important}
.football-section{margin:16px 0;padding-bottom:12px;border-bottom:1px solid var(--bb-border,#dbe1e8)}
.football-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.football-controls label{display:flex;gap:6px;align-items:center;font:14px Arial,sans-serif;max-width:100%}.football-controls select{max-width:100%;min-width:0}.football-controls>label:first-of-type{flex:1 1 220px}
.football-section button,.football-section select,.football-section input,.football-dialog button{background:var(--bb-surface,#fff)!important;color:var(--bb-text,#102840)!important;border:1px solid var(--bb-border,#dbe1e8)!important;border-radius:4px;min-height:44px;padding:8px;font:600 14px Arial,sans-serif;box-sizing:border-box}
.football-section button[aria-pressed=true]{border-bottom:3px solid #c8102e!important}.football-section button:focus-visible,.football-section input:focus-visible,.football-section select:focus-visible,.football-dialog button:focus-visible{outline:3px solid #c8102e;outline-offset:2px}
.football-row-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font:13px Arial,sans-serif}.football-updated,.football-coverage{font:13px/1.5 Arial,sans-serif;margin:8px 0}.football-coverage ul{max-height:260px;overflow:auto}.football-followed,[data-team-results]{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}[data-team-results]{max-height:230px;overflow:auto}
.football-dialog{background:var(--bb-surface,#fff);color:var(--bb-text,#102840);border:1px solid var(--bb-border,#dbe1e8);width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 130px);overflow:auto;padding:16px;box-sizing:border-box}.football-dialog::backdrop{background:#0009}.football-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.football-dialog h2{font:800 24px/1.15 'Arial Narrow',Arial,sans-serif}.football-all{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px}.football-all .score-card{min-width:0}.score-pending{display:block;font:12px/1.3 Arial,sans-serif}
html[data-theme=day] .football-section .score-motion,html[data-theme=day] .football-section .score-motion:is(:hover,:active,:focus){background:#fff!important;color:#102840!important}

/* Compact names follow actual column width in rails and View All, in both themes. */
.score-team{container-type:inline-size;container-name:score-team}
.score-team-name{font-size:12px}
.score-name-medium,.score-name-wide{display:none}
.score-team-rank{display:block;font:700 10px/1.15 Arial,sans-serif}
@container score-team (min-width:85px){.score-name-compact{display:none}.score-name-medium{display:inline}}
@container score-team (min-width:125px){.score-name-medium{display:none}.score-name-wide{display:inline}}
.score-monogram{font-size:12px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
/* Contextual Sports: primary navigation only; advanced controls live in dialogs. */
.sports-primary{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;border:1px solid var(--bb-border,#dbe1e8);border-radius:8px;background:var(--bb-surface,#fff);margin:10px 0}
.sports-primary button,.sports-personal-tools button{min-height:44px;padding:8px 18px;border:1px solid transparent;border-radius:5px;background:var(--bb-surface,#fff);color:var(--bb-text,#102840);font:700 15px Arial,sans-serif}
.sports-primary button[aria-pressed=true]{border-color:var(--bb-border,#dbe1e8);box-shadow:inset 0 -3px #c8102e}
.sports-primary button:focus-visible,.sports-personal-tools button:focus-visible{outline:3px solid #c8102e;outline-offset:2px}
.sports-personal-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0;color:var(--bb-text,#102840)}
.sports-personal-tools a{color:var(--bb-text,#102840);font:600 13px Arial,sans-serif}
[data-weekly-football] .football-row-tools{margin:2px 0 6px;gap:8px}
[data-weekly-football] .score-motion{font-size:12px;padding:6px 8px;flex:0 0 auto}
[data-weekly-football] .score-heading{font-size:clamp(19px,3vw,28px)}
[data-weekly-football] .score-row-header>[data-view-all]{font-size:12px;white-space:nowrap;padding:6px;flex:0 0 auto}
.sports-source-notes{margin-top:16px}.sports-advanced{margin:12px 0}
.sports-detail-teams{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sports-detail-teams button{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}
.sports-detail-teams img,.sports-team-logo{width:64px;height:64px;object-fit:contain}
.football-dialog>.score-card{display:block;max-width:244px;margin:8px 0}
.football-dialog>label{display:block;margin:12px 0}
.football-dialog input,.football-dialog select{box-sizing:border-box;min-height:44px;max-width:100%;padding:8px;background:var(--bb-surface,#fff);color:var(--bb-text,#102840);border:1px solid var(--bb-border,#dbe1e8);font:16px Arial,sans-serif}
.sports-primary button,.sports-primary button:is(:hover,:active,:focus),.sports-personal-tools button{background:var(--bb-surface,#fff)!important;color:var(--bb-text,#102840)!important}

/* Compact uninterrupted Sports rows, with native swipe/drag and idle scrolling. */
[data-weekly-football] .football-section{margin:0 0 12px;padding-bottom:0;border-bottom:0}
[data-weekly-football] .score-row-header{margin:0 0 6px;gap:8px}
[data-weekly-football] .score-rail{padding-bottom:4px}
[data-weekly-football] .football-row-tools{margin:0;font-size:11px;line-height:1.2}
.discovery-arrows{display:none!important}

/* October 8 full-cover portrait treatment; geometry is identical in both themes. */
html body.bb-app :is(.home-discovery,.discovery-collection){--poster-ratio:2/3;--poster-width:clamp(160px,14vw,216px)}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event>img{inset:0!important;top:0!important;bottom:0!important;width:100%!important;height:100%!important;object-fit:cover;object-position:var(--artwork-position,50% 40%);transform:none!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event[data-artwork-fit=contain]>img{inset:0!important;height:100%!important;object-fit:cover;background:transparent}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event{background-size:cover;background-position:center;isolation:isolate}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event:after,html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event[data-artwork-fit=contain]:after{background:linear-gradient(180deg,#03101e30 0%,transparent 35%,#03101e35 50%,#03101ee8 78%,#03101e 100%)}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .discovery-copy{justify-content:flex-end;padding:12px!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .discovery-copy strong{font-family:Impact,'Arial Narrow',Arial,sans-serif!important;text-align:left;font-size:var(--cover-title-size,18px)!important;line-height:1.1!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-details{margin-top:8px;padding-top:0}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-category{margin:8px -12px -12px!important;padding:7px 12px!important;font-size:12px!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-status-row{position:relative;top:auto;left:auto;align-self:flex-start}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .cover-meta{font-size:14px!important}
@media(max-width:700px){html body.bb-app :is(.home-discovery,.discovery-collection){--poster-width:calc((100% - 6px)/1.85)}}
/* Collection posters use the same bounded flow as rails, with compact metadata. */
html body.bb-app .discovery-collection .cinematic-event .discovery-copy{inset:0;display:flex;flex-direction:column;padding:8px!important}
html body.bb-app .discovery-collection .cinematic-event .discovery-copy strong{margin:0 0 5px;min-height:0}
html body.bb-app .discovery-collection .cinematic-event .poster-details{margin-top:auto;padding-top:5px;display:grid;gap:2px}
html body.bb-app .discovery-collection .cinematic-event .cover-meta{font-size:11px!important;line-height:1.2!important;margin:0}
html body.bb-app .discovery-collection .cinematic-event .poster-category{margin:6px -8px -8px!important;padding:6px 8px!important;font-size:10px!important;line-height:1.2!important;flex:none}

/* B: chronological flyer posts. Activities retain their existing grid. */
.discovery-collection[data-collection-layout=flyer-feed] .collection-grid{display:flex;flex-direction:column;gap:20px;width:min(100%,600px);margin-inline:auto;box-sizing:border-box}
.discovery-collection[data-collection-layout=flyer-feed] .collection-day{margin:0;padding-block:8px;border-bottom:1px solid var(--bb-border,#cbd5df)}
.discovery-collection[data-collection-layout=flyer-feed] .collection-item{width:100%;border-bottom:1px solid var(--bb-border,#cbd5df);padding-bottom:16px}
.discovery-collection[data-collection-layout=flyer-feed] .collection-item .discovery-cover{display:block;width:100%;height:auto;aspect-ratio:3/4;border-radius:8px;overflow:hidden}
.discovery-collection[data-collection-layout=flyer-feed] .collection-caption{padding:12px 2px;color:var(--bb-text,#102840)}
.discovery-collection[data-collection-layout=flyer-feed] .collection-description{margin:4px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:inherit}
/* Owner's relative sizing uses the enlarged Today cards as the 100% base. */
html body.bb-app .home-discovery{--today-poster-width:calc(var(--poster-width) * 1.33);--activity-poster-scale:.33;--week-to-activity-scale:1.33;--home-card-ratio:2/5}
html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail{grid-auto-columns:calc(var(--today-poster-width) * var(--activity-poster-scale))}
html[data-theme] body.bb-app .home-discovery [data-discovery-row=activities] a.discovery-cover{height:auto!important;aspect-ratio:1!important}
html body.bb-app .home-discovery [data-discovery-row=activities] .photo-cover .discovery-copy{padding:10px 4px!important}

/* The complete Today, This Week and Activities rows follow the forecast width. */
html body.bb-app .bb-app-scroll .home-discovery{box-sizing:border-box;width:calc(100% - 32px);max-width:100%;padding-inline:0;margin-inline:auto}
html body.bb-app .bb-app-scroll .home-discovery .discovery-row,html body.bb-app .bb-app-scroll .home-discovery .discovery-rail{box-sizing:border-box;width:100%;max-width:100%;margin-inline:0}
@media(max-width:700px){html body.bb-app .bb-app-scroll .home-discovery{width:calc(100% - 24px)}}

/* Owner's poster reference: full-card artwork, serif title and minimal event timing. */
html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:var(--today-poster-width)}
html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--today-poster-width) * var(--activity-poster-scale) * var(--week-to-activity-scale))}
html[data-theme] body.bb-app .home-discovery a.cinematic-event[data-home-event-poster]{height:auto!important;aspect-ratio:var(--home-card-ratio)!important;border:1px solid #34485d;border-radius:12px;background:#051521!important;background-image:none!important}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster]>img{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center;transform:none!important;z-index:0!important}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster]::after{inset:0;z-index:1;background:linear-gradient(180deg,#000b 0%,#0004 25%,transparent 45%,transparent 65%,#000b 100%)}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .discovery-copy{inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-start;padding:18px 14px 0!important}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .discovery-copy strong{font:700 var(--event-title-size,26px)/1.03 Georgia,'Times New Roman',serif!important;text-align:center;text-transform:uppercase!important;text-wrap:balance;margin:0!important;letter-spacing:0;text-shadow:0 2px 7px #0008}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-details{margin-top:auto;display:grid;gap:5px;padding:16px 0}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .cover-meta{font:700 16px/1.2 Arial,sans-serif!important;margin:0}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-category{flex:none;margin:0 -14px!important;padding:12px 14px!important;border-top:1px solid #ffffff2a;background:#0a233a!important;font:700 13px/1.2 Arial,sans-serif!important;text-transform:uppercase;letter-spacing:0}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-status-row{display:none}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster]:focus-visible{outline:2px solid var(--bb-accent);outline-offset:-2px}
html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .discovery-copy{padding:12px 6px 0!important}
html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .poster-details{gap:2px;padding:6px 0}
html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .cover-meta{font-size:12px!important;line-height:1.15!important}
html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .poster-category{margin:0 -6px!important;padding:6px!important;font-size:10px!important}
/* Phone view: Week is slightly enlarged; Today and Activities keep their approved sizes. */
@media(max-width:700px){
 html body.bb-app .home-discovery{--phone-week-scale:.95;--phone-activity-scale:.603}
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * .4)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * var(--phone-week-scale) * .4)}
 html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * var(--phone-activity-scale) * .4)}
 html body.bb-app .home-discovery .discovery-row>header{min-height:0;margin-bottom:4px;gap:2px}
 html body.bb-app .home-discovery .discovery-subtitle{font-size:10px;line-height:1.1}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .discovery-copy{padding:8px 5px 0!important}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .poster-details{gap:2px;padding:5px 0}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .cover-meta{font-size:10px!important;line-height:1.1!important}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .poster-category{margin:0 -5px!important;padding:5px!important;font-size:8px!important}
}

@media(max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .cover-meta{font-size:8px!important}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .poster-category{font-size:7px!important;padding:4px!important}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .poster-status-row{margin-bottom:4px}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek]) a.cinematic-event[data-home-event-poster] .poster-live{font-size:8px!important;padding:3px!important}
}

@media(max-width:700px){
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek])>header{grid-template-columns:auto minmax(0,1fr) auto;gap:4px;min-height:24px;margin-bottom:3px}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek])>header .discovery-subtitle{grid-column:2;grid-row:1;font-size:9px;line-height:1.1}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek])>header>a{grid-column:3;grid-row:1;min-height:24px;padding:0;font-size:10px}
 html body.bb-app .home-discovery :is([data-discovery-row=today],[data-discovery-row=rollingweek])>header h2{font-size:12px!important}
 html body.bb-app .home-discovery .compact-happening-now{font-size:9px!important;margin-left:4px}
}

/* Desktop and TV reuse the mobile portrait event style across full-width rows. */
@media(min-width:701px){
 html body.bb-app .home-discovery{--home-card-ratio:3/2;margin-top:6px!important;margin-bottom:8px!important}
 html body.bb-app .home-discovery .discovery-row{margin:0 0 6px!important}
 html body.bb-app .home-discovery .discovery-row>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:22px;margin:0 0 3px!important}
 html body.bb-app .home-discovery .discovery-row>header h2{font-size:13px!important;line-height:1.2!important}
 html body.bb-app .home-discovery .discovery-subtitle{grid-column:2;grid-row:1;font-size:10px;line-height:1.2}
 html body.bb-app .home-discovery .discovery-row>header>a{grid-column:3;grid-row:1;font-size:11px;min-height:20px;padding:0}
 html body.bb-app .home-discovery .discovery-row .discovery-rail{grid-auto-columns:calc(var(--desktop-card-height,130px) * 1.5);gap:8px;padding-block:1px 2px}
 html[data-theme] body.bb-app .home-discovery a.cinematic-event[data-home-event-poster]{aspect-ratio:2/5!important}
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:calc(var(--desktop-event-height,300px) * .4)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--desktop-event-height,300px) * .95 * .4)}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .discovery-copy{padding:10px 5px 0!important}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-details{padding:6px 0;gap:1px}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .cover-meta{font-size:11px!important;line-height:1.15!important}
 html body.bb-app .home-discovery [data-discovery-row=activities] .photo-cover .discovery-copy{padding:8px!important}
 html body.bb-app .home-discovery .discovery-arrows{display:none}
}

@media(max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail{grid-auto-columns:var(--phone-activity-height,calc(var(--phone-event-height,240px) * .603))}
}

/* Activities retain full-tile artwork in a rounded square. */
@media(min-width:701px){html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail{grid-auto-columns:var(--desktop-card-height,143px)}}
html[data-theme] body.bb-app .home-discovery [data-discovery-row=activities] a.discovery-cover{border-radius:12px}

/* Requested increments relative to the approved breakpoint-specific baseline.
   Keep the adaptive baseline and Activities independent of these multipliers. */
@media(max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * 1.10 * .4)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * .95 * 1.05 * .4)}
}
@media(min-width:701px){
 /* Four times the visible area: 2x width and height, preserving the full poster. */
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:calc(var(--desktop-event-height,300px) * 1.10 * .4 * 2)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--desktop-event-height,300px) * .95 * 1.05 * .4 * 2)}
 /* Twice the visible area of the existing rounded squares. */
 html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail{grid-auto-columns:calc(var(--desktop-card-height,143px) * 1.41421356237)}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .cover-meta{font-size:clamp(16px,1.3vw,22px)!important;line-height:1.2!important}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .discovery-copy{padding:16px 10px 0!important}
 html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-details{padding-block:10px}
}

/* Owner October 15: location sits above the existing day/time on every event poster. */
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-location{display:block;font:400 11px/1.25 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0;color:#fff;text-shadow:0 1px 4px #000;white-space:normal;overflow-wrap:anywhere}
html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-location{font-size:clamp(11px,1vw,14px)!important}
@media(max-width:700px){html body.bb-app .home-discovery a.cinematic-event[data-home-event-poster] .poster-location{font-size:9px!important}}

/* Reserve the existing poster footprint during initial data loading only.
   Populated, empty-result and unavailable rows retain their approved geometry. */
@media(max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--phone-event-height,240px) * 1.10)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--phone-event-height,240px) * .95 * 1.05)}
 html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail:empty{min-height:var(--phone-activity-height,calc(var(--phone-event-height,240px) * .603))}
}
@media(min-width:701px){
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--desktop-event-height,300px) * 1.10 * 2 + 3px)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--desktop-event-height,300px) * .95 * 1.05 * 2 + 3px)}
 html body.bb-app .home-discovery [data-discovery-row=activities] .discovery-rail:empty{min-height:calc(var(--desktop-card-height,143px) * 1.41421356237 + 3px)}
}

/* October 19: enlarge installed phone-app event cards by 15%; browser and
   desktop layouts retain their existing dimensions. Preserve poster proportions. */
@media (display-mode:standalone) and (max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * 1.10 * .4 * 1.15)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:calc(var(--phone-event-height,240px) * .95 * 1.05 * .4 * 1.15)}
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--phone-event-height,240px) * 1.10 * 1.15)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--phone-event-height,240px) * .95 * 1.05 * 1.15)}
}

/* Reference phone posters: community only, immediately above the start time.
   Match each row's existing time size and keep long locality names readable. */
@media(max-width:700px){
 html body.bb-app .home-discovery [data-discovery-row=today] a.cinematic-event[data-home-event-poster] .poster-location{font-size:10px!important;line-height:1.1!important}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] a.cinematic-event[data-home-event-poster] .poster-location{font-size:8px!important;line-height:1.1!important}
}

/* Verified broadcast facts appear before the event location, only when supplied. */
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event .poster-broadcast{display:block;font:700 10px/1.2 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}
.score-broadcast{font:700 10px/1.2 Arial,sans-serif;color:var(--bb-text-secondary,var(--bb-text,#102840));overflow-wrap:anywhere}

/* Owner-approved OctKNOWber white wordmark artwork stays white in both themes. */
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork:after{background:none!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .discovery-copy{background:transparent!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .discovery-copy strong,
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .cover-meta,
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .poster-location,
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .poster-broadcast{color:#102840!important;text-shadow:none!important}
html body.bb-app :is(.home-discovery,.discovery-collection) .cinematic-event.is-light-artwork .poster-category{background:transparent!important;color:#102840!important;border-top-color:#10284024!important}

/* Website and installed desktop: cap reference widths by the existing opening-
   view fit so full Today and the desktop Week preview stay above the footer.
   Installed phone dimensions retain their separate approved 15% enlargement. */
@media(display-mode:browser), (display-mode:standalone) and (min-width:701px){
 html body.bb-app .home-discovery{--website-fit-width:calc(var(--phone-event-height,240px) * 1.10 * .4);--website-today-width:min(clamp(104px,29.7vw,160px),var(--website-fit-width));--website-week-width:calc(var(--website-today-width) / 1.15)}
 @media(min-width:701px){html body.bb-app .home-discovery{--website-fit-width:max(104px,calc(var(--desktop-event-height,300px) * 1.10 * 2 * .4))}}
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail{grid-auto-columns:var(--website-today-width)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail{grid-auto-columns:var(--website-week-width)}
 html body.bb-app .home-discovery [data-discovery-row=today] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--website-today-width) * 2.5 + 3px)}
 html body.bb-app .home-discovery [data-discovery-row=rollingweek] .discovery-rail:is(:empty,:has(>.discovery-empty[role=status])){min-height:calc(var(--website-week-width) * 2.5 + 3px)}
}
