.nebe-languages{display:inline-flex;align-items:center;gap:.65rem;margin-left:.2rem;white-space:nowrap;font:14px/1.4 system-ui,sans-serif}.nebe-languages a{padding:.3rem .2rem;text-decoration:none}.nebe-languages a[aria-current=page]{font-weight:650;text-decoration:underline;text-underline-offset:.25em}.nebe-languages a:focus-visible{outline:2px solid #506b74;outline-offset:3px}.masthead nav{max-width:none;flex-wrap:wrap;align-items:center}.nebe-english-note{color:#627378;font:15px/1.6 system-ui,sans-serif;margin:0 0 1.5rem;max-width:65ch}html[lang=en] .masthead nav{gap:1rem}html[lang=en] .nebe-song-classification dt{font-size:14px}@media(max-width:750px){.masthead{gap:1rem;align-items:flex-start}.masthead nav{justify-content:flex-end;gap:.65rem 1rem}.nebe-languages{flex-basis:100%;justify-content:flex-end;margin-left:0}html[lang=en] .masthead nav{gap:.65rem 1rem}}@media print{.nebe-languages{display:none}}

html[lang=en] .song-page>.back-home{display:none}html[lang=en] .song-page>.nebe-detail-return{margin:0;padding:0}html[lang=en] .song-page>.nebe-detail-return-bottom{padding-top:1rem}html[lang=en] .album-detail>a.album-back{display:none}@media(min-width:701px){html[lang=en] .song-page>.nebe-detail-return:first-child{grid-column:1/-1;grid-row:1}html[lang=en] .song-page>h1{padding-right:1.2rem}html[lang=en] .song-page>.nebe-text-available{grid-column:1;grid-row:2;justify-self:end;align-self:center;width:max-content;margin:0}html[lang=en] .song-page>.song-performers{grid-row:4}html[lang=en] .song-page:has(>h1.song-original)>.facts{grid-row:2/span 4}}

/* Shared artist-card portrait crops, matching the approved Czech catalogue.
   Inline per-card settings may still override these defaults. */
.artist-card img[src$="/10cm-zimni-terasa.webp"],
.artist-card img[src$="/ahn-ye-eun-zimni-terasa.webp"],
.artist-card img[src$="/epitone-project-zimni-terasa.webp"],
.artist-card img[src$="/iu-prst-u-tvare.webp"],
.artist-card img[src$="/kang-asol-zimni-terasa.webp"],
.artist-card img[src$="/leehi-jarni-chalupa.webp"],
.artist-card img[src$="/punch-nebe.webp"],
.artist-card img[src$="/sondia-zimni-terasa.webp"]{object-position:center 24%}
.artist-card img[src$="/baek-ji-young.webp"],
.artist-card img[src$="/gummy-v3.svg"],
.artist-card img:is([src$="/hwasa-terrace-v2.svg"],[src*="/hwasa-terrace-v2.svg?"]),
.artist-card img[src$="/kim-kyung-hee.webp"],
.artist-card img[src$="/kim-na-young-v2.svg"],
.artist-card img:is([src$="/lucia.png"],[src*="/lucia.png?"]){object-position:center 28%}
.artist-card img[src$="/earip.webp"],
.artist-card img[src$="/klang.svg"]{object-position:center 30%}
.artist-card img[src$="/elaine-podzimni-veranda.webp"]{object-position:50% 28%}
.artist-card img[src$="/fromm.webp"]{object-position:center 38%}
.artist-card img[src$="/kim-yuna.webp"]{object-position:center 35%}
.artist-card img[src$="/yoon-soo-hyun.png"]{object-position:center 31%}

/* Face-safe crops for tall originals in the 16:10 artist cards.
   Override legacy inline crop positions consistently in all languages. */
.artist-card img[src$="/ailee-podzimni-veranda.webp"],
.artist-card img[src$="/baek-ji-young.webp"],
.artist-card img[src$="/kim-kyung-hee.webp"]{object-position:center 3% !important}

/* Keep both tall winter portraits clear of the upper card edge. */
.artist-card img[src$="/10cm-zimni-terasa.webp"],
.artist-card img[src$="/ahn-ye-eun-zimni-terasa.webp"]{object-position:center 3% !important}

/* Individual headroom adjustments for the three artist cards. */
.artist-card img[src$="/earip.webp"],
.artist-card img[src$="/elaine-podzimni-veranda.webp"]{object-position:center 10% !important}
.artist-card img[src$="/epitone-project-zimni-terasa.webp"]{object-position:center 12% !important}

/* Preserve headroom in Fromm, Gummy and Heize catalogue cards. */
.artist-card img[src$="/fromm.webp"]{object-position:center 12% !important}
.artist-card img[src$="/gummy-v3.svg"]{object-position:center 6% !important}
.artist-card img[src$="/heize.webp"]{object-position:center 8% !important}

/* Preserve headroom in Hwasa, HYNN and IU catalogue cards. */
.artist-card img:is([src$="/hwasa-terrace-v2.svg"],[src*="/hwasa-terrace-v2.svg?"]),
.artist-card img[src$="/iu-prst-u-tvare.webp"]{object-position:center 3% !important}
.artist-card img[src$="/hynn-podzimni-chalupa.webp"]{object-position:center 0% !important}

/* Individual winter portrait headroom across all languages. */
.artist-card img[src$="/janet-suhh.webp"],
.artist-card img[src$="/kang-asol-zimni-terasa.webp"],
.artist-card img[src$="/kim-kyung-hee.webp"]{object-position:center 0% !important}

/* Preserve the full hairstyles in Kim Na-young and KLANG card portraits. */
.artist-card img[src$="/kim-na-young-v2.svg"],
.artist-card img[src$="/klang.svg"]{object-position:center 0% !important}

/* Preserve headroom for LeeHi and Lucia in all catalogue languages. */
.artist-card img[src$="/leehi-jarni-chalupa.webp"],
.artist-card img:is([src$="/lucia.png"],[src*="/lucia.png?"]){object-position:center 0% !important}

/* Preserve headroom for Punch, Sondia and Yoon Soo-hyun in all catalogue languages. */
.artist-card img[src$="/sondia-zimni-terasa.webp"],
.artist-card img[src$="/yoon-soo-hyun.png"]{object-position:center 0% !important}
/* Punch: balance headroom and chin in a 16:10 crop of the 720x1080 portrait. */
.artist-card img[src$="/punch-nebe.webp"]{object-position:center 8% !important}

/* Artist typography — shared by every language, including future translations.
   Keep the established serif design for Latin text; use the same Korean glyph
   fallback throughout. Scope to profiles and artist cards, never song/album pages. */
@font-face {
  font-family: "Nebe Korean";
  src: url("/assets/korean.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+3400-9FFF,U+AC00-D7A3;
}
body:has(main .portrait-page),
body:has(main .artist-card) {
  --artist-serif: Georgia, "Nebe Korean", "Times New Roman", serif;
  --artist-sans: system-ui, "Nebe Korean", sans-serif;
  --artist-reading: 17px;
  --artist-title: clamp(36px, 5vw, 68px);
  --artist-heading: 31px;
  --artist-subheading: 24px;
  --artist-smallheading: 20px;
}
html[lang] body main .portrait-page,
html[lang] body main .chapter:has(.summary-grid),
html[lang] body main .story-layout,
html[lang] body main .artist-card {
  font-family: var(--artist-serif);
}
html[lang] body main .portrait-page h1 {
  font-family: var(--artist-serif) !important;
  font-size: var(--artist-title);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.032em;
  text-transform: none;
  overflow-wrap: anywhere;
}
html[lang] body main .portrait-page h1 :is(span,em) {
  font-family: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
html[lang] body main .portrait-page .intro {
  font-family: var(--artist-serif);
  font-size: 25px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 22px 0;
}
html[lang] body main :is(.portrait-page,.artist-card) .hangul,
html[lang] body main :is(.portrait-page,.artist-card) .artist-members {
  font-family: var(--artist-sans) !important;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
html[lang] body main .portrait-page .number {
  font-family: var(--artist-sans);
  font-size: 10px;
  line-height: 1.5;
}
html[lang] body main .portrait-page .facts {
  font-family: var(--artist-sans);
  font-size: 15px;
  line-height: 1.6;
}
html[lang] body main .portrait-page .facts dt {
  font-family: var(--artist-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
html[lang] body main .portrait-page .facts dd {
  font-family: var(--artist-sans);
  font-size: 15px;
  line-height: 1.6;
}
html[lang] body main .portrait-page .name-pronunciations dd {
  font-family: var(--artist-sans);
  font-size: 15px;
}
html[lang] body main .portrait-page .pronunciation-note {font-size: 13px;}
html[lang] body main :is(.portrait-page,.artist-card) .image-note {
  font-family: var(--artist-sans);
  font-size: 12px;
  line-height: 1.5;
}
html[lang] body main .chapter:has(.summary-grid) aside h2 {
  font-family: var(--artist-serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
}
html[lang] body main .summary-grid h3 {
  font-family: var(--artist-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
}
html[lang] body main .summary-grid h3 span {
  font-size: var(--artist-reading);
  line-height: 1.6;
}
html[lang] body main .summary-grid,
html[lang] body main .summary-grid p,
html[lang] body main .story,
html[lang] body main .story :is(p,li,blockquote) {
  font-family: var(--artist-serif);
  font-size: var(--artist-reading);
  line-height: 1.7;
  letter-spacing: normal;
}
html[lang] body main .story h2 {
  font-family: var(--artist-serif);
  font-size: var(--artist-heading);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
}
html[lang] body main .story h3 {
  font-family: var(--artist-serif);
  font-size: var(--artist-subheading);
  font-weight: 400;
  line-height: 1.3;
}
html[lang] body main .story h4 {
  font-family: var(--artist-serif);
  font-size: var(--artist-smallheading);
  font-weight: 600;
  line-height: 1.4;
  margin: 18px 0 12px;
}
html[lang] body main .story :is(strong,b),
html[lang] body main .summary-grid :is(strong,b) {font-weight: 600;}
html[lang] body main .story-layout .contents,
html[lang] body main .story-layout .contents :is(a,summary),
html[lang] body main :is(.portrait-page,.artist-card) :is(.song-jump,.story-link,.nebe-artist-songs,.artist-song) {
  font-family: var(--artist-sans);
  font-size: 14px;
  line-height: 1.5;
}
html[lang] body main .story .semafor-link {
  font-family: var(--artist-sans);
  font-size: 14px;
  line-height: 1.5;
}
html[lang] body main .artist-card .artist-name {
  font-family: var(--artist-serif);
  font-size: 48px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.04em;
  text-transform: none;
  overflow-wrap: anywhere;
}
html[lang] body main .artist-card .artist-intro {
  font-family: var(--artist-serif);
  font-size: 21px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  body:has(main .portrait-page),
  body:has(main .artist-card) {
    --artist-reading: 16px;
    --artist-title: clamp(34px, 9vw, 56px);
    --artist-heading: 28px;
    --artist-subheading: 23px;
    --artist-smallheading: 19px;
  }
  html[lang] body main .portrait-page .intro {font-size: 23px;}
  html[lang] body main .chapter:has(.summary-grid) aside h2 {font-size: 23px;}
  html[lang] body main .summary-grid h3 {font-size: 25px;}
  html[lang] body main .artist-card .artist-name {font-size: clamp(30px, 8vw, 42px);}
  html[lang] body main .artist-card .artist-intro {font-size: 20px;}
}
@media print {
  body:has(main .portrait-page) {--artist-title: 40px; --artist-reading: 12pt;}
}

/* Keep the whole head in Mingginyu’s landscape artist-card crop. */
.artist-card[data-artist-id="3f31aca4dd19813f97bdc1483af4b84e"] figure img {
  object-position: center 8%;
}

/* Shared action order and alignment in Czech, English and Korean artist tiles. */
.artist-card .nebe-artist-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  margin-top:auto;
  padding-top:16px;
}
.artist-card .nebe-artist-actions .story-link {margin:0;}
.artist-card .nebe-artist-song-row {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;}
.artist-card .nebe-artist-song-row .nebe-artist-songs {margin:0;}
.artist-card .nebe-artist-song-row .nebe-artist-count {
  display:inline;
  margin:0;
  color:var(--muted,#627378);
  font:12px/1.5 system-ui,sans-serif;
}
.artist-card .nebe-artist-song-row .nebe-artist-count:empty {display:none;}
