/* DGWEB 统一细滚动条（2026-11-21）
   目标：全站统一为 10px、无箭头、金色圆角滑块；深/浅两套。
   说明：各页旧的内联规则（* { scrollbar-width:thin; scrollbar-color:#333 #000 } + 4px 方角）
        优先级较低，这里用 html, html * 覆盖；Chromium 需要把标准属性还视为 auto 才会启用
        ::-webkit-scrollbar 自定义样式。Firefox 用 @-moz-document 回退 thin 配色。 */
html, html * { scrollbar-width: auto; scrollbar-color: auto; }

html::-webkit-scrollbar,
html *::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track,
html *::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-button,
html *::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
html::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(201,169,106,.46), rgba(201,169,106,.22));
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover,
html *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(201,169,106,.74), rgba(201,169,106,.44));
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:active,
html *::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, rgba(201,169,106,.9), rgba(201,169,106,.58));
  background-clip: padding-box;
}
html::-webkit-scrollbar-corner,
html *::-webkit-scrollbar-corner { background: transparent; }

html.light::-webkit-scrollbar-thumb,
html.light *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(120,92,40,.55), rgba(120,92,40,.30));
  background-clip: padding-box;
}
html.light::-webkit-scrollbar-thumb:hover,
html.light *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(120,92,40,.78), rgba(120,92,40,.5));
  background-clip: padding-box;
}

@-moz-document url-prefix() {
  html, html * { scrollbar-width: thin; scrollbar-color: rgba(201,169,106,.4) transparent; }
  html.light, html.light * { scrollbar-color: rgba(120,92,40,.55) transparent; }
}
