/* Language-scoped typography. Korean layout and assets are unchanged. */
.mobile-language-list { display: flex; gap: 7px; padding: 16px 24px 22px; border-bottom: 1px solid var(--line); }
.mobile-language-list button { flex: 1; min-width: 0; padding: 9px 4px; border: 1px solid var(--line); border-radius: 22px; background: transparent; color: var(--brand-deep); font-size: 12px; cursor: pointer; }
.mobile-language-list button.is-active { background: var(--brand-deep); color: white; border-color: var(--brand-deep); }
.mobile-language-list button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
html:lang(zh-CN) body,
html:lang(zh-CN) button,
html:lang(zh-CN) input {
    font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html:lang(zh-CN) :is(h1,h2,h3,h4,p,li,strong,span,a,button,figcaption) {
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
}
html:lang(zh-CN) :is(h1,h2,h3,h4) { letter-spacing: -.015em; }
html:lang(zh-CN) .global-nav-list { gap: clamp(16px, 2vw, 32px); }
html:lang(zh-CN) .nav-dropdown { min-width: 280px; }
html:lang(zh-CN) .nav-dropdown a { line-height: 1.6; }
html:lang(zh-CN) .subhero-title { overflow-wrap: anywhere; }
html:lang(zh-CN) .subhero-title br { display: none; }
html:lang(zh-CN) :is(.bw-recommendation h3,.lw-recommendation h3,.brand-recommendation-card>strong,.skin-word-recommend-card h3) {
    text-wrap: pretty;
    line-height: 1.75;
}
html:lang(zh-CN) .bw-recommendation h3 strong { display: inline; }
html:lang(zh-CN) :is(.lw-phrase,.refine-phrase,.skin-word-keep) { white-space: normal; }
html:lang(zh-CN) .mobile-quick-action { min-width: 0; }
html:lang(zh-CN) .mobile-quick-action .quick-label { font-size: 11px; }
.zh-only { display: none; }
.en-only { display: none; }
html:lang(en) .en-only { display: block; }
html:lang(zh-CN) .zh-only { display: block; }
.zh-reading { width: min(1180px, calc(100% - 48px)); margin: 38px auto 0; border: 1px solid var(--line); border-radius: 24px; padding: 28px 34px; background: var(--paper); color: var(--ink-soft); }
.zh-reading>summary { cursor: pointer; font-size: 18px; color: var(--brand-deep); }
.zh-reading p { margin: 16px 0; line-height: 1.85; }
.zh-event-section { margin: 26px 0 0; }
.zh-event-section h3 { margin: 0 0 12px; font-size: 18px; color: var(--brand-deep); }
.zh-event-section dl { margin: 0; }
.zh-event-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.7; font-size: 15px; }
.zh-event-row dt,.zh-event-row dd { margin: 0; }
.zh-event-row dd { color: #6a2733; white-space: nowrap; }
.zh-source-note { color: var(--muted); font-size: 12px; line-height: 1.8; padding: 8px 0; }
@media (max-width: 760px) {
    html:lang(zh-CN) .booster-word-page .bw-features.bw-features-centered { grid-template-columns: minmax(0,1fr); }
    html:lang(zh-CN) .bw-features > * { min-width: 0; max-width: 100%; }
    html:lang(zh-CN) :is(.hero-copy h1,.subhero-title) { font-size: clamp(29px,7.6vw,42px); line-height: 1.3; }
    html:lang(zh-CN) .detail-anchor-list a { padding-inline: 14px; }
    html:lang(zh-CN) .mobile-group-toggle { font-size: 17px; }
    .zh-reading { width: calc(100% - 32px); border-radius: 18px; padding: 22px 18px; }
    .zh-event-row { gap: 12px; font-size: 13px; }
}
html:lang(en) :is(h1,h2,h3,h4,p,li,strong,span,a,button,figcaption) { word-break: normal; overflow-wrap: break-word; }
html:lang(en) :is(h1,h2,h3,h4) { letter-spacing: -.025em; }
html:lang(en) .global-nav-list { gap: clamp(12px,1.3vw,24px); }
html:lang(en) .nav-dropdown { min-width: 290px; }
html:lang(en) .nav-dropdown a { line-height: 1.5; }
html:lang(en) .subhero-title { font-size: clamp(38px,4.2vw,68px); line-height: 1.12; }
html:lang(en) .subhero-title br { display: none; }
html:lang(en) :is(.bw-recommendation h3,.lw-recommendation h3,.brand-recommendation-card>strong,.skin-word-recommend-card h3) { text-wrap: pretty; line-height: 1.5; }
html:lang(en) .bw-recommendation h3 strong { display: inline; }
html:lang(en) :is(.lw-phrase,.refine-phrase,.skin-word-keep) { white-space: normal; }
/* Korean fixed-line headings must reflow in narrower English columns. */
html:lang(en) :is(.page-lead h2,.detail-intro-copy h2,.detail-heading h2,.allshine-editorial-copy h3,.team-standard-heading h3,.space-flow-heading h3,.space-story-item h3,.detail-cta h2) { white-space: normal; }
html:lang(en) .mobile-quick-action { min-width: 0; }
html:lang(en) .mobile-quick-action .quick-label { font-size: 10px; }
html:lang(en) .mobile-language-list { padding-inline: 0; gap: 6px; }
html:lang(en) .mobile-language-list button { white-space: nowrap; min-height: 40px; padding-inline: 3px; font-size: 11px; }
html:lang(en) .notice-row.is-pinned .notice-row-summary > strong { display: block; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.55; padding-block: 12px; }
html:lang(en) .notice-row.is-pinned .notice-row-summary > strong i { display: inline-block; margin-right: 8px; vertical-align: middle; }
html:lang(en) .notice-popup-card { width: min(100%, 600px); grid-template-rows: minmax(0,1fr) auto auto; }
html:lang(en) .notice-popup-media { background: #fbfaf8; }
html:lang(en) .notice-popup-media img { max-height: calc(100dvh - 236px); }
.en-popup-reading { padding: 14px 20px; color: var(--brand-deep); font-size: 14px; line-height: 1.55; border-top: 1px solid var(--line); }
.en-popup-reading p { margin: 0 0 6px; }
.en-popup-reading dl { margin: 0 0 8px; }
.en-popup-reading dl>div { display: flex; justify-content: space-between; gap: 12px; }
.en-popup-reading dt,.en-popup-reading dd { margin: 0; }
.en-popup-reading dd { white-space: nowrap; font-weight: 600; }
.en-popup-reading a { text-decoration: underline; text-underline-offset: 3px; }
.en-layer-legend { padding: 16px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.en-layer-legend p { margin: 0 0 8px; font-weight: 500; }
.en-layer-legend ol { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding-left: 22px; }
.en-press-reading { width: 100%; margin: 20px 0; }
.en-press-reading p { font-size: 15px; line-height: 1.85; }
@media (max-width: 760px) {
    html:lang(en) .notice-popup-card { width: min(100%, 430px); }
    html:lang(en) .notice-popup-media img { max-height: calc(100dvh - 232px); }
    .en-popup-reading { padding: 12px 14px; font-size: 13px; }
    html:lang(en) .booster-word-page .bw-features.bw-features-centered { grid-template-columns: minmax(0,1fr); }
    html:lang(en) .bw-features > * { min-width: 0; max-width: 100%; }
    html:lang(en) :is(.hero-copy h1,.subhero-title) { font-size: clamp(28px,7vw,40px); line-height: 1.2; }
    html:lang(en) .detail-anchor-list a { padding-inline: 12px; font-size: 12px; }
    html:lang(en) .mobile-group-toggle { font-size: 16px; }
    html:lang(en) :is(.bw-section-title,.lw-section-title) { overflow-wrap: break-word; }
}
@media (max-height: 480px) and (orientation: landscape) {
    html:lang(en) .notice-popup-card { width: min(100%, 680px); grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); grid-template-rows: minmax(0,1fr) auto; }
    html:lang(en) .notice-popup-media img { max-height: calc(100dvh - 100px); }
    html:lang(en) .en-popup-reading { align-self: center; border: 0; padding: 34px 14px 8px; overflow-y: auto; max-height: calc(100dvh - 90px); }
    html:lang(en) .en-popup-reading dl>div { display: block; margin-bottom: 8px; }
    html:lang(en) .notice-popup-actions { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
    html:lang(en) .mobile-language-list button { font-size: 10px; }
    html:lang(zh-CN) .mobile-quick-dock .quick-label { font-size: 10px; letter-spacing: -.02em; }
}
