@font-face {
  font-family: "CSDarwin";
  src: url("CSDarwin.otf") format("opentype");
}

@font-face {
  font-family: "Pikabu";
  src: url("pikabu.ttf") format("truetype");
}

.ticker-wrap {
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 0;
  position: relative;
  pointer-events: none;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  font-family: "CSDarwin", system-ui, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: #8b5bff;
  text-shadow: 0 0 6px rgba(139, 91, 255, 0.6);
  animation: tickerScroll 10s linear infinite;
}

@keyframes tickerScroll {
  from {
    transform: translateX(940%);
  }
  to {
    transform: translateX(-110%);
  }
}

/* posts use Pikabu */
.post-title,
.post-meta,
.post-body {
  font-family: "Pikabu", system-ui, sans-serif;
}