/* ===== 右侧栏固定, 左侧滚动 (工作台 / 仓库首页) ===== */
@media (min-width: 961px) {
  .wb-aside { position: sticky; top: 60px; max-height: calc(100vh - 60px); overflow-y: auto; min-height: 0; padding-bottom: 24px; }
  .cols > aside { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding-bottom: 16px; }
  /* 侧栏滚动条完全隐藏 (仍可用滚轮/触控板滚动) */
  .wb-aside, .cols > aside { scrollbar-width: none; -ms-overflow-style: none; }
  .wb-aside::-webkit-scrollbar, .cols > aside::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

/* ===== 动态时间线 ===== */
.fd { margin-top: 30px; }
.fd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fd-head .wb-h { margin: 0; font-size: 20px; font-weight: 700; }
.fd-scope { width: auto; min-width: 120px; height: 34px; padding: 0 30px 0 12px; font-size: 13.5px; }
.fd-list { position: relative; padding-left: 0; }
.fd-list::before { content: ""; position: absolute; left: 17px; top: 14px; bottom: 0; width: 1px; background: var(--border-soft); }
.fd-day { position: relative; display: flex; align-items: center; gap: 22px; padding: 18px 0 10px; font-size: 16px; font-weight: 600; }
.fd-dot { width: 12px; height: 12px; margin-left: 12px; border-radius: 50%; border: 2.5px solid var(--acc); background: #fff; flex: none; position: relative; z-index: 1; }
.fd-item { position: relative; display: flex; gap: 14px; padding: 10px 0; }
.avatar.fd-av { width: 36px; height: 36px; font-size: 15px; flex: none; position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff; }
.fd-main { flex: 1; min-width: 0; }
.fd-who { font-weight: 650; color: var(--text); line-height: 36px; }
.fd-who:hover { color: var(--acc-2); }
.fd-act { display: flex; gap: 10px; align-items: baseline; color: var(--muted); margin: 2px 0 8px; font-size: 14px; }
.fd-card { background: var(--card-2); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.fd-where { font-size: 13.5px; color: var(--muted); }
.fd-where a { color: var(--text); }
.fd-commit { display: flex; align-items: center; gap: 10px; font-size: 14px; min-width: 0; }
.fd-commit .avatar { flex: none; }
.fd-sha { color: var(--acc); flex: none; }
.fd-title { color: var(--text); font-size: 14px; }
.fd-title:hover { color: var(--acc-2); }
.fd-more { color: var(--link-2, var(--acc)); }
.fd-foot { display: flex; justify-content: center; padding: 16px 0 8px; }
.fd-mini { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.avatar.fd-av-s { width: 26px; height: 26px; font-size: 11px; flex: none; }

/* ===== 仓库侧栏 ===== */
.rs-stats { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.rs-stats > * { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.rs-stats b { color: var(--text); }
.rs-stats a:hover { color: var(--acc-2); }
.lang-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg-soft); gap: 2px; margin: 4px 0 12px; }
.lang-bar span { display: block; min-width: 3px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.lang-list span { display: inline-flex; align-items: center; gap: 6px; }
.lang-list i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lang-list em { font-style: normal; color: var(--faint); }
.contrib { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar.contrib-av { width: 32px; height: 32px; font-size: 13px; }
.rs-act { display: flex; flex-direction: column; }

/* ===== 克隆/下载 弹窗 ===== */
.cl { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.cl p { margin: 4px 0 0; color: var(--text); }
.cl-tabs { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--border-soft); }
.cl-tab { padding: 8px 4px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; user-select: none; }
.cl-tab:hover { color: var(--text); }
.cl-tab.active { color: var(--acc-2); border-bottom-color: var(--acc-2); }
.cl-pane { display: flex; flex-direction: column; gap: 12px; }
.cl-dl { display: inline-flex; align-items: center; gap: 6px; color: var(--acc-2); font-size: 14px; }
.cl-dl:hover { color: var(--acc-2); text-decoration: underline; }
.cl-field { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-soft); overflow: hidden; }
.cl-field input { flex: 1; border: none !important; background: transparent !important; box-shadow: none !important; height: 40px; padding: 0 12px; font-size: 13.5px; }
.cl-field pre { flex: 1; margin: 0; padding: 12px 14px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.cl-field .btn { border: none; border-left: 1px solid var(--border); border-radius: 0; background: #fff; height: auto; width: 44px; }
.cl-field.multi .btn { border-left: none; background: transparent; align-self: center; }
.cl-h { margin: 6px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
.cl-auth { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-wrap; }

/* 后台: 全部备份进度表里的小号转圈 */
table.list .spin { width: 12px; height: 12px; border-width: 2px; vertical-align: -1px; }
