/* 原站样式保持在 styles.css；此文件补充语言控件与中日韩文字体。 */
header .container { position: relative; }
.replica-languages { position: absolute; z-index: 10000; right: 0; top: 50%; transform: translateY(-50%); color: #333; font: 13px/1.5 Montserrat, 'Microsoft YaHei', 'Yu Gothic', 'Malgun Gothic', sans-serif; }
.replica-languages > summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 130px; height: 38px; padding: 0 12px; background: #fff; border: 1px solid #e6e6e6; border-radius: 5px; box-shadow: 0 2px 9px #0000000f; cursor: pointer; list-style: none; white-space: nowrap; }
.replica-languages > summary::-webkit-details-marker { display: none; }
.replica-languages > summary .fa { color: #f0520d; font-size: 17px; }
.replica-languages > summary::after { content: ''; width: 6px; height: 6px; margin-left: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.replica-languages[open] > summary::after { transform: translateY(2px) rotate(225deg); }
#current-language-code { display: none; }
.replica-language-options { position: absolute; right: 0; top: calc(100% + 8px); width: 168px; max-height: calc(100dvh - 90px); overflow-y: auto; padding: 6px; border: 1px solid #e8e8e8; border-radius: 6px; background: white; box-shadow: 0 5px 24px #00000017; }
.replica-language-options button { display: block; width: 100%; min-height: 40px; border: 0; padding: 9px 12px; background: transparent; color: #333; text-align: left; font: inherit; cursor: pointer; border-radius: 3px; }
.replica-language-options button:hover, .replica-language-options button[aria-pressed='true'] { background: #fff0e9; color: #c5420c; }
.replica-languages :focus-visible { outline: 2px solid #f0520d; outline-offset: 3px; }
.replica-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[lang='zh-CN'] body { font-family: Montserrat, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[lang='ja'] body { font-family: Montserrat, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif; }
html[lang='ko'] body { font-family: Montserrat, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
@media(max-width: 1200px) { .replica-languages { right: 15px; } }
@media(max-width: 768px) {
  .replica-languages > summary { min-width: 64px; height: 36px; padding: 0 8px; gap: 5px; }
  #current-language { display: none; }
  #current-language-code { display: inline; }
}
@media(max-width: 360px) { header .logo_wrap img.logo { max-width: 130px !important; } }
@media(max-width: 768px) { html:not([lang='es']) .home-direct-download { white-space: normal; } }
