/* /web-assets/news.css */
:is(#bb-news,#bb-match-results)[hidden] {
  display: none !important;
}
:is(#bb-news,#bb-match-results) {
  margin: 30px 0 50px;
  color: #e9eff7;
  scroll-margin-top: 25px;
}
:is(#bb-news,#bb-match-results) * {
  box-sizing: border-box;
}
:is(#bb-news,#bb-match-results) .news-masthead {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #29445f;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 90% 0, #123a5c66, transparent 65%), #0d1723;
}
.news-eyebrow {
  font:
    600 11px/1.7 Arial,
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #81b9f4;
}
:is(#bb-news,#bb-match-results) h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.05em;
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 18px;
}
:is(#bb-news,#bb-match-results) .news-intro {
  max-width: 58ch;
  color: #a6b9cd;
  font:
    15px/1.8 Arial,
    sans-serif;
}
.news-edition {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ffffff14;
  font:
    12px/1.6 Arial,
    sans-serif;
  color: #b2c7dd;
}
.news-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}
.news-controls input {
  flex: 1;
  min-width: 180px;
  background: #0d1723;
  border: 1px solid #2e455f;
  border-radius: 12px;
  padding: 14px;
  color: #edf4fc;
  font:
    14px Arial,
    sans-serif;
}
.news-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.news-filters button {
  border: 1px solid #2b4056;
  border-radius: 22px;
  background: #0d1723;
  padding: 10px 14px;
  font:
    12px Arial,
    sans-serif;
  color: #a8bdd4;
  cursor: pointer;
}
.news-filters button[aria-pressed="true"] {
  background: #174d83;
  color: white;
  border-color: #4d98e1;
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}
.news-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid #293c50;
  background: linear-gradient(140deg, #101e2d, #0b131e);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.news-card:first-child {
  grid-column: 1/-1;
  padding: clamp(24px, 4vw, 38px);
  border-color: #3b658e;
  background: linear-gradient(125deg, #102e49, #101a28);
}
.news-card h2 {
  font:
    400 22px/1.4 Arial,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.news-card:first-child h2 {
  font-size: clamp(26px, 3vw, 36px);
  max-width: 30ch;
}
.news-card p {
  font:
    14px/1.8 Arial,
    sans-serif;
  color: #aebfd1;
  margin: 0 0 24px;
}
.news-meta {
  font:
    11px/1.7 Arial,
    sans-serif;
  color: #8eabc7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.news-card a {
  font:
    600 12px/1.6 Arial,
    sans-serif;
  color: #91c7ff;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.news-sources {
  padding: 22px;
  background: #101a26;
  border: 1px solid #293c50;
  border-radius: 18px;
}
.news-sources h2 {
  font:
    600 13px/1.5 Arial,
    sans-serif;
  margin: 0 0 12px;
}
.news-sources p,
.news-sources li {
  font:
    12px/1.8 Arial,
    sans-serif;
  color: #9fb1c6;
}
.news-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-sources li {
  padding: 7px 0;
  border-bottom: 1px solid #ffffff0b;
}
.news-sources a {
  color: #a9d3ff;
  text-decoration: underline;
}
.news-sources details {
  margin-top: 20px;
}
.news-empty {
  padding: 36px;
  text-align: center;
  border: 1px solid #2d435c;
  border-radius: 18px;
  font:
    15px/1.8 Arial,
    sans-serif;
  grid-column: 1/-1;
}
.news-result-count {
  font:
    12px/1.6 Arial,
    sans-serif;
  color: #8da6bf;
  margin: 0 0 18px;
}
.news-sources summary {
  font:
    600 12px/1.7 Arial,
    sans-serif;
  cursor: pointer;
  color: #bdcfe1;
}
:is(#bb-news,#bb-match-results) :focus-visible {
  outline: 2px solid #8ec5ff;
  outline-offset: 4px;
}
:is(#bb-news,#bb-match-results) .news-foot {
  font:
    12px/1.8 Arial,
    sans-serif;
  color: #879bb2;
  margin: 24px 0;
}
@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sources {
    order: 2;
  }
  .news-sources ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
}
@media (max-width: 580px) {
  .news-stories {
    grid-template-columns: 1fr;
  }
  .news-card {
    padding: 22px;
  }
  .news-masthead {
    border-radius: 18px;
  }
  .news-controls input {
    flex-basis: 100%;
  }
  .news-sources ul {
    display: block;
  }
  .news-card:first-child {
    grid-column: auto;
  }
  .news-card h2 {
    font-size: 21px;
  }
  .news-filters button {
    padding: 10px 12px;
  }
}

#tab-news[aria-pressed="true"] {
  color: #b2d9ff !important;
  background: #16344e;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px #4275a4;
}

.news-card figure {
  margin: 0 0 18px;
}
.news-card figure img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  background: #11263a;
  display: block;
}
.news-card:first-child figure img {
  height: 310px;
}
.news-card figcaption {
  font:
    10px/1.6 Arial,
    sans-serif;
  color: #8097af;
  margin-top: 6px;
}
#news-social-status {
  display: block;
  margin-top: 8px;
  color: #debd80;
}
@media (max-width: 580px) {
  .news-card:first-child figure img,
  .news-card figure img {
    height: 210px;
  }
}

