/* Shared language navigation. Flags are vector assets; names remain readable. */
.mf-language-picker{position:relative;z-index:110;flex:0 0 auto;color:#6e3e3f;font:500 11px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;text-transform:none}
.mf-language-picker summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;min-height:38px;padding:7px 10px;border:1px solid #6e3e3340;background:#f7f4ef;border-radius:3px;white-space:nowrap;user-select:none}
.mf-language-picker summary::-webkit-details-marker{display:none}.mf-language-picker summary::after{content:"⌄";margin-left:3px;font-size:13px}.mf-language-picker[open] summary::after{content:"⌃"}
.mf-flag{display:block;width:24px;height:16px;flex:0 0 24px;overflow:hidden;box-shadow:0 0 0 1px #00000013}
.mf-language-options{position:absolute!important;top:calc(100% + 8px);right:0;min-width:210px;max-width:calc(100vw - 24px);padding:7px;background:#fffdf9;box-shadow:0 12px 32px #3f252523;border:1px solid #d8c9bf;border-radius:5px;display:grid!important;grid-template-columns:1fr;gap:1px!important;margin:0!important}
.mf-language-options a{display:flex!important;align-items:center;gap:11px;padding:10px!important;min-height:42px;color:#513738!important;font:500 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important;text-transform:none;white-space:nowrap;text-decoration:none!important;border:0!important}
.mf-language-options a:hover,.mf-language-options a:focus-visible{background:#eee5dc;outline:2px solid transparent}.mf-language-options a[aria-current]{background:#f3eae2;font-weight:700!important}.mf-language-options a[aria-current]::after{content:"✓";margin-left:auto;color:#6e3e3f}
.mf-language-picker summary:focus-visible{outline:2px solid #6e3e3f;outline-offset:3px}
body[data-mf-page]>.header{overflow:visible!important;background:#f7f4ef!important;color:#403c39!important}
body[data-mf-page]>.header:after{display:none!important}
body[data-mf-page]>.header .logo img{filter:brightness(0)!important;opacity:1!important}
body[data-mf-page]>.header .main-nav a{color:#403c39!important;text-shadow:none!important}
body[data-mf-page]>.header .main-nav a[aria-current]{color:#6e3e3f!important}
body[data-mf-page]>.header .main-nav [aria-current]:after{background:#6e3e3f!important}
body[data-mf-page]>.header .header-book{color:#6e3e3f!important;border-color:#b99c90!important;background:transparent!important}
body[data-mf-page]>.header .header-inner{height:100%!important;min-height:0!important}
body[data-mf-page]>.header .header-inner{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;gap:20px!important;position:relative;overflow:visible!important}
body[data-mf-page]>.header.mf-has-booking .header-inner{grid-template-columns:auto minmax(0,1fr) auto auto!important}
body[data-mf-page]>.header .main-nav{min-width:0;margin:0!important;justify-content:center!important;gap:18px!important;grid-row:1!important;grid-column:2!important}
body[data-mf-page]>.header .main-nav a{font-size:10px!important;letter-spacing:.02em!important}
body[data-mf-page]>.header .mf-language-picker{grid-column:-2/-1!important;grid-row:1!important;justify-self:end}
body[data-mf-page]>.header .header-book{grid-column:3;grid-row:1;white-space:nowrap;font-size:10px}
html:not([lang="ko"]) body[data-mf-page]{word-break:normal;overflow-wrap:break-word}
html:not([lang="ko"]) body[data-mf-page] p{word-break:normal;line-height:1.62}
html:not([lang="ko"]) body[data-mf-page] .copy-line,html:not([lang="ko"]) body[data-mf-page] .copy-phrase{display:inline;white-space:normal}
html[lang="ja"] body[data-mf-page]{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",sans-serif;line-break:strict}
html[lang="zh-CN"] body[data-mf-page]{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;line-break:strict}
html[lang="zh-TW"] body[data-mf-page]{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif;line-break:strict}
html[lang="es"] body[data-mf-page] h1{letter-spacing:-.035em;overflow-wrap:normal;hyphens:none;word-break:normal}
.mf-native-source{font-size:11px;color:#776b64}
@media(max-width:1280px){
 body[data-mf-page]>.header{height:112px!important}
 body[data-mf-page]>.header .header-inner,body[data-mf-page]>.header.mf-has-booking .header-inner{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-rows:62px 42px!important;gap:0 14px!important;align-content:center!important}
 body[data-mf-page]>.header .logo{grid-column:1;grid-row:1;justify-self:start}
 body[data-mf-page]>.header .main-nav{grid-column:1/-1!important;grid-row:2!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden;max-width:100%;width:100%;gap:24px!important;scrollbar-width:none}
 body[data-mf-page]>.header .main-nav a{display:inline-flex;align-items:center;min-height:40px;padding:7px 0!important;font-size:10px!important}
 body[data-mf-page]>.header .header-book{grid-column:2;grid-row:1}
 body[data-mf-page]>.header .mf-language-picker{grid-column:3!important;grid-row:1!important}
}
@media(max-width:600px){
 body[data-mf-page]>.header{height:104px!important}
 body[data-mf-page]>.header .header-inner,body[data-mf-page]>.header.mf-has-booking .header-inner{width:calc(100% - 32px)!important;grid-template-rows:56px 42px!important;gap:0 10px!important}
 body[data-mf-page]>.header .logo img{max-width:140px!important;max-height:32px;width:auto;height:auto}
 body[data-mf-page]>.header .header-book{display:none!important}
 .mf-language-picker summary{font-size:10px;min-height:34px;padding:6px 8px;gap:6px}.mf-flag{width:22px;height:15px;flex-basis:22px}
 .mf-language-options{min-width:205px}.mf-language-options a{font-size:12px!important}
 html:not([lang="ko"]) body[data-mf-page] .program-hero h1{font-size:clamp(31px,8.6vw,43px)}
 html:not([lang="ko"]) body[data-mf-page] .hero-intro h2{font-size:16px}
 html:not([lang="ko"]) body[data-mf-page] .section-nav a{white-space:nowrap;font-size:10px}
 html:not([lang="ko"]) body[data-mf-page] .booking-result{gap:16px;flex-wrap:wrap}
 html:not([lang="ko"]) body[data-mf-page] .booking-result>.btn{white-space:normal;text-align:left}
}
@media(prefers-reduced-motion:reduce){.mf-language-picker *{transition:none!important}}
