.fn-language{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.75rem;color:#d7d2ca}
.fn-language label{display:flex;align-items:center}
.fn-language label>span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.fn-language select{min-height:34px;font:inherit;background:#1b1c21;color:#f2e8d9;border:1px solid #574a3c;border-radius:4px;padding:5px 7px}
.fn-language small{font-size:.7rem;color:#b8af9f}
.fn-language [hidden],.scenario-board [hidden]{display:none!important}
.fn-topbar:has(.fn-language){gap:clamp(7px,1.4vw,22px)}
@media(max-width:900px){.fn-topbar .fn-primary-nav{overflow-x:auto}}
.fn-rank-opt{display:flex;align-items:center;gap:9px;margin:12px 0 16px;font-size:.83rem;color:#c7c2ba}
.fn-rank-opt input{accent-color:#ffc269;flex:0 0 auto;width:17px;height:17px}
.ready-screen .fn-rank-opt{justify-content:center}
#result-rank-status:empty{display:none}
#result-rank-status{margin:.5rem 0;color:#ffc784}

.fn-topbar>.fn-language{order:1;margin-inline-start:auto}
.fn-topbar:has(>.fn-language)>.fn-account-control{margin-inline-start:0!important}
.home-signin-note{margin:14px 0 0;color:#a7a9b0;font-size:.84rem}
@media(max-width:760px){
 .fn-topbar>.fn-language{position:relative;flex:0 0 auto;flex-wrap:nowrap}
 .fn-topbar>.fn-language>small{position:absolute;top:calc(100% + 7px);right:0;max-width:155px;width:max-content;z-index:2}
 .fn-topbar>.fn-language>small{padding:3px 6px;border-radius:4px;background:#1b1c21}
}
.fn-rank-opt[hidden]{display:none!important}
.ready-screen .fn-rank-member{justify-content:center}

.fn-account-sections{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0 0 18px;border-bottom:1px solid #303237}
.fn-account-sections a{padding:10px 2px 12px;color:#b8bbc1;border-bottom:2px solid transparent;font-size:.9rem}
.fn-account-sections a[aria-current]{border-color:#ffc269;color:#ffd394}
.fn-page .fn-account-views{display:grid;grid-template-columns:minmax(0,720px)}
.fn-page .fn-account-views .coach-settings{max-width:none}


html:lang(ko) {--fn-type: "Pretendard","Noto Sans KR","Malgun Gothic",Inter,system-ui,sans-serif}
html:lang(zh-Hans) {--fn-type: "Noto Sans SC","Microsoft YaHei","PingFang SC",Inter,system-ui,sans-serif}
html:lang(ja) {--fn-type: "Noto Sans JP","Hiragino Sans","Yu Gothic UI",Meiryo,Inter,system-ui,sans-serif}
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) :is(body,button,input,textarea,select,summary) {font-family:var(--fn-type)}
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) .fn-site :is(h1,h2,h3),
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) .fn-home h1 {letter-spacing:-.028em;line-height:1.14}
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) .fn-site .scenario-category,
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) .fn-home .eyebrow {letter-spacing:.04em}
:is(html:lang(zh-Hans),html:lang(ja)) .fn-site :is(p,li,h1,h2,h3,dd,dt,label) {line-break:strict;overflow-wrap:anywhere}
.fn-language select {cursor:pointer}
.guide-top .fn-language {margin-inline-start:auto}
:is(html:lang(ko),html:lang(zh-Hans),html:lang(ja)) .fn-home h1 {font-synthesis:weight}
