/* 게임 소개 마크다운 모양 (design/34, rich.js). 사이트와 관리 화면 미리보기가 같이 쓴다.
   색은 밝은·어두운 화면 둘 다에서 읽히게 따로 둔다 */
:root {
  --rt-mint: #087f48;
  --rt-pink: #d6336c;
  --rt-yellow: #8f5e00;
  --rt-sky: #1c6fd1;
  --rt-red: #c42b2b;
  --rt-gray: #66736f;
  --rt-note-bg: #e5f7ee;
  --rt-note-line: #12b76a;
  --rt-rule: #e3ebe8;
}
.rich {
  display: grid;
  gap: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
@media (prefers-color-scheme: dark) {
  :root {
    --rt-mint: #5ee3a3;
    --rt-pink: #ff8fb8;
    --rt-yellow: #f1cf63;
    --rt-sky: #7fb8ff;
    --rt-red: #ff8f8f;
    --rt-gray: #8a9893;
    --rt-note-bg: #173328;
    --rt-note-line: #2fd486;
    --rt-rule: #2a3632;
  }
}
.rich > * {
  margin: 0;
}
.rich .rt-h {
  margin-top: 10px;
  font-size: 1.25em;
  font-weight: 800;
  line-height: 1.4;
}
.rich h4.rt-h {
  font-size: 1.05em;
}
.rich ul,
.rich ol {
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.rich li::marker {
  color: var(--rt-mint);
  font-weight: 700;
}
.rich .rt-note {
  padding: 12px 16px;
  border-left: 4px solid var(--rt-note-line);
  border-radius: 10px;
  background: var(--rt-note-bg);
}
.rich .rt-hr {
  border: 0;
  border-top: 1px solid var(--rt-rule);
  margin: 6px 0;
}
.rich .rt-fig {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.rich .rt-fig img {
  max-width: min(100%, 320px);
  max-height: 560px;
  width: auto;
  height: auto;
  border-radius: 14px;
}
.rich figcaption {
  font-size: 0.85em;
  color: var(--rt-gray);
}
.rich a {
  color: var(--rt-mint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rt-mint { color: var(--rt-mint); }
.rt-pink { color: var(--rt-pink); }
.rt-yellow { color: var(--rt-yellow); }
.rt-sky { color: var(--rt-sky); }
.rt-red { color: var(--rt-red); }
.rt-gray { color: var(--rt-gray); }
.rt-sm { font-size: 0.85em; }
.rt-lg { font-size: 1.25em; line-height: 1.5; }
.rt-xl { font-size: 1.6em; line-height: 1.35; font-weight: 800; }
.rt-b { font-weight: 800; }
