/* Generated bitmap chrome, with live labels and native Discuz form controls. */
body,input,button,select,textarea{font-family:Tahoma,"SimSun",serif}
#nv,.bm_h,.fl .bm_h,#online .bm_h,.bian-style-preview summary{background:#280907 url(ui/bar.webp) center top/100% 165% no-repeat;box-shadow:none;border-color:#65503a}
#nv li.a,#nv li a:hover{background:#300d09 url(ui/button.webp) center top/100% 140% no-repeat}
#nv li{border-right-color:#624333}#nv li a{color:#eedbc1}
.bm_h h2 a,.bm_h h3,.bm_h h2{color:#d9b791;letter-spacing:1px}
.bm,.bloodmoon-notice{border-color:#574438}
.pn,.pnc,#newspecial,#newspecialtmp,#scbar_btn,#qmenu,.pg a,.pg strong,.pgb a,.bian-style-options button,.bian-scene-original{background:#260907 url(ui/button.webp) center top/100% 140% no-repeat;border:1px solid #6a513d;box-shadow:none;color:#e6d1b7;text-shadow:1px 1px #000;border-radius:0}
.pn:hover,.pnc:hover,#scbar_btn:hover,#qmenu:hover,.bian-style-options button:hover{outline:1px solid #b78856;outline-offset:-2px}
.bian-style-options button[aria-pressed="true"]{background:#260907 url(ui/button.webp) center top/100% 140% no-repeat;color:#ffd8a0;border-color:#c99a62;box-shadow:inset 0 0 0 1px #9a603b}
.bian-style-options button[aria-pressed="true"]::after{content:" ◆";color:#dda66d}
.bian-style-preview{background:#120a08;border:9px solid transparent;border-image:url(ui/panel.webp) 90 fill / 9px stretch;box-shadow:2px 2px 0 #000;color:#d8c1a8}
.bian-style-preview summary{padding:9px 14px;color:#e0c09b;border:0}
.bian-style-preview[open] summary{border-bottom:1px solid #624836}
.bian-style-options{width:260px;padding:8px 4px}
.bian-style-options p{color:#a58f7b}
.bian-style-options button{width:124px;padding:8px 3px;font-size:12px}
.bian-style-options button img{width:108px;height:40px;border:1px solid #4e3024}
.bian-scene-original{padding:9px 5px;text-decoration:none;color:#dbbd96}
.bloodmoon-notice{background:#160c09;border:7px solid transparent;border-image:url(ui/panel.webp) 90 fill / 7px stretch;padding:7px 10px;color:#c6ad98}
.bloodmoon-notice strong{color:#d9ac78}
.p_pop,.p_pof,.sllt,.fwin .m_c{border-color:#785a3e;background:#1c100c}
.px,.pt,.ps,select{border-color:#70503d;background-color:#100c0b}
.tb a{background:#24130e;border-color:#624432}.tb .a a,.tb .current a{background:#421c11;border-color:#805934}
.bian-style-preview :focus-visible{outline:2px solid #e1b37d;outline-offset:2px}
/* Native search table must fit inside its bar, including borders and padding. */
#scbar{height:42px;box-sizing:border-box;line-height:normal;overflow:visible}
#scbar_form,#scbar table{height:40px}
#scbar table{border-collapse:collapse}
#scbar td{height:40px;padding-top:0;padding-bottom:0;vertical-align:middle;line-height:28px}
#scbar .scbar_icon_td{width:14px}
#scbar_txt{display:block;box-sizing:border-box;height:28px;line-height:26px;padding:0 7px;width:260px;margin:0}
#scbar_type{box-sizing:border-box;height:28px;line-height:26px;margin:0;padding:0 16px 0 9px;border-color:#70503d}
#scbar_btn{position:relative;display:block;box-sizing:border-box;width:30px;height:28px;line-height:26px;padding:0;margin:0 14px 0 8px;text-align:center}
#scbar_btn::before{display:block;line-height:26px}
#scbar_btn strong{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#scbar_hot{line-height:28px;white-space:nowrap}
#pt{clear:both;height:30px;line-height:30px;margin:4px 0}
#pt .z a,#pt .z em{height:30px;line-height:30px}
@media(max-width:800px){#scbar_txt{width:160px}#scbar .scbar_icon_td{width:10px}}
/* Native Discuz search, compactly placed beside the navigation. */
.bian-nav-row{position:relative;margin-bottom:10px}
.bian-nav-row #nv{padding-right:310px}
.bian-nav-search{position:absolute;right:8px;top:3px}
.bian-nav-search #scbar{height:28px;border:0;background:none}
.bian-nav-search #scbar_form,.bian-nav-search #scbar table,.bian-nav-search #scbar td{height:28px}
.bian-nav-search #scbar .scbar_icon_td{display:none}
.bian-nav-search #scbar_txt{width:190px;font-size:12px}
.bian-nav-search #scbar_type{font-size:12px}
.bian-nav-search #scbar_btn{margin:0 0 0 6px}
@media(max-width:800px){.bian-nav-row #nv{padding-right:208px}.bian-nav-search{right:5px}.bian-nav-search #scbar_txt{width:95px}}
/* Keep native account controls and avatar inside the header at every width. */
#hd #um{float:right;display:grid;grid-template-columns:minmax(0,1fr) 54px;column-gap:12px;width:calc(100% - 380px);box-sizing:border-box;padding:35px 18px 14px 0;line-height:2.1}
#hd #um .avt{grid-column:2;grid-row:1 / 3;float:none;display:block;margin:0;align-self:start}
#hd #um .avt img{box-sizing:border-box;width:54px;height:54px}
#hd #um p{grid-column:1;margin:0;min-width:0;overflow-wrap:anywhere}
#hd #um p a{display:inline-block;white-space:nowrap}
@media(max-width:800px){#hd #um{float:none;clear:both;width:100%;padding:12px;column-gap:10px;font-size:12px}}
/* Bulu branding on native navigation and native friend links only. */
#category_lk{display:block}
#nv a[href="https://www.bluehorrorspace.com"]::before{content:"";display:inline-block;width:18px;height:18px;margin-right:5px;vertical-align:-4px;background:url(bulu-affiliation/blue-flower.webp) center/contain no-repeat}
#category_lk .lk_logo:has(img[src*="/bulu-affiliation/"]){display:flex;align-items:center;gap:16px;width:100%;box-sizing:border-box;padding:9px 6px;margin:0;border:0}
#category_lk img[src*="/bulu-affiliation/"]{float:none;width:176px;height:auto;margin:0;flex:none}
#category_lk .lk_logo:has(img[src*="/bulu-affiliation/"]) .lk_content{float:none;width:auto;flex:1;min-width:0;padding:0}
#category_lk .lk_logo:has(img[src*="/bulu-affiliation/"]) h5{font:700 14px/1.8 "SimSun",serif}
#category_lk .lk_logo:has(img[src*="/bulu-affiliation/"]) p{font-size:12px;color:#b8a694;line-height:1.8}
.bian-style-options .bian-brand-note{border-top:1px dashed #654431;margin-top:10px;padding-top:9px}
@media(max-width:800px){.bian-nav-row #nv{padding-right:193px}.bian-nav-row #nv li a{padding:0 8px}.bian-nav-search #scbar_txt{width:85px}}
@media(max-width:480px){#category_lk .lk_logo:has(img[src*="/bulu-affiliation/"]){gap:10px}#category_lk img[src*="/bulu-affiliation/"]{width:132px}}