/* Preserve the photo frame while loading; never stretch feed thumbnails. */
#bb-news .news-media-frame{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:12px;background:#0e2031}
#bb-news .news-media-frame>svg{display:block;width:100%;height:100%}
#bb-news .news-media-frame>img{position:absolute;inset:0;display:block;width:100%;height:100%!important;object-fit:cover;border-radius:0;background:transparent;opacity:0}
#bb-news .news-media-frame>img.is-loaded{opacity:1}
#bb-news .news-media-frame>img[hidden]{display:none!important}
#bb-news .news-card-copy{min-width:0;display:flex;flex-direction:column}
#bb-news .news-card-copy>a{margin-top:auto}
@media(min-width:900px){
 #bb-news .news-card:first-child{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:26px;padding:24px}
 #bb-news .news-card:first-child>figure{margin:0}
 #bb-news .news-card:first-child h2{font-size:clamp(24px,2.3vw,32px);margin-top:12px}
}
@media(max-width:767px){body.bb-mobile-view #bb-news .news-card .news-media-frame{border-radius:18px 18px 0 0}body.bb-mobile-view #bb-news .news-card figcaption{padding:0 14px}}

/* /web-assets/routes.css */

#bb-static-profile{position:relative;z-index:2;width:min(1060px,calc(100% - 40px));margin:32px auto;padding:clamp(20px,4vw,40px);border:1px solid #24354c;border-radius:24px;background:linear-gradient(140deg,#101c2c,#080e17);color:#e7eef9;font-family:Arial,sans-serif;line-height:1.7}#bb-static-profile[hidden]{display:none!important}#bb-static-profile h1{font-size:clamp(28px,5vw,48px);line-height:1.15;margin:18px 0}#bb-static-profile h2{font-size:21px;margin:24px 0 12px}#bb-static-profile h3{font-size:16px;margin:16px 0 6px}#bb-static-profile a{color:#8bbcff;text-decoration:underline;text-underline-offset:3px}#bb-static-profile .bb-snapshot-label{color:#a3b6d0;font-size:12px}#bb-static-profile .bb-static-portrait{width:min(230px,100%);max-height:280px;object-fit:contain;margin:12px auto;border-radius:18px;background:#07111c}#bb-static-profile .bb-static-head{display:grid;grid-template-columns:1fr 240px;gap:24px;align-items:center}#bb-static-profile table{width:100%;border-collapse:collapse;font-size:14px}#bb-static-profile th,#bb-static-profile td{padding:12px;text-align:left;border-bottom:1px solid #26374b;overflow-wrap:anywhere}#bb-static-profile th{color:#a8bed9;font-weight:500}#bb-static-profile ul{padding-left:20px;list-style:disc}#bb-static-profile .bb-directory-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;padding:0;list-style:none}#bb-static-profile .bb-directory-list a{display:block;padding:12px;border:1px solid #25394e;border-radius:12px;background:#11203355;text-decoration:none}#bb-static-profile details{margin:18px 0}#bb-static-profile summary{cursor:pointer;color:#a9caff}#bb-link-directory{width:min(1260px,calc(100% - 40px));margin:28px auto;padding:24px 0;border-top:1px solid #ffffff15;display:flex;flex-wrap:wrap;gap:12px 20px;font:12px/1.6 Arial,sans-serif}#bb-link-directory>span{width:100%;color:#7790ae;text-transform:uppercase;letter-spacing:.12em}#bb-link-directory>a{color:#a6bdd8}a.bb-profile-permalink{display:block;position:relative;z-index:4;margin-top:14px;font:11px/1.5 Arial,sans-serif;color:#8cb8f3;text-decoration:underline;text-underline-offset:3px}.bb-share-profile{display:inline-flex;gap:6px;align-items:center;margin-top:12px;padding:9px 14px;border:1px solid #618ab652;border-radius:10px;background:#12243a;color:#bdd7fa;font:12px/1.4 Arial,sans-serif;cursor:pointer}.bb-route-highlight{outline:2px solid #579aff;outline-offset:4px}#bb-route-toast{position:fixed;z-index:999999;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid #477ab5;border-radius:12px;background:#102239;color:#e4efff;font:13px Arial,sans-serif;max-width:calc(100vw - 32px);text-align:center}#bb-copy-link-fallback{color:#d8eaff;background:#0e1b2b;border:1px solid #5279ac;border-radius:18px;max-width:min(520px,calc(100vw - 32px));padding:24px}#bb-copy-link-fallback::backdrop{background:#000b}#bb-copy-link-fallback input{display:block;width:100%;box-sizing:border-box;background:#050e19;border:1px solid #5279ac;border-radius:8px;color:#fff;padding:12px;font-size:16px;margin:16px 0}#bb-copy-link-fallback button{padding:8px 16px;background:#1b4777;border-radius:8px;color:white}a.bb-profile-permalink:focus-visible,.bb-share-profile:focus-visible{outline:2px solid #88b8ff;outline-offset:4px}@media(max-width:600px){#bb-static-profile .bb-static-head{grid-template-columns:1fr}#bb-static-profile .bb-static-portrait{order:-1}#bb-static-profile{width:calc(100% - 24px);padding:20px;border-radius:18px}#bb-static-profile th,#bb-static-profile td{padding:9px 6px} .bb-share-profile{min-height:44px}}

/* /web-assets/grouped-navigation.css */
#bb-category-groups[hidden],#bb-category-groups [hidden]{display:none!important}
#bb-category-groups{margin:10px 0 24px;padding:12px;border:1px solid #8bbcff26;border-radius:16px;background:linear-gradient(135deg,#13253cdd,#0b1422e8);box-shadow:0 8px 25px #0002}
#bb-category-groups .bb-section-options{display:flex;flex-wrap:wrap;gap:8px}
#bb-category-groups .bb-section-option{margin:0;padding:11px 16px;min-height:44px;border:1px solid #8bbcff26;border-radius:11px;background:#ffffff05;color:#aebed0!important;font:500 12px/1.5 Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#bb-category-groups .bb-section-option:hover,#bb-category-groups .bb-section-option.nav-tab-active{background:#1677ff26;color:#fff!important;border-color:#72b0ff88}
#category-nav>.bb-group-trigger[aria-expanded=true]{color:#e7f1ff!important}
#category-nav>.bb-group-trigger span{display:inline-block;margin-left:5px;transition:transform .15s}
#category-nav>.bb-group-trigger[aria-expanded=true] span{transform:rotate(180deg)}
#bb-category-groups button:focus-visible{outline:2px solid #8bbcff;outline-offset:3px}
@media(max-width:600px){#bb-category-groups{padding:10px}#bb-category-groups .bb-section-option{flex:1 1 auto;padding:12px;font-size:10px}}
/* Liquid glass for the inner Players / Teams controls. */
#bb-category-groups{background:radial-gradient(ellipse at 5% 0%,#6ebcff18,transparent 55%),radial-gradient(ellipse at 90% 100%,#c5a0ff0b,transparent 60%),linear-gradient(135deg,#13253cbb,#0b1422d9)}
#bb-category-groups .bb-section-option{position:relative;isolation:isolate;overflow:hidden;border-radius:999px;border:1px solid #d4eaff40;background:radial-gradient(ellipse at var(--glass-x,35%) var(--glass-y,0%),#d8eeff26,transparent 72%),linear-gradient(145deg,#ffffff18,#b8dbff08 48%,#ffffff0c);backdrop-filter:blur(16px) saturate(165%);-webkit-backdrop-filter:blur(16px) saturate(165%);box-shadow:inset 0 1px 1px #ffffff70,inset 1px 0 1px #d4f2ff30,inset -1px 0 1px #ffb4d822,inset 0 -1px 3px #a6d5ff1c,0 4px 12px #0003;color:#c9d9ec!important;text-shadow:0 1px 3px #0008;transition:background-color .22s,border-color .22s,box-shadow .22s,transform .2s,color .2s;}
#bb-category-groups .bb-section-option::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at var(--glass-x,35%) -25%,#ffffff55,transparent 65%),linear-gradient(115deg,#8ed9ff1c,transparent 30% 72%,#ffbee318);opacity:.7;transition:opacity .2s}
#bb-category-groups .bb-section-option::after{content:"";position:absolute;inset:1px;pointer-events:none;border-radius:inherit;border:1px solid #ffffff0e;background:linear-gradient(180deg,#ffffff0b,transparent 40% 75%,#bfeaff0b)}
#bb-category-groups .bb-section-option.nav-tab-active{border-color:#d9efff99;background-color:#78baff22;color:#fff!important;box-shadow:inset 0 1px 1px #ffffffbb,inset 1px 0 1px #d4f2ff60,inset -1px 0 1px #ffb4d844,inset 0 -2px 5px #a6d5ff30,0 5px 18px #0004,0 0 18px #74b5ff15}
@media(hover:hover){#bb-category-groups .bb-section-option:hover{background-color:#a8d7ff16;border-color:#e0f1ff88;color:#fff!important;transform:translateY(-1px);box-shadow:inset 0 1px 1px #ffffffaa,inset 0 -1px 4px #b6dcff30,0 6px 18px #0004}#bb-category-groups .bb-section-option:hover::before{opacity:1}}
#bb-category-groups .bb-section-option:active{transform:translateY(0) scale(.97);background-color:#b8dcff26}
@media(prefers-reduced-motion:reduce){#bb-category-groups .bb-section-option,#bb-category-groups .bb-section-option::before{transition:none}#bb-category-groups .bb-section-option:hover,#bb-category-groups .bb-section-option:active{transform:none}}
/* Center the sections when they fit; auto margins preserve mobile scrolling. */
#category-nav>button:first-of-type{margin-inline-start:auto!important}
#category-nav>button:last-of-type{margin-inline-end:auto!important}
#bb-category-groups .bb-section-options{justify-content:center}
#bb-category-groups .bb-section-option{text-align:center}

/* /web-assets/match-results.css */
:is(#bb-news,#bb-match-results) [hidden]{display:none!important}
.bb-news-view-tabs{display:flex;justify-content:center;gap:12px;margin:24px 0}
.bb-news-glass-tab,:is(#bb-news,#bb-match-results) .bb-results-day button,:is(#bb-news,#bb-match-results) .bb-results-empty button,.bb-event-filters button{position:relative;isolation:isolate;min-height:44px;padding:12px 22px;border:1px solid #d4eaff40;border-radius:999px;background:radial-gradient(ellipse at 35% 0%,#d8eeff26,transparent 72%),linear-gradient(145deg,#ffffff18,#b8dbff08 48%,#ffffff0c);backdrop-filter:blur(16px) saturate(165%);-webkit-backdrop-filter:blur(16px) saturate(165%);box-shadow:inset 0 1px 1px #ffffff70,inset 1px 0 1px #d4f2ff30,inset -1px 0 1px #ffb4d822,0 4px 12px #0003;color:#b9cde5;font:500 13px/1.4 Arial,sans-serif;cursor:pointer;transition:background-color .2s,box-shadow .2s,transform .2s}
.bb-news-glass-tab[aria-selected=true],.bb-event-filters button[aria-pressed=true]{background-color:#78baff22;border-color:#d9efff99;color:#fff;box-shadow:inset 0 1px 1px #ffffffbb,inset 1px 0 1px #d4f2ff60,inset -1px 0 1px #ffb4d844,0 5px 18px #0004}
.bb-news-glass-tab:hover,.bb-event-filters button:hover{background-color:#a8d7ff16;color:#fff}.bb-news-glass-tab:active,.bb-event-filters button:active{transform:scale(.98)}
.bb-results-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;padding:22px;border:1px solid #29445f;border-radius:20px;background:#101d2d88}
.bb-results-day,.bb-results-filters{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap}.bb-results-day label span{display:block;margin-bottom:7px;color:#8ba8c6;font:11px Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
:is(#bb-news,#bb-match-results) .bb-results-day button{padding:10px 15px}:is(#bb-news,#bb-match-results) .bb-results-day button:disabled{opacity:.3;cursor:default}
:is(#bb-news,#bb-match-results) .bb-results-toolbar input,:is(#bb-news,#bb-match-results) .bb-results-toolbar select{max-width:100%;min-height:44px;min-width:0;border:1px solid #39536c;border-radius:11px;padding:10px 12px;background:#091420;color:#dcecff;font:14px Arial,sans-serif;color-scheme:dark}
.bb-results-filters input{width:170px}.bb-results-filters select{width:190px}.bb-results-zone,.bb-results-status,.bb-results-foot{color:#8ea7bf;font:12px/1.8 Arial,sans-serif}.bb-results-zone{margin-top:14px}.bb-results-status{margin:12px 0 20px;color:#b3c8dd}.bb-results-foot{margin:24px 0}
.bb-results-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
:is(#bb-news,#bb-match-results) .bb-match-card{display:block;min-width:0;width:100%;padding:20px 22px;border:1px solid #32516e;border-radius:20px;background:radial-gradient(ellipse at 50% 0%,#427baf20,transparent 70%),linear-gradient(145deg,#132337,#0a1320);color:#e6f2ff;text-align:left;cursor:pointer;box-shadow:inset 0 1px #ffffff0b,0 6px 20px #0002;transition:border-color .2s,transform .2s,box-shadow .2s}
:is(#bb-news,#bb-match-results) .bb-match-card:hover{border-color:#81b9f4;transform:translateY(-2px);box-shadow:0 9px 25px #0004}
.bb-match-meta,.bb-match-open{display:flex;justify-content:space-between;gap:12px;color:#91abc5;font:11px/1.6 Arial,sans-serif}.bb-match-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-match-meta time{white-space:nowrap}
.bb-match-scoreline{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:12px;align-items:center;margin:24px 0}
.bb-match-team{display:flex;min-width:0;flex-direction:column;align-items:center;gap:12px;text-align:center}.bb-match-team img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 3px 6px #0004)}.bb-match-team strong{font:500 13px/1.5 Arial,sans-serif;overflow-wrap:anywhere;color:#e5effa}
.bb-match-score{text-align:center;display:flex;flex-direction:column;gap:8px}.bb-match-status{font:600 9px/1.4 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#6bdcbd}.bb-match-score b{font:400 37px/1.1 Arial,sans-serif;white-space:nowrap;letter-spacing:-.04em;color:#fff}.bb-match-score b i{font-style:normal;color:#69849f;margin:0 10px}.bb-match-score small{font:11px Arial,sans-serif;color:#a2bdd6}
.bb-match-open{padding-top:14px;border-top:1px solid #779fc326;font-size:10px}.bb-match-open>span{color:#9bc8ff;white-space:nowrap}.bb-results-empty{grid-column:1/-1;text-align:center;padding:55px 25px;border:1px dashed #35516c;border-radius:20px;background:#101e2c66}.bb-results-empty>span{font-size:36px;color:#83b4df}.bb-results-empty h2{font:400 22px/1.4 Arial,sans-serif!important;letter-spacing:-.02em;margin:16px 0!important}.bb-results-empty p{font:14px/1.8 Arial,sans-serif;color:#8da6bf;max-width:55ch;margin:0 auto}
#bb-match-dialog{padding:0;width:min(850px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;border:1px solid #719bc566;border-radius:26px;background:radial-gradient(ellipse at 30% 0%,#213e5c,#0b1420 55%);color:#dceaf8;box-shadow:0 30px 100px #000b;color-scheme:dark}#bb-match-dialog::backdrop{background:#020810c9;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.bb-match-dialog-inner{padding:32px;position:relative}.bb-match-close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#ffffff09;color:#dcecff;font:28px Arial,sans-serif;cursor:pointer}.bb-match-dialog-eyebrow{margin:0 50px 16px 0;font:11px/1.7 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#88b6e1}#bb-match-title{margin:0 40px 16px 0;font:400 clamp(22px,4vw,32px)/1.3 Arial,sans-serif;letter-spacing:-.03em}.bb-match-dialog-score{margin:28px 0;padding:24px 0;border-bottom:1px solid #ffffff15}.bb-match-dialog-score .bb-match-team img{width:80px;height:80px}.bb-match-dialog-score .bb-match-score b{font-size:46px}.bb-match-location{color:#8eaac5;text-align:center;font:12px/1.8 Arial,sans-serif}.bb-match-coverage{padding:13px 16px;border:1px solid #d0a44e55;border-radius:12px;background:#d0a44e0b;color:#dec493;font:12px/1.7 Arial,sans-serif}
.bb-event-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:25px 0}.bb-event-filters button{padding:10px 15px;font-size:11px}.bb-match-timeline{list-style:none;padding:0;margin:0}.bb-match-event{display:grid;grid-template-columns:52px 28px minmax(0,1fr);gap:12px;padding:17px 0;border-bottom:1px solid #ffffff10;align-items:start}.bb-match-event time{color:#9ab2ca;font:12px/1.7 Arial,sans-serif;text-align:right}.bb-event-symbol{font:22px/1 Arial,sans-serif;text-align:center;color:#88afe0}.bb-match-event.is-yellow .bb-event-symbol{color:#f4d263}.bb-match-event.is-red .bb-event-symbol{color:#ff657d}.bb-match-event.is-substitution .bb-event-symbol{color:#6ce0ba}.bb-event-label{display:block;color:#86a4c0;font:10px/1.7 Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em}.bb-match-event strong{display:block;margin:3px 0;font:500 14px/1.6 Arial,sans-serif;overflow-wrap:anywhere}.bb-match-event small{display:block;color:#718fae;font:11px/1.6 Arial,sans-serif}.bb-events-empty{padding:30px 10px;text-align:center;font:13px/1.8 Arial,sans-serif;color:#8ea7bf}
:is(#bb-news,#bb-match-results) .bb-match-card:focus-visible,.bb-news-glass-tab:focus-visible,#bb-match-dialog button:focus-visible,:is(#bb-news,#bb-match-results) .bb-results-toolbar :focus-visible{outline:2px solid #8bc3ff;outline-offset:4px}
@media(max-width:900px){.bb-results-cards{grid-template-columns:1fr}}
@media(max-width:600px){.bb-results-toolbar{padding:16px}.bb-results-day{gap:7px;width:100%}:is(#bb-news,#bb-match-results) .bb-results-day button{padding:10px 12px}.bb-results-filters{width:100%}.bb-results-filters input,.bb-results-filters select{flex:1 1 130px}.bb-news-glass-tab{padding:12px 20px;font-size:12px}.bb-news-view-tabs{gap:10px}:is(#bb-news,#bb-match-results) .bb-match-card{padding:17px 14px}.bb-match-scoreline{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:6px}.bb-match-team img{width:52px;height:52px}.bb-match-team strong{font-size:11px}.bb-match-score b{font-size:31px}.bb-match-score b i{margin:0 6px}.bb-match-open{flex-wrap:wrap;font-size:9px}.bb-match-dialog-inner{padding:24px 17px}.bb-match-dialog-score .bb-match-team img{width:55px;height:55px}.bb-match-dialog-score .bb-match-score b{font-size:36px}.bb-match-event{gap:8px;grid-template-columns:43px 24px minmax(0,1fr)}.bb-match-event strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.bb-news-glass-tab,:is(#bb-news,#bb-match-results) .bb-match-card,.bb-event-filters button{transition:none!important;transform:none!important}}
:is(#bb-news,#bb-match-results) .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Each side carries its club's actual archive palette, with a readable dark centre. */
:is(#bb-news,#bb-match-results) .bb-match-card{position:relative;overflow:hidden;background:radial-gradient(ellipse at 0% 25%,rgba(var(--home-rgb,101,137,174),.28),transparent 57%),radial-gradient(ellipse at 0% 100%,rgba(var(--home-accent-rgb,101,137,174),.12),transparent 52%),radial-gradient(ellipse at 100% 70%,rgba(var(--away-rgb,101,137,174),.28),transparent 57%),radial-gradient(ellipse at 100% 0%,rgba(var(--away-accent-rgb,101,137,174),.12),transparent 52%),linear-gradient(145deg,#132337,#0a1320);box-shadow:inset 1px 0 rgba(var(--home-rgb,101,137,174),.28),inset -1px 0 rgba(var(--away-rgb,101,137,174),.28),0 6px 20px #0003}
:is(#bb-news,#bb-match-results) .bb-match-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--home-colour,#6589ae) 0% 25%,var(--home-accent,#b8cce0) 25% 50%,var(--away-colour,#6589ae) 50% 75%,var(--away-accent,#b8cce0) 75% 100%);pointer-events:none}
:is(#bb-news,#bb-match-results) .bb-match-card:hover{border-color:#c4d7e288;box-shadow:-5px 3px 24px rgba(var(--home-rgb,101,137,174),.13),5px 3px 24px rgba(var(--away-rgb,101,137,174),.13),inset 0 1px #ffffff18}
.bb-match-card .bb-match-team img{border-radius:12px;padding:3px;background:radial-gradient(ellipse,rgba(var(--home-rgb,101,137,174),.16),transparent 72%)}
.bb-match-card .bb-match-team:last-child img{background:radial-gradient(ellipse,rgba(var(--away-rgb,101,137,174),.16),transparent 72%)}



/* Separate chronological event lists under the home and away clubs. */
.bb-team-timelines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.bb-team-events{min-width:0}
.bb-team-events-title{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0 0 7px;padding:9px 6px 12px;border-bottom:2px solid var(--home-colour,#719bc5);color:#dceaf8;text-align:center;font:500 13px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
.bb-team-events:last-child .bb-team-events-title{border-bottom-color:var(--away-colour,#719bc5)}
.bb-team-timelines .bb-match-event{grid-template-columns:35px 21px minmax(0,1fr);gap:8px;padding:17px 0}
.bb-team-timelines .bb-match-event strong{font-size:13px}
.bb-team-timelines .bb-event-label{font-size:10px;letter-spacing:.02em}
.bb-team-timelines .bb-events-empty{padding:24px 7px;font-size:12px}
@media(max-width:600px){
 .bb-team-timelines{gap:18px}
 .bb-team-events-title{font-size:11px;min-height:45px;padding:8px 0 10px}
 .bb-team-timelines .bb-match-event{grid-template-columns:17px minmax(0,1fr);gap:6px;padding:15px 0}
 .bb-team-timelines .bb-match-event time{grid-column:1/-1;justify-self:start;padding:2px 7px;border:1px solid #7396b42b;border-radius:7px;background:#18304a55;text-align:left;font-size:10px}
 .bb-team-timelines .bb-event-symbol{font-size:17px;line-height:1.5}
 .bb-team-timelines .bb-match-event strong{font-size:12px;line-height:1.65}
 .bb-team-timelines .bb-event-label{font-size:9px;line-height:1.6}
 .bb-team-timelines .bb-match-event small{font-size:10px;line-height:1.6;overflow-wrap:anywhere}
 .bb-team-timelines .bb-events-empty{font-size:11px;padding:20px 1px}
}

/* Upcoming, in-play and final fixtures share one daily match centre. */
.bb-match-phase-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 8px}
.bb-match-phase-filters button{min-height:44px;padding:10px 16px;border:1px solid #d4eaff30;border-radius:999px;background:linear-gradient(145deg,#e3f1ff18,#b8dbff06);box-shadow:inset 0 1px #ffffff30;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#b8cde2;font:500 12px/1.4 Arial,sans-serif;cursor:pointer}
.bb-match-phase-filters button[aria-pressed=true]{color:#eff8ff;border-color:#c7e5ff88;background-color:#8dc7ff20;box-shadow:inset 0 1px #ffffff80,0 3px 15px #0003}
.bb-match-phase-filters button span{margin-left:4px;color:#8fa9c2;font-size:11px}
.bb-match-status.is-live{color:#7be3bd;letter-spacing:.03em;font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}
.bb-match-status.is-live::before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;box-shadow:0 0 9px #7be3bd77;vertical-align:1px}
.bb-match-status.is-delayed{color:#e0bd75}.bb-match-status.is-delayed::after{content:' · delayed';font-size:9px}
.bb-match-score .bb-match-versus{font-size:24px;color:#9fb8d2;letter-spacing:.04em}
.bb-match-card[data-state=upcoming] .bb-match-status{color:#a6bdd7}
.bb-event-assist{display:block;color:#8bd3bb;font:12px/1.6 Arial,sans-serif;margin:3px 0}
@media(max-width:600px){.bb-match-phase-filters{gap:6px}.bb-match-phase-filters button{padding:10px 11px;font-size:11px}.bb-match-phase-filters button span{font-size:10px;margin-left:2px}.bb-event-assist{font-size:11px}}

/* Per-fixture follows and opt-in goal notifications. */
.bb-goal-alert-panel{margin:16px 0 12px;padding:14px 16px;border:1px solid #badcff2a;border-radius:18px;background:linear-gradient(135deg,#c1e3ff0c,#ffffff03)}
.bb-goal-alert-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bb-goal-alert-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #d4eaff36;border-radius:999px;background:linear-gradient(150deg,#d5edff1e,#8db5da08);box-shadow:inset 0 1px #ffffff50;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#c6def5;font:500 12px/1.4 Arial,sans-serif;cursor:pointer}
.bb-goal-alert-actions button.is-enabled{color:#a1e6c9;border-color:#97e5c855;background-color:#75cba014}
.bb-goal-alert-actions button:disabled{opacity:.6;cursor:wait}
#bb-goal-alert-following{color:#ead08c}
#bb-goal-alert-status{margin:10px 0 0;color:#8fa8c1;font:12px/1.65 Arial,sans-serif}
:is(#bb-news,#bb-match-results) .bb-match-card{position:relative;cursor:default}
.bb-match-main{display:block;width:100%;border:0;background:none;padding:0;color:inherit;text-align:inherit;cursor:pointer;border-radius:10px}
.bb-match-star{position:absolute;right:8px;top:8px;z-index:2;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #cae1fa30;border-radius:50%;background:#152334a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#a3bad2;font:27px/1 Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bb-match-star[aria-pressed=true]{color:#ffe29a;border-color:#e8c56e88;background:#bc8d2026;text-shadow:0 0 13px #f6d36960}
.bb-match-star:disabled{opacity:.3;cursor:default}
.bb-match-card.is-followed{border-color:#d6b76788!important}
.bb-match-card .bb-match-meta{padding-right:43px;min-height:28px;align-items:center}
.bb-match-main:focus-visible,.bb-match-star:focus-visible,.bb-goal-alert-actions button:focus-visible{outline:2px solid #baddff;outline-offset:3px}
.bb-match-phase-filters{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:5px;scrollbar-width:none}
.bb-match-phase-filters button{flex:0 0 auto;white-space:nowrap}
@media(max-width:600px){.bb-goal-alert-panel{padding:12px;border-radius:16px}.bb-goal-alert-actions{gap:7px}.bb-goal-alert-actions button{font-size:11px;padding:10px 12px}#bb-goal-alert-status{font-size:11px}.bb-match-card .bb-match-meta{gap:8px}.bb-match-star{right:6px;top:7px}}
#bb-goal-alert-following[aria-pressed=true]{background-color:#b58c2026;border-color:#ebc66e80;color:#ffe5a6}

/* Events / Lineup match reader. */
#bb-match-dialog [role="tabpanel"][hidden]{display:none!important}
.bb-match-tabs{display:flex;gap:8px;padding:6px;border:1px solid #8abfff29;border-radius:24px;background:linear-gradient(145deg,#9cc8ff16,#09152288);box-shadow:inset 0 1px 0 #ffffff22;max-width:360px;margin:22px auto;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.bb-match-tabs button{flex:1;min-height:44px;font-size:14px;border-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.bb-match-tabs button>span{position:relative;z-index:1}
.bb-match-tabs button[aria-selected="true"]{background:linear-gradient(145deg,#8cc7ff55,#174b7a66);border-color:#c3e0ff88;color:#fff;box-shadow:inset 0 1px 1px #ffffff70,0 4px 18px #3878c322}
.bb-match-tabs button:focus-visible{outline:2px solid #b7dcff;outline-offset:3px}
.bb-lineup-view{max-width:670px;margin:auto;color:#dce8f5}
.bb-lineup-note,.bb-lineup-updated{font-size:12px;line-height:1.7;color:#9eb5cc;margin:14px 0}
.bb-lineup-pitch{position:relative;isolation:isolate;overflow:hidden;border:1px solid #8bb5dc44;border-radius:24px;background:radial-gradient(ellipse at top,rgba(var(--home-rgb),.16),transparent 40%),radial-gradient(ellipse at bottom,rgba(var(--away-rgb),.16),transparent 40%),repeating-linear-gradient(0deg,#12293b44 0px,#12293b44 82px,#0b203144 82px,#0b203144 164px),#0b1b2a;box-shadow:inset 0 1px 1px #ffffff22,0 15px 45px #0003;padding:12px}
.bb-pitch-markings{pointer-events:none;position:absolute;inset:68px 12px;border:1px solid #abc7df38;z-index:-1}
.bb-pitch-markings:before,.bb-pitch-markings:after{content:"";position:absolute;left:23%;width:54%;height:70px;border:1px solid #abc7df38}
.bb-pitch-markings:before{top:-1px;border-top:0}.bb-pitch-markings:after{bottom:-1px;border-bottom:0}
.bb-pitch-markings i:before,.bb-pitch-markings i:after{content:"";position:absolute;left:38%;width:24%;height:30px;border:1px solid #abc7df38}
.bb-pitch-markings i:before{top:-1px;border-top:0}.bb-pitch-markings i:after{bottom:-1px;border-bottom:0}
.bb-pitch-half{position:relative;--team-colour:var(--home-colour);--team-rgb:var(--home-rgb)}
.bb-pitch-half.is-away{--team-colour:var(--away-colour);--team-rgb:var(--away-rgb)}
.bb-pitch-team{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;line-height:1.3;padding:0 7px;margin:0 0 10px!important;border:0!important}
.bb-pitch-team img{width:28px;height:28px;object-fit:contain}.bb-pitch-team span{flex:1}.bb-pitch-team small{font-size:12px;color:#b9cee2;letter-spacing:.08em}
.is-away .bb-pitch-team{margin:10px 0 0!important}
#bb-match-dialog .bb-pitch-row{display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));align-items:start;min-height:101px;gap:3px;padding:4px 0}
.bb-pitch-player{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center;font-size:12px;line-height:1.25}
.bb-player-portrait{position:relative;display:block;width:52px;height:57px;margin:0 auto 7px;border-radius:16px 16px 12px 12px;background:radial-gradient(ellipse at bottom,rgba(var(--team-rgb),.45),#21354b);box-shadow:inset 0 0 0 1px #c8e0f025}
.bb-player-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.bb-player-portrait img[hidden]{display:none}
.bb-player-number{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;color:#dcecff}
.bb-player-rating{display:inline-flex;justify-content:center;align-items:center;min-width:30px;padding:2px 5px;border:1px solid #91b0cd88;border-radius:7px;background:#162e46;color:#dbeeff;font-size:11px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums}
.bb-player-portrait>.bb-player-rating{position:absolute;bottom:-5px;right:-9px;z-index:1;box-shadow:0 2px 6px #0008}
.bb-player-rating.is-great{border-color:#e6c55d;color:#ffe9a1;background:#463a16}.bb-player-rating.is-good{border-color:#60d5bf;color:#b7f6e8;background:#123c38}
.bb-lineup-name{max-width:100%;padding:2px 4px;border-radius:5px;background:#08131ee0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#e9f2fb}
.bb-pitch-centre{height:70px;position:relative;display:grid;place-items:center;margin:-1px 0}
.bb-pitch-centre:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#abc7df38;z-index:-1}
.bb-pitch-centre:after{content:"";position:absolute;inset:0;margin:auto;width:68px;height:68px;border:1px solid #abc7df38;border-radius:50%;z-index:-1}
.bb-pitch-centre span{font-size:12px;letter-spacing:.15em;color:#9ec7e76b}
.bb-lineup-benches{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.bb-lineup-bench{border:1px solid #8abfff29;border-radius:16px;padding:15px;background:#10213666;min-width:0}
.bb-lineup-bench h4{font-size:14px;margin:0 0 10px;color:#dfedfa}.bb-lineup-bench h5{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#95b6d5;margin:18px 0 12px}
.bb-lineup-coach,.bb-lineup-bench p{font-size:12px;color:#9eb5cc;line-height:1.7}.bb-lineup-coach strong{display:block;font-weight:500;color:#dfedfa}
.bb-lineup-bench ul{list-style:none;margin:0;padding:0}.bb-lineup-bench li{display:flex;align-items:center;gap:7px;font-size:12px;padding:9px 0;border-bottom:1px solid #ffffff0b;line-height:1.4}.bb-lineup-bench li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.bb-bench-number{font-size:11px;color:#96abc0;min-width:18px}.bb-lineup-bench .bb-player-rating{flex-shrink:0;min-width:25px;font-size:10px;padding:2px 3px}
.bb-lineup-empty,.bb-lineup-position-note{font-size:12px;color:#a9c1d8;text-align:center;padding:16px;line-height:1.6}.bb-lineup-empty{min-height:160px;display:grid;place-items:center}
.bb-lineup-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 8px;padding:12px 0}
.bb-lineup-waiting{padding:35px 20px;text-align:center;border:1px solid #86b9ed33;border-radius:20px;background:linear-gradient(140deg,#1b375566,#0c1b2b66)}
.bb-lineup-waiting>span{display:block;font-size:32px;color:#94baff}.bb-lineup-waiting h3{font-size:17px;margin:14px 0}.bb-lineup-waiting p{font-size:13px;color:#9eb5cc;line-height:1.8;max-width:420px;margin:auto}
@media(max-width:600px){
 .bb-match-tabs{max-width:none;margin:18px 0}.bb-lineup-pitch{padding:8px;border-radius:18px}.bb-pitch-markings{left:8px;right:8px;inset-block:60px}.bb-pitch-team{font-size:12px;padding:0 3px;gap:6px;min-height:40px}.bb-pitch-team img{width:24px;height:24px}.bb-pitch-team small{font-size:11px;letter-spacing:0}#bb-match-dialog .bb-pitch-row{min-height:89px;gap:2px}.bb-player-portrait{width:39px;height:43px;border-radius:12px;margin-bottom:7px}.bb-pitch-player{font-size:10px}.bb-player-portrait>.bb-player-rating{right:-5px;min-width:25px;font-size:10px}.bb-lineup-name{padding:2px 3px}.bb-lineup-benches{gap:8px}.bb-lineup-bench{padding:12px 9px}.bb-lineup-bench h4{font-size:12px}.bb-lineup-bench li{font-size:11px;gap:4px}.bb-lineup-note,.bb-lineup-updated{font-size:11px}.bb-pitch-centre{height:54px}.bb-pitch-centre:after{width:52px;height:52px}
}

/* Per-match alert choices. */
.bb-alert-settings{margin-top:12px;border-top:1px solid #afccec1c;padding-top:10px}
.bb-alert-settings summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;color:#c8def1;cursor:pointer;font:500 12px/1.6 Arial,sans-serif}
.bb-alert-settings summary:before{content:'⌄';margin-right:3px;color:#8eb4da}.bb-alert-settings[open] summary:before{content:'⌃'}
#bb-alert-type-summary{color:#92b1cc;font-size:11px;flex:1;text-align:right}
.bb-alert-settings fieldset{border:0;padding:12px 0 0;margin:0}.bb-alert-type-options{display:flex;gap:8px;flex-wrap:wrap}
.bb-alert-type-options label{position:relative;display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 12px;border-radius:13px;border:1px solid #b2d5f52b;background:#e0f2ff08;color:#a5bfd9;font:12px Arial,sans-serif;cursor:pointer}
.bb-alert-type-options label:has(:checked){color:#e0f3ff;border-color:#a0d4ff80;background:linear-gradient(145deg,#6aafff27,#9bcfff10);box-shadow:inset 0 1px #d8edff33}
.bb-alert-type-options input{appearance:auto;accent-color:#8ec7ff;width:16px;height:16px;margin:0}.bb-alert-type-options label:focus-within{outline:2px solid #b5dcff;outline-offset:3px}
#bb-alert-all{min-height:44px;margin-top:8px;border:0;background:none;color:#93c9ff;font:12px Arial,sans-serif;padding:8px 0;cursor:pointer}
@media(max-width:600px){.bb-alert-type-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bb-alert-type-options label{padding:8px;font-size:11px}}
.bb-alert-setting-buttons{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}
#bb-alert-test{min-height:44px;padding:9px 13px;border:1px solid #b5d9f74d;border-radius:999px;background:linear-gradient(145deg,#d4edff18,#74baff0b);color:#c4e3ff;font:12px/1.4 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px #ffffff38}
#bb-alert-test:disabled{opacity:.45;cursor:default}.bb-alert-help{font:11px/1.8 Arial,sans-serif;color:#91a9c0;margin:9px 0 0!important}

/* Match sections and lasting team favourites. */
html[data-bb-theme] body #bb-match-results .bb-match-sections {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px!important;
  padding:6px!important; margin:12px 0 8px!important; border:1px solid var(--p-line,#314962);
  border-radius:16px; background:var(--p-panel,#101f31); overflow:visible!important;
}
html[data-bb-theme] body #bb-match-results .bb-match-sections button {
  display:flex; justify-content:center; align-items:center; gap:6px; min-width:0!important;
  min-height:48px!important; padding:10px 8px!important; border:0!important; border-radius:11px!important;
  background:transparent!important; color:var(--p-muted,#b4c7df)!important; font:650 14px/1.3 system-ui!important;
}
html[data-bb-theme] body #bb-match-results .bb-match-sections button[aria-pressed=true] { background:#0862dc!important; color:#fff!important; box-shadow:0 3px 10px #0862dc26!important; }
html[data-bb-theme] body #bb-match-results .bb-match-sections button>span { font-size:11px; opacity:.85; }
.bb-team-follow-note { font:400 12px/1.65 system-ui; color:var(--p-muted,#b4c7df); margin:8px 0 14px; }
.bb-card-team-follows { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:12px; margin-top:12px; border-top:1px solid var(--p-line,#314962); }
.bb-card-team-follows>span { display:flex; align-items:center; gap:8px; min-width:0; color:var(--p-muted,#b4c7df); font:500 12px/1.4 system-ui; }
.bb-card-team-follows>span>span { overflow-wrap:anywhere; }
html[data-bb-theme] body .bb-team-star { display:inline-grid!important; place-items:center; flex:0 0 44px; width:44px!important; height:44px!important; min-height:44px!important; padding:0!important; border:1px solid var(--p-line,#314962)!important; border-radius:50%!important; background:var(--p-raised,#edf4ff)!important; color:var(--p-muted,#b4c7df)!important; font-size:27px!important; cursor:pointer; }
html[data-bb-theme] body .bb-team-star[aria-pressed=true] { color:var(--p-gold,#d9b463)!important; border-color:var(--p-gold,#d9b463)!important; }
.bb-team-star:focus-visible,.bb-match-sections button:focus-visible { outline:3px solid var(--p-ice,#75b9ff); outline-offset:3px; }
.bb-match-competition { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin:0 0 18px; color:var(--p-muted,#b4c7df); font:650 12px/1.6 system-ui; }
html[data-bb-theme] body .bb-match-competition :is(a,button) { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 14px; border:1px solid var(--p-line,#314962); border-radius:11px; background:var(--p-raised,#edf4ff); color:var(--p-ice,#a2ceff); font:650 13px/1.4 system-ui; text-decoration:none; cursor:pointer; }
#bb-match-table { margin:0 0 22px; padding:16px; border:1px solid var(--p-line,#314962); border-radius:14px; color:var(--p-ink,#edf4ff); }
#bb-match-table[hidden] { display:none; }
#bb-match-table h3 { font-size:18px; line-height:1.4; }
#bb-match-table tr.is-highlighted { background:var(--p-raised,#edf4ff); font-weight:750; }
#bb-match-results .bb-goal-alert-panel #bb-goal-alert-following[hidden] { display:none!important; }
@media(max-width:767px) {
  html[data-bb-theme] body #bb-match-results .bb-match-sections button { font-size:12px!important; gap:4px; padding:10px 4px!important; }
  .bb-team-follow-note { font-size:11px; }
  .bb-card-team-follows { gap:8px; }
  .bb-card-team-follows>span { font-size:11px; gap:5px; }
  .bb-match-competition { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
  .bb-match-competition :is(a,button) { width:100%; }
}
html[data-bb-theme] body #bb-match-results .bb-matchday-nav {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px!important;
  padding:5px!important; border:1px solid var(--p-line,#314962)!important; border-radius:14px!important;
  background:var(--p-panel,#101f31)!important;
}
html[data-bb-theme] body #bb-match-results .bb-matchday-nav a {
  display:flex!important; justify-content:center; align-items:center; min-height:44px!important;
  padding:8px 10px!important; border:0!important; border-radius:10px!important;
  color:var(--p-muted,#b4c7df)!important; background:transparent!important; font:650 13px/1.4 system-ui!important;
}
html[data-bb-theme] body #bb-match-results .bb-matchday-nav a[aria-current=page] { color:#fff!important; background:#0862dc!important; }

/* A clear, theme-aware match report with favourites inside the report. */
html[data-bb-theme] body #bb-match-dialog {
  background:var(--p-panel)!important; color:var(--p-ink)!important;
  border-color:var(--p-line)!important; width:min(880px,calc(100vw - 32px));
}
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-inner { padding:24px!important; }
html[data-bb-theme] body #bb-match-dialog .bb-match-topbar {
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  margin-bottom:18px; color:var(--p-muted); font:650 12px/1.5 system-ui;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-topbar .bb-match-close {
  position:static!important; inset:auto!important; margin:0!important; transform:none!important;
  flex:0 0 44px; width:44px!important; height:44px!important; padding:0!important;
  background:var(--p-raised)!important; color:var(--p-ink)!important; border-color:var(--p-line)!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-competition {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; margin-bottom:20px; border:1px solid var(--p-line); border-radius:14px;
  background:var(--p-raised); color:var(--p-muted);
}
html[data-bb-theme] body #bb-match-dialog .bb-match-competition :is(a,button) {
  background:#0862dc!important; color:#fff!important; border-color:#0862dc!important;
  flex-shrink:0; width:auto; font-weight:700;
}
html[data-bb-theme] body #bb-match-dialog #bb-match-title {
  font:800 clamp(23px,3vw,32px)/1.2 var(--p-sans)!important; color:var(--p-ink)!important;
  margin:0 0 18px!important; padding:0!important; letter-spacing:-.035em;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score {
  display:grid!important; grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr)!important;
  align-items:center!important; gap:16px!important; padding:24px 16px!important;
  margin:0 0 18px!important; border:1px solid var(--p-line)!important; border-radius:18px!important;
  background:var(--p-raised)!important; min-height:0!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-team {
  display:flex!important; flex-direction:column!important; align-items:center!important;
  justify-content:center!important; gap:12px!important; min-width:0!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-team > img {
  width:72px!important; height:72px!important; padding:8px!important;
  object-fit:contain!important; background:var(--p-panel)!important;
  border:1px solid var(--p-line)!important; border-radius:16px!important; filter:none!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-team > strong {
  font:700 16px/1.35 var(--p-sans)!important; color:var(--p-ink)!important; text-align:center;
}
html[data-bb-theme] body #bb-match-dialog .bb-team-star {
  display:grid!important; place-items:center!important; font:400 28px/1 system-ui!important;
  background:var(--p-panel)!important; color:var(--p-muted)!important;
  border:1px solid var(--p-line)!important; box-shadow:none!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-team-star > span { font:inherit!important; color:inherit!important; }
html[data-bb-theme] body #bb-match-dialog .bb-team-star[aria-pressed=true] {
  color:var(--p-gold)!important; border-color:var(--p-gold)!important; background:var(--p-glow)!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-score { color:var(--p-ink)!important; }
html[data-bb-theme] body #bb-match-dialog .bb-match-score b { color:var(--p-ink)!important; font-size:42px!important; }
html[data-bb-theme] body #bb-match-dialog .bb-match-status { color:var(--p-muted)!important; font:700 11px/1.5 system-ui!important; letter-spacing:.06em; }
html[data-bb-theme] body #bb-match-dialog .bb-match-status.is-live { color:#16815a!important; }
html[data-bb-theme=dark] body #bb-match-dialog .bb-match-status.is-live { color:#7be0b1!important; }
html[data-bb-theme] body #bb-match-dialog .bb-match-club-links {
  display:flex!important; flex-wrap:wrap; justify-content:center; gap:8px!important; margin:0 0 18px!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-club-links :is(a,button) {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 14px;
  background:var(--p-raised)!important; color:var(--p-ice)!important; border:1px solid var(--p-line)!important;
  border-radius:10px; font:650 12px/1.4 system-ui; text-decoration:none; cursor:pointer;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-location { color:var(--p-muted)!important; font-size:13px!important; line-height:1.7!important; text-align:center; margin:14px 0!important; }
html[data-bb-theme] body #bb-match-dialog .bb-match-coverage {
  background:var(--p-raised)!important; border:1px solid var(--p-line)!important; border-radius:12px!important;
  color:var(--p-muted)!important; font:400 13px/1.7 system-ui!important; padding:14px!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-tabs {
  display:flex!important; gap:4px!important; padding:5px!important; border:1px solid var(--p-line)!important;
  background:var(--p-raised)!important; border-radius:13px!important; margin:20px 0!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-tabs button {
  flex:1 0 auto; min-height:44px!important; padding:10px 12px!important; background:transparent!important;
  color:var(--p-muted)!important; border:0!important; border-radius:9px!important; box-shadow:none!important; font:650 13px/1.4 system-ui!important;
}
html[data-bb-theme] body #bb-match-dialog .bb-match-tabs button[aria-selected=true] { background:#0862dc!important; color:#fff!important; }
@media(max-width:767px) {
  html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-inner { padding:14px 16px calc(24px + env(safe-area-inset-bottom))!important; }
  html[data-bb-theme] body #bb-match-dialog .bb-match-competition { align-items:stretch; flex-direction:column; padding:12px; }
  html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score { grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)!important; padding:18px 10px!important; gap:8px!important; }
  html[data-bb-theme] body #bb-match-dialog .bb-match-team > img { width:56px!important; height:56px!important; padding:5px!important; border-radius:12px!important; }
  html[data-bb-theme] body #bb-match-dialog .bb-match-team > strong { font-size:14px!important; }
  html[data-bb-theme] body #bb-match-dialog .bb-match-score b { font-size:32px!important; }
}
html[data-bb-theme] body #v2-standings > .v2-heading {
  display:flex!important; align-items:flex-start!important; flex-wrap:wrap!important; gap:16px!important;
  padding:0!important; margin:20px 0!important; background:transparent!important; border:0!important; box-shadow:none!important;
}
html[data-bb-theme] body #v2-standings > .v2-heading > div { flex:1 1 220px!important; min-width:0!important; }
html[data-bb-theme] body #v2-standings > .v2-heading h1 {
  color:var(--p-ink)!important; font:800 clamp(27px,4vw,40px)/1.15 var(--p-sans)!important;
  margin:10px 0!important; letter-spacing:-.035em!important; text-shadow:none!important;
}
html[data-bb-theme] body #v2-standings > .v2-heading p { color:var(--p-muted)!important; font-size:13px!important; line-height:1.7!important; }

/* Card-level match favourite, separate from opening the match. */
.bb-match-card{position:relative}
.bb-match-card .bb-match-main .bb-match-meta{padding-right:48px;min-height:32px}
html[data-bb-theme="light"] .bb-match-card .bb-match-star{background:#f4f8ff;border-color:#c8d9ef;color:#526d92;box-shadow:none}
html[data-bb-theme="light"] .bb-match-card .bb-match-star[aria-pressed="true"]{background:#fff4d6;border-color:#d2a447;color:#956200;text-shadow:none}

/* Matchday atmosphere: home colour on the left, away colour on the right. */
html[data-bb-theme] body :is(#bb-news,#bb-match-results) .bb-match-card{
 background:radial-gradient(ellipse at 0% 30%,rgba(var(--home-rgb),.24),transparent 64%),radial-gradient(ellipse at 100% 65%,rgba(var(--away-rgb),.24),transparent 64%),var(--p-surface,#101e30)!important;
 border-color:var(--p-line,#314962);transition:box-shadow .2s ease,border-color .2s ease;
 box-shadow:inset 3px 0 var(--home-colour),inset -3px 0 var(--away-colour),0 8px 24px #0000000a!important;
}
html[data-bb-theme] body :is(#bb-news,#bb-match-results) .bb-match-card::before{height:3px;background:linear-gradient(90deg,var(--home-colour),var(--home-accent) 42%,var(--away-accent) 58%,var(--away-colour))}
html[data-bb-theme] body :is(#bb-news,#bb-match-results) .bb-match-card:hover{box-shadow:inset 3px 0 var(--home-colour),inset -3px 0 var(--away-colour),-5px 5px 28px rgba(var(--home-rgb),.15),5px 5px 28px rgba(var(--away-rgb),.15)!important}
html[data-bb-theme="light"] body :is(#bb-news,#bb-match-results) .bb-match-card{background:radial-gradient(ellipse at 0% 25%,rgba(var(--home-rgb),.10),transparent 65%),radial-gradient(ellipse at 100% 70%,rgba(var(--away-rgb),.10),transparent 65%),#fff!important}
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score{position:relative;overflow:hidden;background:radial-gradient(ellipse at 0% 35%,rgba(var(--home-rgb),.25),transparent 62%),radial-gradient(ellipse at 100% 65%,rgba(var(--away-rgb),.25),transparent 62%),var(--p-raised)!important;box-shadow:inset 3px 0 var(--home-colour),inset -3px 0 var(--away-colour)!important;border-color:var(--p-line)!important}
html[data-bb-theme="light"] body #bb-match-dialog .bb-match-dialog-score{background:radial-gradient(ellipse at 0% 35%,rgba(var(--home-rgb),.12),transparent 62%),radial-gradient(ellipse at 100% 65%,rgba(var(--away-rgb),.12),transparent 62%),#fff!important}
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--home-colour),var(--home-accent),var(--away-accent),var(--away-colour));pointer-events:none}
html[data-bb-theme] body #bb-match-dialog .bb-match-team:first-child img{filter:drop-shadow(0 5px 12px rgba(var(--home-rgb),.28))}
html[data-bb-theme] body #bb-match-dialog .bb-match-team:last-child img{filter:drop-shadow(0 5px 12px rgba(var(--away-rgb),.28))}
@media(prefers-reduced-motion:reduce){html[data-bb-theme] body .bb-match-card{transition:none!important}}

/* Visible team-colour ribbons and dual-sided stadium glow. */
html[data-bb-theme] body :is(#bb-news,#bb-match-results) .bb-match-card::before,
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score::before{height:7px;background:linear-gradient(90deg,var(--home-colour) 0% 16.66%,var(--home-accent) 16.66% 33.33%,var(--home-third) 33.33% 50%,var(--away-colour) 50% 66.66%,var(--away-accent) 66.66% 83.33%,var(--away-third) 83.33% 100%)}
html[data-bb-theme] body :is(#bb-news,#bb-match-results) .bb-match-card,
html[data-bb-theme] body #bb-match-dialog .bb-match-dialog-score{background:radial-gradient(ellipse at 0% 20%,rgba(var(--home-rgb),.45),transparent 58%),radial-gradient(ellipse at 0% 100%,rgba(var(--home-accent-rgb),.28),transparent 55%),radial-gradient(ellipse at 100% 20%,rgba(var(--away-rgb),.45),transparent 58%),radial-gradient(ellipse at 100% 100%,rgba(var(--away-accent-rgb),.28),transparent 55%),var(--p-raised,#101e30)!important}
html[data-bb-theme="light"] body :is(#bb-news,#bb-match-results) .bb-match-card,
html[data-bb-theme="light"] body #bb-match-dialog .bb-match-dialog-score{background:radial-gradient(ellipse at 0% 20%,rgba(var(--home-rgb),.25),transparent 60%),radial-gradient(ellipse at 0% 100%,rgba(var(--home-accent-rgb),.3),transparent 55%),radial-gradient(ellipse at 100% 20%,rgba(var(--away-rgb),.25),transparent 60%),radial-gradient(ellipse at 100% 100%,rgba(var(--away-accent-rgb),.3),transparent 55%),#fff!important}
html[data-bb-theme] body .bb-match-scoreline .bb-match-team::after{content:"";display:block;grid-column:1/-1;width:62px;height:5px;margin:7px auto 0;border-radius:4px;background:linear-gradient(90deg,var(--home-colour) 0% 33.33%,var(--home-accent) 33.33% 66.66%,var(--home-third) 66.66%);box-shadow:0 2px 9px rgba(var(--home-rgb),.3);border:1px solid #8795a533}
html[data-bb-theme] body .bb-match-scoreline .bb-match-team:last-child::after{background:linear-gradient(90deg,var(--away-colour) 0% 33.33%,var(--away-accent) 33.33% 66.66%,var(--away-third) 66.66%);box-shadow:0 2px 9px rgba(var(--away-rgb),.3)}

/* /web-assets/visitor-experience.css */
/* Small-screen reading order, touch controls and accessible profile dialogs. */
:root{color-scheme:dark}
button,a,input,select,summary{-webkit-tap-highlight-color:#80baff30}
:focus-visible{outline:2px solid #97c5ff;outline-offset:3px}
.bb-visually-muted{color:#a9bbd2}
.bb-profile-scope{font:12px/1.6 Arial,sans-serif;color:#b4c6dc;margin:10px 0}
.bb-profile-scope a,.bb-data-guide a{color:#95c5ff;text-decoration:underline;text-underline-offset:3px}
.bb-metric-coverage{font:11px/1.5 Arial,sans-serif;color:#b1c3da;margin:8px 0 0;overflow-wrap:anywhere}
.bb-daily-note{font:12px/1.6 Arial,sans-serif}
.bb-daily-note summary{cursor:pointer;min-height:28px;color:#d9e9fb}
.bb-daily-note p{margin:8px 0 0}
#bb-daily-status{font-size:12px;letter-spacing:0;text-transform:none;line-height:1.6}
.bb-utility-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin:16px 12px 0;font:12px/1.6 Arial,sans-serif}
.bb-utility-links button,.bb-utility-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #7394bd44;border-radius:12px;color:#c6dcf5;background:#14233880;cursor:pointer;text-decoration:none}
#bb-data-guide{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #729bd655;border-radius:24px;background:#101b2c;color:#dce8f7;box-sizing:border-box;overflow:auto;font:14px/1.7 Arial,sans-serif}
#bb-data-guide::backdrop{background:#02070ddd;backdrop-filter:blur(8px)}
#bb-data-guide h2{font-size:25px;margin:0 48px 20px 0;line-height:1.3}
#bb-data-guide h3{font-size:16px;color:white;margin:20px 0 6px}
#bb-data-guide p{margin:6px 0;color:#b9cbe0}
#bb-data-guide-close{position:absolute;right:16px;top:16px;width:44px;height:44px;border-radius:50%;border:1px solid #7ca2d44d;background:#1e3049;color:white;font:26px Arial;cursor:pointer}
body.bb-profile-open{overflow:hidden}
#player-modal>.apple-glass{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
/* Keep the close control sticky without painting an empty full-width banner. */
#player-modal .bb-profile-toolbar{position:sticky;top:0;z-index:60;width:fit-content;max-width:100%;min-height:44px;padding:0!important;border:0!important;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0}
#player-modal .bb-profile-toolbar>button{width:44px!important;height:44px!important;flex-shrink:0;background:#111722e8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#player-modal.bb-creator-modal .bb-profile-toolbar{width:100%;gap:12px}
#player-modal #modal-player-name{line-height:1.15}
#player-modal .bb-profile-metrics>div>div{height:auto!important;max-height:none!important;min-height:112px;overflow:visible;gap:8px;aspect-ratio:auto!important}
#player-modal .bb-profile-metrics h1{line-height:1.2!important;flex-shrink:0;overflow-wrap:anywhere}
#player-modal .bb-profile-metrics>div>div>span{line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#player-modal .bb-full-sources summary{padding-block:10px;cursor:pointer}
@media(max-width:899px){
 #player-modal{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important}
 #player-modal>.apple-glass{padding:16px!important;max-height:calc(100dvh - 16px)!important;border-radius:24px!important}
 #player-modal .bb-profile-toolbar{margin-bottom:18px!important}
 #player-modal .bb-profile-layout{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:10px 14px!important;align-items:start!important}
 #player-modal .bb-profile-copy,#player-modal .bb-profile-metrics{display:contents!important}
 #player-modal .bb-profile-copy>*{grid-column:1/-1;margin-top:0!important;max-width:100%;min-width:0}
 #player-modal .bb-profile-portrait{grid-column:1;grid-row:1/4;align-self:start!important;margin:0!important}
 #player-modal #modal-player-img{width:88px!important;height:112px!important;max-width:100%;aspect-ratio:auto;border-radius:14px;object-fit:cover}
 #player-modal #modal-player-name{grid-column:2;grid-row:1;font-size:clamp(20px,5.4vw,28px)!important;letter-spacing:-.035em;align-self:end;margin:0!important}
 #player-modal #bb-player-modal-badge{grid-column:2;grid-row:2;font-size:10px;line-height:1.45;margin:0!important;letter-spacing:0;text-transform:none}
 #player-modal #bb-profile-share-host{grid-column:2;grid-row:3;margin:0!important}
 #player-modal .bb-share-profile{margin-top:0;padding:8px 12px;min-height:44px;line-height:1.3}
 #player-modal .bb-profile-copy>div[class*="w-8"]{display:none}
 #player-modal #player-stats-deck,#player-modal #club-stats-deck{grid-column:1/-1;grid-row:4;gap:10px!important;margin:10px 0 8px!important}
 #player-modal #coaching-content-deck{grid-column:1/-1}
 #player-modal #player-stats-deck>div,#player-modal #club-stats-deck>div{padding:14px!important;min-height:108px!important}
 #player-modal #player-stats-deck h1,#player-modal #club-stats-deck h1{font-size:30px!important}
 #player-modal #stat-total-yellows,#player-modal #stat-total-reds{font-size:26px!important}
 #player-modal #m-stats{margin-top:10px!important;font-size:13px;line-height:1.7}
 #player-modal #modal-player-bio{font-size:14px;line-height:1.75}
 #player-modal #modal-player-clubs{font-size:10px;line-height:1.6}
 #player-modal .bb-profile-scope{font-size:12px}
 #player-modal.bb-creator-modal #discipline-card-wrapper a{min-height:40px;height:auto}
 #player-modal.bb-creator-modal .bb-influencer-data-note{font-size:11px;padding:8px!important}
 #player-modal .bb-profile-copy>details{margin-block:4px!important}
 #player-modal .bb-profile-copy>details>summary{min-height:44px;display:list-item}
 #player-modal .bb-profile-copy>details p{font-size:12px;line-height:1.7}
}
@media(max-width:600px){
 body>main{padding-top:20px!important;padding-inline:max(16px,env(safe-area-inset-left))!important}
 header.mb-14{margin-bottom:24px!important}
 .bb-premium-brand{gap:12px!important}
 .bb-premium-mark{width:160px!important;height:105px!important}
 .bb-premium-type h1{font-size:36px!important}
 .bb-premium-type p{margin-bottom:6px!important}
 #bb-main-header-row{gap:20px!important}
 #bb-main-header-row>div:last-child{gap:12px!important}
 .bb-premium-search{min-height:48px}
 .bb-premium-intro{padding:18px!important;margin-block:20px!important}
 #category-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;overflow:visible!important;padding:8px!important;touch-action:manipulation;white-space:normal!important;border-radius:20px!important}
 #category-nav>button{flex:0 1 auto;min-height:44px!important;padding:10px 12px!important;font-size:10px!important;white-space:nowrap;letter-spacing:.04em!important;margin:0!important}
 #category-nav #category-glass{display:none!important}
 #category-nav>button.nav-tab-active{background:#78baff22!important;border-radius:999px;box-shadow:inset 0 0 0 1px #a4d2ff66}
 #bb-category-groups{margin-top:8px}
 #player-grid-container{gap:16px!important}
 #player-grid-container .interactive-glass-card h3{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
 #player-grid-container .bb-profile-permalink{min-height:44px;display:flex;align-items:center}
 #vs-floating-dock{bottom:max(8px,env(safe-area-inset-bottom))!important;width:calc(100vw - 24px)!important;max-width:460px}
 .bb-vs-header{position:sticky;top:0;background:#0d1422f5;z-index:2}
 #bb-vs-close,#bb-about-close,.bb-match-close{min-width:44px;min-height:44px}
 .bb-vs-profile h2{font-size:15px!important;overflow-wrap:anywhere}
 #vs-metrics-rows-container{min-width:0}
 .bb-league-navigation,.bb-league-tabs{max-width:100%;overflow-x:auto}
 #player-modal .bb-profile-layout{gap:10px!important}
 #bb-match-dialog input,#bb-match-dialog select{font-size:16px}
}
@media(hover:none),(prefers-reduced-motion:reduce){
 .interactive-glass-card,.bb-liquid-glass,#modal-player-img{transition:none!important}
 .interactive-glass-card:hover{transform:none!important}
 .bb-creator-reveal{animation:none!important}
}

.bb-scope-help{padding:7px 0;color:#99caff;background:none;border:0;cursor:pointer;text-decoration:underline;font:inherit;min-height:44px}

@media(max-width:600px){
 .bb-premium-brand{flex-direction:row!important;justify-content:center!important;gap:12px!important}
 .bb-premium-mark{width:88px!important;height:88px!important;flex-shrink:0}
 .bb-premium-type{text-align:left!important;flex:1;max-width:230px;min-width:0}
 .bb-premium-type h1{font-size:32px!important}
 .bb-premium-type>div{justify-content:flex-start!important}
 .bb-premium-type>p:first-child{font-size:8px!important;letter-spacing:.12em!important}
 .bb-premium-type #bb-daily-status{font-size:11px!important;line-height:1.5}
 #bb-main-header-row{gap:14px!important}
 .bb-instagram-contact{gap:4px!important}
 .bb-instagram-contact>a{font-size:10px!important}
 #bb-about-button{min-height:44px}
 .bb-premium-intro{margin-block:14px!important}
}
/* These selectors deliberately outrank legacy styles loaded near the footer. */
@media(max-width:600px){
 #bb-main-header-row .bb-premium-brand{flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:12px!important}
 #bb-main-header-row .bb-premium-mark{width:88px!important;height:88px!important;min-width:88px;aspect-ratio:1;align-self:flex-start}
 #bb-main-header-row .bb-premium-type{text-align:left!important;min-width:0;max-width:240px}
 #bb-main-header-row .bb-premium-type>div{justify-content:flex-start!important}
 #bb-main-header-row .bb-premium-type h1{font-size:32px!important}
 #bb-main-header-row>div:last-child>div:nth-child(2){display:flex;flex-wrap:wrap;align-items:center!important;justify-content:center!important;gap:8px 18px!important}
 #bb-main-header-row .bb-instagram-contact{display:contents!important}
 #bb-main-header-row .bb-instagram-contact>a{order:2;flex-basis:100%;justify-content:center;min-height:32px}
 #bb-main-header-row>div:last-child>div:nth-child(2)>a{min-height:44px}
 #category-nav #active-category-glass{display:none!important}
}
/* Player cards open directly; keep their accessible links without a repeated visual label. */
#player-grid-container [onclick*="openPlayerProfile"]>.bb-profile-permalink{position:absolute!important;inset:0!important;display:block!important;margin:0!important;padding:0!important;min-height:0!important;opacity:0!important;z-index:4!important}
#player-grid-container [onclick*="openPlayerProfile"]:focus-within{outline:2px solid #8abfff;outline-offset:3px}
