:root, .sw-root {
  --sw-bg: #14213D;
  --sw-ink: #EFE6D2;
  --sw-ink-soft: #CFC6B2;
  --sw-accent: #C9A24B;
  --sw-font-display: 'Noto Serif KR', serif;
  --sw-font-body: 'Noto Sans KR', sans-serif;
}
html, body { margin: 0; background: #14213D; color: #EFE6D2; font-family: 'Noto Sans KR', sans-serif; word-break: keep-all; }

.illust-note {
  position: fixed; left: 16px; bottom: 10px; z-index: 40; margin: 0;
  font-size: 12px; color: #CFC6B2; opacity: .75; pointer-events: none;
}

#give {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box;
  padding: 28px 24px; border: 1px solid #C9A24B; border-radius: 14px;
  background: #14213D; color: #EFE6D2;
}
#give::backdrop { background: rgba(8, 13, 28, .72); }
#give h2 { margin: 0 0 6px; font: 700 26px 'Noto Serif KR', serif; }
#give h3 { margin: 22px 0 8px; font-size: 14px; color: #C9A24B; }
.give__lead { margin: 0; color: #CFC6B2; }
.give__close {
  position: absolute; top: 10px; right: 12px; width: 44px; height: 44px;
  border: 0; background: none; color: #EFE6D2; font-size: 26px; cursor: pointer;
}
.give__list { list-style: none; margin: 0; padding: 0; }
.give__list li {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 2px 10px; align-items: center;
  padding: 10px 0; border-top: 1px solid rgba(239, 230, 210, .18);
}
.give__list span { font-size: 14px; color: #CFC6B2; }
.give__list strong { font-weight: 500; overflow-wrap: anywhere; }
.give__list small { grid-column: 2; color: #CFC6B2; font-size: 12px; }
.give__list button {
  grid-column: 3; grid-row: 1; min-height: 36px; padding: 0 12px; border: 1px solid #C9A24B; border-radius: 8px;
  background: none; color: #EFE6D2; font: inherit; font-size: 13px; cursor: pointer;
}
.give__safe { margin: 20px 0 0; font-size: 12px; line-height: 1.6; color: #CFC6B2; }
.give__more { margin: 12px 0 0; font-size: 13px; }
.give__more a { color: #E7C87A; }

.sw-root .sw-copy a[href="#give"] { background: #C9A24B; color: #14213D; font-weight: 700; }

/* 오른쪽 점 내비 이름표: 밝은 배경 위 밝은 글씨 → 짙은 남색 배경 + 밝은 글씨 */
.sw-root .sw-route__label {
  background: rgba(20, 33, 61, .92); color: #F5EDDC;
  border: 1px solid rgba(201, 162, 75, .7);
  font-size: .84rem; text-shadow: none;
  box-shadow: 0 4px 14px rgba(8, 13, 28, .35);
}
@media (min-width: 861px) { .illust-note { left: auto; right: 16px; } }
@media (max-width: 860px) { .illust-note { bottom: auto; top: 62px; } }

#autoplay-toggle {
  position: fixed; top: 16px; right: 16px; z-index: 40; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(239, 230, 210, .55); border-radius: 999px;
  background: rgba(20, 33, 61, .7); color: #EFE6D2; font: 500 14px 'Noto Sans KR', sans-serif; cursor: pointer;
}
