/* Keep the kanbun controls and its return link in one header row. */
body.kanbun-compact-header .topbar-inner{flex-wrap:nowrap;gap:16px}
body.kanbun-compact-header .topbar .header-actions{flex-basis:auto;flex-wrap:nowrap;gap:8px;min-width:0}
body.kanbun-compact-header .kanbun-header-return{flex:0 0 auto;margin:0;flex-wrap:nowrap}
@media(max-width:980px){
 body.kanbun-compact-header .topbar .area-label{display:none}
}
@media(max-width:760px){
 body.kanbun-compact-header .topbar-inner{padding:10px 12px;gap:8px}
 body.kanbun-compact-header .brand{gap:6px}
 body.kanbun-compact-header .brand .brand-logo{width:30px;height:30px;border-radius:8px}
 body.kanbun-compact-header .brand strong{font-size:22px}
 body.kanbun-compact-header .brand strong>span{font-size:8px;margin-top:4px}
 body.kanbun-compact-header .topbar .header-actions{flex:0 0 auto;margin-left:auto;gap:5px}
 body.kanbun-compact-header .topbar .sound-button,
 body.kanbun-compact-header .topbar .slopeSceneShareTrigger{min-height:44px;padding:7px;font-size:12px;white-space:nowrap}
 body.kanbun-compact-header .sound-button{gap:4px}
 body.kanbun-compact-header .sound-button svg{width:15px;height:15px}
 body.kanbun-compact-header .kanbun-header-return>a{min-height:44px;padding:7px;font-size:12px}
}
@media(max-width:360px){
 body.kanbun-compact-header .topbar-inner{padding-inline:10px;gap:6px}
 body.kanbun-compact-header .sound-button svg{display:none}
 body.kanbun-compact-header .topbar .sound-button,
 body.kanbun-compact-header .topbar .slopeSceneShareTrigger,
 body.kanbun-compact-header .kanbun-header-return>a{padding-inline:6px;font-size:11px}
}
