/* /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/founder.css */
/* Founder portfolio. These styles are scoped; the rest of BallerBase is untouched. */
.fg-page{--fg-bg:#f6f8fc;--fg-panel:#fff;--fg-ink:#14243b;--fg-muted:#53667f;--fg-line:#dce4ef;--fg-blue:#075bd8;--fg-soft:#eaf2ff;--fg-glass:rgba(255,255,255,.88);margin:0;background:var(--fg-bg);color:var(--fg-ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[data-bb-theme=dark] .fg-page{--fg-bg:#0a1321;--fg-panel:#111f32;--fg-ink:#f2f6ff;--fg-muted:#b0c0d5;--fg-line:#2b405b;--fg-blue:#88bbff;--fg-soft:#193354;--fg-glass:rgba(14,27,46,.9)}
.fg-page *{box-sizing:border-box}.fg-page a{color:inherit;text-underline-offset:4px}.fg-page button,.fg-page input{font:inherit}.fg-page button{cursor:pointer;touch-action:manipulation}.fg-page :is(button,a):focus-visible{outline:3px solid var(--fg-blue);outline-offset:5px}.fg-page [hidden]{display:none!important}.fg-page .fg-blue{color:var(--fg-blue)}
.fg-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:24px;padding:18px max(24px,calc((100vw - 1240px)/2));background:var(--fg-glass);border-bottom:1px solid var(--fg-line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.fg-brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-inline-end:auto;font-size:24px;font-weight:850;line-height:1.1;letter-spacing:-.06em}.fg-brand img{width:42px;height:42px;object-fit:contain}.fg-brand>span>span{color:var(--fg-blue)}.fg-brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.015em;margin-top:7px;color:var(--fg-muted)}
.fg-header nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:650}.fg-header nav a{text-decoration:none;min-height:44px;display:flex;align-items:center}.fg-header .fg-journal-link{color:var(--fg-blue)}
.fg-theme{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--fg-line);border-radius:14px;background:var(--fg-panel);color:var(--fg-ink);min-height:44px;padding:10px 13px;font-size:12px!important;font-weight:650!important;white-space:nowrap}.fg-theme svg{flex:none}.fg-header .bb-language-switch{margin:0!important;min-height:44px;font-size:12px;padding:8px 12px;border:1px solid var(--fg-line);border-radius:14px;background:var(--fg-panel);color:var(--fg-ink)}
.fg-main{max-width:1240px;margin:auto;padding:50px 24px 0}.fg-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(36px,6vw,88px);align-items:center;padding:16px 0 72px}.fg-intro{min-width:0}.fg-eyebrow{font-size:10px;letter-spacing:.17em;line-height:1.6;font-weight:800;color:var(--fg-blue);margin:0 0 22px}.fg-eyebrow>span{display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-inline-end:8px;vertical-align:middle}
.fg-page h1{font-size:clamp(40px,5.1vw,69px);font-weight:850;line-height:1.04;letter-spacing:-.065em;max-width:none;margin:0 0 22px;text-wrap:balance}.fg-role{font-size:15px;font-weight:750;margin:0 0 24px}.fg-bio{color:var(--fg-muted);font-size:15px;line-height:1.85;margin:0;max-width:580px}.fg-hero-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:30px 0 0}.fg-hero-links>a{font-size:12px;font-weight:700;text-decoration:none;min-height:46px;display:flex;align-items:center;gap:12px}
.fg-page .fg-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;padding:14px 18px;background:#075bd8;color:#fff;border:1px solid #287deb;border-radius:14px;text-decoration:none;font-size:12px;font-weight:750;min-height:48px;box-shadow:0 5px 20px #075bd814}.fg-primary>span{font-size:20px;line-height:1}.fg-signature{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--fg-line);padding-top:20px;margin-top:35px;color:var(--fg-muted);font-size:9px;letter-spacing:.12em;font-weight:700}
.fg-portrait{margin:0;position:relative;padding:10px;background:var(--fg-panel);border:1px solid var(--fg-line);border-radius:28px;box-shadow:0 18px 50px #0b234110;transform:rotate(1.5deg)}.fg-portrait img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:19px}.fg-portrait figcaption{display:flex;justify-content:space-between;padding:16px 8px 5px;font-size:9px;letter-spacing:.15em;font-weight:750;color:var(--fg-muted)}
.fg-gallery{padding:56px 0 64px;border-top:1px solid var(--fg-line);scroll-margin-top:110px}.fg-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.fg-section-heading .fg-eyebrow{margin-bottom:12px}.fg-page h2{font-size:clamp(30px,3.8vw,47px);line-height:1.12;letter-spacing:-.05em;margin:0;font-weight:800}.fg-section-heading p:last-child{font-size:14px;color:var(--fg-muted);margin:15px 0 0;max-width:560px}.fg-total{display:flex;align-items:baseline;gap:7px;color:var(--fg-muted);font-size:11px;white-space:nowrap}.fg-total strong{color:var(--fg-blue);font-size:40px;font-weight:800;letter-spacing:-.05em}
.fg-gallery-tools{margin:0 0 28px}.fg-filters{display:none;gap:8px;align-items:center;flex-wrap:wrap}.fg-gallery-ready .fg-filters{display:flex}.fg-filters button{border:1px solid var(--fg-line);background:var(--fg-panel);color:var(--fg-muted);padding:10px 14px;min-height:44px;border-radius:100px;font-size:11px;font-weight:700;white-space:nowrap;display:flex;align-items:center;gap:10px}.fg-filters button>span{font-size:9px;opacity:.75}.fg-filters button[aria-pressed=true]{background:var(--fg-ink);border-color:var(--fg-ink);color:var(--fg-bg);box-shadow:0 4px 12px #0a1a3010}.fg-count{display:block;font-size:10px;color:var(--fg-muted);padding-top:14px;font-variant-numeric:tabular-nums}
.fg-grid{columns:3;column-gap:22px}.fg-photo{display:inline-block;width:100%;break-inside:avoid;margin:0 0 22px;vertical-align:top;overflow:hidden;background:var(--fg-panel);border:1px solid var(--fg-line);border-radius:20px;box-shadow:0 6px 18px #0a234106}.fg-open{position:relative;display:block;overflow:hidden;background:var(--fg-soft);outline-offset:-5px!important}.fg-open img{display:block;width:100%;height:auto;transition:transform .4s cubic-bezier(.2,.65,.3,1)}.fg-expand{position:absolute;inset-inline-end:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff8a;background:#ffffffde;color:#15243b;border-radius:50%;font-size:20px;box-shadow:0 3px 10px #0002;transition:transform .25s}.fg-photo figcaption{padding:17px 18px 20px}.fg-photo-category{font-size:8px;letter-spacing:.1em;font-weight:750;text-transform:uppercase;color:var(--fg-blue)}.fg-photo p{font-size:13px;font-weight:650;line-height:1.55;margin:7px 0 0}.fg-photo figcaption :is(small,time){font-size:10px;color:var(--fg-muted);display:inline-block;margin:9px 10px 0 0}.fg-photo figcaption>a{display:block;font-size:11px;color:var(--fg-blue);margin-top:10px}
.fg-editorial-note{font-size:11px;line-height:1.7;color:var(--fg-muted);max-width:710px;margin:24px 0 0;border-inline-start:2px solid var(--fg-line);padding-inline-start:14px}.fg-outro{display:flex;justify-content:space-between;align-items:center;gap:24px;border:1px solid var(--fg-line);background:var(--fg-panel);border-radius:24px;padding:36px;margin-bottom:50px}.fg-outro .fg-eyebrow{margin-bottom:14px}.fg-outro h2{font-size:clamp(28px,3.5vw,42px)}.fg-footer{max-width:1240px;margin:auto;padding:25px 24px 35px;border-top:1px solid var(--fg-line);display:flex;gap:16px 24px;flex-wrap:wrap;font-size:11px;color:var(--fg-muted)}.fg-footer a{text-decoration:none}.fg-footer>span{margin-inline-start:auto}
/* Native modal dialog: focus containment and Escape work without a custom trap. */
.fg-page .fg-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;border:0;padding:0;margin:0;background:#07101cf5;color:#fff;overscroll-behavior:contain;overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);z-index:1000}.fg-viewer[open]{display:grid;animation:fg-open .18s ease-out}.fg-viewer::backdrop{background:#07101c}.fg-viewer-top{display:flex;align-items:center;justify-content:space-between;padding:16px max(20px,env(safe-area-inset-right));padding-top:max(16px,env(safe-area-inset-top));gap:20px}.fg-viewer-count{color:#bbcbe0;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.12em}
.fg-viewer button{background:#ffffff14;border:1px solid #ffffff38;color:#fff;width:46px;height:46px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:30px;line-height:1;touch-action:manipulation}.fg-viewer button:disabled{opacity:.3;cursor:default}.fg-viewer-stage{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:20px;min-height:0;padding:0 24px;touch-action:pan-y pinch-zoom}.fg-viewer-image{display:block;width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain;user-select:none;-webkit-user-select:none}.fg-viewer-bottom{text-align:center;padding:18px 24px max(20px,env(safe-area-inset-bottom));max-width:850px;width:100%;margin:auto}.fg-viewer-bottom>p:first-child{font-size:14px;line-height:1.5;font-weight:600;margin:0}.fg-viewer-help{color:#b1c4df;font-size:10px;margin:8px 0 0}.fg-viewer :is(button,a):focus-visible{outline:3px solid #9ac9ff}.fg-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fg-skip{position:absolute;top:-100px;left:20px;padding:10px 15px;background:var(--fg-panel);z-index:100}.fg-skip:focus{top:10px}
@keyframes fg-open{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}
@media(hover:hover) and (pointer:fine){.fg-open:hover img{transform:scale(1.025)}.fg-open:hover .fg-expand{transform:rotate(45deg)}.fg-filters button:hover{border-color:var(--fg-blue)}.fg-hero-links>a:hover,.fg-header nav a:hover{color:var(--fg-blue)}.fg-hero-links>.fg-primary:hover{color:#fff;background:#034cba}}
@media(max-width:1000px){.fg-header{gap:14px;padding:15px 24px}.fg-header nav{gap:16px}.fg-header .fg-journal-link{display:none}.fg-main{padding-top:30px}.fg-hero{gap:32px}.fg-page h1{font-size:clamp(38px,5.5vw,60px)}.fg-bio{font-size:14px}.fg-hero-links{gap:10px}.fg-grid{columns:2}.fg-signature{margin-top:25px}}
@media(max-width:700px){.fg-header{padding:12px 16px;gap:8px;flex-wrap:wrap}.fg-brand{font-size:21px}.fg-brand img{width:36px;height:36px}.fg-brand small{font-size:8px}.fg-header nav{order:4;width:100%;gap:20px;border-top:1px solid var(--fg-line);padding-top:4px;font-size:11px}.fg-header nav a{min-height:32px}.fg-header .fg-journal-link{display:flex;margin-inline-start:auto}.fg-theme{min-width:44px;padding:10px!important}.fg-theme>span{display:none}.fg-header .bb-language-switch{padding:9px!important;max-width:84px;overflow:hidden}.fg-main{padding:30px 16px 0}.fg-hero{grid-template-columns:1fr;padding:6px 0 42px;gap:30px}.fg-page h1{font-size:clamp(36px,10vw,58px);letter-spacing:-.06em;line-height:1.04;margin-bottom:18px}.fg-eyebrow{font-size:8px;margin-bottom:18px}.fg-role{font-size:13px;margin-bottom:18px}.fg-bio{font-size:14px;line-height:1.8}.fg-hero-links{margin-top:22px;gap:12px}.fg-hero-links>a{font-size:11px}.fg-signature{margin-top:24px;padding-top:16px;font-size:8px}.fg-portrait{max-width:480px;width:100%;margin:auto;transform:none;padding:8px;border-radius:22px}.fg-portrait img{border-radius:15px;max-height:580px}.fg-portrait figcaption{padding:14px 5px 6px;font-size:8px}.fg-gallery{padding:38px 0 40px;scroll-margin-top:145px}.fg-section-heading{align-items:center;gap:10px;margin-bottom:22px}.fg-section-heading h2{font-size:32px}.fg-section-heading p:last-child{font-size:12px;margin-top:12px}.fg-total{flex-direction:column;gap:0;line-height:1.4;font-size:8px;align-items:center}.fg-total strong{font-size:32px}.fg-filters{flex-wrap:nowrap;overflow-x:auto;padding:3px 3px 10px;margin-inline:-3px;scrollbar-width:thin}.fg-filters button{padding:9px 12px;font-size:10px;min-height:44px;flex:none}.fg-gallery-tools{margin-bottom:20px}.fg-count{font-size:9px;padding-top:4px}.fg-grid{column-gap:14px}.fg-photo{margin-bottom:14px;border-radius:16px}.fg-photo figcaption{padding:12px}.fg-photo-category{font-size:7px}.fg-photo p{font-size:11px}.fg-expand{width:32px;height:32px;bottom:10px;inset-inline-end:10px}.fg-outro{padding:24px;flex-direction:column;align-items:flex-start;gap:24px}.fg-outro .fg-eyebrow{font-size:8px}.fg-footer{padding:22px 16px 30px;gap:12px 20px;font-size:10px}.fg-footer>span{width:100%;margin:4px 0 0}.fg-viewer-stage{padding:0 10px;grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}.fg-viewer-stage button{width:30px;height:44px;border-radius:12px;font-size:26px}.fg-viewer-top{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top))}.fg-viewer-bottom{padding:16px 25px max(22px,env(safe-area-inset-bottom))}.fg-viewer-bottom>p:first-child{font-size:12px}}
@media(max-width:540px){.fg-grid{columns:1}.fg-photo figcaption{padding:17px 18px}.fg-photo p{font-size:13px}.fg-photo-category{font-size:8px}.fg-photo{margin-bottom:20px}.fg-expand{width:40px;height:40px}}
/* On phones, introduce the person visually before the longer biography. */
@media(max-width:700px){.fg-hero{grid-template-areas:"eyebrow" "name" "role" "portrait" "bio" "links" "signature";gap:20px}.fg-intro{display:contents}.fg-intro>.fg-eyebrow{grid-area:eyebrow;margin:0}.fg-intro>h1{grid-area:name;margin:0}.fg-intro>.fg-role{grid-area:role;margin:0}.fg-hero>.fg-portrait{grid-area:portrait;margin:4px auto 8px}.fg-intro>.fg-bio{grid-area:bio}.fg-intro>.fg-hero-links{grid-area:links;margin:0}.fg-intro>.fg-signature{grid-area:signature;margin:4px 0 0}.fg-viewer-image{-webkit-user-drag:none}}
.fg-viewer-count,.fg-viewer-stage{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .fg-page{letter-spacing:normal}html[dir=rtl] .fg-page h1{direction:ltr;text-align:right;unicode-bidi:isolate}html[dir=rtl] .fg-page h2{letter-spacing:normal;line-height:1.35}html[dir=rtl] .fg-header .fg-brand{direction:ltr}html[dir=rtl] .fg-page .fg-bio{line-height:1.95}
@media(prefers-reduced-motion:reduce){.fg-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
