/* DX Global 언어 버튼 — DesignOneX License 1.0 · Copyright © DesignOneX — designonex.com */
.dxg-sw{visibility:hidden;animation:dxgShow 0s 1.2s forwards;position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:9000;font:500 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif}
.dxg-sw-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;background:#fff;color:#334155;border:1px solid #cbd5e1;border-radius:2px;cursor:pointer;font:inherit;box-shadow:none}
.dxg-sw-btn:hover,.dxg-sw.open .dxg-sw-btn{border-color:#1a73e8;color:#1a73e8}
.dxg-sw-list{display:none;position:absolute;left:0;bottom:calc(100% + 6px);min-width:160px;max-height:min(70vh,480px);overflow:auto;margin:0;padding:6px 0;list-style:none;background:#fff;border:1px solid #cbd5e1;border-radius:2px;box-shadow:none}
.dxg-sw.open .dxg-sw-list{display:block}
.dxg-sw-list a{display:block;padding:9px 16px;color:#334155;text-decoration:none;font-size:13px}
.dxg-sw-list a:hover{background:#f1f5f9}
.dxg-sw-list a.on{color:#1a73e8;font-weight:700}
body.dark .dxg-sw-btn,html.dark .dxg-sw-btn,body.dark .dxg-sw-list,html.dark .dxg-sw-list{background:#1e293b;color:#e2e8f0;border-color:#475569}
body.dark .dxg-sw-list a,html.dark .dxg-sw-list a{color:#e2e8f0}
body.dark .dxg-sw-list a:hover,html.dark .dxg-sw-list a:hover{background:#334155}
body.dark .dxg-sw-list a.on,html.dark .dxg-sw-list a.on{color:#93c5fd}
@media (max-width:480px){.dxg-sw{left:max(12px,env(safe-area-inset-left,0px));bottom:max(72px,env(safe-area-inset-bottom,0px))}}

/* 1.3.1 — 상단 유틸 바(홈·고객센터·다크모드 줄)에 끼워 넣기 */
@keyframes dxgShow{to{visibility:visible}}
.dxg-sw.dxg-ready{visibility:visible;animation:none}
.dxg-sw.dxg-docked{position:relative;left:auto;bottom:auto;z-index:9000;display:inline-flex;align-items:center;font:inherit;color:inherit;line-height:inherit}
.dxg-sw.dxg-docked .dxg-sw-btn{padding:0;gap:4px;background:transparent;border:0;border-radius:0;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;cursor:pointer;transition:color .15s}
.dxg-sw.dxg-docked .dxg-sw-btn:hover,.dxg-sw.dxg-docked.open .dxg-sw-btn{border:0;color:var(--text-main,#1e293b)}
.dxg-sw.dxg-docked .dxg-sw-btn svg{width:1.15em;height:1.15em;flex-shrink:0}
.dxg-sw.dxg-docked .dxg-sw-cur::after{content:"";display:inline-block;margin-left:5px;width:4px;height:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.dxg-sw.dxg-docked .dxg-sw-list{left:auto;right:0;bottom:auto;top:calc(100% + 10px);min-width:150px;background:var(--bg-card,#fff);border:1px solid var(--border,#cbd5e1);box-shadow:none;text-align:left;font:500 13px/1.3 inherit}
.dxg-sw.dxg-docked .dxg-sw-list a{padding:9px 16px;color:var(--text-main,#334155);font-size:13px;letter-spacing:0}
.dxg-sw.dxg-docked .dxg-sw-list a:hover{background:var(--bg-body,#f1f5f9)}
.dxg-sw.dxg-docked .dxg-sw-list a.on{color:var(--p,#1a73e8);font-weight:700}
body.dark .dxg-sw.dxg-docked .dxg-sw-btn,html.dark .dxg-sw.dxg-docked .dxg-sw-btn{background:transparent;color:inherit;border:0}
body.dark .dxg-sw.dxg-docked .dxg-sw-btn:hover,body.dark .dxg-sw.dxg-docked.open .dxg-sw-btn{color:var(--text-main,#e2e8f0)}
body.dark .dxg-sw.dxg-docked .dxg-sw-list,html.dark .dxg-sw.dxg-docked .dxg-sw-list{background:var(--bg-card,#1e293b);border-color:var(--border,#475569)}
body.dark .dxg-sw.dxg-docked .dxg-sw-list a,html.dark .dxg-sw.dxg-docked .dxg-sw-list a{color:var(--text-main,#e2e8f0)}
body.dark .dxg-sw.dxg-docked .dxg-sw-list a:hover,html.dark .dxg-sw.dxg-docked .dxg-sw-list a:hover{background:var(--bg-body,#334155)}
body.dark .dxg-sw.dxg-docked .dxg-sw-list a.on,html.dark .dxg-sw.dxg-docked .dxg-sw-list a.on{color:var(--p,#93c5fd)}

/* 1.3.3 — 위쪽 바에 끼운 언어 목록: 테마·스타일 부스터(어두운 헤더 등)가 상단 바 링크 글자색을 덮어써도 목록은 직접 고정한 색을 씀 */
html body .dxg-sw.dxg-docked .dxg-sw-list:not(#dxg-a):not(#dxg-b){background:#fff!important;border:1px solid #cbd5e1!important;color:#1e293b!important;opacity:1!important}
html body .dxg-sw.dxg-docked .dxg-sw-list a:not(#dxg-a):not(#dxg-b),html body .dxg-sw.dxg-docked .dxg-sw-list a:link:not(#dxg-a):not(#dxg-b),html body .dxg-sw.dxg-docked .dxg-sw-list a:visited:not(#dxg-a):not(#dxg-b){color:#1e293b!important;background:transparent!important;opacity:1!important;text-shadow:none!important}
html body .dxg-sw.dxg-docked .dxg-sw-list a:hover:not(#dxg-a):not(#dxg-b){background:#f1f5f9!important;color:#0f172a!important}
html body .dxg-sw.dxg-docked .dxg-sw-list a.on:not(#dxg-a):not(#dxg-b){color:#1a73e8!important;font-weight:700!important}
html body.dark .dxg-sw.dxg-docked .dxg-sw-list:not(#dxg-a):not(#dxg-b){background:#1e293b!important;border-color:#475569!important;color:#e2e8f0!important}
html body.dark .dxg-sw.dxg-docked .dxg-sw-list a:not(#dxg-a):not(#dxg-b){color:#e2e8f0!important;background:transparent!important}
html body.dark .dxg-sw.dxg-docked .dxg-sw-list a:hover:not(#dxg-a):not(#dxg-b){background:#334155!important;color:#fff!important}
html body.dark .dxg-sw.dxg-docked .dxg-sw-list a.on:not(#dxg-a):not(#dxg-b){color:#93c5fd!important}

/* 1.4.0 — 글 번역 (제목·본문·댓글 아래 번역). 그림자 없음, 라이트·다크 모두 글자색은 주변을 따라감 */
.dxgt-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 12px;font-size:12px;line-height:1.4}
.dxgt-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid currentColor;border-radius:2px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;opacity:.78;transition:opacity .15s}
.dxgt-btn:hover{opacity:1}
.dxgt-btn[disabled]{opacity:.4;cursor:default}
.dxgt-st{opacity:.7}
.dxgt-st.dxgt-err{opacity:1;color:#d93025}
body.dark .dxgt-st.dxgt-err,html.dark .dxgt-st.dxgt-err{color:#f28b82}
.dxgt-out{margin:12px 0 18px;padding:2px 0 2px 14px;border-left:2px solid rgba(128,128,128,.5)}
.dxgt-tag{font-size:11px;letter-spacing:.04em;opacity:.6;margin-bottom:6px}
.dxgt-tx{white-space:pre-wrap;word-break:break-word;line-height:1.75}
.dxgt-title .dxgt-tx{font-size:1.1rem;font-weight:700;line-height:1.5}
.dxgt-cmt{margin:8px 0 10px;padding-left:12px}
.dxgt-cmt .dxgt-tx{font-size:.95em;line-height:1.65}
