/* Scoped header bridge: only Fish Rank pages, preserving all other theme pages. */
body.fr-integrated-page header#header .btd_header_left_group{display:flex!important;align-items:center!important;gap:12px!important;margin-left:30px!important;flex-shrink:0!important}
body.fr-integrated-page header#header .btd_header_left_group .search_top_wrap{width:360px!important;max-width:min(360px,38vw)!important;margin:0!important;flex-shrink:1!important}
body.fr-integrated-page header#header #btd_dark_mode_btn{width:46px!important;height:46px!important;min-width:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#fff!important;border:1px solid #e2e8f0!important;cursor:pointer!important;color:#202733!important}
body.fr-integrated-page.dark-mode header#header #btd_dark_mode_btn{background:#1e1e1e!important;border-color:#333!important;color:#a9c86f!important}
@media(max-width:950px){body.fr-integrated-page header#header .btd_header_left_group{margin-left:12px!important}body.fr-integrated-page header#header .btd_header_left_group .search_top_wrap{max-width:30vw!important}}

/* v0.5.3: only the active day/night icon is displayed. */
body.fr-integrated-page header#header #btd_dark_mode_btn .btd_icon_moon {display:block!important;width:18px!important;height:18px!important;color:inherit!important;stroke:currentColor!important;fill:none!important}
body.fr-integrated-page header#header #btd_dark_mode_btn .btd_icon_sun {display:none!important;width:18px!important;height:18px!important;color:inherit!important;stroke:currentColor!important;fill:none!important}
body.fr-integrated-page.dark-mode header#header #btd_dark_mode_btn .btd_icon_moon {display:none!important}
body.fr-integrated-page.dark-mode header#header #btd_dark_mode_btn .btd_icon_sun {display:block!important}
body.fr-integrated-page.dark-mode header#header #btd_dark_mode_btn {color:#d5d5d5!important;background:#1e1e1e!important;border-color:#373737!important}
body.fr-integrated-page header#header #btd_dark_mode_btn svg path,body.fr-integrated-page header#header #btd_dark_mode_btn svg circle {stroke:currentColor!important;fill:none!important}
