/* 自定义补充样式（Tailwind 之外的细节） */
html { scroll-behavior: smooth; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, .35);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, .6); }

/* 选中文字配色 */
::selection {
  background: #3b82f6;
  color: #fff;
}

/* 可见时的入场动画（由 JS 控制 .is-visible） */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 隐藏 details 默认箭头 */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
