/* BamChat v13 / World signature + header hierarchy. Brand palette intentionally unchanged. */
.bw-v8 .bottom-nav [data-bam-tab="World"] svg.bw-world-signature{
 box-sizing:border-box!important; display:block!important;
 width:31px!important;height:31px!important;
 margin:-9px 0 0!important;padding:1px!important;
 border:1px solid rgba(225,182,117,.60)!important;border-radius:11px!important;
 background:radial-gradient(circle at 26% 20%,#54402b,#191614 65%,#111313)!important;
 filter:none!important;stroke:none!important;
 box-shadow:0 3px 11px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,234,188,.18)!important;
 transform:none!important;transition:transform .2s ease,box-shadow .2s ease!important;
}
.bw-v8 .bottom-nav [data-bam-tab="World"].active svg.bw-world-signature{
 transform:translateY(-1px)!important;
 box-shadow:0 5px 15px rgba(0,0,0,.45),0 0 0 1px rgba(107,232,224,.19)!important;
}
.bw-v8 .bottom-nav [data-bam-tab="World"] span{font-size:.63rem!important;font-weight:700!important;letter-spacing:.003em!important}
.bw-v8 .top-actions .bw-header-pay{
 min-width:63px!important;width:auto!important;height:35px!important;min-height:35px!important;
 padding:0 11px!important;gap:6px!important;border-radius:11px!important;
 font-size:.74rem!important;font-weight:750!important;
 box-shadow:inset 0 1px rgba(255,255,255,.4),0 3px 10px rgba(0,0,0,.19)!important;
}
.bw-v8 .top-actions .bw-header-pay svg{width:16px!important;height:16px!important}
.bw-v8 .topbar .top-actions{gap:7px!important;align-items:center!important;flex-shrink:0!important}
.bw-v8 .topbar .top-actions .icon-btn[data-bamchat-quick-actions]{
 width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
 padding:0!important;display:grid!important;place-items:center!important;
 border-radius:12px!important;background:linear-gradient(150deg,#24201c,#101112)!important;
 border:1px solid rgba(235,199,151,.29)!important;
 box-shadow:inset 0 1px rgba(255,244,215,.07)!important;
}
.bw-v8 .topbar .top-actions .icon-btn[data-bamchat-quick-actions] [data-bamchat-action-plus]{
 font-size:21px!important;font-weight:400!important;line-height:1!important;color:#f3dfc3!important;
}
/* v14: single jewel-like star badge — no auxiliary floating dot. */
header.topbar .brand-sub{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important}
.bamchat-brand-seal{position:relative;display:inline-grid;place-items:center;flex:none;width:25px;height:25px;border-radius:9px;background:transparent;filter:none!important;animation:bamchat-star-breathe 3.8s ease-in-out infinite}
.bamchat-brand-seal svg{display:block;width:25px;height:25px;overflow:visible;filter:drop-shadow(0 0 3px rgba(244,197,117,.35)) drop-shadow(0 0 4px rgba(72,224,209,.13))}
.bamchat-brand-seal::before,.bamchat-brand-seal::after{display:none!important;content:none!important}
@keyframes bamchat-star-breathe{0%,100%{filter:drop-shadow(0 0 3px rgba(238,178,83,.25))}50%{filter:drop-shadow(0 0 7px rgba(249,198,114,.58))}}
@media(max-width:380px){.bamchat-brand-seal,.bamchat-brand-seal svg{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.bamchat-brand-seal{animation:none!important}}
/* One lightweight search field, aligned around its baseline and centreline. */
.bw-v8 .searchbar{display:flex!important;align-items:center!important;box-sizing:border-box!important;min-height:42px!important;height:42px!important;padding:0 13px!important;gap:10px!important;line-height:1!important}
.bw-v8 .searchbar>svg{flex:none!important;align-self:center!important;width:17px!important;height:17px!important;margin:0!important}
.bw-v8 .searchbar input{display:block!important;flex:1 1 auto!important;align-self:center!important;box-sizing:border-box!important;height:100%!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;line-height:42px!important;vertical-align:middle!important;text-align:left!important;letter-spacing:0!important;outline:none!important;cursor:text}
.bw-v8 .searchbar .search-end,.bw-v8 .searchbar .ws-search-shortcut,.ws-top-search,#ws-global-search{display:none!important}
.bw-v8 .searchbar:focus-within{border-color:rgba(97,219,211,.45)!important}
@media(max-width:520px){.bw-v8 .searchbar{height:41px!important;min-height:41px!important}.bw-v8 .searchbar input{line-height:41px!important}}
/* Account verification remains semantically a verification mark; visual star matches branded language. */
.official-card .verified{font-size:0!important;position:relative!important;border-radius:9px!important;background:linear-gradient(145deg,#292119,#11191a)!important;border:1px solid rgba(241,188,115,.7)!important;box-shadow:0 0 9px rgba(238,174,90,.22)!important}
.official-card .verified::before{content:'✦'!important;display:inline-block!important;color:#f5cb80!important;font-size:13px!important;line-height:1!important;text-shadow:0 0 7px rgba(249,193,97,.72)!important}

@media(max-width:380px){
 .bw-v8 .top-actions .bw-header-pay{min-width:56px!important;min-height:33px!important;height:33px!important;padding:0 8px!important;font-size:.70rem!important}
 .bw-v8 .topbar .top-actions .icon-btn[data-bamchat-quick-actions]{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
 .bamchat-brand-seal{width:20px;height:20px}.bamchat-brand-seal svg{width:19px;height:19px}
 .bw-v8 .bottom-nav [data-bam-tab="World"] svg.bw-world-signature{width:29px!important;height:29px!important}
}
@media(prefers-reduced-motion:reduce){.bw-v8 .bottom-nav [data-bam-tab="World"] svg.bw-world-signature{transition:none!important}}

/* v14 mobile UI audit: do not float an installation prompt over the official brand/header.
   Browser Add to Home Screen / Install remains available through PWA metadata. */
.install-app-banner{display:none!important}

/* v14 audit at 320px: keep the official star separate from Pay. */
@media(max-width:350px){
 header.topbar > div:first-child:has(.brand-kicker){grid-template-columns:44px minmax(0,1fr)!important;column-gap:6px!important}
 header.topbar > div:first-child:has(.brand-kicker)::before{width:44px!important;height:44px!important}
 header.topbar .brand-kicker{font-size:1.02rem!important;letter-spacing:.065em!important}
 header.topbar .brand-sub{font-size:.56rem!important;letter-spacing:.04em!important;gap:3px!important}
 .bamchat-brand-seal,.bamchat-brand-seal svg{width:18px!important;height:18px!important}
 .bw-v8 .topbar .top-actions{gap:5px!important}
 .bw-v8 .top-actions .bw-header-pay{min-width:52px!important;padding:0 7px!important}
}
