/* 配色、字重、字距取自巴蜀门户（login.css / style.css），要与巴蜀保持一致时对照那两个文件。
   2026-12-02 改版：背景为古画/老照片流动 + 古宣纸蒙版 + 国画水纹（bg.js 生成）；
   文字与文本框用原来的深蓝径向渐变。 */
:root {
  --bg-deep: #070F1E;
  --bg-mid: #0C1A30;
  --bg-center: #112240;
  --brand-background: radial-gradient(ellipse at 50% 38%, var(--bg-center) 0%, var(--bg-mid) 55%, var(--bg-deep) 100%);
  /* 文字用的深蓝渐变：中心略提亮，免得在纸上发死 */
  --brand-ink: linear-gradient(180deg, #143F60 0%, #1A527A 40%, #1E5E72 72%, #266A60 100%);
  /* 金碧山水（参照《千里江山图》）：石青、石绿、泥金、赭色绢底 */
  --shiqing-deep: #123A5C;
  --shiqing: #1F5D86;
  --shilv: #3F8F7F;
  --shilv-light: #6FB09A;
  --nijin: #C8A04A;
  --nijin-light: #E6C77D;
  /* 文本框：山顶石青向山脚石绿过渡 */
  --jinbi-box: linear-gradient(165deg, rgba(30, 91, 130, 0.65) 0%, rgba(24, 76, 110, 0.63) 42%, rgba(31, 94, 102, 0.63) 78%, rgba(46, 116, 102, 0.65) 100%);
  --jinbi-box-hover: linear-gradient(165deg, rgba(36, 106, 148, 0.73) 0%, rgba(29, 88, 128, 0.71) 42%, rgba(36, 108, 114, 0.71) 78%, rgba(54, 134, 116, 0.73) 100%);
  --accent: #E2C176;
  --accent-hover: #F0D592;
  --text-white: #E2EAF4;
  --text-gray: rgba(226, 234, 244, 0.55);
  --text-gray-faint: rgba(226, 234, 244, 0.38);
  --border: rgba(255, 255, 255, 0.12);
  /* 古宣纸 */
  --paper: #E6D3A6;
  --cinnabar: #9A3B26;
  /* 文本框：深蓝底、金边、米白字 */
  --box-border: #C29A45;
  --box-border-hover: rgba(236, 204, 128, 1);
  --box-text: #F5EDD6;
  --box-placeholder: rgba(245, 237, 214, 0.62);
  /* 外：赭色投影；内：一道细泥金线，像金碧画框的双线 */
  /* 2026-12-02 锐化：金边外一道细墨线（像装裱镶边）+ 贴边小投影；内侧金线改用 outline 画成 1px 实线（见文件末） */
  --box-shadow: 0 0 0 1px rgba(16, 44, 66, 0.55), 0 1px 2px rgba(40, 28, 8, 0.30);
  /* logo 是深蓝色，垫米白底板；做法同巴蜀文库 PDF 页眉 */
  --plate: #F6F1E6;
  --plate-border: rgba(201, 169, 110, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--bg-mid);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--plate);
  border: 1px solid var(--plate-border);
  border-radius: 8px;
}

.logo-plate img {
  display: block;
  height: 100%;
  width: auto;
}

/* ── 流动背景（bg.js 生成） ── */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #C8A362;   /* = 纸色 × 原叠底色，第一张淡入前的底 */
  pointer-events: none;
}

.bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
}

.bg-slide img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 50% 50%;
  will-change: transform;
  /* 先提亮压反差，像淡墨，再染成宣纸黄。2026-12-02：纸色原来靠 .bg-paper 正片叠底，整屏混合每帧都要重算，背景滑动会卡；
     改成在图上用 brightness+sepia 算出同样的效果（白→#E1C99C≈原纸色 #DEC596，墨色比例不变）。 */
  filter: grayscale(1) contrast(0.88) brightness(0.697) sepia(1);
}

/* 古画、地图留一点原色 */
.bg-slide--color img {
  filter: grayscale(0.5) contrast(0.92) brightness(0.77) sepia(0.7);
}

