/* Language switcher (partials/language_switcher.html): same look as www.yanhak.com's yh-switcher-css */
.yh-ls { position: relative; display: inline-flex; align-items: center; margin-right: 8px; font-family: inherit; }
.yh-ls .yh-ls-btn { background: #fff; border: 1px solid #e3e3e8; color: #0f0f1a; border-radius: 10px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1; transition: border-color .15s, background .15s; font-family: inherit; }
.yh-ls .yh-ls-btn:hover { border-color: #ff5757; }
.yh-ls .yh-chev { width: 12px; height: 12px; stroke: #6a6a78; stroke-width: 2; fill: none; transition: transform .15s; }
.yh-ls[data-open="true"] .yh-chev { transform: rotate(180deg); }
.yh-ls .yh-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; background: #fff; border: 1px solid #e6e6ea; border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(15,15,26,0.18); overflow: hidden; display: none; z-index: 1000; }
.yh-ls[data-open="true"] .yh-panel { display: block; }
.yh-ls .yh-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #f0f0f3; }
.yh-ls .yh-search svg { width: 14px; height: 14px; stroke: #9a9aa6; stroke-width: 2; fill: none; }
.yh-ls .yh-search input { border: 0; outline: 0; flex: 1; font-size: 13px; background: transparent; color: #0f0f1a; font-family: inherit; }
.yh-ls .yh-search input::placeholder { color: #9a9aa6; }
.yh-ls .yh-list { max-height: 280px; overflow-y: auto; padding: 4px; display: flex; flex-direction: column; }
.yh-ls .yh-list form { margin: 0; }
.yh-ls .yh-list .on { order: -1; }
.yh-ls .yh-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: transparent; border: 0; border-radius: 8px; font-size: 14px; color: #0f0f1a; cursor: pointer; font-family: inherit; text-align: left; transition: background .12s; }
.yh-ls .yh-opt:hover { background: #faf7f6; }
.yh-ls a.yh-opt, .yh-ls a.yh-opt:hover { text-decoration: none; }
.yh-ls .yh-opt[aria-selected="true"] { background: #fff0ec; font-weight: 700; color: #d94a3c; }
.yh-ls .yh-opt .yh-flag { font-size: 18px; line-height: 1; }
.yh-ls .yh-opt .yh-name { flex: 1; min-width: 0; }
.yh-ls .yh-opt .yh-code { font-size: 11px; letter-spacing: .1em; color: #9a9aa6; font-weight: 600; }
.yh-ls .yh-opt[aria-selected="true"] .yh-code { color: #d94a3c; }
.yh-ls .yh-check { width: 16px; height: 16px; stroke: #ff5757; stroke-width: 2.5; fill: none; }
.yh-ls .yh-empty { padding: 20px; text-align: center; font-size: 12px; color: #9a9aa6; }
