/* One header for every page: brand, navigation, language and currency. */
.site-header{display:block;padding:0;margin:0;background:#0a1753;color:#fff;position:sticky;top:0;z-index:1100;box-shadow:0 2px 12px #0a175326}
.sh-inner{max-width:1180px;margin:0 auto;padding:10px 20px;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"brand nav tools";align-items:center;gap:18px}
.sh-brand{grid-area:brand;display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font:900 20px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.5px}
.sh-brand img{width:38px;height:38px;border-radius:10px;display:block}
.sh-brand small{display:block;font-size:8px;letter-spacing:2.2px;color:#9fb6dc;font-weight:700;margin-top:4px}
.sh-nav{grid-area:nav;display:flex;gap:6px;justify-content:center;flex-wrap:nowrap;min-width:0}
.sh-nav a{color:#d5e3f5;text-decoration:none;white-space:nowrap;font:600 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;padding:9px 11px;border-radius:999px}
.sh-nav a:hover{background:#16236b;color:#fff}
.sh-nav a[aria-current=page]{background:#1b2c80;color:#fff}
.sh-tools{grid-area:tools;display:flex;gap:6px;align-items:center}
.sh-search{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#16236b;border:1px solid #34448a;color:#fff;flex:none}
.sh-search:hover,.sh-search[aria-current=page]{background:#1b2c80}
.sh-search:focus-visible{outline:3px solid #00bed9;outline-offset:2px}
.sh-tools [data-currency-mount],.sh-tools [data-lang-mount]{display:inline-flex}
.sh-tools select{appearance:none;-webkit-appearance:none;background:#16236b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23cfe0ff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 9px center;border:1px solid #34448a;color:#fff;border-radius:999px;padding:7px 24px 7px 11px;font:700 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:132px;min-height:34px;margin:0;cursor:pointer}
.sh-tools select:focus-visible,.sh-nav a:focus-visible,.sh-brand:focus-visible{outline:3px solid #00bed9;outline-offset:2px}
.sh-tools select option{color:#0a1753;background:#fff}
[dir=rtl] .sh-tools select{background-position:left 9px center;padding:7px 11px 7px 24px}
@media (max-width:900px){
 .sh-inner{grid-template-columns:1fr auto;grid-template-areas:"brand tools" "nav nav";row-gap:8px;padding:9px 14px 8px}
 .sh-brand{font-size:18px}.sh-brand img{width:34px;height:34px}.sh-brand small{display:none}
 .sh-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0;padding:0 0 2px;gap:6px}
 .sh-nav::-webkit-scrollbar{display:none}
 .sh-nav a{background:#16236b;font-size:12px;padding:8px 12px}
 .sh-tools select{max-width:104px;font-size:12px;padding:6px 22px 6px 9px;min-height:32px}
}
@media (max-width:440px){.sh-brand>span{display:none}.sh-tools{gap:5px}.sh-tools select{max-width:112px}}
@media (max-width:360px){.sh-tools select{max-width:96px;padding-inline:8px 20px}}

/* Korean breaks lines between words, not inside them. */
html:lang(ko) body{word-break:keep-all;overflow-wrap:anywhere}

/* In-page links (Transfer, Guides…) stop below the sticky header instead of under it. */
section[id]{scroll-margin-top:112px}