/* 宣纸色正片叠底：图里的白变成纸黄，墨色保留 */
/* 宣纸色正片叠底：已停用（见上，纸色改由图片滤镜完成），层保留不显示 */
.bg-paper {
  display: none;
}

/* 纸面罩一层，把图压淡；四周略深，像旧纸泛黄 */
.bg-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 44%,
    rgba(243, 233, 205, 0.64) 0%,
    rgba(236, 222, 186, 0.52) 50%,
    rgba(214, 190, 140, 0.44) 82%,
    rgba(190, 160, 105, 0.50) 100%);
}

/* 国画水纹：bg.js 画成 SVG，横向慢慢漂，隔一阵淡入淡出 */
.bg-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46vh;
  overflow: hidden;
  opacity: 0;
  mix-blend-mode: normal;
  will-change: opacity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
}

.bg-water-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-repeat: repeat-x;
  background-position: 0 100%;
  will-change: transform;
}

.bg-water--far {
  height: 30vh;
  bottom: 8vh;
}

/* 纸纹 */
.bg-fiber {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: normal;   /* 原 multiply，改普通叠加省掉整屏混合；纹理本身是带透明的赭色，效果接近 */
  background-size: 360px 360px;
}

/* 背景图注：左下角淡淡一行宋体 */
.bg-caption {
  position: fixed;
  left: 24px;
  bottom: 44px;
  z-index: 2;
  max-height: calc(100vh - 88px);
  /* 竖排一列；数字直立 */
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.7;
  color: rgba(23, 73, 110, 0.72);
  text-shadow: 0 0 2px rgba(244, 234, 206, 0.95), 0 0 8px rgba(244, 234, 206, 0.85);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
}

/* ── 登录页 ── */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}

.login-logo {
  height: 72px;
  padding: 12px 18px;
  margin-bottom: 36px;
}

/* 标题即 logo：碑帖拓片“大江河”（标题字/提取.py 生成的 SVG）当遮罩，填石青→石绿渐变，外缘泥金 */
.login-title,
.brand-title {
  width: clamp(240px, 32vw, 440px);
  aspect-ratio: 1440 / 400;
  margin-left: auto;
  margin-right: auto;
  filter:
    drop-shadow(0.7px 0.7px 0 rgba(200, 160, 74, 0.9))
    drop-shadow(0 6px 16px rgba(120, 90, 40, 0.14));
}

.title-art {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-ink);
  -webkit-mask: url("assets/title-dajianghe.svg") center / contain no-repeat;
  mask: url("assets/title-dajianghe.svg") center / contain no-repeat;
}

.login-title {
  margin-bottom: 28px;
}

/* 副标题：宋体，石青字，两侧泥金细线 */
.subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: #17496E;
  text-shadow: 0 0 2px rgba(244, 234, 206, 0.95), 0 0 8px rgba(244, 234, 206, 0.85), 0 1px 0 rgba(255, 249, 232, 0.8);
  white-space: nowrap;
}

