/* ========== 弹幕系统 · 粗犷风 ========== */
#danmaku-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 500;
  overflow: hidden;
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 900;
  font-family: var(--font-main);
  text-shadow:
    2px 2px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
  opacity: 0.92;
  animation: danmakuFly linear forwards;
  pointer-events: none;
  letter-spacing: 2px;
  padding: 4px 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

@keyframes danmakuFly {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}
