/* tb-lang-door.css (2026-10-25): the one line in the visitor's language on an English-only page
 * (public/js/tb-lang-door.js fills [data-tb-lang-door]). A quiet celadon line under the header:
 * a link, never a button; hidden until the script has a door to offer. Tokens: tb-baekja.css. */
.tbpp-lang,
.sp-lang-door {
  margin: 0;
  padding: 8px 20px;
  background: var(--color-celadon-soft, #EAF2EE);
  border-bottom: 1px solid var(--color-line, rgba(28, 27, 24, .08));
  font-family: var(--font-sans, 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-ink, #1C1B18);
  word-break: keep-all;
}
.tbpp-lang[hidden],
.sp-lang-door[hidden] { display: none; }
.tbpp-lang a,
.sp-lang-door a {
  color: var(--color-celadon-deep, #44604F);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.tbpp-lang a:hover,
.sp-lang-door a:hover { text-decoration-thickness: 2px; }
/* Japanese keeps its own line breaking (CLAUDE.md § Public site: keep-all is for Korean only) */
.tbpp-lang[lang="ja"],
.sp-lang-door[lang="ja"] { word-break: normal; }
/* the story page's text column is 680px with 20px inside (tb-story-page.css .sp-main): align with its text */
.sp-lang-door { padding-left: max(16px, calc((100% - 640px) / 2)); padding-right: max(16px, calc((100% - 640px) / 2)); }
