.site-language-switch { position: relative; z-index: 40; justify-self: end; width: max-content; margin-left: auto; color: #eee8dd; font: 500 12px/1.4 var(--font-body, system-ui, sans-serif); }
.site-header > .site-language-switch { grid-area: 1 / 1 / 2 / -1; align-self: start; }
.site-header:has(> .site-language-switch) > .game-nav { grid-area: 1 / 1 / 2 / -1; height: 32px; padding-right: 84px; }
.site-language-switch__button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 74px; min-height: 30px; padding: 3px 8px; border: 1px solid rgba(207,184,144,.35); border-radius: 0 0 4px 4px; background: #211e19; color: #dfc390; list-style: none; cursor: pointer; user-select: none; }
.site-language-switch__button::-webkit-details-marker { display: none; }
.site-language-switch svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-language-switch__button:hover, .site-language-switch[open] > summary { background: #30291f; border-color: #bc9c67; }
.site-language-switch[open] .site-language-switch__caret { transform: rotate(180deg); }
.site-language-switch__menu { position: absolute; top: calc(100% + 5px); right: 0; width: max-content; min-width: 168px; max-width: calc(100vw - 32px); margin: 0; padding: 4px; list-style: none; border: 1px solid rgba(207,184,144,.35); border-radius: 4px; background: #211e19; box-shadow: 0 6px 18px #0009; }
.site-language-switch__menu li { margin: 0; padding: 0; }
.site-language-switch__menu a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; padding: 7px 10px; color: #bdb5a8; text-decoration: none; white-space: nowrap; font-size: 14px; }
.site-language-switch__menu a:hover, .site-language-switch__menu a:focus-visible { color: #eee8dd; background: #30291f; }
.site-language-switch__menu a[aria-current] { color: #dfc390; }
.site-language-switch__check { visibility: hidden; }
.site-language-switch a[aria-current] .site-language-switch__check { visibility: visible; }
.site-language-switch :is(summary, a):focus-visible { outline: 2px solid #dfc390; outline-offset: 2px; }
.page-header > .site-language-switch { position: absolute; top: 0; right: 0; }
.page-header:has(> .site-language-switch) { position: relative; }
body > .site-language-switch { margin: 8px 16px 0 auto; }
html[lang="en"] .top-nav__link { white-space: normal; }
html[lang="en"] .top-nav__link:has(.nav-locale-note) { flex-wrap: wrap; align-content: center; column-gap: 3px; line-height: 1.35; }
html[lang="en"] .top-nav__link .nav-locale-note { font-size: 10px; color: var(--muted); white-space: nowrap; }
html[lang="en"] .top-nav__dropdown .nav-locale-note { font-size: 11px; white-space: nowrap; }
@media (max-width: 520px) {
  html[lang="en"] .build-guide-page .build-class-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.i18n-content { --text: #eee8dd; --muted: #bdb5a8; --gold: #bc9c67; --line: rgba(207,184,144,.22); display: grid; gap: 24px; color: var(--text); }
.i18n-content h2 { margin: 0 0 8px; color: var(--text); font: 600 21px/1.5 var(--font-display); }
.i18n-content p { font-size: var(--text-body, 15px); font-weight: 400; line-height: 1.7; }
.i18n-links { display: grid; gap: 12px; padding-left: 20px; }
.i18n-item-heading { display: flex; gap: 24px; align-items: center; }
.i18n-item-heading img { width: 84px; height: 84px; object-fit: contain; }
.i18n-item-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.i18n-item-stats div { display: flex; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 0; }
.i18n-item-stats dt { color: var(--muted); font-size: 15px; }
.i18n-item-stats dd { margin: 0; font-variant-numeric: tabular-nums; }
.i18n-item-options { padding-left: 20px; font-size: 15px; line-height: 1.9; }
.i18n-item-options li::marker { color: var(--gold); }
.i18n-content h3 { margin: 16px 0 8px; font-size: 15px; font-weight: 600; }
.i18n-content section { min-width: 0; }
.i18n-content section > section { margin-top: 20px; }
.i18n-content details { margin-block: 12px; }
.i18n-content summary { cursor: pointer; font-size: 15px; line-height: 1.7; }
.i18n-related-items { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-left: 20px; font-size: 15px; }
.i18n-detail-scaling { color: var(--muted); font-size: 13px; }
.i18n-rune-order { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-left: 24px; }
.i18n-rune-order img { vertical-align: middle; object-fit: contain; margin-right: 6px; }
.i18n-detail-table { overflow-x: auto; }
.i18n-detail-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.i18n-detail-table :is(td,th) { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
html[lang="en"] .drop-reference-items li > a.drop-reference-condition { display: block; margin: -4px 0 10px 72px; }
.i18n-content .tips-article { display: block; min-width: 0; }
.i18n-content .tips-table { width: 100%; }
html[lang="en"] .i18n-content .tips-table :is(th,td) { word-break: normal; overflow-wrap: normal; }
.i18n-share { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.i18n-share button { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 8px 14px; font: inherit; cursor: pointer; }
html[lang="en"] .video-library-card__body > p:not(.video-library-card__channel) { color: var(--muted); }
html[lang="en"] .drop-reference--styled .drop-status__copy { min-width: 0; }
html[lang="en"] .jz-stat-name { min-width: 76px; }
html[lang="en"] .build-variant-nav a:only-child { grid-column: 1 / -1; }
html[lang="en"] .build-current-heading h2 { display: flex; align-items: center; gap: 10px; }
html[lang="en"] .build-current-heading h2 img { flex: 0 0 36px; }
html[lang="en"] .drop-reference--styled .drop-status__label,
html[lang="en"] .drop-reference--styled .drop-status__item small { white-space: normal; overflow-wrap: anywhere; }
@media(max-width: 760px) {
  html[lang="en"] .drop-reference--styled .drop-reference-bosses { display: flex; flex-wrap: wrap; gap: 0 18px; }
  html[lang="en"] .drop-reference--styled .drop-reference-bosses a { max-width: 130px; }
}
@media(max-width: 520px) {
  html[lang="en"] .drop-reference--styled .drop-boss-primary { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html[lang="en"] .drop-reference--styled .drop-status--abilities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}
@media(max-width: 520px) { .i18n-item-stats { grid-template-columns: 1fr; } }
