﻿@charset "utf-8";
/* zero-hdr.css — 顶栏用户区：补回可见「退出」按钮，并让头像菜单可正常展开 */

/* 给右上角腾出一点空间 */
main > header > .hb-hdr-cluster{ gap:10px !important; }
main > header{ padding-right:12px !important; }
.hb-user{ gap:6px !important; }

/* 退出按钮 */
.hb-logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  flex:none;
  margin-left:5px;
  padding:0;
  border:1px solid #e6ecf7;
  border-radius:9px;
  background:#f8fafe;
  color:#5b6678;
  cursor:pointer;
  transition:background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.hb-logout:hover{
  background:#fff2f2;
  border-color:#ffc9c9;
  color:#e5484d;
  box-shadow:0 4px 12px -6px rgba(229,72,77,.65);
}
.hb-logout:active{ transform:scale(.94) }
.hb-logout svg{ width:15px; height:15px; display:block }
.hb-logout.is-busy{ opacity:.5; pointer-events:none }

@media (max-width:1180px){
  .hb-logout{ width:24px; height:24px; margin-left:2px }
}


/* 左下角「侧栏宽度」开关：全局隐藏 */
.flit2-rail-toggle{ display:none !important; }


/* 侧栏底部「菜单」折叠按钮：去掉 */
.hb-rail-toggle{ display:none !important; }

/* 侧栏导航底部渐隐：滚动列表在圆角底边不会被硬切出半截图标 */
[data-slot="sidebar-content"]{
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent calc(100% - 8px));
          mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent calc(100% - 8px));
}
