/* Liquid Glass 3.0: one token system layered over the existing functional UI. */
:root{--p-bg:#eef3fa;--p-panel:#ffffffed;--p-raised:#f8faff;--p-ink:#14243b;--p-muted:#50627d;--p-line:#cbd8e9;--p-blue:#0862dc;--p-ice:#1459a6;--p-glow:#1677ff16;--p-gold:#855b09;--p-shadow:0 8px 30px #162f4d0b,0 1px 2px #132c4a08;--p-radius:22px;--p-radius-sm:13px;--p-space:clamp(16px,2.2vw,28px);--p-blur:14px;--p-fast:160ms;--p-move:260ms;--p-ease:cubic-bezier(.2,.7,.2,1);--p-sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
html[data-bb-theme=dark]{--p-bg:#080f1d;--p-panel:#111e31ed;--p-raised:#14243b;--p-ink:#edf4ff;--p-muted:#afc1da;--p-line:#2d4563;--p-blue:#1677ff;--p-ice:#9ecbff;--p-glow:#1677ff24;--p-gold:#f1cf7a;--p-shadow:0 12px 38px #0003,0 1px 0 #a7d5ff0c}
html[data-bb-theme] body{--bb-ink:var(--p-ink);--bb-muted:var(--p-muted);--bb-line:var(--p-line);--ba-ink:var(--p-ink);--ba-muted:var(--p-muted);--ba-panel:var(--p-panel);--ba-border:var(--p-line);--ba-blue:var(--p-blue);--ba-ice:var(--p-ice);--bh-ink:var(--p-ink);--bh-muted:var(--p-muted);--bh-paper:var(--p-panel);--bh-card:var(--p-raised);--bh-line:var(--p-line);--bh-blue-ink:var(--p-ice);background:radial-gradient(ellipse at 50% 0,var(--p-glow),transparent 45%),var(--p-bg)!important;color:var(--p-ink)!important;font-family:var(--p-sans)!important}
html[data-bb-theme] body>main{max-width:1380px!important;padding-inline:clamp(16px,3vw,42px)!important;padding-bottom:110px!important}
html[data-bb-theme] body :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--p-blue)!important;outline-offset:4px!important}
html[data-bb-theme] body :is(button,a){-webkit-tap-highlight-color:transparent}
html[data-bb-theme] body :is(.v2-glass,.ba-card,.apple-glass,.bb-match-card,.news-card,.bw-home-panel){border:1px solid var(--p-line)!important;border-radius:var(--p-radius)!important;box-shadow:inset 0 1px #cbe3ff12,var(--p-shadow)!important;background:linear-gradient(135deg,#cce5ff08,transparent 55%),var(--p-panel)!important;color:var(--p-ink)!important}
html[data-bb-theme] body :is(.v2-heading h1,.v2-heading h2,.ba-card h3,.bb-section-title){letter-spacing:-.045em!important;font-weight:750!important;line-height:1.12}
html[data-bb-theme] body :is(.v2-button,.ba-button,.bbx-card-save,.bb-vs-comp){min-height:44px;border-radius:12px!important;border:1px solid var(--p-line)!important;background:var(--p-raised)!important;color:var(--p-ice)!important;transition:transform var(--p-fast) var(--p-ease),background var(--p-fast),border-color var(--p-fast)!important}
html[data-bb-theme] body :is(.v2-button,.ba-button)[aria-pressed=true],html[data-bb-theme] body .v2-button.primary{color:#fff!important;background:#0862dc!important;border-color:#1677ff!important}
html[data-bb-theme] body :is(button,a):active{transition-duration:80ms!important}
/* Navigation stays on its existing routes. Only its surface changes. */
html[data-bb-theme] body.bb-revolution #category-nav{background:var(--p-panel)!important;border:1px solid var(--p-line)!important;border-radius:18px!important;padding:5px!important;margin-block:16px 10px!important;box-shadow:var(--p-shadow)!important;gap:1px!important;backdrop-filter:blur(var(--p-blur))!important;-webkit-backdrop-filter:blur(var(--p-blur))!important}
html[data-bb-theme] body.bb-revolution #category-nav>:is(button,a),html[data-bb-theme] body.bb-revolution #category-nav summary{font-size:12px!important;padding:10px 11px!important;border-radius:12px!important;border-bottom:0!important;color:var(--p-muted)!important;min-height:44px!important}
html[data-bb-theme] body.bb-revolution #category-nav :is(.nav-tab-active,[aria-current=page]){background:var(--p-glow)!important;color:var(--p-ice)!important;box-shadow:inset 0 0 0 1px var(--p-line)!important}
html[data-bb-theme] body #player-search{min-height:48px!important;border-radius:14px!important;border-color:var(--p-line)!important;background:var(--p-panel)!important;color:var(--p-ink)!important}
html[data-bb-theme] body #player-search:focus{box-shadow:0 0 0 4px var(--p-glow)!important;border-color:var(--p-blue)!important}
/* Cinematic home: dark stage in both themes, with explicit readable foregrounds. */
html[data-bb-theme] body #bbx-home .v22-hero{grid-template-columns:1.08fr 1fr;min-height:455px!important;border:1px solid #2b4b70!important;border-radius:28px!important;background:radial-gradient(ellipse at 80% 0,#1b57a755,transparent 60%),linear-gradient(125deg,#0c1526,#0d2443)!important;box-shadow:0 18px 50px #081b3120!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-copy{padding:clamp(28px,4vw,54px)!important;align-self:center}
html[data-bb-theme] body #bbx-home .v22-hero .bw-eyebrow{color:#9dbfe5!important;font-size:10px!important;letter-spacing:.18em!important}
html[data-bb-theme] body #bbx-home .v22-hero #bbx-title{color:#fff!important;font-size:clamp(48px,5.4vw,77px)!important;line-height:1!important;font-weight:900!important;letter-spacing:-.065em!important;margin:16px 0!important}
html[data-bb-theme] body #bbx-home .v22-hero #bbx-title span{color:#67b4ff!important}
html[data-bb-theme] body #bbx-home .v22-brand-line{font-size:12px!important;letter-spacing:.16em!important;color:#b8d9ff!important;font-weight:700;margin:0 0 22px!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-hero-description{color:#bdcfe5!important;font-size:15px!important;line-height:1.7!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-primary{background:#1677ff!important;color:#fff!important;border-color:#4495ff!important;min-height:48px!important;border-radius:12px!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-secondary{background:#b4d5ff0d!important;border-color:#6489b266!important;color:#e3efff!important;min-height:48px!important;border-radius:12px!important}
.v22-hero-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:23px}.v22-hero-links a{color:#afc8e6!important;font:600 11px/1.6 var(--p-sans);text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-art{background:radial-gradient(ellipse at 60% 40%,#2f71ca25,transparent 70%)!important;min-height:440px}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-player{width:42%;height:72%;top:17%;border:1px solid #a8d3ff40;border-radius:110px 110px 20px 20px;box-shadow:0 22px 40px #0005;filter:saturate(.85)}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-player-two{top:24%;height:66%}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-grid{mask-image:linear-gradient(transparent,#0007,transparent);transform:perspective(500px) rotateX(35deg);background-size:45px 45px}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-number{font-size:240px;color:#85beff;opacity:.08;top:10px}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-caption{inset:auto 22px 22px;background:#10223cdd;border-color:#85b6e34a;color:#edf4ff;backdrop-filter:blur(8px);padding:14px 18px;font-size:12px;line-height:1.4;border-radius:14px;box-shadow:0 10px 30px #0003}
html[data-bb-theme] body #bbx-home .v22-hero .bw-art-caption span{color:#adc9e8;font-size:8px}
.v22-floodlight{position:absolute;inset:-100px 0 auto;height:270px;background:conic-gradient(from 145deg at 75% 0,transparent,#6cadff18,transparent 50deg);pointer-events:none}.v22-orbit{position:absolute;inset:12% 6%;border:1px solid #83bbff18;border-radius:50%;transform:rotate(-25deg);pointer-events:none}
/* Modular bento. Preview shapes contain no invented football statistics. */
.v22-dashboard{margin:30px 0}.v22-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}.v22-bento .bw-matchday{grid-column:span 2;grid-row:span 2;min-width:0;padding:24px!important}.v22-bento .bw-matchday h2{font-size:26px!important}.v22-bento .bw-matchday .bbx-fixtures{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.v22-bento .bbx-fixture{padding:16px!important;min-height:120px!important;border:1px solid var(--p-line)!important;background:var(--p-raised)!important;border-radius:14px!important}.v22-bento .bbx-team{font-size:13px!important}.v22-bento .bbx-team b{font-size:18px!important;font-variant-numeric:tabular-nums}
html[data-bb-theme] body #bbx-home .v22-bento-card{display:flex;flex-direction:column;position:relative;min-height:260px;padding:24px;border-radius:var(--p-radius);border:1px solid var(--p-line);background:radial-gradient(ellipse at 100% 0,var(--p-glow),transparent 70%),var(--p-panel);color:var(--p-ink);text-decoration:none;overflow:hidden;isolation:isolate;box-shadow:inset 0 1px #cbe3ff12,var(--p-shadow);transition:transform var(--p-move) var(--p-ease),border-color var(--p-move),box-shadow var(--p-move)}
.v22-bento-kicker{font-size:9px;font-weight:750;letter-spacing:.13em;color:var(--p-ice);margin-bottom:15px;display:block}.v22-bento-card>strong{font-size:clamp(23px,2.4vw,31px);line-height:1.1;letter-spacing:-.04em;display:block}.v22-bento-card p{font-size:13px;line-height:1.7;color:var(--p-muted);margin:20px 0}.v22-bento-action{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:700;margin-top:auto;padding-top:20px;color:var(--p-ice)}.v22-bento-action b{font-size:20px}
html[data-bb-theme] body #bbx-home .v22-rivalry{background:radial-gradient(ellipse at 70% 70%,#88601e35,transparent 65%),#151820;border-color:#b7924f70;color:#fff2d6;grid-row:span 2;min-height:540px}.v22-rivalry :is(.v22-bento-kicker,.v22-bento-action){color:#e9ca81}.v22-rivalry-art{display:flex;align-items:center;justify-content:center;gap:4px;margin:auto -10px;min-height:200px}.v22-rivalry-art img{width:44%;height:205px;object-fit:cover;object-position:top;border-radius:70px 70px 12px 12px;border:1px solid #dfbe7155}.v22-rivalry-art img:first-child{transform:rotate(-5deg)}.v22-rivalry-art img:last-child{transform:rotate(5deg)}.v22-rivalry-art b{font-size:13px;color:#e6c57c;z-index:1}
.v22-pitch-preview{position:relative;display:grid;align-content:space-around;text-align:center;margin:15px auto 0;width:100%;max-width:175px;height:120px;border:1px solid #76b9d26b;border-radius:7px;background:repeating-linear-gradient(0deg,#12443b 0 16px,#154a40 16px 32px);color:#d2eaff;transform:perspective(400px) rotateX(12deg);font:17px Arial;line-height:1}.v22-pitch-preview:before{content:'';position:absolute;inset:50% 0 auto;border-top:1px solid #d3eeff4a}.v22-pitch-preview i{position:absolute;width:35px;height:35px;inset:calc(50% - 18px) auto auto calc(50% - 18px);border:1px solid #d3eeff4a;border-radius:50%}
.v22-table-preview{display:grid;gap:7px;margin-top:22px}.v22-table-preview i{display:flex;align-items:center;gap:12px;border-top:1px solid var(--p-line);padding:8px 0;font-style:normal;font-size:10px;color:var(--p-muted)}.v22-table-preview span{width:55%;height:6px;background:var(--p-line);border-radius:5px}.v22-table-preview em{margin-inline-start:auto;width:20px;height:8px;background:var(--p-blue);border-radius:4px;opacity:.55}.v22-game-preview{display:flex;gap:12px;margin:22px 0}.v22-game-preview span{width:55px;height:55px;display:grid;place-items:center;background:var(--p-glow);border:1px solid var(--p-line);border-radius:13px;font-size:23px;font-weight:800;color:var(--p-ice)}.v22-bento .v22-personal{grid-column:span 2}
html[data-bb-theme] body #bbx-home .bw-shortcuts{gap:10px;margin:16px 0 28px!important}html[data-bb-theme] body #bbx-home .bw-shortcuts>a{background:var(--p-panel)!important;border-radius:16px!important;border-color:var(--p-line)!important;box-shadow:var(--p-shadow)!important}
html[data-bb-theme] body #bbx-home :is(.bw-news-section,.bw-play-section){margin-top:40px!important}html[data-bb-theme] body #bbx-home .bw-panel-heading h2{font-weight:800!important;letter-spacing:-.04em!important;font-size:clamp(23px,3vw,30px)!important}
/* Collectible cards retain their photos, flags, record labels and independent actions. */
html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card){background:linear-gradient(145deg,#8ebfff0a,transparent 40%),var(--p-panel)!important;border-color:var(--p-line)!important;border-radius:22px!important;box-shadow:var(--p-shadow)!important;transition:transform var(--p-move) var(--p-ease),box-shadow var(--p-move),border-color var(--p-move)!important;isolation:isolate}
html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card) h3{font-size:22px!important;letter-spacing:-.035em!important;line-height:1.15!important;color:var(--p-ink)!important}
html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card) img{border-radius:15px!important;object-position:center 20%}
html[data-bb-theme] body .bbx-card-actions{border-top:1px solid var(--p-line);padding-top:12px!important;margin-top:16px!important;gap:8px!important}
html[data-bb-theme] body .bbx-card-actions button{border-radius:11px!important;color:var(--p-ice)!important;background:var(--p-raised)!important;border-color:var(--p-line)!important}
html[data-bb-theme] body .bbx-card-actions button[aria-pressed=true]{background:var(--p-glow)!important;color:var(--p-ice)!important;border-color:var(--p-blue)!important}
/* Profiles: one workspace and the original four-square record matrix. */
html[data-bb-theme] body #player-modal.ba-player>.apple-glass{background:radial-gradient(ellipse at 0 0,var(--p-glow),transparent 50%),var(--p-panel)!important;border:1px solid var(--p-line)!important;border-radius:26px!important;box-shadow:0 30px 100px #0005!important}
html[data-bb-theme] body #bbap-hero{gap:24px!important;margin-bottom:24px!important}html[data-bb-theme] body #bbap-name{font-weight:800!important;letter-spacing:-.05em!important}html[data-bb-theme] body .ba-player-portrait{border:1px solid var(--p-line)!important;box-shadow:0 10px 30px #0002!important}
html[data-bb-theme] body #bbap-matrix{gap:10px!important}html[data-bb-theme] body #bbap-matrix .ba-matrix-cell{border:1px solid var(--p-line)!important;border-radius:16px!important;background:linear-gradient(145deg,var(--p-glow),transparent 70%),var(--p-raised)!important;padding:18px!important;color:var(--p-ink)!important;box-shadow:inset 0 1px #b4d9ff0a!important;min-width:0}
html[data-bb-theme] body #bbap-matrix strong{font-size:clamp(30px,3.5vw,46px)!important;font-weight:800!important;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:var(--p-ink)!important}
html[data-bb-theme] body #bbap-matrix :is(small,.ba-matrix-label){color:var(--p-muted)!important}
html[data-bb-theme] body #bbap-tabs{position:sticky;top:0;z-index:5;background:var(--p-panel)!important;border-bottom:1px solid var(--p-line)!important;gap:5px!important;padding:4px 0!important;backdrop-filter:blur(12px);overflow-x:auto!important}
html[data-bb-theme] body #bbap-tabs button{min-height:48px!important;border-radius:10px!important;border-bottom:0!important;color:var(--p-muted)!important;transition:background var(--p-fast),color var(--p-fast)!important}
html[data-bb-theme] body #bbap-tabs button[aria-selected=true]{background:var(--p-glow)!important;color:var(--p-ice)!important;box-shadow:inset 0 -2px var(--p-blue)!important}
html[data-bb-theme] body :is(.ba-stat strong,.v2-table td,.bb-match-score){font-variant-numeric:tabular-nums}
/* Broadcast match surfaces use the existing status text as well as colour. */
html[data-bb-theme] body .bb-match-card{overflow:hidden!important;border-radius:18px!important;border-inline-start:3px solid var(--p-line)!important;transition:border-color var(--p-fast),transform var(--p-fast)!important}
html[data-bb-theme] body .bb-match-card[data-phase=live]{border-inline-start-color:#36bd94!important}.bb-match-card[data-phase=finished]{opacity:.96}
html[data-bb-theme] body .bb-match-dialog-inner{background:radial-gradient(ellipse at 50% 0,var(--p-glow),transparent 50%),var(--p-panel)!important;border-radius:24px!important;color:var(--p-ink)!important}
html[data-bb-theme] body :is(.bb-match-scoreline,.bb-team-events){background:var(--p-raised)!important;border-color:var(--p-line)!important;border-radius:16px!important}
html[data-bb-theme] body .bb-match-scoreline{padding:24px!important;margin-block:20px!important}
html[data-bb-theme] body .bb-match-tabs{background:var(--p-raised)!important;padding:5px!important;border:1px solid var(--p-line)!important;border-radius:14px!important}
html[data-bb-theme] body .bb-match-tabs button{min-height:44px!important;border-radius:10px!important;color:var(--p-muted)!important}
html[data-bb-theme] body .bb-match-tabs button[aria-selected=true]{background:var(--p-glow)!important;color:var(--p-ice)!important}
.v22-goal-pulse{animation:v22-goal 650ms var(--p-ease)}@keyframes v22-goal{0%,100%{box-shadow:var(--p-shadow)}35%{box-shadow:0 0 0 5px #1677ff55,0 0 40px #1677ff33}}
/* League archive and museum. */
html[data-bb-theme] body .v2-table-scroll{border:1px solid var(--p-line)!important;border-radius:16px!important;background:var(--p-panel)!important}
html[data-bb-theme] body .v2-table :is(th,caption){color:var(--p-muted)!important;background:var(--p-raised)!important}html[data-bb-theme] body .v2-table td{color:var(--p-ink)!important;border-color:var(--p-line)!important;padding-block:14px!important}
html[data-bb-theme] body .v2-table td:last-child{font-weight:800!important;color:var(--p-ice)!important}
html[data-bb-theme] body .v2-table tr.is-favourite,html[data-bb-theme] body .v2-table tr.is-highlighted{background:var(--p-glow)!important;box-shadow:inset 3px 0 var(--p-blue)}
html[data-bb-theme] body .v2-zone{border-color:var(--p-line)!important;background:var(--p-raised)!important;color:var(--p-muted)!important}
html[data-bb-theme] body :is(.goat-legacy-card,.goat-section,.goat-hero){border-color:#ba954960!important}
/* Dream XI is still the existing formation editor with the existing role validation. */
html[data-bb-theme] body #bb-play .bb-pitch{background:radial-gradient(ellipse at 50% 0,#b2f4e51a,transparent 65%),repeating-linear-gradient(0deg,#0a352e 0 12.5%,#0d3d33 12.5% 25%)!important;border:1px solid #6bbaa180!important;border-radius:18px!important;box-shadow:inset 0 0 50px #0004,0 12px 30px #071b2115!important}
html[data-bb-theme] body #bb-play .bb-shirt{border:1px solid #b2e1da60!important;box-shadow:0 5px 15px #0004!important;background:#0e2839!important;border-radius:12px!important;color:#f1f8ff!important}
html[data-bb-theme] body #bb-play .bb-shirt small{color:#f1f8ff!important;line-height:1.25!important;text-shadow:0 1px 3px #0008}
html[data-bb-theme] body :is(.bb-xi-templates button,.bb-game-card,.bb-mobile-game-tile){border:1px solid var(--p-line)!important;background:radial-gradient(ellipse at 100% 0,var(--p-glow),transparent 75%),var(--p-panel)!important;border-radius:16px!important;color:var(--p-ink)!important;box-shadow:var(--p-shadow)!important}
html[data-bb-theme] body #bb-play :is(.bb-answer,.bb-actions button){min-height:44px!important;border-radius:12px!important}html[data-bb-theme] body #bb-daily-hub{border-radius:22px!important;box-shadow:var(--p-shadow)!important}
html[data-bb-theme] body .news-card{border-radius:20px!important;overflow:hidden}.news-card h3{letter-spacing:-.025em;line-height:1.3}.news-card img{aspect-ratio:16/10;object-fit:cover}html[data-bb-theme] body :is(.bb-news-featured,.news-featured){border-radius:24px!important;border:1px solid var(--p-line)!important;overflow:hidden}
html[data-bb-theme] body #v2-search-results{background:var(--p-panel)!important;border-color:var(--p-line)!important;border-radius:18px!important;box-shadow:0 20px 65px #061b3c30!important;backdrop-filter:blur(16px)!important}
html[data-bb-theme] body .v2-search-result{border-radius:12px!important;min-height:58px;color:var(--p-ink)!important}html[data-bb-theme] body .v2-search-result[aria-selected=true]{background:var(--p-glow)!important}html[data-bb-theme] body .v2-search-group{color:var(--p-ice)!important}
.v22-widget-tools{display:flex;gap:5px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.v22-widget-tools button{min-width:36px;min-height:36px;font-size:12px}.v22-widget-tools>strong{margin-inline-end:auto;font-size:10px;color:var(--p-muted);font-weight:600;letter-spacing:.08em;text-transform:uppercase}.v22-widget-manager{margin:0 0 18px!important}.v22-widget-manager summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:650}.v22-widget-manager label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-inline-end:20px;font-size:13px}.v22-widget-collapsed>:not(.v22-widget-tools){display:none!important}.v22-fav-pop{animation:v22-pop 260ms var(--p-ease)}@keyframes v22-pop{50%{transform:scale(1.08)}}
@media(hover:hover) and (pointer:fine){html[data-bb-theme] body :is(:is(.player-card,.bb-player-portrait-card),.v22-bento-card,.bw-shortcuts>a):hover{transform:translateY(-4px)!important;border-color:#6ba8f0!important;box-shadow:0 14px 38px #0c2d5720,0 0 0 1px #1677ff0f!important}.v22-bento-card:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(300px circle at var(--v22-x,50%) var(--v22-y,0%),#83bfff12,transparent 80%);pointer-events:none}.v22-hero-links a:hover{color:#fff!important}}
@media(min-width:1100px){html[data-bb-theme] body #bbap-hero{position:relative}.v22-bento .v22-personal{min-height:220px}}
@media(max-width:1100px){.v22-bento{grid-template-columns:repeat(3,minmax(0,1fr))}.v22-bento .bw-matchday{grid-column:span 2}.v22-bento .v22-rivalry{grid-row:span 2}.v22-bento .v22-personal{grid-column:span 1}.v22-bento-card>strong{font-size:25px}}
@media(max-width:767px){html[data-bb-theme] body>main{padding-inline:16px!important;padding-bottom:115px!important}html[data-bb-theme] body #bbx-home .v22-hero{grid-template-columns:1fr!important;min-height:0!important;border-radius:22px!important}html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-copy{padding:28px 24px 12px!important}html[data-bb-theme] body #bbx-home .v22-hero #bbx-title{font-size:clamp(41px,10.5vw,70px)!important}html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-art{height:250px!important;min-height:250px!important;margin-top:10px}html[data-bb-theme] body #bbx-home .v22-brand-line{font-size:10px!important;letter-spacing:.14em!important}html[data-bb-theme] body #bbx-home .v22-hero .bw-hero-description{font-size:13px!important}.v22-hero-links{gap:2px 16px;margin-top:14px}.v22-hero-links a{font-size:10px;min-height:38px}html[data-bb-theme] body #bbx-home .v22-hero .bw-art-player{height:87%;width:36%;top:3%;border-radius:75px 75px 12px 12px}html[data-bb-theme] body #bbx-home .v22-hero .bw-art-player-one{left:13%}html[data-bb-theme] body #bbx-home .v22-hero .bw-art-player-two{right:13%;height:83%;top:9%}html[data-bb-theme] body #bbx-home .v22-hero .bw-art-caption{bottom:12px;padding:10px 14px}.v22-bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v22-bento .bw-matchday{grid-column:1/-1;grid-row:auto;padding:18px!important}.v22-bento .v22-rivalry{grid-column:1/-1;grid-row:auto;min-height:300px!important;padding-inline-end:50%!important}.v22-rivalry-art{position:absolute;inset:30px 12px 70px 48%;margin:0;min-height:0}.v22-rivalry-art img{height:170px}.v22-bento .v22-personal{grid-column:1/-1}.v22-bento .v22-games{grid-column:1/-1;min-height:220px}.v22-bento .v22-games>strong{font-size:27px}.v22-bento .v22-games .v22-game-preview{position:absolute;inset:48px 16px auto auto;opacity:.15}.v22-bento .v22-bento-card{padding:18px;min-height:260px}.v22-bento-card>strong{font-size:22px}.v22-bento-kicker{font-size:8px;line-height:1.6;letter-spacing:.08em}.v22-bento-action{font-size:11px}.v22-pitch-preview{height:110px;font-size:14px}.v22-table-preview{margin-top:16px}.v22-game-preview{gap:6px}.v22-game-preview span{width:44px;height:44px}.v22-dashboard{margin-top:25px}.v22-bento .bw-panel-heading{gap:8px;align-items:start}.v22-bento .bw-panel-heading>div:last-child{font-size:10px}html[data-bb-theme] body #bbx-home .bw-panel-heading h2{font-size:24px!important}html[data-bb-theme] body #bbx-home .bw-shortcuts>a{padding:13px 11px!important;gap:8px}.v22-bento .bbx-fixtures{margin-top:12px}html[data-bb-theme] body #bb-mobile-navigation{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;padding:6px!important;gap:0!important;border:1px solid var(--p-line)!important;border-radius:20px!important;background:var(--p-panel)!important;box-shadow:0 6px 35px #051a3733!important;backdrop-filter:blur(16px)!important}.bb-mobile-liquid-lens{display:none!important}html[data-bb-theme] body #bb-mobile-navigation button{min-width:0!important;min-height:50px!important;padding:5px 1px!important;border-radius:13px!important;color:var(--p-muted)!important;font-size:9px!important;gap:4px!important;position:relative!important;width:auto!important}html[data-bb-theme] body #bb-mobile-navigation button[aria-current=page]{color:var(--p-ice)!important;background:var(--p-glow)!important}html[data-bb-theme] body #bb-mobile-navigation svg{width:20px;height:20px}html[data-bb-theme] body #bbap-matrix .ba-matrix-cell{padding:14px!important}html[data-bb-theme] body #bbap-matrix strong{font-size:33px!important}html[data-bb-theme] body #bbap-tabs{top:0!important}html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card) h3{font-size:19px!important}html[data-bb-theme] body #v2-my .v2-columns{gap:14px}.v22-widget-tools{gap:4px}.v22-widget-tools button{min-width:40px;min-height:40px}.v2-table-scroll{scroll-padding-inline:150px}html[data-bb-theme] body .v2-table :is(th,td):nth-child(2){position:sticky;inset-inline-start:0;z-index:1;background:var(--p-panel)!important;box-shadow:4px 0 8px #0001}.v2-table th:nth-child(2){z-index:2!important}}
@media(max-width:360px){.v22-bento{grid-template-columns:1fr}.v22-bento .v22-bento-card{grid-column:1/-1!important}.v22-bento .v22-rivalry{padding-inline-end:45%!important}.v22-rivalry-art{inset-inline-start:54%}.v22-rivalry-art img{height:130px}.v22-rivalry-art b{font-size:9px}.v22-bento .v22-dream{min-height:280px}.v22-pitch-preview{height:140px}}
html[dir=rtl] .v22-hero-links,html[dir=rtl] .v22-bento-card{text-align:start}html[dir=rtl] .v22-bento-kicker{letter-spacing:0}html[dir=rtl] .v22-rivalry-art{direction:ltr}html[dir=rtl] #bbx-home #bbx-title{direction:ltr;text-align:start}
@media(prefers-reduced-motion:no-preference){#bbap-pane,.bb-match-dialog-inner,.v22-bento-card{animation:v22-enter 240ms var(--p-ease) both}}@keyframes v22-enter{from{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html body *,html body *:before,html body *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.v22-floodlight{display:none}}
@media(prefers-reduced-transparency:reduce){html[data-bb-theme] body{--p-blur:0px}html[data-bb-theme] body #category-nav,html[data-bb-theme] body #bb-mobile-navigation{backdrop-filter:none!important}}
html[data-bb-theme] body .bb-match-card[data-state=live]{border-inline-start-color:#36bd94!important}
html[data-bb-theme] body #player-modal.ba-goat{--p-glow:#b68b2720;--p-ice:var(--p-gold);--p-blue:#a77b20}
html[data-bb-theme] body #player-modal.ba-goat #bbap-tabs button[aria-selected=true]{box-shadow:inset 0 -2px var(--p-gold)!important}
html[data-bb-theme] body .news-stories{gap:20px!important}
@media(min-width:900px){html[data-bb-theme] body .news-stories>.news-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1.1fr 1fr}html[data-bb-theme] body .news-stories>.news-card:first-child h3{font-size:25px!important}}
@media(min-width:1101px){.v22-bento .v22-games{grid-column:span 2}.v22-bento .v22-games .v22-game-preview{position:absolute;inset:35px 24px auto auto}.v22-bento .v22-games>strong{max-width:60%}}
html[data-bb-theme] body #bbx-home .bw-install-promo>div{min-width:0}html[data-bb-theme] body #bbx-home .bw-install-promo>div:first-child{display:block!important}
html[data-bb-theme] body :is(.bb-goat-hero,.bb-goat-content-section,.bb-goat-trophy){border-color:#a9854055!important;border-radius:22px!important;box-shadow:var(--p-shadow)!important}
html[data-bb-theme=dark] body .bb-goat-hero{background:radial-gradient(ellipse at 10% 0,#c6a14a20,transparent 65%),#10151f!important}
@media(max-width:767px){html[data-bb-theme] body #bbx-home .v22-hero{display:grid!important}html[data-bb-theme] body #bbx-home .v22-hero #bbx-title{max-width:none!important;white-space:nowrap}html[data-bb-theme] body #bbx-home .v22-hero .bw-hero-description{max-width:none!important}html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-art{position:relative!important;inset:auto!important;width:100%!important;opacity:1!important;display:block!important}html[data-bb-theme] body #bbx-home .v22-hero :is(.bw-art-player-two,.bw-art-caption,.bw-art-number,.bw-art-grid){display:block!important}html[data-bb-theme] body #bbx-home .v22-hero .bw-art-caption{display:flex!important}html[data-bb-theme] body #bb-mobile-navigation{position:fixed!important;transform:none!important;box-sizing:border-box!important}html[data-bb-theme] body #bbx-home .bw-install-promo{display:grid!important;grid-template-columns:1fr!important;text-align:start!important;gap:10px!important}html[data-bb-theme] body #bbx-home .bw-install-promo h2{font-size:26px!important}html[data-bb-theme] body #bbx-home .bw-install-actions{margin-top:8px!important}}
@media(max-height:500px) and (pointer:coarse){html[data-bb-theme] body #bb-mobile-navigation{transform:none!important;left:10px!important;right:10px!important;width:auto!important;display:flex!important;gap:4px!important;padding:4px!important}html[data-bb-theme] body #bb-mobile-navigation button{flex:1;min-height:44px!important}}
.v22-record-book{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;align-items:center;padding:22px 26px;border:1px solid var(--p-line);border-radius:20px;background:var(--p-panel);color:var(--p-ink);margin:24px 0}.v22-record-book .v22-bento-kicker{margin-bottom:7px}.v22-record-book h2{font-size:23px!important;font-weight:750;letter-spacing:-.03em;margin:0 0 8px}.v22-record-book a{font-size:12px;color:var(--p-ice)!important}.v22-record-book>div:not(:first-child){padding-inline-start:20px;border-inline-start:1px solid var(--p-line)}.v22-record-book strong{font-size:34px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-weight:800;display:block}.v22-record-book span:not(.v22-bento-kicker){font-size:12px;color:var(--p-muted)}
@media(max-width:767px){.v22-record-book{grid-template-columns:1fr 1fr;padding:20px;gap:18px}.v22-record-book>div:first-child{grid-column:1/-1}.v22-record-book>div:not(:first-child){padding:0;border:0}}
html[data-bb-theme] body #bbap-hero .ba-player-country .v22-national-flag{display:inline-block;width:22px!important;height:15px!important;object-fit:contain;vertical-align:middle;border-radius:2px!important;margin-inline-end:7px;box-shadow:none!important;border:0!important}
@media(max-width:600px){html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card) .bbx-card-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}html[data-bb-theme] body :is(.player-card,.bb-player-portrait-card) .bbx-card-actions button{width:100%!important;min-height:44px!important;padding:9px 8px!important;justify-content:center!important;font-size:11px!important}}
html[data-bb-theme] body .bb-player-portrait-card h3{white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere;min-height:2.3em;text-transform:none!important}
.v22-card-records{margin-block:10px 0}.v22-card-records p{color:var(--p-muted)!important;font-size:11px;line-height:1.6!important;min-height:34px;margin:0 0 12px}.v22-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid var(--p-line);padding-top:12px}.v22-card-stats>span{min-width:0}.v22-card-stats b{display:block;font:800 24px/1.2 var(--p-sans);letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--p-ink)}.v22-card-stats small{display:block;color:var(--p-muted);font-size:10px;line-height:1.5;margin-top:4px}
html[data-bb-theme] body .bb-player-portrait-card.bb-goat-card{border-color:#b4924c77!important;background:radial-gradient(ellipse at 100% 0,#b4974920,transparent 70%),var(--p-panel)!important}.bb-goat-card .v22-card-stats b{color:var(--p-gold)}
@media(max-width:600px){.v22-card-stats b{font-size:21px}.v22-card-records p{font-size:10px}.v22-card-stats{gap:4px}html[data-bb-theme] body .bb-player-portrait-card h3{font-size:18px!important}}
/* The archive's real card families: clubs/nations/trophies, managers and creators. */
html[data-bb-theme] body :is(.club-archive-card,.bb-reference-card){background:linear-gradient(145deg,var(--p-glow),transparent 55%),var(--p-panel)!important;border:1px solid var(--p-line)!important;border-radius:22px!important;box-shadow:inset 0 1px #cbe3ff12,var(--p-shadow)!important;color:var(--p-ink)!important;transition:transform var(--p-move) var(--p-ease),border-color var(--p-move)!important}
html[data-bb-theme] body :is(.club-archive-card,.bb-reference-card) :is(h2,h3,h4){font-weight:750!important;letter-spacing:-.035em!important;line-height:1.2!important;color:var(--p-ink)!important}
html[data-bb-theme] body .bb-reference-card>img{border-radius:14px!important;object-position:center 20%}
html[data-bb-theme] body .bb-reference-card :is(p,.bb-card-meta){color:var(--p-muted)!important;line-height:1.7!important}
html[data-bb-theme] body .bb-reference-card details{border-top:1px solid var(--p-line);margin-top:16px;padding-top:8px}html[data-bb-theme] body .bb-reference-card summary{min-height:44px;display:flex;align-items:center;color:var(--p-ice);font-size:12px;cursor:pointer}
html[data-bb-theme] body .interactive-glass-card:not(.bb-player-portrait-card){border-color:var(--p-line)!important;border-radius:22px!important;box-shadow:var(--p-shadow)!important;transition:transform var(--p-move) var(--p-ease),border-color var(--p-move)!important}
html[data-bb-theme] body .interactive-glass-card:not(.bb-player-portrait-card) h3{font-weight:750!important;letter-spacing:-.03em!important;white-space:normal!important;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine){html[data-bb-theme] body :is(.club-archive-card,.bb-reference-card,.interactive-glass-card:not(.bb-player-portrait-card)):hover{transform:translateY(-3px)!important;border-color:#6ba8f0!important}}
@media(prefers-reduced-motion:no-preference){.bb-goat-hero{animation:v22-enter 300ms var(--p-ease) both}.bb-goat-trophy:hover .bb-goat-trophy-art{transform:translateY(-2px);transition:transform var(--p-fast)}}
html[data-bb-theme] body #bbap-hero>.v21-graphic-studio{grid-column:1/-1!important;width:100%!important;margin:0!important;padding:10px 14px!important;border-radius:13px!important;background:var(--p-raised)!important}
html[data-bb-theme] body #bbap-hero>.v21-graphic-studio summary{font-size:12px!important;line-height:1.5!important;min-height:24px}
/* Explicit contrast on the dark hero also in Daylight mode. */
html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-copy>.v22-brand-line{color:#b8d9ff!important;-webkit-text-fill-color:#b8d9ff!important;opacity:1!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-welcome-copy>.bw-hero-description{color:#bdcfe5!important;-webkit-text-fill-color:#bdcfe5!important;opacity:1!important}
html[data-bb-theme] body #bbx-home .v22-hero .bw-primary{background:#0862dc!important;color:#fff!important}
/* V2.2.1: use explicit semantic controls instead of inherited pale text. */
html[data-bb-theme] body :is(.v2-pills a,.v2-pills button,.ba-pill,.bb-league-button,.bb-club-count){color:var(--p-ice)!important;background:var(--p-raised)!important;border:1px solid var(--p-line)!important;opacity:1!important;text-shadow:none!important}
html[data-bb-theme] body .v2-kicker,html[data-bb-theme] body .bb-club-eyebrow{color:var(--p-ice)!important}
html[data-bb-theme] body .v2-pills :is(a,button){min-height:44px;padding:11px 15px;border-radius:12px;font-weight:650}
html[data-bb-theme] body :is(.club-archive-card,.bb-club-card)>a{color:var(--p-ice)!important}
html[data-bb-theme] body .club-archive-card>.absolute{color:var(--p-ink)!important;background:var(--p-panel)!important;border:1px solid var(--p-line)!important;border-radius:9px!important;opacity:1!important;padding:8px 11px!important;box-shadow:0 3px 12px #0001!important}
/* Club and national cards share a clean identity block; logos/flags keep their shape. */
html[data-bb-theme] body .bb-club-card{padding:0!important;overflow:hidden!important;background:var(--p-panel)!important;border-radius:22px!important;border-color:var(--p-line)!important;position:relative}
html[data-bb-theme] body .bb-club-open{display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:start!important;width:100%!important;height:100%;background:transparent!important;border:0!important;padding:0 22px 20px!important;color:var(--p-ink)!important}
html[data-bb-theme] body .bb-club-card .bb-club-art{position:relative!important;display:grid!important;place-items:center!important;height:185px!important;min-height:185px!important;margin:0 -22px 22px!important;border:0!important;border-bottom:1px solid var(--p-line)!important;border-radius:0!important;background:radial-gradient(ellipse at 50% 60%,var(--club-tint,#1677ff12),transparent 75%),var(--p-raised)!important;box-shadow:none!important;overflow:hidden}
html[data-bb-theme] body .bb-club-card .bb-club-art:before,html[data-bb-theme] body .bb-club-card .bb-club-art:after{display:none!important}
html[data-bb-theme] body .bb-club-card .bb-club-art img{width:110px!important;height:120px!important;max-width:65%!important;object-fit:contain!important;border-radius:0!important;filter:none!important;box-shadow:none!important;transform:none!important;background:transparent!important}
html[data-bb-theme] body .bb-club-card:has([data-bb-national]) .bb-club-art img{width:140px!important;height:94px!important;object-fit:contain!important;border-radius:6px!important;box-shadow:0 8px 18px #0001!important}
html[data-bb-theme] body .bb-club-card h3{font-size:23px!important;font-weight:800!important;letter-spacing:-.035em!important;line-height:1.2!important;white-space:normal!important;min-height:2.4em;margin:8px 0 10px!important;color:var(--p-ink)!important}
html[data-bb-theme] body .bb-club-card .bb-club-league{font-size:10px!important;letter-spacing:.1em!important;font-weight:700!important;line-height:1.6!important;color:var(--p-ice)!important;margin:0!important}
html[data-bb-theme] body .bb-club-card .bb-club-nickname{font-size:12px!important;color:var(--p-muted)!important;line-height:1.6!important;margin:0 0 20px!important;min-height:1.6em}
html[data-bb-theme] body .bb-club-card-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;border-top:1px solid var(--p-line)!important;padding-top:16px!important;margin-top:auto!important;color:var(--p-muted)!important;font-size:10px!important}
html[data-bb-theme] body .bb-club-card-footer b{font-size:22px!important;font-weight:800!important;color:var(--p-ink)!important;font-variant-numeric:tabular-nums}
html[data-bb-theme] body .bb-club-card-footer>span:last-child{font-size:11px!important;font-weight:650!important;color:var(--p-ice)!important;letter-spacing:0!important;text-transform:none!important}
html[data-bb-theme] body .bb-club-controls{border:1px solid var(--p-line)!important;background:var(--p-panel)!important;box-shadow:var(--p-shadow)!important;border-radius:16px!important;padding:10px!important}
html[data-bb-theme] body .bb-club-search{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-bb-theme] body .bb-club-search input{min-height:44px!important;background:var(--p-raised)!important;color:var(--p-ink)!important;border:1px solid var(--p-line)!important;padding:10px 14px!important;border-radius:11px!important}
html[data-bb-theme] body .bb-league-button{min-height:44px!important;border-radius:11px!important;box-shadow:none!important;font-size:11px!important;padding:10px 13px!important}
html[data-bb-theme] body .bb-league-button:is(.is-active,[aria-pressed=true],[aria-selected=true]),html[data-bb-theme] body .v2-pills [aria-pressed=true]{background:#0862dc!important;color:#fff!important;border-color:#0862dc!important}
/* Account and tools panel: one readable surface with an unmistakable active tab. */
html[data-bb-theme] body #ba-hub{width:min(900px,calc(100vw - 32px))!important;max-height:calc(100dvh - 40px)!important;border-radius:24px!important;background:var(--p-panel)!important;color:var(--p-ink)!important;border:1px solid var(--p-line)!important;padding:28px!important;box-shadow:0 30px 100px #07182f40!important}
html[data-bb-theme] body #ba-hub>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:0 0 22px!important;padding:0!important;background:transparent!important;position:static!important}
html[data-bb-theme] body #ba-hub>header h2{font-size:27px!important;font-weight:800!important;letter-spacing:-.045em!important;color:var(--p-ink)!important}
html[data-bb-theme] body #ba-hub>.ba-tabs{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:5px!important;border:1px solid var(--p-line)!important;border-radius:14px!important;padding:5px!important;margin:0 0 22px!important;background:var(--p-raised)!important}
html[data-bb-theme] body #ba-hub>.ba-tabs button{min-height:44px!important;flex:1 0 auto!important;padding:10px 12px!important;font-size:12px!important;color:var(--p-muted)!important;background:transparent!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
html[data-bb-theme] body #ba-hub>.ba-tabs button[aria-current=page]{color:#fff!important;background:#0862dc!important;font-weight:700!important;box-shadow:0 3px 10px #0862dc22!important}
html[data-bb-theme] body #ba-hub :is(.ba-card,.ba-disclosure){background:var(--p-panel)!important;color:var(--p-ink)!important;border-color:var(--p-line)!important;border-radius:16px!important;box-shadow:none!important}
html[data-bb-theme] body #ba-hub :is(h3,h4,label,summary){color:var(--p-ink)!important}
html[data-bb-theme] body #ba-hub :is(p,.ba-note,.ba-status){color:var(--p-muted)!important;font-size:13px!important;line-height:1.75!important}
html[data-bb-theme] body #ba-hub :is(input,select){min-height:48px!important;width:100%!important;background:var(--p-raised)!important;color:var(--p-ink)!important;border:1px solid var(--p-line)!important;border-radius:11px!important;padding:11px 13px!important;font:14px var(--p-sans)!important}
html[data-bb-theme] body #ba-hub .ba-form{gap:16px!important}.ba-account-layout{display:grid;grid-template-columns:.85fr 1.2fr;gap:24px;align-items:stretch}.ba-account-intro{padding:28px;border:1px solid #36577d;border-radius:18px;background:radial-gradient(ellipse at 0 0,#2b74dc35,transparent 65%),#0c1c33;display:flex;flex-direction:column;align-items:start}.ba-account-intro>img{margin-bottom:28px}.ba-account-intro .ba-kicker{color:#a9ceff!important;font-size:10px;letter-spacing:.14em}
html[data-bb-theme] body #ba-hub .ba-account-intro h3{font-size:30px!important;line-height:1.13!important;letter-spacing:-.045em!important;color:#fff!important;margin:14px 0 18px!important;font-weight:800!important}
html[data-bb-theme] body #ba-hub .ba-account-intro p{color:#bbcee7!important;font-size:13px!important}.ba-account-guest{display:block;margin-top:auto;padding-top:30px;font-size:11px;color:#a9ceff}
html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card{padding:24px!important}html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card>h3{font-size:21px!important;font-weight:750!important;margin:0 0 14px!important}
html[data-bb-theme] body #ba-hub .ba-button{min-height:44px!important;padding:11px 15px!important;border:1px solid var(--p-line)!important;border-radius:11px!important;background:var(--p-raised)!important;color:var(--p-ice)!important;font-weight:600!important}
html[data-bb-theme] body #ba-hub .ba-button.is-primary{background:#0862dc!important;color:#fff!important;border-color:#0862dc!important}
html[data-bb-theme] body #ba-hub .ba-disclosure{margin-top:22px!important}.ba-account-layout .ba-form>button{width:100%}
/* Covers legacy selected controls in profiles and season panels too. */
html[data-bb-theme] body .ba-stats-mode .ba-button.is-primary{background:#0862dc!important;color:#fff!important;border-color:#0862dc!important}
@media(max-width:767px){html[data-bb-theme] body .bb-club-open{padding:0 16px 16px!important}html[data-bb-theme] body .bb-club-card .bb-club-art{margin:0 -16px 17px!important;height:150px!important;min-height:150px!important}html[data-bb-theme] body .bb-club-card h3{font-size:19px!important}html[data-bb-theme] body .bb-club-card .bb-club-art img{width:90px!important;height:100px!important}html[data-bb-theme] body .bb-club-card:has([data-bb-national]) .bb-club-art img{width:110px!important;height:74px!important}html[data-bb-theme] body .bb-club-card-footer{flex-wrap:wrap;gap:7px!important}html[data-bb-theme] body #ba-hub{padding:18px!important;width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}.ba-account-layout{grid-template-columns:1fr;gap:14px}.ba-account-intro{padding:20px;display:grid;grid-template-columns:44px 1fr;column-gap:14px}.ba-account-intro>img{grid-row:span 2;width:44px;height:44px;margin:0}.ba-account-intro>h3,.ba-account-intro>p,.ba-account-intro>.ba-account-guest{grid-column:1/-1}html[data-bb-theme] body #ba-hub .ba-account-intro h3{font-size:25px!important;margin:14px 0 8px!important}.ba-account-guest{padding-top:10px}html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card{padding:18px!important}}
html[data-bb-theme] body #ba-hub>header>button.ba-button{color:var(--p-ink)!important;-webkit-text-fill-color:var(--p-ink)!important;background:var(--p-raised)!important;border-color:var(--p-line)!important;font-size:21px!important;line-height:1!important;min-width:44px!important;min-height:44px!important}
/* V3.0.1: explicit contrast on tinted surfaces in both themes. */
html[data-bb-theme="light"] body .bb-creator-card .bb-creator-origin,html[data-bb-theme="light"] body .bb-creator-profile-origin{background:#edf3ff!important;border-color:#bdcff0!important;color:#243f65!important;-webkit-text-fill-color:#243f65!important;text-shadow:none!important;opacity:1!important;font-weight:650!important}
html[data-bb-theme="dark"] body .bb-creator-card .bb-creator-origin,html[data-bb-theme="dark"] body .bb-creator-profile-origin{background:#172c47!important;border-color:#3e5c80!important;color:#e4f0ff!important;-webkit-text-fill-color:#e4f0ff!important;text-shadow:none!important;opacity:1!important}
html[data-bb-theme] body #bb-play .bb-pitch .bb-shirt small{background:#102e3d!important;color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important;text-shadow:none!important;border:1px solid #87b6c44d!important;border-radius:7px!important;font-weight:650!important;opacity:1!important}
html[data-bb-theme] body #bb-play .bb-pitch .bb-shirt.is-empty{background:#0c302b!important;border:1px dashed #83c3ab99!important;box-shadow:none!important}
html[data-bb-theme] body #bb-play .bb-pitch .bb-shirt.is-empty>span{opacity:.85}html[data-bb-theme] body #bb-play .bb-pitch .bb-shirt.is-empty small{background:transparent!important;border:0!important;color:#e1f4ec!important;-webkit-text-fill-color:#e1f4ec!important}
html[data-bb-theme] body .bb-player-portrait-card .v22-card-stats{display:none!important}
/* Shared club/national identity cards: fewer duplicate controls, more useful context. */
html[data-bb-theme] body .bb-club-card{border-radius:18px!important;box-shadow:0 8px 22px #071b3510!important;transition:transform .16s,border-color .16s}
html[data-bb-theme] body .bb-club-card .bb-club-art{height:190px!important;min-height:190px!important;background:radial-gradient(ellipse at 50% 65%,var(--p-glow),transparent 65%),var(--p-raised)!important;border-bottom:1px solid var(--p-line)!important;margin-bottom:20px!important}
html[data-bb-theme] body .bb-club-card .bb-club-art img{width:120px!important;height:120px!important}html[data-bb-theme] body .bb-club-card:has([data-bb-national]) .bb-club-art img{width:144px!important;height:96px!important;box-shadow:0 6px 16px #071b3520!important}
html[data-bb-theme] body .bb-club-card h3{min-height:0!important;font-size:22px!important;margin:8px 0!important}
html[data-bb-theme] body .bb-club-card .bb-club-nickname{min-height:2.8em!important;margin-bottom:15px!important}
.bb-club-facts{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;border-top:1px solid var(--p-line);padding-top:15px;margin-bottom:18px}.bb-club-facts>span{display:grid;align-content:start;gap:6px;min-width:0}.bb-club-facts small{color:var(--p-muted)!important;font-size:10px!important;font-weight:500!important}.bb-club-facts b{color:var(--p-ink)!important;font-size:12px!important;line-height:1.5;overflow-wrap:anywhere}
html[data-bb-theme] body .bb-club-card-footer{padding-top:15px!important;gap:12px!important;align-items:center!important}.bb-club-open .bb-profile-permalink{display:none!important}
html[data-bb-theme] body .bb-club-card-footer>span:last-child{padding:10px 12px!important;background:var(--p-glow)!important;border-radius:10px!important;white-space:nowrap}
html[data-bb-theme] body #ba-hub{border-radius:22px!important;box-shadow:0 30px 100px #07182f55!important}html[data-bb-theme] body #ba-hub .ba-account-layout{gap:18px!important}html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card{border:0!important;background:transparent!important;padding:8px 4px!important;box-shadow:none!important}
html[data-bb-theme] body #ba-hub .ba-account-layout .ba-form{gap:12px!important}html[data-bb-theme] body #ba-hub .ba-account-layout input:focus-visible{outline:2px solid var(--p-blue)!important;outline-offset:3px}
html[data-bb-theme] body #ba-hub .ba-password-toggle{min-height:44px;border:0;border-radius:9px;text-align:start;padding:8px 0;background:transparent;color:var(--p-ice);font-size:12px;font-weight:650}
.bb-vs-unavailable{padding:14px 18px;border:1px dashed var(--p-line);border-radius:13px;color:var(--p-muted);font-size:12px}.bb-vs-unavailable summary{min-height:30px;cursor:pointer;font-weight:650}.bb-vs-unavailable p{line-height:1.7}
#bb-play .bb-xi-discovery{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:18px;border:1px solid var(--p-line);border-radius:14px;padding:8px 18px;margin-top:22px;background:var(--p-raised)}#bb-play .bb-xi-discovery p{font-size:12px;line-height:1.7;color:var(--p-muted)!important}
@media(max-width:767px){html[data-bb-theme] body .bb-club-card .bb-club-art{height:145px!important;min-height:145px!important}.bb-club-facts{gap:8px;grid-template-columns:1fr 1fr}.bb-club-facts b{font-size:11px!important}html[data-bb-theme] body .bb-club-card-footer>span:last-child{font-size:10px!important;padding:8px!important}#bb-play .bb-xi-discovery{grid-template-columns:1fr;gap:0;padding:8px 14px}#bb-play .bb-xi-discovery p{margin-top:0}.bb-club-facts small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){html[data-bb-theme] body .bb-club-card{transition:none!important}}
@media(max-width:600px){html[data-bb-theme] body #ba-hub .ba-account-intro{display:none!important}html[data-bb-theme] body #ba-hub .ba-account-layout{display:block!important}html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card>h3{display:none!important}html[data-bb-theme] body #ba-hub .ba-account-layout>.ba-card>.ba-note{font-size:11px!important;line-height:1.55!important;margin:0 0 16px!important}html[data-bb-theme] body #ba-hub>header h2{display:flex;align-items:center;gap:10px}html[data-bb-theme] body #ba-hub>header h2:before{content:'';display:block;width:30px;height:30px;background:url('/web-assets/brand-b-transparent-256.png') center/contain no-repeat}}
/* A button's text and surface must come from the same active theme. */
html[data-bb-theme] body .v2-button{background:var(--p-raised)!important;background-image:none!important;color:var(--p-ice)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--p-line)!important;text-shadow:none!important;opacity:1}
html[data-bb-theme] body .v2-button:is(.primary,[aria-pressed=true]){background:#0862dc!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0862dc!important}
html[data-bb-theme] body .v2-button:disabled{opacity:.55!important;cursor:not-allowed!important}
html[data-bb-theme="light"] body :is(#bb-play,#bb-daily-hub) .v2-button{background:#eef4ff!important;background-image:none!important;color:#1557a4!important;-webkit-text-fill-color:#1557a4!important;border-color:#cad9f0!important;text-shadow:none!important}
html[data-bb-theme="dark"] body :is(#bb-play,#bb-daily-hub) .v2-button{background:#162940!important;background-image:none!important;color:#cae2ff!important;-webkit-text-fill-color:#cae2ff!important;border-color:#365476!important;text-shadow:none!important}
html[data-bb-theme] body :is(#bb-play,#bb-daily-hub) .v2-button:is(.primary,[aria-pressed=true]){background:#0862dc!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0862dc!important}
/* Do not animate a theme surface while its foreground has already switched. */
html[data-bb-theme] body :is(.v2-button,.ba-button,.bb-btn,.bb-league-button,.bb-creator-origin){transition:transform .16s ease,box-shadow .16s ease!important}
@media(prefers-reduced-motion:reduce){html[data-bb-theme] body :is(.v2-button,.ba-button,.bb-btn,.bb-league-button,.bb-creator-origin){transition:none!important}}
/* 3.1.1 — compact game center, aligned player identities and complete manager workspaces. */
html[data-bb-theme] body #bb-games-menu{padding:18px!important;border-radius:20px!important;margin-bottom:16px!important}
html[data-bb-theme] body #bb-games-intro{padding:0 0 12px!important;min-height:0!important;gap:12px!important;border-bottom:1px solid var(--p-line)!important}
html[data-bb-theme] body #bb-games-intro .bb-games-title{font-size:27px!important;line-height:1.1!important;margin:4px 0!important}
html[data-bb-theme] body #bb-games-intro .bb-games-kicker{font-size:9px!important;margin:0!important}
html[data-bb-theme] body #bb-games-intro .bb-games-subtitle{font-size:12px!important;margin:5px 0 0!important;max-width:none!important}
html[data-bb-theme] body #bb-games-intro .bb-games-metrics{display:none!important}
html[data-bb-theme] body #bb-games-featured{display:none!important}
html[data-bb-theme] body #bb-games-menu>.bb-nav-tools{display:none!important}
html[data-bb-theme] body #bb-games-nav{padding:12px 0 0!important;margin:0!important;gap:6px!important;min-height:48px!important;border:0!important}
html[data-bb-theme] body #bb-games-nav .bb-game-tab{min-height:40px!important;padding:9px 12px!important;border:1px solid var(--p-line)!important;border-radius:10px!important;background:var(--p-raised)!important;color:var(--p-muted)!important;font-size:11px!important;letter-spacing:0!important;white-space:nowrap!important}
html[data-bb-theme] body #bb-games-nav .bb-game-tab[aria-pressed=true]{background:var(--p-ice)!important;color:var(--p-panel)!important;border-color:var(--p-ice)!important}
html[data-bb-theme] body #bb-games-glass{display:none!important}
html[data-bb-theme] body #bb-daily-hub{display:grid!important;grid-template-columns:minmax(150px,1fr) auto auto!important;align-items:center!important;gap:4px 14px!important;padding:12px 14px!important;margin:12px 0 0!important;border-radius:12px!important;box-shadow:none!important;min-height:0!important}
html[data-bb-theme] body #bb-daily-hub[hidden]{display:none!important}
html[data-bb-theme] body #bb-daily-hub h3{grid-column:1;font-size:15px!important;line-height:1.3!important;margin:0!important}
html[data-bb-theme] body #bb-daily-hub>p{grid-column:1;font-size:10px!important;line-height:1.4!important;margin:0!important}
html[data-bb-theme] body #bb-daily-hub nav{grid-column:2;grid-row:1/3;display:flex!important;gap:5px!important;margin:0!important;flex-wrap:wrap!important}
html[data-bb-theme] body #bb-daily-hub>button{grid-column:3;grid-row:1/3}
html[data-bb-theme] body #bb-daily-hub :is(a,button){font-size:11px!important;min-height:38px!important;padding:8px 10px!important;margin:0!important}
html[data-bb-theme] body #bb-play{padding:20px!important;border-radius:20px!important}
html[data-bb-theme] body #bb-play>.bb-feature-head{padding:0 0 12px!important;margin:0 0 10px!important;min-height:0!important;gap:12px!important}
html[data-bb-theme] body #bb-play>.bb-feature-head h2{font-size:30px!important;margin:4px 0!important;line-height:1.15!important}
html[data-bb-theme] body #bb-play>.bb-feature-head p{font-size:12px!important;margin:3px 0!important}
html[data-bb-theme] body #bb-play>.bb-feature-head .bb-feature-symbol{width:36px!important;height:36px!important;font-size:22px!important;margin-inline-end:8px!important}
html[data-bb-theme] body #bb-play #bb-storage{font-size:10px!important;margin:5px 0 12px!important}
html[data-bb-theme] body #bb-play>.bb-feature-head .bb-badge{display:none!important}
html[data-bb-theme] body .bb-player-portrait-card{display:flex!important;flex-direction:column!important;padding:12px!important;gap:0!important;height:100%!important;min-height:0!important;transform:none!important;border-radius:18px!important}
html[data-bb-theme] body .bb-player-portrait-card .bb-mobile-card-photo{width:100%!important;height:auto!important;aspect-ratio:4/3!important;min-height:0!important;max-height:245px!important;margin:0 0 14px!important;border:0!important;border-radius:12px!important;background:var(--p-raised)!important}
html[data-bb-theme] body .bb-player-portrait-card .bb-mobile-card-photo img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:50% 25%!important;border-radius:12px!important}
html[data-bb-theme] body .bb-player-portrait-card>.tesla-stat-label{display:none!important}
html[data-bb-theme] body .bb-player-portrait-card h3{font-size:20px!important;line-height:1.18!important;min-height:2.36em!important;margin:0 2px 7px!important;font-weight:750!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:normal!important}
html[data-bb-theme] body .bb-player-portrait-card h3:after{display:none!important}
html[data-bb-theme] body .bb-player-portrait-card .v22-card-records{min-height:42px!important;margin:0 2px 12px!important;padding:0!important;border:0!important}
html[data-bb-theme] body .bb-player-portrait-card .v22-card-records p{font-size:12px!important;line-height:1.5!important;margin:0!important;color:var(--p-muted)!important}
html[data-bb-theme] body .bb-player-portrait-card .bbx-card-actions{margin-top:auto!important;padding-top:10px!important;gap:7px!important;display:grid!important;grid-template-columns:1fr 1fr!important;border-top:1px solid var(--p-line)!important}
html[data-bb-theme] body .bb-player-portrait-card .bbx-card-actions button{min-height:42px!important;font-size:12px!important;padding:8px!important;border-radius:10px!important}
html[data-bb-theme] body .bb-player-portrait-card .bb-goat-badge{top:20px!important;right:20px!important;font-size:9px!important;padding:5px 9px!important;line-height:1.3!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-controls{gap:12px!important;align-items:center!important;margin:20px 0!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-search{background:var(--p-panel)!important;border:1px solid var(--p-line)!important;border-radius:12px!important;box-shadow:none!important;padding:10px 14px!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-search input{background:transparent!important;color:var(--p-ink)!important;border:0!important;padding:4px!important;min-width:0!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-filter{display:flex!important;gap:5px!important;overflow:auto!important;min-width:0!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-filter button{color:var(--p-muted)!important;background:var(--p-raised)!important;border:1px solid var(--p-line)!important;border-radius:9px!important;min-height:38px!important;font-size:11px!important;padding:8px 11px!important}
html[data-bb-theme] body #bb-managers-browser .bb-reference-filter button.active{color:var(--p-panel)!important;background:var(--p-ice)!important}
html[data-bb-theme] body .bm-card{padding:0!important;overflow:hidden!important;background:var(--p-panel)!important}
html[data-bb-theme] body .bm-card-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent!important;color:var(--p-ink)!important;text-align:start;cursor:pointer}
html[data-bb-theme] body .bm-card .bb-reference-image{height:220px!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:hidden}
html[data-bb-theme] body .bm-card .bb-reference-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 23%!important}
html[data-bb-theme] body .bm-card-body{padding:20px!important}
html[data-bb-theme] body .bm-card h3{font-size:24px!important;margin:10px 0!important}
html[data-bb-theme] body .bm-card-style{font-size:12px!important;min-height:36px;margin:0 0 8px!important}
html[data-bb-theme] body .bm-card-copy{font-size:13px!important;line-height:1.55!important;min-height:60px;margin:0 0 14px!important}
html[data-bb-theme] body .bm-card-cta{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid var(--p-line);color:var(--p-ice);font-size:13px;font-weight:650}
html[data-bb-theme] body .bm-card>.bb-profile-permalink{display:none!important}
.bm-eyebrow{font-size:10px;letter-spacing:.15em;font-weight:750;color:var(--p-ice)}
body.bm-profile-open{overflow:hidden!important}
#bb-manager-profile{padding:0;border:1px solid var(--p-line);border-radius:24px;width:min(1100px,calc(100% - 40px));max-width:none;max-height:90dvh;color:var(--p-ink);background:var(--p-panel);box-shadow:0 24px 100px #00152b55;overflow:auto;overscroll-behavior:contain}
#bb-manager-profile::backdrop{background:#07182d99;backdrop-filter:blur(7px)}
.bm-shell{padding:28px}.bm-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.bm-top button{width:42px;height:42px;border-radius:50%;border:1px solid var(--p-line);color:var(--p-ink);background:var(--p-raised);cursor:pointer}.bm-hero{display:grid;grid-template-columns:190px 1fr;gap:28px;align-items:center}.bm-hero>img{width:190px;height:220px;object-fit:cover;object-position:50% 20%;border-radius:16px}.bm-label{display:inline-block;padding:6px 10px;border-radius:7px;background:var(--p-glow);color:var(--p-ice);font-size:10px;letter-spacing:.12em;font-weight:750}.bm-hero h2{font-size:clamp(32px,4vw,48px)!important;line-height:1.05!important;letter-spacing:-.04em;margin:14px 0!important;color:var(--p-ink)!important}.bm-hero p{color:var(--p-muted);font-size:14px;line-height:1.6;max-width:650px}.bm-actions button{font:inherit;font-size:12px;padding:10px 14px;color:var(--p-ice);background:var(--p-raised);border:1px solid var(--p-line);border-radius:10px;cursor:pointer}.bm-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.bm-facts>div{padding:16px;border:1px solid var(--p-line);border-radius:12px;background:var(--p-raised)}.bm-facts span{display:block;color:var(--p-muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}.bm-facts strong{font-size:14px;line-height:1.4;display:block}.bm-shell>[role=tablist]{position:sticky;top:0;z-index:2;display:flex;gap:6px;overflow:auto;background:var(--p-panel);padding:10px 0;border-bottom:1px solid var(--p-line)}.bm-shell>[role=tablist] button{font:inherit;font-weight:650;font-size:13px;white-space:nowrap;padding:12px 16px;border-radius:10px;border:0;background:transparent;color:var(--p-muted);cursor:pointer}.bm-shell>[role=tablist] button[aria-selected=true]{color:var(--p-ice);background:var(--p-glow)}.bm-story{padding:28px 0 8px;max-width:860px}.bm-story h3{font-size:25px!important;line-height:1.2!important;color:var(--p-ink)!important;letter-spacing:-.025em;margin:12px 0 16px!important}.bm-story p{font-size:15px;line-height:1.85;color:var(--p-muted)}.bm-callout{border-left:3px solid var(--p-ice);background:var(--p-raised);border-radius:0 12px 12px 0;padding:18px 22px;margin:24px 0}.bm-callout p{margin:7px 0 0}.bm-timeline{list-style:none;margin:24px 0;padding:0 0 0 22px;border-left:2px solid var(--p-line)}.bm-timeline li{padding:12px 0;position:relative}.bm-timeline li:before{content:'';width:10px;height:10px;border-radius:50%;background:var(--p-ice);position:absolute;left:-28px;top:20px}.bm-honours p{padding:12px 16px;border-radius:10px;background:var(--p-raised);border:1px solid var(--p-line);margin:8px 0}.bm-honours span{color:var(--p-gold);margin-right:10px}.bm-demands{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.bm-demands article{padding:18px;border:1px solid var(--p-line);border-radius:12px;background:var(--p-raised)}.bm-demands p{font-size:13px;line-height:1.7;margin:8px 0 0}.bm-note,.bm-reference p,.bm-story small{font-size:12px!important;color:var(--p-muted)}.bm-reference{border-top:1px solid var(--p-line);padding-top:18px;margin-top:22px}.bm-reference summary{font-size:12px;color:var(--p-muted);cursor:pointer}.bm-reference a{color:var(--p-ice)}.bm-system{width:min(380px,100%);display:grid;gap:22px;padding:24px;border-radius:14px;border:1px solid #69a68c;background:repeating-linear-gradient(#124a3b 0 55px,#175742 55px 110px);color:#f4fff8;text-align:center;margin:20px 0 8px;font-size:25px;letter-spacing:.12em}.bm-card-open:focus-visible,#bb-manager-profile :is(button,a):focus-visible{outline:3px solid var(--p-ice);outline-offset:3px}
@media(max-width:767px){html[data-bb-theme] body #bb-games-menu{padding:12px!important}html[data-bb-theme] body #bb-games-intro .bb-games-title{font-size:23px!important}html[data-bb-theme] body #bb-games-intro .bb-games-subtitle{display:none!important}html[data-bb-theme] body #bb-daily-hub{grid-template-columns:1fr auto!important;gap:6px!important;padding:10px!important}html[data-bb-theme] body #bb-daily-hub h3{font-size:13px!important}html[data-bb-theme] body #bb-daily-hub>p{font-size:9px!important}html[data-bb-theme] body #bb-daily-hub nav{grid-column:1/-1;grid-row:3;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}html[data-bb-theme] body #bb-daily-hub nav a{padding:7px 5px!important;font-size:10px!important;text-align:center}html[data-bb-theme] body #bb-daily-hub>button{grid-column:2;grid-row:1/3;max-width:86px;font-size:10px!important}html[data-bb-theme] body #bb-play{padding:14px!important}html[data-bb-theme] body #bb-play>.bb-feature-head h2{font-size:24px!important}html[data-bb-theme] body .bb-player-portrait-card{padding:9px!important;border-radius:15px!important}html[data-bb-theme] body .bb-player-portrait-card .bb-mobile-card-photo{aspect-ratio:4/5!important;margin-bottom:10px!important;max-height:none!important}html[data-bb-theme] body .bb-player-portrait-card h3{font-size:17px!important;min-height:2.36em!important;margin-bottom:5px!important}html[data-bb-theme] body .bb-player-portrait-card .v22-card-records{min-height:50px!important;margin-bottom:8px!important}html[data-bb-theme] body .bb-player-portrait-card .v22-card-records p{font-size:10px!important}html[data-bb-theme] body .bb-player-portrait-card .bbx-card-actions button{font-size:10px!important;padding:7px 3px!important;min-height:42px!important}html[data-bb-theme] body .bb-player-portrait-card .bb-goat-badge{top:15px!important;right:15px!important;font-size:8px!important;padding:4px 6px!important}html[data-bb-theme] body .bb-player-portrait-card .bbx-card-actions svg{width:12px!important;height:12px!important}html[data-bb-theme] body #bb-managers-browser .bb-reference-controls{display:block!important}html[data-bb-theme] body #bb-managers-browser .bb-reference-filter{margin-top:10px!important}html[data-bb-theme] body .bm-card .bb-reference-image{height:200px!important}html[data-bb-theme] body .bm-card-body{padding:16px!important}html[data-bb-theme] body .bm-card h3{font-size:22px!important}#bb-manager-profile{width:calc(100% - 16px);max-height:94dvh;border-radius:18px}.bm-shell{padding:18px}.bm-top{margin-bottom:16px}.bm-hero{grid-template-columns:90px 1fr;gap:16px}.bm-hero>img{width:90px;height:130px}.bm-hero h2{font-size:29px!important;margin:10px 0!important}.bm-hero p{font-size:12px}.bm-hero p+p{display:none}.bm-label{font-size:8px}.bm-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.bm-facts>div{padding:12px}.bm-facts strong{font-size:12px}.bm-shell>[role=tablist] button{font-size:12px;padding:11px 12px}.bm-story{padding-top:20px}.bm-story h3{font-size:23px!important}.bm-story p{font-size:14px}.bm-demands{grid-template-columns:1fr}.bm-system{max-width:100%}}
html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.bb-mobile-card-photo{order:0!important}
html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>h3{order:1!important;font-family:inherit!important;font-size:20px!important;font-weight:750!important;line-height:1.2!important;min-height:2.4em!important;margin:0 2px 6px!important}
html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.v22-card-records{order:2!important}
html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.bbx-card-actions{order:3!important}
@media(max-width:767px){html[data-bb-theme] body.bb-mobile-view #bw-page-heading{display:none!important}html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.bb-mobile-card-photo{height:auto!important;aspect-ratio:4/5!important;max-height:none!important}html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>h3{font-size:16px!important;min-height:2.4em!important}html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.v22-card-records{min-height:46px!important}}

html[data-bb-theme] body #bb-play .bb-tier-studio{padding:20px!important;border-radius:16px!important;box-shadow:none!important}
html[data-bb-theme] body #bb-play .bb-tier-topline{font-size:10px!important;margin-bottom:14px!important}
html[data-bb-theme] body #bb-play .bb-tier-titlebar{gap:12px!important;margin-bottom:12px!important}
html[data-bb-theme] body #bb-play .bb-tier-title{font-size:25px!important;padding:12px!important;height:auto!important;min-height:48px!important}
html[data-bb-theme] body #bb-play .bb-tier-toolbar{margin:10px 0!important;padding:0!important;gap:12px!important}
html[data-bb-theme] body #bb-play .bb-tier-toolbar p{font-size:12px!important;margin:0!important;line-height:1.5!important}
html[data-bb-theme] body #bb-play .bb-tier-row{min-height:106px!important;padding:12px!important;margin-bottom:10px!important}
@media(max-width:767px){html[data-bb-theme] body #bb-play .bb-tier-studio{padding:12px!important}html[data-bb-theme] body #bb-play .bb-tier-title{font-size:19px!important}html[data-bb-theme] body #bb-play .bb-tier-row{min-height:90px!important;padding:9px!important}}
@media(max-width:767px){html[data-bb-theme] body.bb-mobile-view #bb-mobile-games-hub{gap:10px!important}html[data-bb-theme] body.bb-mobile-view .bb-mobile-game-tile{min-height:112px!important;padding:13px!important;border-radius:14px!important;display:grid!important;grid-template-columns:28px 1fr!important;align-content:start!important;gap:7px 9px!important}html[data-bb-theme] body.bb-mobile-view .bb-mobile-game-tile>span{min-width:28px!important;height:28px!important;margin:0!important;font-size:18px!important;grid-row:1/3!important}html[data-bb-theme] body.bb-mobile-view .bb-mobile-game-tile>strong{font-size:13px!important;line-height:1.3!important;font-weight:650!important;margin-top:3px!important}html[data-bb-theme] body.bb-mobile-view .bb-mobile-game-tile>small{font-size:10px!important;line-height:1.45!important;margin:0!important}}
html[data-bb-theme] body #bb-play .bb-tier-studio{background:var(--p-raised)!important;border:1px solid var(--p-line)!important;color:var(--p-ink)!important}
html[data-bb-theme] body #bb-play .bb-tier-studio :is(.bb-tier-topline,.bb-tier-toolbar p,.bb-tier-titlebar label){color:var(--p-muted)!important}
html[data-bb-theme] body #bb-play .bb-tier-title{background:var(--p-panel)!important;color:var(--p-ink)!important;border:1px solid var(--p-line)!important}
html[data-bb-theme] body #bb-play .bb-tier-share{background:var(--p-ice)!important;color:var(--p-panel)!important;border:1px solid var(--p-ice)!important;border-radius:10px!important;padding:12px 16px!important;font-size:12px!important}
.bm-hero{padding:0!important;margin:0!important}.bm-hero:before,.bm-hero:after{display:none!important}.bm-hero h2{font-weight:800!important}.bm-story h3{font-weight:750!important}
@media(min-width:768px){html[data-bb-theme] body #player-grid-container .bb-player-portrait-card>.bb-mobile-card-photo{aspect-ratio:1/1!important;height:auto!important;max-height:none!important}}
html[data-bb-theme] body .bm-card .bb-reference-image{height:235px!important;background:var(--p-raised)!important}
html[data-bb-theme] body .bm-card .bb-reference-image img{object-fit:contain!important;object-position:center!important;border-radius:0!important}
html[data-bb-theme] body.bb-revolution #player-grid-container .bb-player-portrait-card .bbx-card-actions button{background:var(--p-raised)!important;color:var(--p-ice)!important;border:1px solid var(--p-line)!important;-webkit-text-fill-color:currentColor!important}
html[data-bb-theme] body.bb-revolution #player-grid-container .bb-player-portrait-card .bbx-card-actions button span{color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
html[data-bb-theme] body.bb-revolution #player-grid-container .bb-player-portrait-card .bbx-card-actions button[aria-pressed=true]{background:var(--p-glow)!important;border-color:var(--p-ice)!important}
.ba-missing-details{margin-top:14px;border-top:1px solid var(--p-line);padding-top:12px}.ba-missing-details summary{font-size:12px;color:var(--p-muted);cursor:pointer;min-height:40px;display:flex;align-items:center}.ba-missing-details p{color:var(--p-muted);font-size:12px;line-height:1.7}

/* Comparison workspace: identities first, football figures next, one share action. */
html[data-bb-theme] #vs-comparison-overlay{background:#071120dd!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;padding:24px!important}
html[data-bb-theme] #vs-comparison-overlay .bb-vs-sheet{max-width:960px!important;background:var(--p-panel)!important;color:var(--p-ink)!important;border:1px solid var(--p-line)!important;border-radius:24px!important;padding:28px!important;box-shadow:0 24px 70px #0004!important}
html[data-bb-theme] #vs-comparison-overlay.bb-vs-goat-duel .bb-vs-sheet{border-color:var(--p-gold,#aa7a12)!important}
#vs-comparison-overlay .bb-vs-header{padding-bottom:14px;margin-bottom:12px;align-items:center}
html[data-bb-theme] #vs-comparison-overlay #bb-vs-title{color:var(--p-ink)!important;font-size:clamp(24px,4vw,36px)!important;font-weight:800!important;text-shadow:none!important;letter-spacing:-.04em}
#vs-comparison-overlay .bb-vs-header small{font:700 10px/1.5 system-ui;letter-spacing:.13em;color:var(--p-ice)!important}
#vs-comparison-overlay #bb-vs-context{font-size:13px;color:var(--p-muted)!important;margin:0 0 20px}
#vs-comparison-overlay .bb-vs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
#vs-comparison-overlay .bb-vs-profile:first-child{grid-column:1;grid-row:1}
#vs-comparison-overlay .bb-vs-profile:last-child{grid-column:2;grid-row:1}
#vs-comparison-overlay .bb-vs-profile{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;column-gap:14px;text-align:start;border:1px solid var(--p-line);background:var(--p-soft);padding:16px;border-radius:18px}
#vs-comparison-overlay .bb-vs-profile img{grid-column:1;grid-row:1/4;width:76px!important;height:88px!important;aspect-ratio:auto;object-fit:cover;margin:0;border-radius:12px;box-shadow:none!important;background:var(--p-panel)!important}
#vs-comparison-overlay .bb-vs-profile img.bb-vs-crest{object-fit:contain!important;padding:7px}
html[data-bb-theme] #vs-comparison-overlay .bb-vs-profile h2{grid-column:2;font-size:19px!important;font-weight:800!important;color:var(--p-ink)!important;text-shadow:none!important;margin:0 0 5px;line-height:1.25}
#vs-comparison-overlay .bb-vs-profile p{grid-column:2;color:var(--p-muted)!important;font-size:11px;line-height:1.5;margin:0}
#vs-comparison-overlay .bb-vs-profile-date{grid-column:2;font-size:10px;color:var(--p-muted);margin-top:6px;line-height:1.5}
#vs-comparison-overlay #vs-metrics-rows-container{grid-column:1/-1;grid-row:2;display:grid;gap:18px}
#vs-comparison-overlay .bb-vs-section,#vs-comparison-overlay #bb-vs-team-facts{padding:16px;border:1px solid var(--p-line);border-radius:18px;background:var(--p-panel)}
#vs-comparison-overlay .bb-vs-section h3,#vs-comparison-overlay #bb-vs-team-facts h3{font:750 14px/1.4 system-ui;letter-spacing:0;margin:0 0 10px;color:var(--p-ink)!important}
#vs-comparison-overlay .bb-vs-section .bb-vs-metric{border:0!important;border-radius:0!important;padding:12px 0!important;background:transparent!important;border-top:1px solid var(--p-line)!important}
#vs-comparison-overlay .bb-vs-metric-values{grid-template-columns:minmax(0,1fr) minmax(110px,1.3fr) minmax(0,1fr);font-size:18px;font-weight:650;color:var(--p-ink)!important;gap:12px;line-height:1.4}
#vs-comparison-overlay .bb-vs-metric-label{font-size:11px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important;color:var(--p-muted)!important}
#vs-comparison-overlay .bb-vs-metric-label small{color:var(--p-muted)!important;font-size:9px}
#vs-comparison-overlay .bb-vs-value-leading{color:var(--p-ice)!important;text-shadow:none!important;font-weight:850}
#vs-comparison-overlay .bb-vs-track{height:5px!important;background:var(--p-soft)!important;border:0!important;margin-top:9px}
#vs-comparison-overlay .bb-vs-track>span:first-child{background:#438dff!important}
#vs-comparison-overlay .bb-vs-track>span:last-child{background:#a4caff!important}
#vs-comparison-overlay.bb-vs-goat-duel .bb-vs-track>span:first-child{background:#bc891d!important}
#vs-comparison-overlay.bb-vs-goat-duel .bb-vs-track>span:last-child{background:#e8c975!important}
#vs-comparison-overlay .bb-vs-incomplete .bb-vs-track{display:none}
#vs-comparison-overlay .bb-vs-incomplete .bb-vs-metric-values>span:not(.bb-vs-metric-label){font-size:13px;font-weight:550;overflow-wrap:anywhere}
#vs-comparison-overlay #bb-vs-team-facts{grid-column:1/-1;grid-row:3}
#vs-comparison-overlay .bb-vs-fact{display:grid;grid-template-columns:1fr minmax(90px,.7fr) 1fr;gap:15px;align-items:start;padding:12px 0;border-top:1px solid var(--p-line);font-size:12px;line-height:1.6;color:var(--p-ink)}
#vs-comparison-overlay .bb-vs-fact strong{text-align:center;font-weight:500;color:var(--p-muted)}
#vs-comparison-overlay .bb-vs-fact>span:last-child{text-align:end}
#vs-comparison-overlay #bb-comparison-coverage{margin:18px 0 0;border:1px solid var(--p-line);border-radius:14px;padding:12px 16px;font-size:12px;color:var(--p-muted);line-height:1.7}
#vs-comparison-overlay #bb-comparison-coverage summary{cursor:pointer;min-height:28px;font-weight:650;color:var(--p-ink)}
#vs-comparison-overlay #bb-vs-note,#vs-comparison-overlay #bb-vs-source-summary{font-size:11px!important;border:0!important;color:var(--p-muted)!important;padding:8px 0 0!important;margin:0!important}
#vs-comparison-overlay #v2-comparison-actions{position:sticky;bottom:0;z-index:3;justify-content:center;margin:16px -8px -8px;padding:14px 8px 8px;background:var(--p-panel);border-top:1px solid var(--p-line)}
#vs-comparison-overlay #v2-comparison-actions button{min-height:48px;padding:12px 30px;background:#0964ee!important;border-color:#0964ee!important;color:#fff!important;font-weight:750;font-size:14px;border-radius:14px!important}
@media(max-width:600px){
 html[data-bb-theme] #vs-comparison-overlay{padding:8px!important}
 html[data-bb-theme] #vs-comparison-overlay .bb-vs-sheet{padding:16px!important;border-radius:20px!important}
 #vs-comparison-overlay .bb-vs-grid{gap:10px!important}
 #vs-comparison-overlay .bb-vs-profile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:12px 8px;gap:0;border-radius:15px}
 #vs-comparison-overlay .bb-vs-profile img{width:76px!important;height:88px!important;margin:0 0 10px}
 html[data-bb-theme] #vs-comparison-overlay .bb-vs-profile h2{font-size:15px!important;line-height:1.35;overflow-wrap:anywhere}
 #vs-comparison-overlay .bb-vs-profile p{font-size:10px;line-height:1.5}
 #vs-comparison-overlay .bb-vs-profile-date{font-size:9px;margin-top:auto;padding-top:7px}
 #vs-comparison-overlay .bb-vs-section,#vs-comparison-overlay #bb-vs-team-facts{padding:12px;border-radius:15px}
 #vs-comparison-overlay .bb-vs-metric-values{font-size:17px;grid-template-columns:minmax(0,1fr) minmax(90px,1.2fr) minmax(0,1fr);gap:6px}
 #vs-comparison-overlay .bb-vs-metric-label{font-size:10px!important;line-height:1.5}
 #vs-comparison-overlay .bb-vs-incomplete .bb-vs-metric-values>span:not(.bb-vs-metric-label){font-size:11px}
 #vs-comparison-overlay .bb-vs-fact{font-size:11px;gap:8px;grid-template-columns:1fr 75px 1fr}
 #vs-comparison-overlay #v2-comparison-actions button{width:100%}
}
#vs-comparison-overlay #bb-comparison-share-status{flex-basis:100%;text-align:center;overflow-wrap:anywhere;font-size:11px!important;line-height:1.5;color:var(--p-muted)!important;margin:0}
#vs-comparison-overlay #bb-comparison-share-status:empty{display:none}
html[data-bb-theme] #vs-comparison-overlay{z-index:200!important}
body.bb-vs-open #bb-mobile-navigation{visibility:hidden!important;pointer-events:none!important}
#vs-comparison-overlay .bb-vs-metric-values>span:first-child{text-align:start}
#vs-comparison-overlay .bb-vs-metric-values>span:last-child{text-align:end}
/* Fixed slots remain stable when source notes and column labels are inserted. */
#vs-comparison-overlay .bb-vs-grid>.bb-vs-profile.bb-vs-side-1{grid-column:1!important;grid-row:1!important;min-width:0}
#vs-comparison-overlay .bb-vs-grid>.bb-vs-profile.bb-vs-side-2{grid-column:2!important;grid-row:1!important;min-width:0}
#vs-comparison-overlay .bb-vs-grid>.bb-vs-column-labels{grid-column:1/-1!important;grid-row:2!important;width:auto;min-width:0}
#vs-comparison-overlay .bb-vs-grid>#vs-metrics-rows-container{grid-column:1/-1!important;grid-row:3!important;min-width:0}
#vs-comparison-overlay .bb-vs-grid>:not(.bb-vs-profile):not(.bb-vs-column-labels):not(#vs-metrics-rows-container){grid-column:1/-1!important}