.subtitle::before,
.subtitle::after {
  content: "";
  width: clamp(28px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(to right, transparent, #C8A04A);
}

.subtitle::after {
  background: linear-gradient(to left, transparent, #C8A04A);
  margin-left: -0.5em;
}

.login-page .subtitle {
  margin-bottom: 48px;
}

.portal-center .subtitle {
  margin-bottom: 52px;
}

.login-form {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: fade-in 420ms ease-out both;
}

.login-form--leaving > * {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.login-input,
.login-button {
  height: 52px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
}

.login-input {
  width: 100%;
  border: 1px solid var(--box-border);
  background: var(--jinbi-box);
  box-shadow: var(--box-shadow);
  color: var(--box-text);
  caret-color: var(--accent);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.4px;
  padding: 0 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.28s ease, transform 0.28s ease;
}

.login-input::placeholder {
  color: var(--box-placeholder);
}

.login-input:hover {
  border-color: var(--box-border-hover);
}

.login-input:focus {
  border-color: var(--box-border-hover);
  box-shadow: var(--box-shadow), 0 0 0 3px rgba(230, 199, 125, 0.30);
}

.login-error {
  min-height: 18px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.login-button {
  border: 1px solid var(--box-border);
  /* 与两个输入框同底色同透明度，靠加粗放大的泥金字区分 */
  background: var(--jinbi-box);
  box-shadow: var(--box-shadow);
  color: #EBCB82;
  text-shadow: 0 1px 0 rgba(6, 22, 36, 0.45);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 6px;
  text-indent: 6px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.28s ease, transform 0.28s ease;
}

.login-button:hover {
  background: var(--jinbi-box-hover);
  color: var(--accent-hover);
  border-color: var(--box-border-hover);
  box-shadow: var(--box-shadow), 0 0 0 3px rgba(230, 199, 125, 0.28);
}

.login-button:focus-visible {
  border-color: var(--box-border-hover);
  box-shadow: var(--box-shadow), 0 0 0 3px rgba(230, 199, 125, 0.30);
}

/* ── 主页面 ── */
.portal {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 36px;
}

.topbar-logo {
  height: 48px;
  padding: 8px 12px;
}

.logout-button {
  background: var(--jinbi-box);
  border: 1px solid var(--box-border);
  box-shadow: var(--box-shadow);
  color: rgba(242, 235, 220, 0.78);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.logout-button:hover {
  color: var(--box-text);
  border-color: var(--box-border-hover);
}

.logout-button:focus-visible,
.entry:focus-visible {
  outline: 2px solid var(--bg-mid);
  outline-offset: 3px;
}

.portal-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 12vh;
  animation: fade-in 420ms ease-out both;
}

.brand-title {
  margin-bottom: 28px;
}

.entry-grid {
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.entry-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* 分组小标题（栏目分了组才出现）：泥金短线 + 石青宋体 */
.entry-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;  /* 固定高度，下面换行行距按它算 */
  letter-spacing: 0.4em;
  color: #17496E;
  text-shadow: 0 0 6px rgba(244, 234, 206, 0.9);
}

/* 有分组时，组内换行的行距 = 组与组之间的距离（14 + 10 + 20 + 14），
   这样换到下一行的卡片正好在上下两排中间 */
.entry-grid--heads .entry-row {
  row-gap: 58px;
}

.entry-group::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #C8A04A;
}

.entry {
  width: 272px;
  min-height: 80px;   /* 有无说明小字都保持这个高度，位置间距不变 */
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--box-border);
  border-radius: 8px;
  background: var(--jinbi-box);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.entry-name {
  color: #EBCB82;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  text-indent: 4px;
  text-shadow: 0 1px 0 rgba(6, 22, 36, 0.45);
}

.entry-desc {
  color: rgba(245, 237, 214, 0.92);
  font-size: 13.5px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-shadow: 0 1px 0 rgba(6, 22, 36, 0.4);
}

a.entry:hover {
  background: var(--jinbi-box-hover);
  border-color: var(--box-border-hover);
  box-shadow: var(--box-shadow), 0 0 0 3px rgba(230, 199, 125, 0.28);
  transform: translateY(-2px);
}

a.entry:hover .entry-name {
  color: #F3DA9C;
}

/* 组标题、底部提示只占位不显示 */
.entry-grid--quiet .entry-group,
.entry-grid--quiet .entry-note {
  visibility: hidden;
}

.entry--soon {
  cursor: default;
}

.entry-note {
  margin-top: 8px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
  color: rgba(23, 73, 110, 0.75);
  text-shadow: 0 0 6px rgba(244, 234, 206, 0.9);
}

/* 右上角：登录人 + 退出 */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.current-user {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #17496E;
  text-shadow: 0 0 6px rgba(244, 234, 206, 0.9);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .portal-topbar {
    padding: 16px;
  }

  .topbar-logo {
    height: 42px;
  }

  .entry-row,
  .entry-grid--heads .entry-row {
    gap: 12px;
  }

  /* 手机：单列，栏目名和说明各一行不折行 */
  .entry {
    width: min(320px, 100%);
    min-height: 68px;
    padding: 10px 14px;
    gap: 4px;
  }

  .entry-name {
    font-size: 16px;
  }

  .entry-desc {
    white-space: nowrap;
  }

  .entry-grid {
    gap: 12px;
  }

  /* 手机单列：组标题不显示文字时干脆不占位，所有卡片间距完全一样 */
  .entry-grid--quiet .entry-group {
    display: none;
  }

  .entry-group {
    margin-top: 0;
    font-size: 12px;
  }

  .bg-caption {
    left: 14px;
    bottom: 32px;
    font-size: 11.5px;
    letter-spacing: 1.5px;
  }

  .portal-center {
    padding-bottom: 8vh;
  }

  .login-logo {
    height: 60px;
    margin-bottom: 28px;
  }

  .login-page .subtitle,
  .portal-center .subtitle {
    margin-bottom: 36px;
  }
}

/* 占位空框：只有框，没有字（config.js 里 label 留空） */
.entry--blank {
  cursor: default;
}

/* ── 右上角图标按钮（夜视、全屏；评论区两个按钮也用这个）── */
.topbar-right .dj-icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 34px;
  padding: 0;
  color: #EBCB82;
}
.topbar-right .dj-icon-button svg { width: 17px; height: 17px; }
.topbar-right .dj-icon-button:hover { color: #F4DC9E; }
.topbar-right .dj-icon-button[hidden] { display: none; }

/* ── 夜视（theme.js 给 <html> 加 data-dj-mode="dark"）：
   月夜江面——底图压暗成青黑，纸色换成夜蓝；标题改泥金，宋体小字改米黄；文本框不变。 ── */
:root[data-dj-mode="dark"] {
  --paper: #101C28;
  --brand-ink: linear-gradient(180deg, #F2DC9E 0%, #E2C176 45%, #C8A04A 100%);
  color-scheme: dark;
}
:root[data-dj-mode="dark"] .bg-slide img { filter: grayscale(1) contrast(0.95) brightness(0.27) sepia(1) hue-rotate(180deg) saturate(0.55); }
:root[data-dj-mode="dark"] .bg-slide--color img { filter: grayscale(0.8) contrast(0.95) brightness(0.26) sepia(1) hue-rotate(180deg) saturate(0.5); }
:root[data-dj-mode="dark"] .bg-stage { background: #0B1520; }
:root[data-dj-mode="dark"] .bg-wash {
  background: radial-gradient(ellipse at 50% 44%,
    rgba(14, 28, 42, 0.50) 0%,
    rgba(12, 24, 38, 0.58) 50%,
    rgba(8, 16, 28, 0.70) 82%,
    rgba(5, 10, 20, 0.80) 100%);
}
:root[data-dj-mode="dark"] .bg-water { mix-blend-mode: screen; }
:root[data-dj-mode="dark"] .bg-water-strip { filter: invert(1) hue-rotate(180deg) brightness(0.9); }
:root[data-dj-mode="dark"] .bg-fiber { opacity: 0.10; }
:root[data-dj-mode="dark"] .login-title,
:root[data-dj-mode="dark"] .brand-title {
  filter: drop-shadow(0 1px 0 rgba(10, 20, 32, 0.9)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
:root[data-dj-mode="dark"] .subtitle,
:root[data-dj-mode="dark"] .current-user {
  color: #E6D3A6;
  text-shadow: 0 0 2px rgba(8, 16, 28, 0.9), 0 0 8px rgba(8, 16, 28, 0.8);
}
:root[data-dj-mode="dark"] .bg-caption {
  /* 深色版弱化图片注释：不透明度在原来基础上减半（0.72→0.36，阴影同减半）。
     不用 opacity 属性，因为 bg.js 换图时会把 opacity 动画到 1 */
  color: rgba(230, 211, 166, 0.36);
  text-shadow: 0 0 2px rgba(8, 16, 28, 0.45), 0 0 8px rgba(8, 16, 28, 0.4);
}
:root[data-dj-mode="dark"] .login-error { color: #E59A80; }

/* 登录页右上角的夜视、全屏：位置与主页页头对齐 */
.login-topbar {
  position: fixed;
  top: 24px;
  right: 36px;
  z-index: 3;
}
@media (max-width: 720px) {
  .login-topbar { top: 16px; right: 16px; }
}

/* 右上角按钮（评论区、个人备注、夜视、全屏、退出登录；登录页的夜视、全屏）单独更透明：
   平时透明 57%（不透明 0.42–0.44），鼠标移上 / 打开时 0.50–0.52。卡片、输入框、登录按钮仍用 --jinbi-box。 */
.topbar-right .logout-button {
  background: linear-gradient(165deg, rgba(30, 91, 130, 0.44) 0%, rgba(24, 76, 110, 0.42) 42%, rgba(31, 94, 102, 0.42) 78%, rgba(46, 116, 102, 0.44) 100%);
}
.topbar-right .logout-button:hover,
.topbar-right .scm-head-btn.is-on {
  background: linear-gradient(165deg, rgba(36, 106, 148, 0.52) 0%, rgba(29, 88, 128, 0.50) 42%, rgba(36, 108, 114, 0.50) 78%, rgba(54, 134, 116, 0.52) 100%);
}
/* 底色变淡后，字和图标加一道实的深色细影保持清楚 */
.topbar-right .logout-button { color: #F5EDD6; text-shadow: 0 1px 0 rgba(6, 22, 36, 0.55); }
.topbar-right .dj-icon-button { color: #F0D592; }
.topbar-right .logout-button svg { filter: drop-shadow(0 1px 0 rgba(6, 22, 36, 0.55)); }

/* 登录名（本地模式）放页头正中；手机上空间不够，回到左侧 */
.portal-topbar { position: relative; }
.portal-topbar .topbar-right { margin-left: auto; }
.topbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .topbar-center { position: static; transform: none; }
}

/* ── 按钮锐化（2026-12-02）：只动边框和字，底色透明度不变 ──
   内侧细金线：outline 向内缩 4px 画 1px 实线；圆角收小；按钮上的字取消变细的平滑，加粗、提亮，字影改成极细描边。 */
.entry,
.login-button,
.login-input,
.logout-button {
  border-radius: 6px;
  outline: 1px solid rgba(230, 199, 125, 0.70);
  outline-offset: -4px;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.topbar-right .logout-button { border-radius: 5px; outline-offset: -3px; }
.login-input:focus { outline: 1px solid rgba(240, 213, 146, 0.95); outline-offset: -4px; }
.logout-button:focus-visible,
.entry:focus-visible { outline: 2px solid var(--bg-mid); outline-offset: 3px; }

.entry-name,
.login-button {
  color: #F3D691;
  font-weight: 700;
  text-shadow: 0 0 1px rgba(6, 22, 36, 0.85), 0 1px 0 rgba(6, 22, 36, 0.55);
}
.login-button:hover { color: #F8E2A8; }
.entry-desc {
  color: #F5EDD6;
  font-weight: 500;
  text-shadow: 0 0 1px rgba(6, 22, 36, 0.75), 0 1px 0 rgba(6, 22, 36, 0.45);
}
.login-input { font-weight: 400; }
.login-input::placeholder { color: rgba(245, 237, 214, 0.78); }

/* 底部备案信息（beian.js）：底部居中，小字，不挡卡片 */
.dj-beian {
  position: fixed; left: 50%; bottom: 10px; z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: 16px; align-items: center; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.5px;
  text-shadow: 0 0 4px rgba(244, 234, 206, 0.9);
}
.dj-beian a { display: inline-flex; align-items: center; gap: 4px; color: rgba(23, 73, 110, 0.85); text-decoration: none; }
.dj-beian a:hover { text-decoration: underline; }
.dj-beian img { width: 14px; height: 14px; }
:root[data-dj-mode="dark"] .dj-beian { text-shadow: 0 0 4px rgba(8, 16, 28, 0.9); }
:root[data-dj-mode="dark"] .dj-beian a { color: rgba(230, 211, 166, 0.75); }
