/* WBBBAI V4.7: consistent top bar for independent pages */
html{scroll-padding-top:104px}body{--wb-shell-bg:#151617;--wb-shell-fg:#f4f5f5;--wb-shell-border:#303233;--wb-shell-muted:#97999a;--wb-shell-panel:#1b1c1d}
body:has(.wb-shared-header){padding-top:0}
.wb-shared-header{position:sticky;z-index:300;top:0;width:100%;min-height:76px;background:rgba(21,22,23,.94);color:#f4f5f5;border-bottom:1px solid #343637;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif}
.wb-shared-header *{box-sizing:border-box}
.wb-shared-header a{text-decoration:none;color:inherit}
.wb-shared-inner{max-width:1500px;margin:0 auto;min-height:76px;padding:0 clamp(16px,3.1vw,48px);display:flex;align-items:center;justify-content:space-between;gap:26px}
.wb-shared-brand{flex-shrink:0;display:flex;align-items:center;gap:12px;min-width:165px}
.wb-shared-avatar{display:block;width:43px;height:43px;border-radius:10px;background:#f0f0f0;overflow:hidden}
.wb-shared-avatar img{display:block;width:100%;height:100%;object-fit:contain}
.wb-shared-brand-copy{display:flex;flex-direction:column;gap:3px}.wb-shared-brand-copy strong{font-size:19px;font-weight:820;letter-spacing:.04em}.wb-shared-brand-copy small{font-size:11px;color:#a3a4a4}
.wb-shared-nav{display:flex;gap:clamp(10px,1.7vw,26px);align-items:center;margin-left:auto;white-space:nowrap}
.wb-shared-nav a{font-size:13px;font-weight:640;color:#9a9c9d;transition:color .2s}.wb-shared-nav a:hover,.wb-shared-nav a[aria-current=page]{color:#f7f7f7}.wb-shared-nav a[aria-current=page]:after{content:'';display:block;height:2px;background:#eee;margin-top:6px}
.wb-shared-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.wb-shared-buy{height:42px;display:inline-flex;align-items:center;gap:9px!important;border-radius:9px;padding:0 14px;background:#f2f2f2;color:#151515!important;font-size:13px;font-weight:750;white-space:nowrap}
.wb-language{position:relative}.wb-language-button,.wb-theme-button,.wb-menu-button{height:42px;border:1px solid #404243;border-radius:9px;background:#1c1d1e;color:#f0f0f0;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;cursor:pointer;font-size:13px}
.wb-theme-button{width:42px;padding:0}.wb-language-menu{position:absolute;right:0;top:calc(100% + 10px);border:1px solid #3a3b3d;border-radius:10px;padding:6px;background:#1c1d1e;min-width:128px;box-shadow:0 16px 50px #0007}.wb-language-menu[hidden]{display:none}.wb-language-menu button{display:block;width:100%;text-align:left;background:none;color:#eee;border:0;border-radius:6px;padding:9px;font:inherit;cursor:pointer}.wb-language-menu button:hover{background:#343536}.wb-menu-button{display:none}
@media(max-width:1180px){.wb-shared-inner{gap:14px}.wb-shared-nav{gap:10px}.wb-shared-nav a{font-size:12px}.wb-shared-brand{min-width:auto}.wb-shared-brand-copy small{display:none}}
@media(max-width:920px){.wb-shared-header,.wb-shared-inner{min-height:64px}.wb-shared-brand-copy small{display:block}.wb-shared-inner{gap:10px}.wb-menu-button{display:flex}.wb-shared-nav{display:none;position:absolute;top:calc(100% + 1px);left:10px;right:10px;flex-direction:column;align-items:stretch;padding:12px;background:#1b1c1d;border:1px solid #373839;border-radius:12px;box-shadow:0 20px 50px #0009;margin:0}.wb-shared-nav.is-open{display:flex}.wb-shared-nav a{font-size:14px;padding:12px 14px;border-radius:7px}.wb-shared-nav a[aria-current=page]{background:#303132}.wb-shared-nav a[aria-current=page]:after{display:none}}
@media(max-width:500px){.wb-shared-brand-copy strong{font-size:15px}.wb-shared-avatar{width:38px;height:38px}.wb-shared-buy{font-size:0;gap:0!important;padding:0 11px}.wb-shared-buy svg{width:18px}.wb-shared-buy span{display:none}.wb-shared-actions{gap:6px}.wb-language-button,.wb-theme-button,.wb-menu-button{height:38px;padding:0 8px}.wb-theme-button{width:38px}.wb-shared-inner{padding:0 13px}.wb-menu-button span:first-child{display:none}}
/* second-level sections blend into the homepage tokens instead of an alien blue console */
body:has(.wb-shared-header){background:#111213;color:#f4f4f4}
body:has(.wb-shared-header) .watch-shell{max-width:1380px}
body:has(.wb-shared-header) .watch-intro{position:relative;padding:30px 0 57px;isolation:isolate}
body:has(.wb-shared-header) .watch-intro:before{content:'';position:absolute;z-index:-1;inset:-24px -4% 0;background-image:radial-gradient(#777a7a 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent,#0007 70%,transparent);opacity:.4;pointer-events:none}
body:has(.wb-shared-header) .watch-intro h1{font-size:clamp(39px,5.6vw,75px);line-height:1.13;letter-spacing:-.052em}
body:has(.wb-shared-header) .watch-panel{background:#191a1b;border-color:#353638;border-radius:12px}
body:has(.wb-shared-header) .watch-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px}
body:has(.wb-shared-header) .watch-account-line small{font-size:12px;line-height:1.65}
body:has(.wb-shared-header) .watch-account-line .watch-account-meta{display:flex;flex-direction:column;gap:2px;color:#b2b3b3}
body:has(.wb-shared-header) .watch-account-line .watch-account-meta strong{font-weight:600;color:#ececec}
body:has(.wb-shared-header) .watch-status.partial{color:#dfc7a2}
body:has(.wb-shared-header) .watch-intro p{max-width:850px}
body:has(.wb-shared-header) .watch-header{display:none}
body:has(.wb-shared-header) .watch-footer{max-width:1380px}
@media(max-width:790px){body:has(.wb-shared-header) .watch-layout{grid-template-columns:1fr}body:has(.wb-shared-header) .watch-shell{padding:44px 18px 85px}}
/* live page dark neutral, retained data visuals but no separate visual system */
body:has(.wb-shared-header) .room{max-width:1450px;padding:52px clamp(18px,4vw,55px) 28px}
body:has(.wb-shared-header) .room-heading{margin-bottom:25px}
body:has(.wb-shared-header) .room-heading h1{font-weight:820;letter-spacing:-.055em}
body:has(.wb-shared-header) .room-heading h1 i{color:#f5f5f5}
body:has(.wb-shared-header) .eyebrow,body:has(.wb-shared-header) .tiny,body:has(.wb-shared-header) .metric-title b{color:#a9abaa}
body:has(.wb-shared-header) .hero-metric,body:has(.wb-shared-header) .minor-metric,body:has(.wb-shared-header) .data-chart,body:has(.wb-shared-header) .radar-panel,body:has(.wb-shared-header) .region-box,body:has(.wb-shared-header) .health-box,body:has(.wb-shared-header) .global-map-panel{background:#191a1b!important;border:1px solid #38393a!important;border-radius:12px!important}
body:has(.wb-shared-header) .matrix{background-image:radial-gradient(#9a9a9a18 1px,transparent 1px);background-size:24px 24px}
body:has(.wb-shared-header) .scan{opacity:.05}
body:has(.wb-shared-header) .metric-number{color:#f3f3f3}
body:has(.wb-shared-header) .room-meta{color:#b8b9b9}
body:has(.wb-shared-header) .global-map-panel{margin-top:18px}
body:has(.wb-shared-header) .radar{filter:grayscale(.85)}
body:has(.wb-shared-header) .room footer{border-color:#3a3a3a;color:#a3a3a3}
/* dark/light preference shared with homepage, light intentionally neutral */
html[data-theme=light] body:has(.wb-shared-header){background:#f4f4f3;color:#202123}
html[data-theme=light] .wb-shared-header{background:#fafaf9ef;color:#161719;border-color:#d7d7d7}
html[data-theme=light] .wb-shared-nav a{color:#67696b}html[data-theme=light] .wb-shared-nav a:hover,html[data-theme=light] .wb-shared-nav a[aria-current=page]{color:#171819}
html[data-theme=light] .wb-shared-nav a[aria-current=page]:after{background:#111}
html[data-theme=light] .wb-shared-buy{background:#171819;color:#fff!important}
html[data-theme=light] .wb-language-button,html[data-theme=light] .wb-theme-button,html[data-theme=light] .wb-menu-button{background:#fff;color:#171819;border-color:#ccc}
html[data-theme=light] .wb-language-menu{background:#fff;border-color:#ddd}html[data-theme=light] .wb-language-menu button{color:#202123}html[data-theme=light] .wb-language-menu button:hover{background:#eee}
html[data-theme=light] .wb-shared-nav{background:#fff}
html[data-theme=light] body:has(.wb-shared-header) .watch-panel{background:#fff;color:#222;border-color:#d3d4d4}
html[data-theme=light] body:has(.wb-shared-header) .watch-intro p,html[data-theme=light] body:has(.wb-shared-header) .quiet,html[data-theme=light] body:has(.wb-shared-header) .watch-account-line small{color:#5b5e60}
html[data-theme=light] body:has(.wb-shared-header) .watch-account-line .watch-account-meta strong{color:#222}
html[data-theme=light] body:has(.wb-shared-header) .watch-intro{border-color:#ddd}
html[data-theme=light] body:has(.wb-shared-header) .watch-head,html[data-theme=light] body:has(.wb-shared-header) .watch-account-line{border-color:#e0e0e0}
html[data-theme=light] body:has(.wb-shared-header) .watch-head h2,html[data-theme=light] body:has(.wb-shared-header) .watch-account-line b{color:#222}
html[data-theme=light] body:has(.wb-shared-header) .watch-form-row input{background:#fff;color:#222;border-color:#aaa}
html[data-theme=light] body:has(.wb-shared-header) .watch-form-row button{background:#191a1b;color:#fff}
html[data-theme=light] body:has(.wb-shared-header) .watch-account-line a,html[data-theme=light] body:has(.wb-shared-header) .watch-footer a{color:#222}
html[data-theme=light] body:has(.wb-shared-header) .watch-tags span{color:#4e5153;border-color:#cacaca}
html[data-theme=light] body:has(.wb-shared-header) .watch-footer{border-color:#dadada}
html[data-theme=light] body:has(.wb-shared-header) .hero-metric,html[data-theme=light] body:has(.wb-shared-header) .minor-metric,html[data-theme=light] body:has(.wb-shared-header) .data-chart,html[data-theme=light] body:has(.wb-shared-header) .radar-panel,html[data-theme=light] body:has(.wb-shared-header) .region-box,html[data-theme=light] body:has(.wb-shared-header) .health-box,html[data-theme=light] body:has(.wb-shared-header) .global-map-panel{background:#fff!important;border-color:#d9d9d9!important;color:#1c1c1c!important}
html[data-theme=light] body:has(.wb-shared-header) .room-heading h1,html[data-theme=light] body:has(.wb-shared-header) .metric-number{color:#111}
@media(prefers-reduced-motion:reduce){.wb-shared-header *,body:has(.wb-shared-header) .watch-intro:before{animation:none!important;transition:none!important}}
.wb-room-fullscreen{height:38px;background:#222324;border:1px solid #494a4c;color:#f0f0f0;border-radius:8px;padding:0 14px;cursor:pointer;font-size:12px;font-weight:650}
.wb-room-fullscreen:hover{background:#303132}.room-heading .wb-room-fullscreen{white-space:nowrap}
@media(max-width:520px){.room-meta{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.wb-room-fullscreen{align-self:flex-end}}
.watch-post-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.watch-post-bottom time{font-size:12px;color:#b1b3b3}.watch-post-bottom a{font-size:12px}
.wb-clock{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#aeb1b3;font-size:12px;font-variant-numeric:tabular-nums}
.wb-clock time{color:#f7f7f7;font-size:15px;font-weight:750;letter-spacing:.05em}
.wb-shared-avatar img{image-rendering:pixelated}
