/* /web-assets/quality-shell.css */
.bb-trust-links{display:flex;justify-content:center;gap:10px 20px;flex-wrap:wrap;padding:18px 16px 0;font:500 12px/1.6 system-ui,sans-serif}.bb-trust-links a{color:var(--p-ice,#075ac9)!important;text-decoration:underline;text-underline-offset:3px}.bb-quality-learning{padding:28px 0;margin:38px 0 8px;border-top:1px solid var(--p-line,#d7e1ef);color:var(--p-ink,#152238)}.bb-quality-learning>span{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--p-ice,#075ac9)}.bb-quality-learning>h2{font-size:30px!important;line-height:1.2!important;letter-spacing:-.03em!important;margin:12px 0!important;color:var(--p-ink,#152238)!important}.bb-quality-learning>p{max-width:920px;font-size:14px;line-height:1.8;color:var(--p-muted,#52647e)}.bb-quality-learning>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.bb-quality-learning>div>a{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:16px;background:var(--p-panel,#fff);border:1px solid var(--p-line,#d7e1ef);text-decoration:none;color:var(--p-ink,#152238)}.bb-quality-learning h3{font-size:19px!important;font-weight:750!important;line-height:1.3!important;color:var(--p-ink,#152238)!important;letter-spacing:-.02em!important;margin:0!important}.bb-quality-learning>div p{font-size:13px;line-height:1.7;color:var(--p-muted,#52647e);margin:0 0 8px}.bb-quality-learning>div span{font-size:12px;font-weight:650;color:var(--p-ice,#075ac9);margin-top:auto}.bb-quality-learning a{color:var(--p-ice,#075ac9)}@media(max-width:767px){.bb-quality-learning{margin-top:26px;padding-top:24px}.bb-quality-learning>h2{font-size:26px!important}.bb-quality-learning>div{grid-template-columns:1fr}.bb-quality-learning>div>a{padding:18px}.bb-trust-links{font-size:11px;gap:9px 15px}}

/* Navigation utilities stay in their menu; closed profile actions never float over it. */
.v2-profile-favourite[hidden]{display:none!important}
.bbx-desktop-more>div{width:260px!important;max-width:calc(100vw - 32px);padding:12px!important;gap:4px!important;max-height:calc(100dvh - 160px);overflow-y:auto;background:var(--p-panel,#fff)!important;border:1px solid var(--p-line,#d7e1ef)!important;box-shadow:0 16px 40px #14243b20!important;border-radius:18px!important}
.bbx-desktop-more>div>a,.bbx-desktop-more>div>button{display:flex!important;align-items:center;justify-content:flex-start;position:static!important;min-height:44px!important;width:100%!important;box-sizing:border-box;padding:11px 14px!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--p-ink,#152238)!important;text-align:left!important;text-decoration:none!important;font:500 14px/1.4 system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important}
.bbx-desktop-more>div>a:hover,.bbx-desktop-more>div>button:hover{background:var(--p-soft,#edf4ff)!important}
.bbx-desktop-more>div>a.bb-about-nav,.bb-mobile-menu-links>a.bb-about-nav{background:var(--p-soft,#edf4ff)!important;color:var(--p-ice,#075ac9)!important;font-weight:750!important;border:1px solid var(--p-line,#d7e1ef)!important}
.bbx-desktop-more>div>a.bb-about-nav:after{content:'↗';margin-left:auto}
.bbx-desktop-more a:focus-visible,.bb-mobile-menu-links a:focus-visible{outline:2px solid var(--p-ice,#075ac9);outline-offset:2px}
body>main>header:not(#bw-page-heading){position:relative;z-index:200!important;overflow:visible!important}
#category-nav{position:relative;z-index:201!important;overflow:visible!important}
.bbx-desktop-more{position:relative;z-index:202!important}
.bbx-desktop-more[open]>div{z-index:203!important}

#bw-page-heading{z-index:auto!important}

/* /web-assets/experience-polish.css */
/* BallerBase experience polish. Shared spacing and phone overrides, kept separate for editing. */
:root{--ux-panel:#112034;--ux-soft:#182b43;--ux-ink:#eef5ff;--ux-muted:#b1c4db;--ux-line:#304761;--ux-blue:#85baff;--ux-gold:#e4c26e;--ux-radius:18px}
html[data-bb-theme=light]{--ux-panel:#fff;--ux-soft:#f1f5fc;--ux-ink:#16263c;--ux-muted:#526780;--ux-line:#d7e1ef;--ux-blue:#095ccc;--ux-gold:#865c0c}
:where(#bbap,#bb-team-profile,#bb-match-dialog,#bb-play,.ac-shell,.e-shell,#bb-news) :is(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}
:where(#bbap,#bb-team-profile,#bb-match-dialog,#bb-play,.ac-shell,.e-shell,#bb-news) :is(button,a):focus-visible{outline:3px solid var(--ux-blue);outline-offset:3px}
:where(#bbap,#bb-team-profile,#bb-play,.ac-shell,.e-shell) :is(h1,h2,h3,h4){text-wrap:balance}
:where(#bbap,#bb-team-profile,.ac-shell,.e-shell) p{overflow-wrap:break-word}
:where(.ba-tabs,.bt-tabs,.bb-match-tabs,.ac-local-nav){scrollbar-width:none;scroll-padding-inline:12px}
:where(.ba-tabs,.bt-tabs,.bb-match-tabs,.ac-local-nav)::-webkit-scrollbar{display:none}
/* Profiles use one surface hierarchy rather than panels inside panels. */
#bbap .ba-info-block,#bbap .ba-card,#bb-team-profile .bt-panel{border-radius:var(--ux-radius);box-shadow:none}
#bbap .ba-profile-top,#bb-team-profile .bt-hero{gap:24px}
#bbap .ba-profile-photo{object-position:50% 22%}
#bbap .ba-tabs,#bb-team-profile .bt-tabs{gap:6px;border-bottom:1px solid var(--ux-line);padding:6px 0 10px}
#bbap .ba-tabs button,#bb-team-profile .bt-tabs button{min-height:44px;padding:10px 17px;border-radius:12px;white-space:nowrap}
#bbap .ba-tabs button[aria-selected=true],#bb-team-profile .bt-tabs button[aria-selected=true]{background:var(--ux-soft);color:var(--ux-blue);box-shadow:inset 0 0 0 1px var(--ux-line)}
#bb-team-profile .bt-crest{background:var(--ux-soft)!important;box-shadow:none!important}
#bb-team-profile .bt-honours article{padding-block:18px;border-bottom:1px solid var(--ux-line)}
#bb-team-profile .bt-nickname{color:var(--ux-muted);line-height:1.6;max-width:48ch}
#bb-team-profile .bt-facts dd{line-height:1.5;overflow-wrap:anywhere}
#bb-team-profile .bt-matrix button{border-radius:16px;min-width:0}
#bb-team-profile .bt-matrix button strong{font-variant-numeric:tabular-nums}
/* Match colour effects remain decorative. Text always sits above the colours. */
#bb-match-results .bb-match-card{isolation:isolate;box-shadow:none;overflow:hidden}
#bb-match-results .bb-match-scoreline,#bb-match-dialog .bb-match-scoreline{position:relative;z-index:1}
#bb-match-results .bb-match-team strong,#bb-match-dialog .bb-match-team strong{color:var(--ux-ink);line-height:1.35}
#bb-match-results .bb-match-score b,#bb-match-dialog .bb-match-score b{color:var(--ux-ink);font-variant-numeric:tabular-nums}
#bb-match-dialog .bb-match-competition{gap:12px;align-items:center}
#bb-match-dialog .bb-match-competition>a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-weight:750}
#bb-match-dialog .bb-match-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:6px;padding:8px 0 12px}
#bb-match-dialog .bb-match-tabs button{flex:0 0 auto;min-height:44px;border-radius:12px;padding:10px 16px}
#bb-match-dialog .bb-match-tabs button[aria-selected=true]{background:var(--ux-blue);color:var(--ux-panel)}
#bb-match-dialog .bb-match-topbar{position:sticky;top:0;z-index:8;background:var(--ux-panel);padding:12px 0;margin-bottom:8px}
#bb-match-dialog .bb-match-close{min-width:44px;min-height:44px}
#vs-comparison-overlay .bb-vs-metric-values{font-variant-numeric:tabular-nums}
#vs-comparison-overlay .bb-vs-profile h2{overflow-wrap:break-word}
/* Games: less chrome, larger playing area and reliable touch grips. */
#bb-play{padding:24px!important}
#bb-play .bb-feature-head{margin-bottom:18px;padding-bottom:16px}
#bb-play .bb-feature-head h2{font-size:clamp(24px,3vw,36px);line-height:1.15}
#bb-play .bb-feature-head p{max-width:64ch;line-height:1.6}
#bb-play .bb-tier-studio{padding:24px;border-radius:20px;box-shadow:none}
#bb-play .bb-tier-title{font-size:clamp(20px,2.5vw,32px)!important;min-height:48px!important}
#bb-play .bb-tier-row{min-height:118px!important;border-radius:14px!important}
#bb-play .bb-tier-slots{min-width:0;align-content:center}
#bb-play [data-tier-handle]{display:grid!important;place-items:center;position:absolute;inset:4px 4px auto auto;width:38px;height:38px;z-index:2;border-radius:10px;background:#071525d9;color:#fff;touch-action:none!important;cursor:grab;font-size:24px;-webkit-user-select:none;user-select:none}
#bb-play .bb-tier-player{position:relative;touch-action:pan-y}
#bb-play .bb-grid-progress{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:16px 18px;border:1px solid var(--ux-line);border-radius:16px;background:var(--ux-soft);margin-bottom:16px}
#bb-play .bb-grid-progress progress{grid-column:1/-1;width:100%;accent-color:var(--ux-blue);height:5px}
#bb-play .bb-grid-progress span{font-size:13px;color:var(--ux-muted)}
#bb-play .bb-gridcell{min-height:100px!important;border-radius:14px!important;background:var(--ux-panel);color:var(--ux-ink);border:1px solid var(--ux-line)}
#bb-play .bb-gridcell.bb-selected{outline:2px solid var(--ux-blue);outline-offset:-2px;background:var(--ux-soft)}
#bb-play .bb-gridcell[data-complete=true]{box-shadow:inset 0 -3px 0 #4d9c77}
#bb-feedback:not(:empty){padding:14px 16px;border-radius:13px;background:var(--ux-soft);border:1px solid var(--ux-line);line-height:1.6}
#bb-play .bb-grid-answer{padding:20px;border:1px solid var(--ux-line);border-radius:18px;background:var(--ux-panel);margin-top:16px}
/* Academy retains every lesson: these links navigate its existing stages. */
.ac-lesson-steps{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 0 14px;margin:0 0 14px}
.ac-lesson-steps a{display:flex;align-items:center;flex:0 0 auto;gap:8px;padding:9px 13px;border-radius:12px;border:1px solid var(--ux-line);background:var(--ux-panel);color:var(--ux-muted);font-size:12px;font-weight:650;text-decoration:none;min-height:44px}
.ac-lesson-steps a span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:var(--ux-soft);color:var(--ux-blue);font-size:11px}
.ac-lesson-steps a[aria-current=step]{color:var(--ux-blue);border-color:var(--ux-blue);background:var(--ux-soft)}
.ac-lesson-layout article>.ac-card{scroll-margin-top:calc(var(--bb-shell-height,230px) + 16px)}
.ac-answer-text{white-space:pre-line}
.ac-answer-lead{color:var(--ux-ink);font-weight:650}
.ac-direct-answer p{max-width:68ch}
.ac-tutor-example{border-inline-start:3px solid var(--ux-blue);padding:12px 16px;background:var(--ux-soft);border-radius:0 12px 12px 0;margin-top:18px}
.ac-film video{aspect-ratio:16/9;display:block;max-width:100%;background:#081323;border-radius:14px}
.ac-film-pause{background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;color:var(--ux-ink)!important;box-shadow:0 12px 32px #0003}
.ac-result:empty{display:none}
.ac-choice[aria-pressed=true],.ac-answer-option:has(input:checked){border-color:var(--ux-blue);background:var(--ux-soft);box-shadow:inset 0 0 0 1px var(--ux-blue)}
.ac-exam-controls button{min-height:48px}
.ac-training-strip{gap:10px}
.ac-tutor-loading{display:flex;align-items:center;gap:12px;padding:20px;background:var(--ux-soft);border-radius:16px}
.ac-tutor-loading::before{content:'';flex:0 0 18px;width:18px;height:18px;border:2px solid var(--ux-line);border-top-color:var(--ux-blue);border-radius:50%;animation:ux-spin .9s linear infinite}
@keyframes ux-spin{to{transform:rotate(1turn)}}
/* News uses one clear leading report, then a compact, even reading grid. */
#bb-news .news-card{border-radius:20px;overflow:hidden;box-shadow:none}
#bb-news .news-card h2{font-size:22px;line-height:1.25;letter-spacing:-.025em;color:var(--ux-ink)}
#bb-news .news-card-copy>p{font-size:15px;line-height:1.7;color:var(--ux-muted)}
#bb-news .news-meta{gap:8px;font-size:12px;line-height:1.5;flex-wrap:wrap}
#bb-news .news-meta time{margin-inline-start:auto;white-space:nowrap}
#bb-news .news-card-copy>a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
#bb-news .news-media-frame{aspect-ratio:16/9;overflow:hidden}
#bb-news .news-media-frame img{width:100%;height:100%;object-fit:cover}
/****** Entertainment: consistent thumbnails and comfortable bilingual reading. ******/
.e-welcome-compact{border:1px solid var(--ux-line);border-radius:18px;background:var(--ux-panel);padding:0!important;margin-bottom:22px;overflow:hidden}
.e-welcome-compact>summary{cursor:pointer;min-height:62px;padding:18px 20px;color:var(--ux-ink);font-weight:750;line-height:1.5;list-style-position:inside}
.e-welcome-compact>summary small{display:block;font-size:12px;font-weight:450;color:var(--ux-muted);margin-top:4px}
.e-welcome-compact>.e-welcome{border:0!important;margin:0!important;border-radius:0!important}
.e-card{border-radius:18px;overflow:hidden;box-shadow:none}
.e-card .e-thumbnail,.e-thumb{aspect-ratio:16/9;overflow:hidden}
.e-player{aspect-ratio:16/9;min-height:0!important;overflow:hidden;border-radius:18px;background:#071323}
.e-player iframe{min-height:0!important}
.e-summaries p{max-width:65ch;line-height:1.9}
@media(min-width:900px){#bb-news #news-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}#bb-news .news-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;align-items:center}#bb-news .news-card:first-child h2{font-size:30px}}
@media(max-width:767px){
 html{scroll-padding-top:calc(var(--bb-shell-height,100px) + 12px)}
 body{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
 :where(.ac-shell,.e-shell,#bbap,#bb-team-profile,#bb-play,#bb-news,#bb-match-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:16px!important}
 :where(#bbap,#bb-team-profile,#bb-play,.ac-shell,.e-shell,#bb-news,#bb-match-dialog) :is(button,summary){min-height:44px}
 body>main{padding-inline:14px!important}
 html[data-bb-theme] body #bb-mobile-navigation.bb-mobile-stable{height:68px!important;min-height:68px!important;max-height:68px!important;border-radius:25px!important;backdrop-filter:blur(12px) saturate(135%)!important;-webkit-backdrop-filter:blur(12px) saturate(135%)!important;box-shadow:0 5px 20px #0003!important}
 html[data-bb-theme] body #bb-mobile-navigation.bb-mobile-stable .bb-dock-label{font-size:clamp(9px,2.6vw,11px)!important;letter-spacing:-.02em!important;font-weight:600}
 html[data-bb-theme] body #bb-mobile-navigation.bb-mobile-stable>button{gap:4px!important;border-radius:18px!important}
 #bb-mobile-navigation .bb-mobile-liquid-lens{border-radius:19px!important}
 html[data-bb-theme] body #bb-mobile-more.bb-more-stable{border-radius:23px!important;padding:18px!important;max-height:calc(100svh - 34px - env(safe-area-inset-top))!important}
 #bb-mobile-more.bb-more-stable .bb-mobile-menu-links>:is(a,button){font-size:14px!important;min-height:48px!important}
 #bb-mobile-more.bb-more-stable .bb-mobile-more-item small{font-size:12px!important}
 #bb-mobile-topbar{min-height:56px!important;gap:10px!important}
 #bb-mobile-topbar .bb-mobile-brand{min-width:0}
 #bb-mobile-topbar .bb-mobile-brand img{width:35px!important;height:35px!important}
 #bb-mobile-topbar .bb-mobile-brand>span{font-size:22px!important;line-height:1.2!important}
 #bb-mobile-topbar .bb-brand-byline{font-size:10px!important;line-height:1.5!important}
 #bb-mobile-topbar button{width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px}
 #ba-controls{gap:8px!important;margin-block:8px!important}
 #bb-mobile-context{gap:12px!important;margin-block:18px!important}
 #bb-mobile-context h2{font-size:28px!important;line-height:1.15}
 #bb-mobile-context p{font-size:12px!important;line-height:1.5}
 #bb-phone-shortcuts{display:none!important}
 #bbx-home .pm-home-welcome{padding:22px 20px!important;border-radius:22px!important}
 #bbx-home .pm-home-welcome h2{font-size:32px!important;line-height:1.06!important;letter-spacing:-1px!important}
 #bbx-home .pm-home-welcome p{font-size:14px!important;line-height:1.65!important}
 #bbx-home .pm-home-welcome nav a{min-height:48px!important;font-size:13px!important}
 #bbx-home .bw-quick{gap:10px}
 #bbx-home .bw-quick strong{font-size:15px!important}
 #bbx-home .bw-quick small{font-size:12px!important}
 #player-grid-container{gap:12px!important}
 #player-grid-container .bb-player-portrait-card{padding:9px!important;border-radius:18px!important;box-shadow:none!important;min-width:0}
 #player-grid-container .bb-player-portrait-card img{aspect-ratio:4/5;object-fit:cover!important;object-position:center 22%!important;border-radius:12px!important}
 body.bb-mobile-view #player-grid-container .bb-mobile-card-name{font-size:16px!important;line-height:1.3!important;min-height:42px;margin-block:12px 8px!important;letter-spacing:-.025em!important}
 #player-grid-container .v22-card-records p{font-size:12px!important;line-height:1.5!important;min-height:36px}
 #player-grid-container .bb-player-portrait-card :is(button,.v2-button){min-height:42px!important;font-size:12px!important;padding:8px!important}
 #player-modal{padding:0!important}
 #player-modal>.apple-glass{width:100%!important;max-width:100%!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding:18px 16px calc(26px + env(safe-area-inset-bottom))!important;overscroll-behavior:contain;scroll-padding-top:62px}
 #bbap .ba-profile-top,#bb-team-profile .bt-hero{grid-template-columns:1fr!important;gap:20px!important;margin-top:12px!important}
 #bbap .ba-hero,#bb-team-profile .bt-identity{gap:16px!important}
 #bbap .ba-hero img{width:104px!important;height:136px!important;object-fit:cover!important;object-position:50% 20%!important;border-radius:16px!important}
 #bbap #bbap-name,#bb-team-profile #bt-name{font-size:27px!important;line-height:1.12!important;letter-spacing:-.04em!important;overflow-wrap:break-word}
 #bbap-matrix,#bb-team-profile .bt-matrix{gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #bbap-matrix>*,#bb-team-profile .bt-matrix>button{padding:16px!important;min-height:126px!important;border-radius:16px!important}
 #bbap-matrix strong,#bb-team-profile .bt-matrix strong{font-size:32px!important;line-height:1.15!important;letter-spacing:-.03em!important}
 #bbap-matrix small,#bb-team-profile .bt-matrix small{font-size:12px!important;line-height:1.5!important}
 #bbap .ba-tabs,#bb-team-profile .bt-tabs{overflow-x:auto;flex-wrap:nowrap;position:sticky;top:0;z-index:7;background:var(--ux-panel);margin-block:16px!important;padding-block:8px!important}
 #bbap .ba-tabs button,#bb-team-profile .bt-tabs button{font-size:14px!important;padding-inline:14px!important}
 #bbap .ba-grid,#bbap .ba-profile-columns,#bb-team-profile .bt-two{grid-template-columns:1fr!important;gap:14px!important}
 #bbap :is(.ba-info-block,.ba-card),#bb-team-profile .bt-panel{padding:20px!important;margin-block:0 14px!important}
 #bbap h3,#bb-team-profile h3{font-size:20px!important;line-height:1.3!important}
 #bbap :is(.ba-note,.ba-info-block p),#bb-team-profile :is(.bt-muted,.bt-intro){font-size:14px!important;line-height:1.75!important}
 #bb-team-profile .bt-crest{width:96px!important;height:108px!important;min-width:96px!important;border-radius:18px!important;padding:14px!important}
 #bb-team-profile .bt-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
 #bb-team-profile .bt-facts :is(dt,dd){font-size:13px!important}
 #bb-team-profile .bt-honours article{gap:10px!important}
 #bb-match-dialog{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding:0!important;overscroll-behavior:contain}
 #bb-match-dialog .bb-match-dialog-inner{padding:0 16px calc(26px + env(safe-area-inset-bottom))!important;min-width:0;overflow-wrap:break-word}
 #bb-match-dialog h2{font-size:24px!important;line-height:1.2!important;margin-block:18px!important}
 #bb-match-dialog .bb-match-competition{display:grid;grid-template-columns:1fr;gap:10px;padding:16px!important;font-size:13px!important;border-radius:16px}
 #bb-match-dialog .bb-match-competition>a{width:100%;font-size:14px!important}
 #bb-match-dialog .bb-match-scoreline{padding:24px 8px!important;gap:8px!important}
 #bb-match-dialog .bb-match-team strong{font-size:15px!important}
 #bb-match-dialog .bb-match-team img{width:52px!important;height:52px!important;object-fit:contain}
 #bb-match-dialog .bb-match-score b{font-size:32px!important;white-space:nowrap}
 #bb-match-results .bb-match-team strong{font-size:14px!important;line-height:1.4!important}
 #bb-match-results .bb-match-card{border-radius:18px!important}
 #bb-match-results .bb-match-phase-tabs button{min-height:46px!important;font-size:14px!important}
 #bb-match-results .bb-results-meta{font-size:12px!important;line-height:1.5;gap:8px}
 #bb-match-dialog .bb-team-timelines{grid-template-columns:1fr!important}
 #bb-play{padding:18px 14px!important;border-radius:20px!important}
 #bb-play .bb-tier-studio{padding:14px!important;border-radius:16px!important}
 #bb-play .bb-tier-row{min-height:108px!important}
 #bb-play .bb-tier-label{max-width:none!important;width:auto!important;padding:10px!important}
 #bb-play .bb-tier-label input{font-size:13px!important;min-height:36px!important}
 #bb-play .bb-gridboard{gap:7px!important;grid-template-columns:65px repeat(3,minmax(0,1fr))!important}
 #bb-play .bb-gridboard>strong{font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere}
 #bb-play .bb-gridcell{min-height:82px!important;padding:8px 4px!important;font-size:11px!important;line-height:1.35}
 #bb-play .bb-grid-progress{grid-template-columns:1fr;padding:14px}
 #bb-play .bb-grid-answer{padding:16px}
 #bb-play .bb-grid-answer h3{font-size:20px!important;margin-bottom:14px}
 #bb-play .bb-actions{gap:8px!important}
 #bb-play .bb-actions :is(button,a){min-height:46px;font-size:13px}
 .ac-shell,.e-shell{padding-inline:16px!important;max-width:100%}
 .ac-shell .ac-site-top{padding-top:max(10px,env(safe-area-inset-top));background:var(--ux-panel);margin-inline:-16px;padding-inline:16px}
 .ac-local-nav{gap:4px!important;justify-content:space-between!important;padding-block:6px!important}
 .ac-local-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px!important;font-size:12px!important;border-radius:11px;white-space:nowrap}
 .ac-local-nav a[aria-current=page]{background:var(--ux-soft);color:var(--ux-blue)}
 .ac-shell h1{font-size:32px!important;line-height:1.12!important;letter-spacing:-.04em!important}
 .ac-heading{padding-top:26px!important}
 .ac-shell .ac-card{padding:20px!important;border-radius:18px;margin-block:16px!important}
 .ac-shell .ac-card>p,.ac-shell .ac-course p{font-size:15px!important;line-height:1.8!important}
 .ac-shell .ac-course h2{font-size:23px!important}
 .ac-shell .ac-course .ac-kicker{font-size:11px!important}
 .ac-shell .ac-course-progress{font-size:13px!important}
 .ac-shell .ac-course .ac-button{font-size:14px!important;min-height:48px}
 .ac-training-strip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .ac-training-strip>span{font-size:12px!important;padding:12px!important;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-panel)}
 .ac-choice,.ac-answer-option{font-size:15px!important;padding:14px!important;text-align:start;line-height:1.6}
 .ac-direct-answer{padding:18px!important}
 .ac-answer-text{font-size:16px!important;line-height:1.85!important}
 .ac-film-pause{padding:16px!important;position:relative!important;inset:auto!important;margin-top:10px}
 .ac-film-pause p{font-size:15px!important}
 .ac-film-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
 .ac-film-tools label{font-size:13px!important;display:flex;align-items:center;gap:8px}
 .ac-film-tools input{width:20px!important;min-height:20px!important;margin:0!important}
 .ac-exam-controls{gap:8px;flex-wrap:wrap}
 .ac-exam-controls button{flex:1;font-size:14px!important}
 .e-welcome-compact>summary{font-size:16px;padding:16px}
 .e-bar{gap:12px!important}
 .e-filters{gap:8px!important;padding-bottom:4px;scrollbar-width:none}
 .e-filters button{font-size:14px!important;min-height:46px!important;border-radius:12px!important}
 .e-grid{gap:18px!important}
 .e-card :is(h2,h3){font-size:19px!important;line-height:1.35!important}
 .e-summaries{grid-template-columns:1fr!important;gap:20px!important}
 .e-summaries p,.e-summaries [lang=ar] p{font-size:16px!important}
 #bb-news .news-masthead h1{font-size:34px!important}
 #bb-news .news-card-copy{padding:20px!important}
 #bb-news .news-card h2{font-size:23px!important}
 #bb-news .news-meta{font-size:12px!important}
 #bb-news .news-filters{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:8px}
 #bb-news .news-filters button{flex:0 0 auto;min-height:44px;font-size:13px!important}
 #bb-news .news-card-copy>a{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){.ac-tutor-loading::before{animation:none}:where(#bbap,#bb-team-profile,#bb-play,.ac-shell,.e-shell) *{scroll-behavior:auto!important;transition:none!important}}
/* Column names stay with the numbers when a comparison scrolls. */
.bb-vs-column-labels{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:30px;padding:12px 18px;margin:0 0 14px;background:var(--ux-panel);border:1px solid var(--ux-line);border-radius:13px;color:var(--ux-ink);box-shadow:0 6px 12px #00000008}
.bb-vs-column-labels strong{max-width:43%;font-size:14px;line-height:1.4}
.bb-vs-column-labels strong:last-child{text-align:end}
@media(max-width:767px){.bb-vs-column-labels{padding:12px;font-size:12px;gap:14px}.bb-vs-column-labels strong{font-size:12px}#bb-news .news-heading h2{font-size:30px!important;line-height:1.2}#bb-news .news-heading p{font-size:14px!important;line-height:1.7}#bb-grid-search-status{font-size:13px;line-height:1.6;color:var(--ux-muted)}}
@media(max-width:767px){
 #bbx-home .pm-home-welcome h2{font-size:28px!important}
 html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-menu-links>:is(a,button){font-size:13px!important;padding:11px!important;min-height:48px!important}
 #bb-match-results .bb-results-toolbar{margin-block:14px!important;padding-block:12px!important}
 #bb-match-results .bb-match-phase-tabs{margin-block:10px 14px!important}
 #bb-match-results .bb-team-follow-note{display:none}
 #bb-match-results:has([data-match-phase=following][aria-pressed=true]) .bb-team-follow-note{display:block;font-size:13px!important;line-height:1.6}
 #bb-match-results .bb-match-utilities{float:inline-end;margin:0 0 8px 10px!important;padding:0!important}
 #bb-match-results .bb-results-meta{min-height:44px;padding-top:6px;margin-block:4px 12px!important}
 #bb-results-cards{clear:both}
 #bb-match-results .bb-results-meta p{font-size:12px!important;line-height:1.5!important}
}
@media(max-width:767px){
 #bbap .ba-info-block,#bbap .ba-card,#bb-team-profile .bt-panel,#bb-play .bb-card,#bb-play .bb-tier-studio{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 #bb-play .bb-tier-drag-preview{will-change:transform}
 #bb-news .news-card-copy>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-width:767px){
 html[data-bb-theme] body.bb-profile-open #bb-mobile-navigation.bb-mobile-stable{visibility:hidden!important;pointer-events:none!important}
 html[data-bb-theme] body.bb-mobile-view #player-grid-container .bb-player-portrait-card :is(.bb-vs-comp,.bbx-card-save){font-size:12px!important;min-height:44px!important}
 #bbap .ba-actions :is(button,a){font-size:13px!important;min-height:44px!important;line-height:1.4}
 #bbap-hero>.ba-player-portrait{object-position:50% 20%!important}
}
.e-credits-compact>.e-source-credit{margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:767px){
 html[data-bb-theme] body.bb-mobile-view>main>header{position:sticky!important;top:0!important;z-index:40!important;background:var(--ux-panel)!important}
 .e-shell:not(.ac-shell) .e-top{position:sticky;top:0;z-index:40;background:var(--ux-panel);margin-inline:-16px;padding-inline:16px!important}
 .e-credits-compact>summary{font-size:13px;line-height:1.7}
 .ac-site-controls select,.ac-site-controls button{min-height:40px!important;height:40px!important}
 .ac-global-header .ac-brand small{font-size:9px!important}
}
#bb-play .bb-tier-more{grid-column:1/-1;min-height:48px;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-soft);color:var(--ux-blue);font-size:14px;font-weight:700}
@media(max-width:767px){
 html[data-bb-theme] body.bb-mobile-view #bb-play .bb-grid-progress{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 html[data-bb-theme] body.bb-mobile-view #bb-play .bb-gridboard>strong{font-size:12px!important;line-height:1.4!important}
 .bb-mobile-game-tile{min-height:138px!important}
}
/* The archive is a simple visual index; full facts belong inside the profile. */
#player-grid-container .bb-club-open>:is(.bb-club-league,.bb-club-nickname,.bb-club-facts,.bb-club-card-footer){display:none!important}
#player-grid-container .bb-club-open{height:auto!important;min-height:0!important;gap:0!important}
#player-grid-container .bb-club-open>h3{margin:16px 12px!important;min-height:0!important;font-size:20px!important;line-height:1.3!important}
@media(max-width:767px){#player-grid-container .bb-club-open>h3{font-size:16px!important;margin:14px 8px!important}}

/* Audit: keep notification controls as easy to tap as the match tabs. */
@media(max-width:767px){html[data-bb-theme] body.bb-mobile-view #bb-alert-settings-open{min-height:44px!important;padding-block:10px!important}}
/* Audit: a compact Academy header leaves more room for the lesson on small phones. */
@media(max-width:767px){
 .ac-shell .ac-global-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px!important;padding-bottom:4px!important}
 .ac-shell .ac-brand-search{display:contents!important}
 .ac-shell .ac-site-controls{position:static!important;grid-column:2;grid-row:1;gap:5px!important;margin:0!important;min-height:40px!important}
 .ac-shell .ac-site-controls label{display:none!important}
 .ac-shell .ac-site-controls select{width:58px!important;min-width:0!important;max-width:58px!important;padding:4px 2px!important;font-size:14px!important}
 .ac-shell .ac-site-controls button{width:40px!important;min-width:40px!important;padding:8px!important}
 .ac-shell .ac-global-header .ac-brand{grid-column:1;grid-row:1;min-width:0!important;width:auto!important;font-size:19px!important;gap:6px!important}
 .ac-shell .ac-global-header .ac-brand img{width:28px!important;height:28px!important;flex:0 0 28px}
 .ac-shell .ac-global-header .ac-brand small{font-size:8px!important;line-height:1.4!important;white-space:normal!important;margin-top:2px!important}
 .ac-shell .ac-global-search{grid-column:1/-1;grid-row:2;width:100%!important;margin:0!important}
 .ac-shell .ac-local-nav{margin-block:4px 6px!important;min-height:48px!important}
}
@media(max-width:767px){
 .ac-shell .ac-global-header .ac-brand{max-width:none!important}
 .ac-shell .ac-local-nav a{font-size:11px!important;padding-inline:6px!important}
}
@media(max-width:767px){.ac-shell .ac-site-controls select{width:68px!important;max-width:68px!important;font-size:13px!important}}

/* /web-assets/experience-refinement.css */
/* Final, shared theme surfaces. Editable independently of the legacy design layers. */
:root{--p-soft:var(--ux-soft,#182b43)}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable{--menu-ink:var(--ux-ink);--menu-muted:var(--ux-muted);--menu-panel:var(--ux-panel);--menu-soft:var(--ux-soft);background:var(--menu-panel)!important;color:var(--menu-ink)!important;scroll-padding-top:94px}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable :is(.bb-mobile-sheet-heading,.e-more-heading){background:var(--menu-panel)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable :is(.bb-mobile-more-item,.ent-menu-card){background:var(--menu-soft)!important;border-color:var(--ux-line)!important;color:var(--menu-ink)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-more-item strong{color:var(--menu-ink)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable :is(.bb-mobile-more-item small,.bb-mobile-sheet-heading p,.bb-mobile-menu-status){color:var(--menu-muted)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-menu-links>:is(a,button),html[data-bb-theme] body #bb-mobile-more.bb-more-stable :is([data-home-close],[data-mobile-close],[data-ent-close]){background:var(--menu-soft)!important;border-color:var(--ux-line)!important;color:var(--menu-ink)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-menu-icon{background:var(--menu-panel)!important;color:var(--ux-blue)!important}
html[data-bb-theme] body #bb-mobile-more.bb-more-stable .bb-mobile-more-item>span:last-child{color:var(--ux-blue)!important}
/* A white theme uses a light welcome surface, with the blue brand retained. */
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome{background:linear-gradient(135deg,#e9f2ff,#f8fbff)!important;border:1px solid #cadcf5!important;box-shadow:0 8px 24px #1b4e8a0a!important}
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome h2{color:#14243b!important}
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome p{color:#425977!important}
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome .pm-kicker{color:#0958bd!important}
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome nav a{background:#fff!important;color:#0958bd!important;border-color:#adc7eb!important}
html[data-bb-theme=light] body.bb-mobile-view #bbx-home .pm-home-welcome nav a:first-child{background:#095dcc!important;color:#fff!important;border-color:#095dcc!important}
html[data-bb-theme=light] body #bb-match-results .bb-match-card .bb-match-meta{color:#425977!important}
html[data-bb-theme=light] body #bb-match-results .bb-match-card :is(.bb-match-open,.bb-match-open>span){color:#425977!important}
html[data-bb-theme=light] body #bb-match-results .bb-match-card .bb-match-open>span:last-child{color:#0958bd!important}
/* Match Center: one useful table link, compact date controls and one filter rail. */
html[data-bb-theme] body #bb-match-results>.bb-sports-heading{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;padding:0!important}
html[data-bb-theme] body #bb-match-results>.bb-sports-heading>div{width:auto!important;min-width:0!important;flex:1!important}
#bb-match-results .bb-sports-heading .bb-sports-kicker{display:none!important}
#bb-match-results .bb-match-table-link{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-panel);color:var(--ux-blue);font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none}
@media(min-width:768px){
 html[data-bb-theme] body #bb-match-results-view{display:grid!important;grid-template-columns:minmax(200px,1fr) minmax(235px,1fr) auto;gap:8px 12px;align-items:center}
 html[data-bb-theme] body #bb-match-results .bb-results-toolbar{grid-column:1;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
 html[data-bb-theme] body #bb-match-results .bb-results-day{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 58px!important;gap:6px!important;max-width:none!important}
 html[data-bb-theme] body #bb-match-results .bb-results-day>button,html[data-bb-theme] body #bb-match-results .bb-day-picker{height:44px!important;min-height:44px!important;padding:7px!important;margin:0!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections{grid-column:2;width:100%!important;max-width:none!important;margin:0!important;padding:4px!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button{display:flex!important;align-items:center;justify-content:center;gap:5px;min-height:44px!important;padding:8px!important;font-size:13px!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button>span{margin:0!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections .bb-phase-label{font-size:13px!important}
 html[data-bb-theme] body #bb-match-results .bb-team-follow-note{display:none!important}
 html[data-bb-theme] body #bb-match-results .bb-match-utilities{grid-column:3;float:none!important;max-width:none!important;margin:0!important;padding:0!important}
 html[data-bb-theme] body #bb-match-results .bb-goal-alert-panel{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 html[data-bb-theme] body #bb-match-results .bb-results-meta{grid-column:1/-1;min-height:28px!important;padding:0!important;margin:0 0 4px!important}
 html[data-bb-theme] body #bb-match-results :is(.bb-results-cards,.bb-results-foot){grid-column:1/-1}
}
@media(max-width:767px){
 html[data-bb-theme] body #bb-match-results{padding-top:14px!important}
 html[data-bb-theme] body html[data-bb-theme] body #bb-match-results>.bb-sports-heading{margin-bottom:8px!important}
 html[data-bb-theme] body #bb-match-results .bb-sports-heading h1{font-size:27px!important;line-height:1.15!important;margin:0!important}
 html[data-bb-theme] body #bb-match-results .bb-results-toolbar{padding:0!important;margin:0 0 8px!important;gap:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:44px!important}
 html[data-bb-theme] body #bb-match-results .bb-results-day{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 52px!important;align-items:center!important;gap:6px!important;width:100%!important}
 html[data-bb-theme] body #bb-match-results .bb-results-day>button,html[data-bb-theme] body #bb-match-results .bb-day-picker{height:44px!important;min-height:44px!important;margin:0!important;padding:6px!important;font-size:13px!important;border-radius:11px!important}
 html[data-bb-theme] body #bb-match-results #bb-date-display{font-size:13px!important;line-height:1.4!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections{padding:4px!important;gap:4px!important;margin:0 0 8px!important;border-radius:14px!important;min-height:0!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;height:42px!important;padding:7px 6px!important;font-size:12px!important;border-radius:10px!important;line-height:1.2!important;gap:4px!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button :is(.bb-phase-icon,.bb-phase-count){font-size:11px!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button .bb-phase-label{font-size:12px!important;white-space:normal!important}
 html[data-bb-theme] body #bb-match-results .bb-match-sections button>span{margin:0!important}
 html[data-bb-theme] body #bb-match-results .bb-results-meta{min-height:44px!important;margin:0 0 10px!important;padding:5px 0!important;display:flex!important;align-items:center!important;gap:8px!important}
 html[data-bb-theme] body #bb-match-results .bb-results-status{font-size:11px!important;line-height:1.5!important;margin:0!important}
 html[data-bb-theme] body #bb-match-results .bb-results-zone{display:none!important}
 html[data-bb-theme] body #bb-match-results .bb-match-utilities{margin:0 0 0 8px!important}
 html[data-bb-theme] body #bb-match-results #bb-alert-settings-open{min-height:44px!important;height:44px!important;padding:8px 10px!important;font-size:12px!important}
 html[data-bb-theme] body.bb-mobile-view #bb-match-results .bb-match-card .bb-match-scoreline{padding:16px 10px!important;grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr)!important;gap:7px!important}
 html[data-bb-theme] body.bb-mobile-view #bb-match-results .bb-match-card .bb-match-team strong{font-size:13px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:auto}
}
@media(max-width:360px){html[data-bb-theme] body #bb-match-results .bb-phase-icon{display:none!important}}
/* A calm, three-part learning path. Difficulty comes from the decision, not the chrome. */
.ac-lesson-steps{position:sticky;top:var(--bb-shell-height,180px);z-index:12;background:var(--ac-bg);padding-block:8px!important;gap:7px!important}
.ac-lesson-steps a{flex:1 1 0!important;justify-content:center!important;min-width:0!important;white-space:normal!important;text-align:center!important}
.ac-lesson-stage{padding:26px!important;border:1px solid var(--ac-line);border-radius:21px;margin-bottom:20px;background:var(--ac-panel)}
.ac-lesson-stage>h2{font-size:26px;margin-bottom:16px}
.ac-lesson-stage .ac-stage-intro{font-size:15px;line-height:1.85;max-width:68ch}
.ac-lesson-stage .ac-case-scene{margin:20px 0}
.ac-concept-film{margin-top:20px;border-top:1px solid var(--ac-line);padding-top:14px}
.ac-concept-film>summary,.ac-recap>summary{cursor:pointer;min-height:44px;font-weight:700;color:var(--ac-blue);padding-block:10px}
.ac-check-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--ac-line);font-size:12px;font-weight:700;color:var(--ac-muted)}
.ac-check-progress progress{width:90px;height:6px;accent-color:var(--ac-blue)}
.ac-check-case{font-size:14px;line-height:1.8;padding:16px;border-radius:14px;background:var(--ac-soft);color:var(--ac-ink);margin-bottom:20px}
.ac-check-question{font-size:18px;font-weight:750;line-height:1.5;color:var(--ac-ink);margin-bottom:18px}
.ac-check-question,.ac-check-finish{scroll-margin-top:calc(var(--bb-shell-height,180px) + 92px)}
.ac-check-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
.ac-check-actions .ac-check{flex:1;min-height:48px;background:var(--ac-blue);color:#fff;font-weight:750}
html[data-bb-theme=dark] .ac-check-actions .ac-check{background:#1968d2;color:#fff}
.ac-coach-hint{border-inline-start:3px solid var(--ac-blue);padding:14px 16px;background:var(--ac-soft);color:var(--ac-ink);font-size:14px;line-height:1.8;margin-top:14px}
.ac-check-feedback{min-height:28px;padding-top:14px;font-size:14px;line-height:1.8;color:var(--ac-muted)}
.ac-check-feedback.is-correct{color:#176244}
html[data-bb-theme=dark] .ac-check-feedback.is-correct{color:#83dfb4}
.ac-check-finish{padding:20px;background:var(--ac-soft);border:1px solid var(--ac-line);border-radius:17px}
.ac-check-finish h3{margin:8px 0 12px;font-size:23px;color:var(--ac-ink)}
.ac-check-finish p{color:var(--ac-muted);font-size:15px;line-height:1.85}
.ac-check-finish .ac-lesson-stamp{font-size:12px;font-weight:800;color:var(--ac-blue)}
.ac-recap{margin-top:16px;border-top:1px solid var(--ac-line);padding-top:10px}
.ac-note-status{font-size:12px!important}
@media(max-width:767px){
 .ac-lesson-stage{padding:20px!important;border-radius:18px;margin-bottom:16px}
 .ac-lesson-stage>h2{font-size:23px!important}
 .ac-lesson-steps{gap:5px!important;margin-bottom:12px!important}
 .ac-lesson-steps a{padding:8px 5px!important;font-size:12px!important;gap:5px!important}
 .ac-check-question{font-size:17px}
 .ac-check-case{padding:14px;font-size:14px}
 .ac-check-actions button{font-size:13px!important}
}

/* Keep club colours; avoid stacking live backdrop filters over each card. */
/* Desktop follows the same light/dark surface system as the mobile experience. */
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero{background:radial-gradient(ellipse at 85% 15%,#d8eaff,transparent 58%),linear-gradient(125deg,#fff,#edf5ff)!important;border-color:#c6d9f0!important;box-shadow:0 14px 40px #254e7c0c!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero #bbx-title{color:#14243b!important;-webkit-text-fill-color:#14243b!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero #bbx-title span{color:#0962d9!important;-webkit-text-fill-color:#0962d9!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-eyebrow{color:#175aa9!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-welcome-copy>.v22-brand-line{color:#175aa9!important;-webkit-text-fill-color:#175aa9!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-welcome-copy>.bw-hero-description{color:#425977!important;-webkit-text-fill-color:#425977!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-secondary{color:#1458a7!important;background:#ffffffd9!important;border-color:#b3cce9!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .v22-hero-links a{color:#345e8a!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .v22-hero-links a:hover{color:#084eaf!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-welcome-art{background:radial-gradient(ellipse at 60% 40%,#97c5ff35,transparent 70%)!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-art-player{border-color:#a6c4e7;box-shadow:0 16px 28px #244f7e25;filter:none}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-art-number{color:#095dcb;opacity:.08}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-art-caption{background:#ffffffed!important;border-color:#c6d9f0!important;color:#14243b!important;box-shadow:0 6px 22px #244f7e10!important;backdrop-filter:none}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-hero .bw-art-caption span{color:#526780!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-rivalry{background:radial-gradient(ellipse at 85% 75%,#f2d99455,transparent 65%),#fffcf3!important;border-color:#d9c28d!important;color:#302816!important}
html[data-bb-theme=light] body.bb-revolution #bbx-home .v22-rivalry :is(.v22-bento-kicker,.v22-bento-action,.v22-rivalry-art b){color:#815a10!important}
html[data-bb-theme=light] body #player-modal #bb-profile-close{background:#edf3fc!important;color:#243f65!important;border:1px solid #bdcfe8!important;box-shadow:none!important}
html[data-bb-theme=dark] body #player-modal #bb-profile-close{background:#182b43!important;color:#edf4ff!important;border:1px solid #4a6485!important;box-shadow:none!important}
html[data-bb-theme] body #player-modal #bb-profile-close svg{stroke:currentColor!important}
@media(min-width:768px){
 html[data-bb-theme] body.bb-revolution div#category-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:0!important;overflow:visible!important;min-width:0!important}
 html[data-bb-theme] body.bb-revolution div#category-nav>:is(button,a,details){flex:0 0 auto!important;margin-block:0!important;white-space:nowrap!important}
 html[data-bb-theme] body.bb-revolution div#category-nav>:is(button,a),html[data-bb-theme] body.bb-revolution div#category-nav summary{font-size:clamp(11px,.9vw,12px)!important;padding-inline:clamp(6px,.7vw,11px)!important;letter-spacing:0!important}
 html[data-bb-theme] body.bb-revolution div#category-nav>.bbx-desktop-more{margin-inline-start:auto!important}
}
@media(min-width:768px) and (max-width:1100px){html[data-bb-theme] body.bb-revolution div#category-nav>#v2-install-desktop{display:none!important}}
html[data-bb-theme] #bb-match-results :is(.bb-match-star,.bb-match-phase-filters button,.bb-goal-alert-actions button){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(hover:none),(pointer:coarse){html[data-bb-theme] #bb-match-results .bb-match-card{transform:none!important;transition:border-color .15s ease!important}html[data-bb-theme] #bb-match-results .bb-match-card .bb-match-star{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}


/* /web-assets/arena.css */
.bba-entry{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem;background:linear-gradient(120deg,#10254a,#17395b);color:#fff;border:1px solid #4999ff;border-radius:24px;text-align:start}.bba-entry small{color:#79dcff;letter-spacing:.12em}.bba-entry h3{color:#fff;margin:.4rem 0;font-size:1.6rem}.bba-entry p{color:#cad9ee}.bba-entry button,#bb-arena button{font:inherit;cursor:pointer;border:1px solid var(--bba-line,#3c5780);border-radius:14px;padding:.8rem 1.1rem;min-height:48px;background:var(--bba-panel,#18325a);color:var(--bba-text,#f4f7ff);font-weight:650}.bba-entry button{background:#428cff;color:white;flex-shrink:0}
#bb-arena{--bba-bg:#080f20;--bba-panel:#15233e;--bba-line:#354968;--bba-text:#f2f6ff;--bba-muted:#b5c5df;--bba-accent:#6eb8ff;width:min(1240px,96vw);max-width:96vw;height:92dvh;max-height:94dvh;border:1px solid var(--bba-line);border-radius:28px;padding:0;background:var(--bba-bg);color:var(--bba-text);font:1rem/1.5 system-ui,sans-serif;overscroll-behavior:contain;color-scheme:dark}#bb-arena[data-mode=light]{--bba-bg:#f1f5ff;--bba-panel:#fff;--bba-line:#b9c9e2;--bba-text:#142541;--bba-muted:#4c607d;--bba-accent:#135bce;color-scheme:light}#bb-arena::backdrop{background:#020917bb;backdrop-filter:blur(10px)}#bb-arena *{box-sizing:border-box}#bb-arena h2,#bb-arena h3,#bb-arena strong{color:var(--bba-text)}#bb-arena h2{font-size:clamp(2rem,5vw,4rem);line-height:1.06;letter-spacing:-.045em;margin:.7rem 0}#bb-arena h3{font-size:1.45rem}#bb-arena p{color:var(--bba-muted)}#bb-arena small{font-size:.85rem}#bb-arena button:focus-visible,#bb-arena input:focus-visible,#bb-arena select:focus-visible{outline:3px solid var(--bba-accent);outline-offset:3px}#bb-arena button:hover:not(:disabled){border-color:var(--bba-accent);filter:brightness(1.12)}#bb-arena button:disabled{opacity:.55;cursor:not-allowed}#bb-arena .bba-primary{background:#2469f3;color:white;border-color:#3984ff}#bb-arena .bba-top{position:sticky;top:0;background:var(--bba-bg);z-index:3;display:flex;gap:.6rem;align-items:center;padding:1rem 1.4rem;border-bottom:1px solid var(--bba-line)}#bb-arena .bba-top strong{margin-inline-end:auto}#bb-arena .bba-body{padding:clamp(1rem,3vw,2.5rem)}#bb-arena .bba-hero{background:radial-gradient(ellipse at 95% 0,#3886e14a,transparent 65%);padding:1.4rem;border-radius:24px;border:1px solid var(--bba-line)}#bb-arena .bba-kicker{letter-spacing:.14em;font-weight:750;color:var(--bba-accent)}#bb-arena .bba-tags{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.2rem 0}#bb-arena .bba-tags button[aria-pressed=true]{background:#2469f3;color:#fff}#bb-arena .bba-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}#bb-arena .bba-cover{background:var(--bba-panel);border:1px solid var(--bba-line);border-radius:22px;padding:1.1rem;display:flex;flex-direction:column;text-align:start}#bb-arena .bba-art{height:150px;border-radius:16px;display:grid;place-items:center;font-size:4.5rem;overflow:hidden;background:radial-gradient(circle at 30% 30%,var(--cover),transparent 70%),linear-gradient(145deg,#131c36,#08101c);color:white;position:relative}#bb-arena .bba-art:after{content:'';position:absolute;width:160px;height:160px;border:2px solid #ffffff44;border-radius:50%;transform:translate(85px,35px)}#bb-arena .bba-cover h3{margin:.8rem 0 .3rem}#bb-arena .bba-cover button{margin-top:auto}#bb-arena .bba-form{display:flex;gap:.7rem;flex-wrap:wrap;align-items:end;margin:1rem 0}#bb-arena label{display:flex;flex-direction:column;gap:.4rem;flex:1;min-width:140px;color:var(--bba-text)}#bb-arena input,#bb-arena select{width:100%;font:inherit;min-height:48px;border:1px solid var(--bba-line);border-radius:12px;padding:.8rem;background:var(--bba-panel);color:var(--bba-text)}#bb-arena .bba-notice{padding:.8rem 1rem;border:1px solid var(--bba-line);border-radius:14px;margin:1rem 0;color:var(--bba-muted)}#bb-arena .bba-status{padding:0 1.5rem;color:var(--bba-accent);min-height:1.5em}#bb-arena .bba-roomhead{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:space-between}#bb-arena .bba-scoreboard{display:flex;gap:.7rem;overflow:auto;margin:1rem 0;padding-bottom:.5rem}#bb-arena .bba-seat{min-width:130px;border:1px solid var(--bba-line);border-radius:16px;padding:.8rem;background:var(--bba-panel)}#bb-arena .bba-seat b{display:block;font-size:1.8rem;font-variant-numeric:tabular-nums}#bb-arena .bba-clock{font-size:2rem;font-variant-numeric:tabular-nums;color:var(--bba-accent);font-weight:800}#bb-arena .bba-stage{border:1px solid var(--bba-line);border-radius:22px;padding:clamp(1rem,3vw,2rem);background:var(--bba-panel);min-height:240px}#bb-arena .bba-options{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}#bb-arena .bba-options button{text-align:start;padding:1.2rem}#bb-arena .bba-role{font-size:1.6rem;border:1px dashed var(--bba-accent);padding:1rem;border-radius:16px}#bb-arena a{color:var(--bba-accent)}#bb-arena details{margin:1rem 0}#bb-arena .bba-wordbank{display:flex;flex-wrap:wrap;gap:.5rem}#bb-arena .bba-result{animation:bba-in .25s ease-out}#bb-arena .bba-result h3{font-size:2.3rem}#bb-arena .bba-future{margin-top:2rem}#bb-arena .bba-roadmap{display:flex;gap:.5rem;flex-wrap:wrap}#bb-arena .bba-roadmap span{padding:.5rem;border:1px solid var(--bba-line);border-radius:10px;color:var(--bba-muted)}@keyframes bba-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}#bb-arena[data-motion=off] *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){#bb-arena *{animation:none!important;transition:none!important}}@media(max-width:700px){.bba-entry{flex-direction:column;align-items:stretch}#bb-arena{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#bb-arena .bba-grid{grid-template-columns:1fr}#bb-arena .bba-top{flex-wrap:wrap;padding:.7rem}#bb-arena .bba-top button{padding:.5rem .7rem}#bb-arena .bba-options{grid-template-columns:1fr}#bb-arena .bba-art{height:120px}} 
/* Isolate Arena from the legacy site's global dialog theme rules. */
html body dialog#bb-arena{background:var(--bba-bg)!important;color:var(--bba-text)!important}html body #bb-arena .bba-top,html body #bb-arena .bba-body{background:var(--bba-bg)!important}html body #bb-arena h2,html body #bb-arena h3{color:var(--bba-text)!important}html body #bb-arena .bba-cover,html body #bb-arena .bba-stage,html body #bb-arena .bba-seat{background:var(--bba-panel)!important;color:var(--bba-text)!important}html body #bb-arena button{color:var(--bba-text)!important}html body #bb-arena .bba-primary{color:#fff!important}

#bb-arena meter{display:block;width:100%;height:36px;margin:1rem 0}#bb-arena .bba-shot{position:relative;height:130px;background:repeating-linear-gradient(90deg,#1b6a5f 0 40px,#195b53 40px 80px);border:2px solid #d4f0ed;border-radius:14px;overflow:hidden}#bb-arena [data-shot-target]{position:absolute;top:30px;font-size:2.5rem;color:#fff;transform:translateX(-50%)}
.bba-collections{display:flex;gap:.5rem;flex-wrap:wrap;grid-column:1/-1;padding:.3rem 0 1rem}.bba-collections button{font:inherit;font-size:1rem;min-height:44px;border:1px solid #5481ba;color:#fff;background:#163259;padding:.6rem .8rem;border-radius:30px;cursor:pointer}.bba-collections button:focus-visible{outline:3px solid #5ba3ff;outline-offset:3px}
html[data-bb-theme=light] .bba-collections button{background:#e4eeff;border-color:#b3cae9;color:#193d76}
html body #bb-arena .bba-top{min-height:0!important;margin:0!important;flex-wrap:nowrap;gap:.4rem}#bb-arena .bba-top button{min-width:44px;padding:.6rem;font-size:1.25rem}#bb-arena .bba-top strong{white-space:nowrap;font-size:1rem}#bb-arena .bba-status:empty{display:none}
html body #bb-arena input,html body #bb-arena select{background:var(--bba-panel)!important;color:var(--bba-text)!important;border-color:var(--bba-line)!important}

/* New cards use the original arcade cover styles, not a second card design. */
.bba-game-card{display:contents!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections{display:flex!important;grid-column:1/-1!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:0 0 12px!important;margin:0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:38px!important;height:auto!important;padding:8px 13px!important;margin:0!important;border:1px solid var(--arc-line)!important;border-radius:999px!important;background:var(--arc-panel)!important;color:var(--arc-ink)!important;-webkit-text-fill-color:var(--arc-ink)!important;font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap!important;box-shadow:none!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button::before,html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button::after{content:none!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button:hover{border-color:var(--arc-blue)!important;color:var(--arc-blue)!important;-webkit-text-fill-color:var(--arc-blue)!important}
/* Guided setup: one decision and one form at a time. */
html body #bb-arena [hidden]{display:none!important}html body #bb-arena .bba-compact{padding:1rem 1.25rem;margin-bottom:1rem}html body #bb-arena .bba-compact h2{font-size:clamp(1.7rem,4vw,2.6rem)!important;line-height:1.15;margin:.35rem 0}html body #bb-arena .bba-compact p{margin:.4rem 0}#bb-arena .bba-setup{padding:1.1rem;border:1px solid var(--bba-line);border-radius:20px;background:var(--bba-panel)}#bb-arena .bba-steps{padding-inline-start:1.5rem;display:grid;gap:.6rem}#bb-arena .bba-hint{color:var(--bba-muted);font-size:.95rem}#bb-arena .bba-choice{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}html body #bb-arena .bba-choice [aria-pressed=true]{background:#2563eb!important;color:#fff!important;border-color:#2563eb}#bb-arena .bba-how{padding:.85rem 1rem;border:1px solid var(--bba-line);border-radius:16px;background:var(--bba-panel)}#bb-arena summary{cursor:pointer;font-weight:700}#bb-arena .bba-invite-box{text-align:center}#bb-arena .bba-big-code{display:block;font-size:clamp(1.6rem,6vw,3rem);font-family:ui-monospace,monospace;letter-spacing:.12em;overflow-wrap:anywhere;color:var(--bba-accent);padding:.7rem 0}#bb-arena .bba-invite-box .bba-tags{justify-content:center}#bb-arena button:disabled{opacity:.6;cursor:wait}#bb-arena input[name=code]{text-transform:uppercase;font-family:ui-monospace,monospace;letter-spacing:.12em}#bb-arena .bba-top{gap:.5rem}#bb-arena .bba-top strong{margin-inline-end:auto}#bb-arena .bba-form{align-items:end}#bb-arena .bba-form button{flex-shrink:0}#bb-arena .bba-setup h3{font-size:1.25rem!important;margin:.7rem 0}#bb-arena .bba-status:empty{display:none}@media(max-width:600px){#bb-arena .bba-form{display:grid;grid-template-columns:1fr}#bb-arena .bba-form label{min-width:0}#bb-arena .bba-choice button{padding:.7rem .5rem;font-size:.95rem}#bb-arena .bba-body{padding:1rem!important}}
.bba-solo-help{padding:1rem;margin:1rem 0;border:1px solid #8caacb;border-radius:16px;font-size:1rem;line-height:1.6}.bba-solo-help summary{cursor:pointer;font-weight:700}
html body #bb-arena .bba-steps{list-style:decimal!important}html body #bb-arena .bba-steps li{display:list-item!important;list-style:decimal!important}html body #bb-arena .bba-steps li::marker{color:var(--bba-accent);font-weight:800}

/* /web-assets/arena.css */
.bba-entry{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem;background:linear-gradient(120deg,#10254a,#17395b);color:#fff;border:1px solid #4999ff;border-radius:24px;text-align:start}.bba-entry small{color:#79dcff;letter-spacing:.12em}.bba-entry h3{color:#fff;margin:.4rem 0;font-size:1.6rem}.bba-entry p{color:#cad9ee}.bba-entry button,#bb-arena button{font:inherit;cursor:pointer;border:1px solid var(--bba-line,#3c5780);border-radius:14px;padding:.8rem 1.1rem;min-height:48px;background:var(--bba-panel,#18325a);color:var(--bba-text,#f4f7ff);font-weight:650}.bba-entry button{background:#428cff;color:white;flex-shrink:0}
#bb-arena{--bba-bg:#080f20;--bba-panel:#15233e;--bba-line:#354968;--bba-text:#f2f6ff;--bba-muted:#b5c5df;--bba-accent:#6eb8ff;width:min(1240px,96vw);max-width:96vw;height:92dvh;max-height:94dvh;border:1px solid var(--bba-line);border-radius:28px;padding:0;background:var(--bba-bg);color:var(--bba-text);font:1rem/1.5 system-ui,sans-serif;overscroll-behavior:contain;color-scheme:dark}#bb-arena[data-mode=light]{--bba-bg:#f1f5ff;--bba-panel:#fff;--bba-line:#b9c9e2;--bba-text:#142541;--bba-muted:#4c607d;--bba-accent:#135bce;color-scheme:light}#bb-arena::backdrop{background:#020917bb;backdrop-filter:blur(10px)}#bb-arena *{box-sizing:border-box}#bb-arena h2,#bb-arena h3,#bb-arena strong{color:var(--bba-text)}#bb-arena h2{font-size:clamp(2rem,5vw,4rem);line-height:1.06;letter-spacing:-.045em;margin:.7rem 0}#bb-arena h3{font-size:1.45rem}#bb-arena p{color:var(--bba-muted)}#bb-arena small{font-size:.85rem}#bb-arena button:focus-visible,#bb-arena input:focus-visible,#bb-arena select:focus-visible{outline:3px solid var(--bba-accent);outline-offset:3px}#bb-arena button:hover:not(:disabled){border-color:var(--bba-accent);filter:brightness(1.12)}#bb-arena button:disabled{opacity:.55;cursor:not-allowed}#bb-arena .bba-primary{background:#2469f3;color:white;border-color:#3984ff}#bb-arena .bba-top{position:sticky;top:0;background:var(--bba-bg);z-index:3;display:flex;gap:.6rem;align-items:center;padding:1rem 1.4rem;border-bottom:1px solid var(--bba-line)}#bb-arena .bba-top strong{margin-inline-end:auto}#bb-arena .bba-body{padding:clamp(1rem,3vw,2.5rem)}#bb-arena .bba-hero{background:radial-gradient(ellipse at 95% 0,#3886e14a,transparent 65%);padding:1.4rem;border-radius:24px;border:1px solid var(--bba-line)}#bb-arena .bba-kicker{letter-spacing:.14em;font-weight:750;color:var(--bba-accent)}#bb-arena .bba-tags{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.2rem 0}#bb-arena .bba-tags button[aria-pressed=true]{background:#2469f3;color:#fff}#bb-arena .bba-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}#bb-arena .bba-cover{background:var(--bba-panel);border:1px solid var(--bba-line);border-radius:22px;padding:1.1rem;display:flex;flex-direction:column;text-align:start}#bb-arena .bba-art{height:150px;border-radius:16px;display:grid;place-items:center;font-size:4.5rem;overflow:hidden;background:radial-gradient(circle at 30% 30%,var(--cover),transparent 70%),linear-gradient(145deg,#131c36,#08101c);color:white;position:relative}#bb-arena .bba-art:after{content:'';position:absolute;width:160px;height:160px;border:2px solid #ffffff44;border-radius:50%;transform:translate(85px,35px)}#bb-arena .bba-cover h3{margin:.8rem 0 .3rem}#bb-arena .bba-cover button{margin-top:auto}#bb-arena .bba-form{display:flex;gap:.7rem;flex-wrap:wrap;align-items:end;margin:1rem 0}#bb-arena label{display:flex;flex-direction:column;gap:.4rem;flex:1;min-width:140px;color:var(--bba-text)}#bb-arena input,#bb-arena select{width:100%;font:inherit;min-height:48px;border:1px solid var(--bba-line);border-radius:12px;padding:.8rem;background:var(--bba-panel);color:var(--bba-text)}#bb-arena .bba-notice{padding:.8rem 1rem;border:1px solid var(--bba-line);border-radius:14px;margin:1rem 0;color:var(--bba-muted)}#bb-arena .bba-status{padding:0 1.5rem;color:var(--bba-accent);min-height:1.5em}#bb-arena .bba-roomhead{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:space-between}#bb-arena .bba-scoreboard{display:flex;gap:.7rem;overflow:auto;margin:1rem 0;padding-bottom:.5rem}#bb-arena .bba-seat{min-width:130px;border:1px solid var(--bba-line);border-radius:16px;padding:.8rem;background:var(--bba-panel)}#bb-arena .bba-seat b{display:block;font-size:1.8rem;font-variant-numeric:tabular-nums}#bb-arena .bba-clock{font-size:2rem;font-variant-numeric:tabular-nums;color:var(--bba-accent);font-weight:800}#bb-arena .bba-stage{border:1px solid var(--bba-line);border-radius:22px;padding:clamp(1rem,3vw,2rem);background:var(--bba-panel);min-height:240px}#bb-arena .bba-options{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}#bb-arena .bba-options button{text-align:start;padding:1.2rem}#bb-arena .bba-role{font-size:1.6rem;border:1px dashed var(--bba-accent);padding:1rem;border-radius:16px}#bb-arena a{color:var(--bba-accent)}#bb-arena details{margin:1rem 0}#bb-arena .bba-wordbank{display:flex;flex-wrap:wrap;gap:.5rem}#bb-arena .bba-result{animation:bba-in .25s ease-out}#bb-arena .bba-result h3{font-size:2.3rem}#bb-arena .bba-future{margin-top:2rem}#bb-arena .bba-roadmap{display:flex;gap:.5rem;flex-wrap:wrap}#bb-arena .bba-roadmap span{padding:.5rem;border:1px solid var(--bba-line);border-radius:10px;color:var(--bba-muted)}@keyframes bba-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}#bb-arena[data-motion=off] *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){#bb-arena *{animation:none!important;transition:none!important}}@media(max-width:700px){.bba-entry{flex-direction:column;align-items:stretch}#bb-arena{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#bb-arena .bba-grid{grid-template-columns:1fr}#bb-arena .bba-top{flex-wrap:wrap;padding:.7rem}#bb-arena .bba-top button{padding:.5rem .7rem}#bb-arena .bba-options{grid-template-columns:1fr}#bb-arena .bba-art{height:120px}} 
/* Isolate Arena from the legacy site's global dialog theme rules. */
html body dialog#bb-arena{background:var(--bba-bg)!important;color:var(--bba-text)!important}html body #bb-arena .bba-top,html body #bb-arena .bba-body{background:var(--bba-bg)!important}html body #bb-arena h2,html body #bb-arena h3{color:var(--bba-text)!important}html body #bb-arena .bba-cover,html body #bb-arena .bba-stage,html body #bb-arena .bba-seat{background:var(--bba-panel)!important;color:var(--bba-text)!important}html body #bb-arena button{color:var(--bba-text)!important}html body #bb-arena .bba-primary{color:#fff!important}

#bb-arena meter{display:block;width:100%;height:36px;margin:1rem 0}#bb-arena .bba-shot{position:relative;height:130px;background:repeating-linear-gradient(90deg,#1b6a5f 0 40px,#195b53 40px 80px);border:2px solid #d4f0ed;border-radius:14px;overflow:hidden}#bb-arena [data-shot-target]{position:absolute;top:30px;font-size:2.5rem;color:#fff;transform:translateX(-50%)}
.bba-collections{display:flex;gap:.5rem;flex-wrap:wrap;grid-column:1/-1;padding:.3rem 0 1rem}.bba-collections button{font:inherit;font-size:1rem;min-height:44px;border:1px solid #5481ba;color:#fff;background:#163259;padding:.6rem .8rem;border-radius:30px;cursor:pointer}.bba-collections button:focus-visible{outline:3px solid #5ba3ff;outline-offset:3px}
html[data-bb-theme=light] .bba-collections button{background:#e4eeff;border-color:#b3cae9;color:#193d76}
html body #bb-arena .bba-top{min-height:0!important;margin:0!important;flex-wrap:nowrap;gap:.4rem}#bb-arena .bba-top button{min-width:44px;padding:.6rem;font-size:1.25rem}#bb-arena .bba-top strong{white-space:nowrap;font-size:1rem}#bb-arena .bba-status:empty{display:none}
html body #bb-arena input,html body #bb-arena select{background:var(--bba-panel)!important;color:var(--bba-text)!important;border-color:var(--bba-line)!important}

/* New cards use the original arcade cover styles, not a second card design. */
.bba-game-card{display:contents!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections{display:flex!important;grid-column:1/-1!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:0 0 12px!important;margin:0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:38px!important;height:auto!important;padding:8px 13px!important;margin:0!important;border:1px solid var(--arc-line)!important;border-radius:999px!important;background:var(--arc-panel)!important;color:var(--arc-ink)!important;-webkit-text-fill-color:var(--arc-ink)!important;font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap!important;box-shadow:none!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button::before,html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button::after{content:none!important}
html[data-bb-theme] body.bb-arcade-ready :is(#bb-games-featured,#bb-mobile-games-hub) .bba-collections button:hover{border-color:var(--arc-blue)!important;color:var(--arc-blue)!important;-webkit-text-fill-color:var(--arc-blue)!important}
/* Guided setup: one decision and one form at a time. */
html body #bb-arena [hidden]{display:none!important}html body #bb-arena .bba-compact{padding:1rem 1.25rem;margin-bottom:1rem}html body #bb-arena .bba-compact h2{font-size:clamp(1.7rem,4vw,2.6rem)!important;line-height:1.15;margin:.35rem 0}html body #bb-arena .bba-compact p{margin:.4rem 0}#bb-arena .bba-setup{padding:1.1rem;border:1px solid var(--bba-line);border-radius:20px;background:var(--bba-panel)}#bb-arena .bba-steps{padding-inline-start:1.5rem;display:grid;gap:.6rem}#bb-arena .bba-hint{color:var(--bba-muted);font-size:.95rem}#bb-arena .bba-choice{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}html body #bb-arena .bba-choice [aria-pressed=true]{background:#2563eb!important;color:#fff!important;border-color:#2563eb}#bb-arena .bba-how{padding:.85rem 1rem;border:1px solid var(--bba-line);border-radius:16px;background:var(--bba-panel)}#bb-arena summary{cursor:pointer;font-weight:700}#bb-arena .bba-invite-box{text-align:center}#bb-arena .bba-big-code{display:block;font-size:clamp(1.6rem,6vw,3rem);font-family:ui-monospace,monospace;letter-spacing:.12em;overflow-wrap:anywhere;color:var(--bba-accent);padding:.7rem 0}#bb-arena .bba-invite-box .bba-tags{justify-content:center}#bb-arena button:disabled{opacity:.6;cursor:wait}#bb-arena input[name=code]{text-transform:uppercase;font-family:ui-monospace,monospace;letter-spacing:.12em}#bb-arena .bba-top{gap:.5rem}#bb-arena .bba-top strong{margin-inline-end:auto}#bb-arena .bba-form{align-items:end}#bb-arena .bba-form button{flex-shrink:0}#bb-arena .bba-setup h3{font-size:1.25rem!important;margin:.7rem 0}#bb-arena .bba-status:empty{display:none}@media(max-width:600px){#bb-arena .bba-form{display:grid;grid-template-columns:1fr}#bb-arena .bba-form label{min-width:0}#bb-arena .bba-choice button{padding:.7rem .5rem;font-size:.95rem}#bb-arena .bba-body{padding:1rem!important}}
.bba-solo-help{padding:1rem;margin:1rem 0;border:1px solid #8caacb;border-radius:16px;font-size:1rem;line-height:1.6}.bba-solo-help summary{cursor:pointer;font-weight:700}
html body #bb-arena .bba-steps{list-style:decimal!important}html body #bb-arena .bba-steps li{display:list-item!important;list-style:decimal!important}html body #bb-arena .bba-steps li::marker{color:var(--bba-accent);font-weight:800}
