/* ==========================================================================
   品牌附加层（纯新增，不改动现有任何规则、不改背景、不影响布局）
   —— 只由 position:fixed 元素和一个文末 footer 组成
   ========================================================================== */

/* ---------- 两侧竖排品牌 ---------- */
.nb-side {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
  user-select: none;
}
.nb-side-l { left: 26px; }
.nb-side-r { right: 26px; flex-direction: row-reverse; }

.nb-side-txt {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .44em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink-4);
  opacity: .66;
}
.nb-side-r .nb-side-txt {
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 10px;
  letter-spacing: .34em;
  opacity: .48;
}

.nb-side-line {
  display: block;
  width: 1px;
  height: 128px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(142, 107, 46, .52) 36%,
    rgba(142, 107, 46, .22) 74%,
    transparent 100%);
}
.nb-side-r .nb-side-line {
  background: linear-gradient(0deg,
    transparent 0%,
    rgba(142, 107, 46, .52) 36%,
    rgba(142, 107, 46, .22) 74%,
    transparent 100%);
}

/* 深色主题 */
html[data-theme="dark"] .nb-side-txt { color: rgba(251, 248, 242, .34); }
html[data-theme="dark"] .nb-side-r .nb-side-txt { color: rgba(251, 248, 242, .24); }
html[data-theme="dark"] .nb-side-line,
html[data-theme="dark"] .nb-side-r .nb-side-line {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201, 163, 95, .50) 36%,
    rgba(201, 163, 95, .20) 74%,
    transparent 100%);
}

/* 窄屏放不下就不显示（不挤内容） */
@media (max-width: 1500px) {
  .nb-side { display: none; }
}

/* ---------- 文末署名（只在文档流末尾追加，不改上面任何东西） ---------- */
.nb-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 16px calc(96px + env(safe-area-inset-bottom));
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-4);
  opacity: .55;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.nb-foot i {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.nb-foot .en {
  font-family: var(--serif);
  letter-spacing: .3em;
  font-size: 10px;
}
@media (min-width: 900px) {
  .nb-foot { padding-bottom: 40px; }
}

/* 文末备案号 */
.nb-foot-icp {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  opacity: .9;
}
.nb-foot-icp:hover { opacity: 1; }
