.site-locale-control{display:inline-flex;align-items:center;gap:5px;flex:none;border:1px solid #86917666;border-radius:999px;padding:6px 10px;color:#46523a;background:#fafbf5;font:11px/1.4 system-ui,sans-serif;position:relative;z-index:125;margin-left:12px}.site-locale-control select{border:0;background:transparent;color:inherit;font:inherit;max-width:115px;padding:2px;cursor:pointer}.site-locale-welcome{border:0;border-radius:18px;padding:26px;width:min(420px,calc(100vw - 32px));background:#fafaf5;color:#37432e;box-shadow:0 18px 70px #0003}.site-locale-welcome::backdrop{background:#20281f66;backdrop-filter:blur(3px)}.site-locale-welcome h2{font:400 24px Georgia,serif;margin:0 0 20px;text-align:center}.site-locale-welcome>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.site-locale-welcome button{border:1px solid #d5dbcb;border-radius:8px;background:#fff;color:#405035;padding:13px;font:13px system-ui,sans-serif;cursor:pointer}.site-locale-welcome button:focus-visible,.site-locale-control select:focus-visible{outline:2px solid #687e51;outline-offset:3px}body:has(#editor)>.site-locale-control,body:has(#editor)>.site-locale-welcome~.site-locale-control{position:fixed;right:20px;top:46px}body:has(#editor)>header>.site-locale-control{margin-left:auto}@media(max-width:760px){.site-locale-control{padding:4px 7px;font-size:10px;margin-left:6px}.site-locale-control select{max-width:90px}.site-locale-welcome{padding:24px 20px}body:has(#editor) .site-locale-control{position:fixed;right:12px;top:42px;z-index:125}}

/* Locale selection is outside document flow; preserve all existing page/header spacing. */
html body .site-locale-control{position:fixed!important;inset:auto 18px 18px auto!important;margin:0!important;z-index:125}
@media(max-width:760px){html body:has(#editor) .site-locale-control{bottom:76px!important;right:12px!important}html body .site-locale-control{right:12px!important;bottom:12px!important}}

/* Mobile menus contain the picker; it must not float above footer or editor controls. */
html body .site-locale-control.site-locale-in-menu{position:relative!important;inset:auto!important;display:inline-flex!important;align-self:flex-start!important;margin:22px 0 0!important;max-width:100%;z-index:auto}
html body .mobile-sheet-list>.site-locale-control.site-locale-in-menu{margin:16px 18px 22px!important}
html body dialog.site-locale-welcome{box-sizing:border-box!important;position:fixed!important;inset:var(--site-locale-viewport-top,0px) 0 auto!important;margin:0 auto!important;top:calc(var(--site-locale-viewport-top,0px) + 16px)!important;transform:none!important;width:min(420px,calc(100vw - 32px))!important;height:auto!important;min-height:0!important;max-height:calc(var(--site-locale-viewport-height,100dvh) - 32px)!important;overflow:auto!important;overscroll-behavior:contain}
@media(min-height:560px){html body dialog.site-locale-welcome{top:calc(var(--site-locale-viewport-top,0px) + var(--site-locale-viewport-height,100dvh)/2)!important;transform:translateY(-50%)!important}}
@media(max-height:420px){html body dialog.site-locale-welcome{padding:16px 20px!important}html body .site-locale-welcome h2{margin-bottom:10px;font-size:20px}html body .site-locale-welcome button{padding:9px}}

/* Sit beside the existing hamburger without entering the header flex layout. */
html body .site-locale-control.site-locale-by-trigger{position:absolute!important;inset:auto!important;left:var(--locale-trigger-left)!important;top:calc(var(--locale-trigger-top) + var(--site-locale-scroll-y,0px))!important;bottom:auto!important;right:auto!important;transform:translateY(-50%);margin:0!important;padding:4px 7px!important;font-size:10px;max-width:128px}
html body .site-locale-by-trigger select{max-width:94px}

html body .site-locale-control.site-locale-by-trigger{box-sizing:border-box;width:var(--locale-trigger-width,128px)}html body .site-locale-by-trigger select{flex:1;min-width:0;width:0;max-width:94px}

.site-locale-welcome button[aria-pressed=true]{background:#e6ecdf;border-color:#6b7d58}

/* Localized native file controls keep the original input and its upload handlers. */
.site-file-picker{position:relative;display:inline-flex;align-items:center;gap:14px;box-sizing:border-box;max-width:100%;width:100%;height:var(--site-file-height,44px);vertical-align:middle;overflow:hidden}
.site-file-picker-label{flex:none;padding:8px 15px;border:1px solid #cdd3c3;border-radius:3px;background:#fff;color:inherit;font:inherit}
.site-file-picker-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit}
html body .site-file-picker>input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;opacity:0!important;cursor:pointer}
.site-file-picker:focus-within .site-file-picker-label{outline:2px solid #798c62;outline-offset:2px}
html body #editor#editor :is(.text-format-bar,.ov-format-bar)>.editor-hex-color{align-self:center!important;margin-top:0!important;margin-bottom:0!important;transform:none!important;position:static!important}

html[data-site-locale]:not([data-site-locale="ko"]) #share .sstab[data-t="kakao"],html[data-site-locale]:not([data-site-locale="ko"]) #shareKakaoOn,html[data-site-locale]:not([data-site-locale="ko"]) .share-choice-options label:has(#shareKakaoOn){display:none!important}

html[data-site-locale]:not([data-site-locale="ko"]) #sendInvitationKakao,html[data-site-locale]:not([data-site-locale="ko"]) #invitationKakaoStatus{display:none!important}

html[data-site-invitation-language]:not([data-site-invitation-language="ko"]) .script-font-field:has(#inviteHangulFont){display:none!important}

html[data-site-locale] body #coverMediaStage>.cover-editor-frame:not(.cover-square):not(.cover-four):not(.cover-triple):not(.cover-custom)::after{content:var(--site-cover-crop-note)!important}
/* Compact site-language control; isolate it from each page's native select styles. */
html body .site-locale-control{gap:5px;padding:4px 7px!important;border:1px solid #d6d8d0!important;border-radius:2px!important;font:11px/1.3 system-ui,sans-serif!important;box-shadow:none!important}
html body .site-locale-control select:not(#locale-a):not(#locale-b){appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;display:block!important;flex:1;min-width:0!important;width:auto;max-width:108px;min-height:0!important;height:18px!important;margin:0!important;padding:0 15px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:inherit!important;font:inherit!important;line-height:18px!important;letter-spacing:0!important}
html body .site-locale-control::after{content:'';position:absolute;right:9px;top:50%;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
html body .site-locale-control:has(select:focus-visible){outline:1px solid #888;outline-offset:2px}
html body .site-locale-control.site-locale-by-trigger{width:min(var(--locale-trigger-width,108px),108px)!important;max-width:108px!important}
@media(max-width:760px){html body .site-locale-control{font-size:10px!important}html body:has(#editor) .site-locale-control:not(#locale-a){display:none!important}}
