/* Shared language control; all reading/layout adjustments are Korean-only. */
.language-switch { display:flex; align-items:center; flex-shrink:0; gap:5px; color:var(--muted); font-size:.73rem; white-space:nowrap; }
.language-switch a { display:inline-flex; align-items:center; min-height:44px; padding:0 4px; text-decoration:none; transition:color .2s ease; }
.language-switch a:hover,.language-switch a[aria-current="page"] { color:var(--ink); }
.language-switch a[aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
html[lang="ko"] body { font-family:Inter,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif; word-break:keep-all; overflow-wrap:break-word; }
html[lang="ko"] .directory-page > .page-intro h1,
html[lang="ko"] .directory-heading h1,
html[lang="ko"] .core-name h2,
html[lang="ko"] .visual-guide > header h3,
html[lang="ko"] .core-duo h2,
html[lang="ko"] .worldline-chapter h2,
html[lang="ko"] .wardrobe-card-copy h2,
html[lang="ko"] .wardrobe-placeholder strong,
html[lang="ko"] .featured-card-copy h3 { font-family:"Noto Serif KR","AppleMyungjo","Batang",serif; letter-spacing:-.025em; }
html[lang="ko"] .portal-core h1 { font-family:Georgia,"Times New Roman",serif; }
html[lang="ko"] .core-character p { white-space:normal; }
html[lang="ko"] .guide-hair figcaption { letter-spacing:0; }
html[lang="ko"] .guide-swatch h4 { letter-spacing:0; }
html[lang="ko"] .core-anchor-nav { flex-wrap:wrap; }
html[lang="ko"] .original-language { display:inline-block; color:var(--muted); font-size:.7rem; line-height:1.7; }
html[lang="ko"] .worldline-chapter .original-language { display:block; margin-top:10px; }
html[lang="ko"] .featured-card-copy h3,
html[lang="ko"] .featured-card-copy p { word-break:keep-all; overflow-wrap:break-word; line-height:1.3; }
html[lang="ko"] .featured-card-copy p { white-space:normal; }
html[lang="ko"] .featured-card-link { white-space:nowrap; }
html[lang="ko"] .gallery-empty h2 { font-family:"AppleMyungjo","Batang",serif; font-size:1.8rem; font-weight:500; }
@media(max-width:1180px) {
  .topbar > .system-status { display:none; }
  .topbar > .language-switch { margin-left:auto; }
  .topbar { gap:20px; }
}
@media(max-width:700px) {
  .topbar { gap:8px; }
  .topbar .brand { min-width:0; gap:8px; flex-shrink:1; }
  .topbar .brand b { font-size:.8rem; white-space:nowrap; }
  .topbar .brand-mark { flex:0 0 25px; width:25px; height:25px; }
  .topbar .menu-button { flex:0 0 44px; }
  .language-switch { gap:1px; font-size:.7rem; }
  .language-switch a { padding:0 3px; }
  html[lang="ko"] .guide-swatch { gap:7px; }
  html[lang="ko"] .guide-swatch h4 { font-size:.6rem; }
  html[lang="ko"] .guide-anchor { align-items:flex-start; }
  html[lang="ko"] .guide-anchor picture { flex-basis:80px; }
  html[lang="ko"] .guide-anchor img { width:80px; }
  html[lang="ko"] .story-read { align-self:end; }
}
@media(prefers-reduced-motion:reduce) {
  .language-switch a { transition:none; }
}
