/* English pages only (added by src/layout-en.mjs). Uses the shared CSS variables from style.css. */
html:lang(en) {
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Pretendard Variable',
    Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* Language switch in the header */
.lang-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.lang-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}
/* Narrow phones: keep only menu · brand · language link in the bar */
@media (max-width: 560px) {
  .head-pill-first {
    display: none;
  }
}

/* Big result number. Same look as .result-ms, but a different class so site.js
   does not attach its Korean "save as image" button to English pages. */
.result-big {
  font-size: clamp(3.2rem, 15vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 6px;
}
.result-big small {
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}

.en-more {
  margin: 14px 0 0;
}

/* English hub */
.en-hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
