@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

/* ── Base ── */
body {
  background-color: #141414;
  font-family: "Noto Sans", "Segoe UI", sans-serif;
  font-size: 0.925rem;
  line-height: 1.75;
  color: #c0c0c0;
  padding: 1.25rem 2rem;
  margin: 0;
  overflow-x: hidden;
}

/* ── Headings ── */
h1, h2, h3, h4, h5 {
  color: #0cf;
  margin-top: 1rem;
}

/* ── Text ── */
p, li, span { color: #c0c0c0; }

/* ── Links ── */
a { color: #0af; text-decoration: none; }
a:hover { color: #0cf; }

/* ── Images (centred by default) ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.5rem auto;
  border-radius: 4px;
}

/* ── YouTube embeds ── */
.youtube-player {
  display: block;
  margin: 1rem auto;
  width: 100% !important;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ── Inline images (portraits, smilies) ── */
.character-speech img,
.sa-smilie {
  display: inline;
  margin: 0;
  vertical-align: middle;
}

/* ── Spoilers ── */
.bbc-spoiler {
  background-color: #000;
  color: transparent;
  border-radius: 3px;
  padding: 2px 4px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.bbc-spoiler:hover { color: #fff; }

/* ── Character speech ── */
.character-speech {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 6px auto;
  width: 90%;
  max-width: 680px;

  background: #0d1117;
  border: 1px solid #1a3a5a;
  border-radius: 6px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.4);

  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.character-speech img {
  flex-shrink: 0;
  height: auto;
}
