/* Keep the existing composition in each language; text remains selectable only
   where the original interaction allowed it. */
/* One shared pill slides between equal-width language targets. */
.site-language{--language-cell:32px;--language-inset:3px;--language-gap:2px;position:fixed;top:35px;right:calc(4.2% + 54px);z-index:220;display:grid;grid-template-columns:repeat(2,var(--language-cell));align-items:center;gap:var(--language-gap);padding:var(--language-inset);border:1px solid #eeeede30;border-radius:30px;background:#1e1f2059;backdrop-filter:blur(10px);font:11px/1 Arial,sans-serif;isolation:isolate}
.site-language::before{content:"";position:absolute;inset-block:var(--language-inset);left:var(--language-inset);width:var(--language-cell);border-radius:20px;background:#eeeede;box-shadow:0 1px 4px #0002;pointer-events:none;transform:translateX(0);transition:transform .34s cubic-bezier(.22,1,.36,1)}
html[lang=en] .site-language::before{transform:translateX(calc(100% + var(--language-gap)))}
.site-language button{position:relative;z-index:1;display:grid;place-items:center;min-width:0;width:100%;height:26px;padding:0;border:0;border-radius:20px;background:transparent;color:#d6d8cb;cursor:pointer;font:inherit;transition:color .24s ease}
.site-language button[aria-pressed=true]{color:#252a26}
.site-language button:focus-visible{outline:2px solid #c7d2ad;outline-offset:3px}
.site-shell .site-header .brand{max-width:calc(100% - 144px);min-width:0}
.site-shell .site-header .brand-name{min-width:0;font-size:13px;letter-spacing:.04em;line-height:1.45}
/* Both scripts occupy the same title row. The English optical width matches
   the four Song glyphs, while the slogan keeps one shared vertical anchor. */
.hero-copy #hero-title{display:grid;place-items:center;block-size:1.07em}
.hero-copy .title-line{grid-area:1/1;width:100%;padding:0;margin:0}
.hero-title-en{display:none;grid-area:1/1;font-family:var(--brand-display,Impact),"Arial Narrow",Arial,sans-serif;font-size:1.03em;font-weight:700;letter-spacing:-.045em;line-height:1.04}
html[lang=en] .hero-copy .title-line,html[lang=en] .hero-copy .title-sheen{display:none}
html[lang=en] .hero-title-en{display:block}
.hero-copy .type-detail{width:min(90%,720px);min-height:2.8em;gap:clamp(12px,1.5vw,22px);font-size:clamp(14px,1.2vw,18px)}
.hero-copy .english-title{font-family:Arial,"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:inherit;font-weight:500;line-height:1.4;letter-spacing:.06em;word-spacing:normal;white-space:normal;text-wrap:balance}
.hero-copy .detail-rule{flex:0 0 clamp(20px,3vw,40px)}
html[lang=en] .hero-copy .english-title{letter-spacing:.035em}
html[lang=en] .site-header .brand-name{max-width:290px;font:500 13px/1.4 Arial,sans-serif;letter-spacing:.025em}
html[lang=en] .c03-host,html[lang=en] .c03-host .c03-profile-dialog,html[lang=en] .c03-host .c03-company-copy,html[lang=en] .ep-detail .ep-character-layout{font-family:Arial,sans-serif}
html[lang=en] .c04-host #c04-dialog-title{font-family:Georgia,"Times New Roman",serif;letter-spacing:0}
html[lang=en] .ep-character-name-row{flex-wrap:wrap;gap:10px 14px}
html[lang=en] .ep-character-name-row h2{font-size:clamp(22px,2.7vw,38px)}
html[lang=en] .ep-character-layout .ep-character-summary{font-size:clamp(16px,1.15vw,19px);line-height:1.55;letter-spacing:0}
html[lang=en] .ep-character-tabs button{min-width:96px;font-size:16px;letter-spacing:.03em}
html[lang=en] .ep-character-stats dt{font-size:clamp(16px,1vw,18px);letter-spacing:0}
html[lang=en] .ep-character-stat{grid-template-columns:clamp(128px,8vw,150px) minmax(0,1fr);gap:14px}
html[lang=en] .ep-character-skill-name{font-size:clamp(15px,1vw,17px);letter-spacing:0;line-height:1.4;white-space:normal;overflow-wrap:normal}
html[lang=en] .ep-character-archive{--ep-archive-font-size:clamp(16px,1.2vw,19px)}
html[lang=en] .ep-character-archive-intro{font-size:18px;line-height:1.7}
html[lang=en] .ep-character-skill-detail p{font-size:17px;line-height:1.65}
html[lang=en] .ep-character-archive-facts dd>span{font-size:14px;line-height:1.5}
html[lang=en] .ep-character-role{font-size:13px;letter-spacing:.03em}
html[lang=en] .ep-character-model-label,html[lang=en] .ep-character-model-label>span:first-child,html[lang=en] .ep-character-skill-code{font-size:12px}
html[lang=en] .ep-phrase{max-width:min(30em,100%);margin-inline:auto;font-size:clamp(16px,1.3vw,20px);text-align:center;line-height:1.55;letter-spacing:0;text-wrap:balance}
html[lang=en] .c03-profile-bio,html[lang=en] .c03-profile-greeting{font-size:16px;line-height:1.7;letter-spacing:0}
html[lang=en] .c03-profile-question{font-size:18px;line-height:1.55;letter-spacing:0}
html[lang=en] .c03-profile-answer{font-size:17px;line-height:1.65;letter-spacing:0}
html[lang=en] .c03-card-title{line-height:1.25;letter-spacing:-.02em}
html[lang=en] .c03-card-body{font-size:clamp(14px,2.5cqw,20px);line-height:1.6;letter-spacing:0}
html[lang=en] .c03-values-grid h3{font-size:clamp(13px,2.7cqw,22px);line-height:1.2;letter-spacing:0}
html[lang=en] .c03-values-grid p{line-height:1.5;letter-spacing:0}
html[lang=en] .c04-dialog-company{align-items:flex-start;gap:20px}
html[lang=en] .c04-dialog-company>span:first-child{max-width:72%;white-space:normal;line-height:1.6}
html[lang=en] .closing-legal{letter-spacing:0}
/* Keep supporting English copy legible without enlarging display headings. */
html[lang=en] .c03-host .c03-profile-shuffle{font-size:14px}
html[lang=en] .c03-profile-question-head h3{font-size:13px;letter-spacing:.04em}
html[lang=en] .c03-host .c03-intro-note .c03-dark-button{font-size:14px}
html[lang=en] .c03-host .c03-intro-note p{font-size:12px}
html[lang=en] .c03-host .c03-member-role{font-size:13px}
html[lang=en] .c04-host .c04-dialog-copy{font-size:16px;line-height:1.7}
html[lang=en] .c04-host .c04-email-content small{font-size:12px}
html[lang=en] .c04-host .c04-dialog-company{font-size:12px}
html[lang=en] .c04-host .c04-feedback-field>label{font-size:13px}
html[lang=en] .c04-host .c04-feedback-form textarea::placeholder{font-size:15px}
html[lang=en] .c04-host .c04-feedback-send,html[lang=en] .c04-host #c04-feedback-status{font-size:14px}
@media(max-width:700px){
 .site-language{--language-cell:28px;--language-inset:2px;top:25px;right:calc(7% + 40px);font-size:10px}
 .site-language button{height:24px}
 .site-shell .site-header .brand{max-width:calc(100% - 132px)}
 .site-shell .site-header .brand-name{max-width:145px;font-size:11px;letter-spacing:0}
 html[lang=en] .site-header .brand-name{max-width:140px;font-size:11px}
 .hero-copy .type-detail{width:88%;font-size:13px;gap:10px}
 .hero-copy .english-title{letter-spacing:.035em}
 html[lang=en] .c03-profile-bio{font-size:16px;line-height:1.7}
 html[lang=en] .c03-host .c03-member-role{font-size:12px}
 html[lang=en] .c04-host .c04-dialog-copy{font-size:15px}
 html[lang=en] .c03-profile-question,html[lang=en] .c03-profile-answer{font-size:16px}
 html[lang=en] .ep-character-tabs button{min-width:76px;padding-inline:9px;font-size:14px}
 html[lang=en] .ep-character-name-row h2{font-size:23px}
 html[lang=en] .ep-character-role{font-size:12px;letter-spacing:0}
 html[lang=en] .ep-character-layout .ep-character-summary{font-size:15px}
 html[lang=en] .ep-character-stats dt{font-size:15px}
 html[lang=en] .ep-character-stat{grid-template-columns:120px minmax(0,1fr);gap:10px}
 html[lang=en] .ep-character-skill-name{font-size:14px}
 html[lang=en] .ep-character-archive-intro{font-size:16px}
 html[lang=en] .ep-title{max-width:calc(100% - 88px);margin-inline:auto;white-space:normal;text-wrap:balance}
}
@media(max-width:360px){.site-shell .site-header .brand-name{max-width:114px;font-size:10px}html[lang=en] .site-header .brand-name{max-width:114px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.site-language::before,.site-language button{transition:none}}
@media(max-width:700px){
 .ep-detail-open .ep-character-header{height:110px;min-height:110px;margin-bottom:-110px;align-items:flex-start}
 .ep-detail-open .ep-character-tabs{top:66px}
 .ep-detail-open .ep-character-identity{top:128px}
}
