.language-switch{display:inline-flex;align-items:center;flex:none}
.language-switch select{width:106px;min-height:44px;margin:0;padding:9px 8px;border:1px solid #ffffff38;border-radius:999px;background:#22291f;color:var(--ink);font:600 13px/1.3 'Segoe UI',system-ui,sans-serif;cursor:pointer}
.language-switch select option{background:#20261e;color:#f4f4e9}
/* Use a centered native label with a consistently aligned custom chevron. */
@media(min-width:521px){
 .language-switch{position:relative}
 .language-switch select{appearance:none;-webkit-appearance:none;width:124px;height:46px;min-height:46px;padding:0 28px 0 14px;line-height:normal;text-align:center;text-align-last:center;background-image:none}
 .language-switch:before{content:'';position:absolute;right:13px;top:50%;width:14px;height:14px;transform:translateY(-50%);pointer-events:none;background:center/14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
}
.registration>.language-switch{display:flex;justify-content:center;margin-bottom:24px}
.nav{flex-wrap:wrap}.header-actions{flex-wrap:wrap;justify-content:center}
.mobile-bottom-nav a[aria-current="page"]{background:rgba(217,250,119,.12);color:var(--lime)}
html[lang="ko"] body{font-family:'Malgun Gothic','Apple SD Gothic Neo','Noto Sans KR',system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
html[lang="ko"] .hero .animated-headline{font-family:'Norae Cinematic Korean','Batang','AppleMyungjo',serif;font-weight:600;letter-spacing:-.025em;font-size:clamp(34px,4vw,56px);line-height:1.48}
html[lang="ru"] .hero .animated-headline{font-size:clamp(38px,4.5vw,64px);letter-spacing:.035em;line-height:1.28}
html:not([lang="en"]) .eyebrow{letter-spacing:.7px}
html:not([lang="en"]) .song-progress{font-size:11px}
.registration h1{overflow-wrap:anywhere}
@media(min-width:801px) and (max-width:1200px){.nav nav{order:3;width:100%;justify-content:center}.header-actions{margin-left:auto}}
@media(max-width:520px){.nav{justify-content:center;gap:12px}.nav>.brand{justify-content:center;width:100%}.header-actions{width:100%;gap:12px}.language-switch select{font-size:14px;min-height:44px}.header-actions .signup-button{font-size:13px}.hero .intro{overflow-wrap:anywhere}html[lang="ru"] .hero .animated-headline{font-size:clamp(25px,7.8vw,40px);transform:none}html[lang="ko"] .hero .animated-headline{font-size:clamp(24px,7vw,36px)}html[lang="ru"] .hero .headline-line{transform:none}.mobile-bottom-nav a{font-size:10px}html:not([lang="en"]) .song-progress{font-size:9px}.hero-actions{justify-content:center}.hero-actions .button,.hero-actions .text-link{max-width:100%;text-align:center}}
/* Mobile hero alignment: keep decorations attached to the logo, not the header edge. */
@media(max-width:800px){
 .nav>.brand{width:max-content;max-width:calc(100% - 36px);flex:none;margin-inline:auto;justify-content:center}
 .nav>.brand:after{right:-17px;top:-5px}
 .hero .hero-copy{width:100%;max-width:560px;margin-inline:auto;text-align:center;min-width:0}
 .hero-copy>.eyebrow{justify-content:center;text-align:center;max-width:100%;margin-inline:auto;line-height:1.6;text-wrap:balance}
 .hero .animated-headline{width:100%;margin-inline:auto;text-align:center}
 .hero .headline-line{max-width:100%;text-align:center}
 .hero .launch-note{justify-content:center;text-align:center;line-height:1.6;max-width:100%;margin-inline:auto}
 .hero .artist-hero figcaption{left:16px;right:16px;bottom:28px;max-width:none;align-items:center;text-align:center}
 .hero .artist-disclosure{display:block;max-width:100%;line-height:1.5;text-wrap:balance}
}
@media(max-width:520px){
 .nav{padding-top:18px;padding-bottom:14px}
 .hero-copy>.eyebrow{font-size:9px;letter-spacing:.6px;margin-bottom:22px}
 .hero .launch-note{font-size:10px;gap:6px}
 .hero .animated-headline{padding-inline:4px;box-sizing:border-box}
}
/* Keep the mobile header in one row: brand left, language and account right. */
@media(max-width:800px){
 .nav{flex-wrap:nowrap;justify-content:space-between;gap:12px}
 .nav>.brand{width:auto;max-width:none;margin:0;justify-content:flex-start}
 .nav .header-actions{width:auto;flex-wrap:nowrap;margin-left:auto;justify-content:flex-end;gap:8px}
 .nav .header-actions>.button.small{display:none}
}
@media(max-width:520px){
 .nav{width:calc(100% - 24px);padding:12px 10px;gap:8px}
 .nav>.brand{font-size:21px;letter-spacing:-1px}
 .nav .brand-icon{width:29px;height:30px;font-size:25px;margin-right:5px}
 .nav>.brand:after{right:-8px;top:-8px;font-size:8px;letter-spacing:0}
 .nav .header-actions{gap:6px}
 .nav .signup-button{font-size:12px;padding:9px 10px;min-height:44px}
 .nav .language-switch{position:relative}
 .nav .language-switch select{width:58px;min-height:44px;color:transparent;appearance:none;-webkit-appearance:none;padding:9px 6px}
 .nav .language-switch:after{content:'EN ⌄';position:absolute;inset:0;display:grid;place-items:center;color:var(--ink);font-size:12px;font-weight:600;pointer-events:none}
 html[lang="ru"] .nav .language-switch:after{content:'RU ⌄'}
 html[lang="ko"] .nav .language-switch:after{content:'KO ⌄'}
}
@media(max-width:360px){
 .nav{padding-inline:8px;gap:6px}
 .nav>.brand{font-size:18px;letter-spacing:-.8px}
 .nav .brand-icon{width:25px;font-size:22px;margin-right:4px}
 .nav .signup-button{font-size:11px;padding-inline:8px}
 .nav .language-switch select{width:50px}
 .nav .header-actions{gap:5px}
}
/* Mobile controls and a stable photo layer while the page scrolls. */
@media(max-width:800px){
 body#top{isolation:isolate}
 body#top:before{content:'';position:fixed;inset:0 0 auto;height:100vh;height:100lvh;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(20,23,20,.78),rgba(20,23,20,.5) 55%,rgba(20,23,20,.75)),linear-gradient(180deg,#141714 0%,rgba(20,23,20,.82) 22%,rgba(20,23,20,.48) 56%,rgba(20,23,20,.65) 82%,#141714 100%),url('/static/korean-studio-duo.png') 58% center/cover no-repeat}
 .hero{min-height:0;padding-top:38px;padding-bottom:62px;align-items:start;gap:0}
 .hero .artist-hero{mask-image:none;-webkit-mask-image:none}
 .hero .artist-hero img,.hero .artist-hero:after{display:none}
 .hero .artist-hero figcaption{bottom:12px;left:8px;right:8px}
 .hero .launch-note{margin-bottom:0;margin-top:20px}
}
@media(max-width:520px){
 .nav .language-switch select{width:68px}
 .nav .language-switch:after{content:'EN';display:flex;align-items:center;justify-content:flex-start;padding-left:13px;line-height:1}
 html[lang="ru"] .nav .language-switch:after{content:'RU'}
 html[lang="ko"] .nav .language-switch:after{content:'KO'}
 .nav .language-switch:before{content:'';position:absolute;right:13px;top:50%;width:6px;height:6px;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:translateY(-70%) rotate(45deg);pointer-events:none;z-index:1}
}
@media(max-width:360px){
 .nav .language-switch select{width:58px}
 .nav .language-switch:after{padding-left:10px}
 .nav .language-switch:before{right:10px}
}
/* The oval unfolds into a glass curtain on every screen size. */
.language-trigger,.language-curtain{display:none}
@media(min-width:0px){
 body>header.nav{position:relative;z-index:20}
 .language-switch--enhanced{position:relative;isolation:isolate;width:124px;height:46px;flex:none}
 .registration>.language-switch--enhanced{margin-inline:auto}
 .language-switch--enhanced>select{display:none}
 .language-switch--enhanced:before,.language-switch--enhanced:after{display:none}
 .language-trigger{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;padding:0 28px 0 14px;border:1px solid transparent;border-radius:23px;background:transparent;color:var(--ink);font:600 13px/1.3 'Segoe UI',system-ui,sans-serif;cursor:pointer}
 .language-current{min-width:0;white-space:nowrap}
 .language-chevron{position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .32s ease}
 .is-open>.language-trigger .language-chevron{transform:translateY(-20%) rotate(225deg)}
 .language-curtain{position:absolute;inset:0 0 auto;display:block;max-height:46px;overflow:hidden;border:1px solid #ffffff38;border-radius:23px;background:linear-gradient(145deg,rgba(49,59,43,.97),rgba(26,33,23,.98));box-shadow:0 0 0 transparent;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:max-height .36s cubic-bezier(.22,.7,.25,1),box-shadow .36s ease,border-color .2s ease}
 .language-switch--enhanced:hover>.language-curtain,.language-switch--enhanced:focus-within>.language-curtain{border-color:#d9fa7780}
 .is-open>.language-curtain{max-height:190px;box-shadow:0 14px 32px #0006}
 .language-options{display:grid;gap:3px;margin-top:45px;padding:4px 6px 8px;opacity:0;transform:translateY(-8px);transition:opacity .2s ease,transform .3s ease;pointer-events:none}
 .is-open>.language-curtain>.language-options{opacity:1;transform:translateY(0);transition-delay:.06s;pointer-events:auto}
 .language-option{position:relative;display:block;width:100%;min-height:38px;padding:8px 21px 8px 9px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--ink);font:500 13px/1.3 'Segoe UI',system-ui,sans-serif;text-align:left;cursor:pointer}
 .language-option:hover,.language-option:focus-visible{background:#d9fa7715;color:var(--lime)}
 .language-option:focus-visible{outline:1px solid #d9fa7780;outline-offset:-1px}
 .language-option[aria-checked="true"]{color:var(--lime);background:#d9fa7710}
 .language-option[aria-checked="true"]:after{content:'';position:absolute;right:10px;top:50%;width:5px;height:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-65%) rotate(45deg)}
}
@media(prefers-reduced-motion:reduce){
 .language-curtain,.language-options,.language-chevron{transition:none!important}
}

@media(max-width:800px){
 .nav .language-switch--enhanced{width:68px;height:44px}
 .nav .language-switch--enhanced>select,.nav .language-switch--enhanced:before,.nav .language-switch--enhanced:after{display:none!important}
 .nav .language-trigger{height:44px;padding:0 25px 0 11px;border-radius:22px}
 .nav .language-current{font-size:0}
 .nav .language-current:after{content:attr(data-short);font-size:12px;line-height:1}
 .nav .language-chevron{right:13px}
 .nav .language-curtain{left:auto;right:0;width:68px;max-height:44px;border-radius:22px;transition:width .32s ease,max-height .36s ease,box-shadow .36s ease}
 .nav .is-open>.language-curtain{width:148px;max-height:218px}
 .nav .language-options{margin-top:44px}
 .nav .language-option{min-height:44px;font-size:14px;padding-left:12px}
 .registration>.language-switch--enhanced .language-option{min-height:44px}
 .registration>.language-switch--enhanced.is-open>.language-curtain{max-height:218px}
}
/* The Latin wordmark is independent of translated page typography. */
.brand{font-family:'Segoe UI',Arial,sans-serif;font-weight:750;line-height:1;white-space:nowrap;flex-shrink:0;word-break:normal;overflow-wrap:normal}
.nav>.brand{height:48px;align-items:center;align-self:center}
.brand-icon{flex-shrink:0}
@media(max-width:800px){.nav>.brand{height:44px}}
/* Decorative notes are vectors, so font fallback cannot resize them by language. */
.brand:after{content:'';width:32px;height:20px;background:url('/static/brand-notes.svg') center/contain no-repeat;letter-spacing:0;text-shadow:none;filter:drop-shadow(0 0 4px rgba(217,250,119,.35))}
@media(max-width:520px){.brand:after{width:18px;height:13px}}
