/*! Stake-Only | (c) 2026 Kcalb Ltd. All rights reserved. | Powered by KcalbApp | https://kcalbapp.com */
.site-header { position: relative; z-index: 20; width: 100%; padding: 14px 24px; background: var(--background-overlay); border-bottom: 1px solid var(--color-border); isolation: isolate; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100%,1600px); min-height: 42px; margin: 0 auto; }
.site-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-brand,.site-header-drawer-brand { display: flex; align-items: center; flex-shrink: 0; gap: 14px; min-width: 0; text-decoration: none; }
.site-brand img,.site-header-drawer-brand img { display: block; flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; border-radius: var(--radius-10); }
.site-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: var(--line-height-1-1); }
.site-brand-name { margin: 0; color: var(--color-text); -webkit-text-fill-color: var(--color-text); font-size: var(--font-size-15); font-weight: var(--font-weight-850); letter-spacing: -.01em; line-height: var(--line-height-1-1); }
.site-brand-subtitle { margin: 4px 0 0; color: var(--color-text-muted); -webkit-text-fill-color: var(--color-text-muted); font-size: var(--font-size-12); font-weight: var(--font-weight-700); letter-spacing: .18em; line-height: var(--line-height-1-1); text-transform: uppercase; }
.site-header-nav { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; }
.site-header-nav a { text-transform: uppercase; }
.site-header-nav-link { display: flex; align-items: center; gap: 8px; color: var(--color-text-body); text-decoration: none; font-size: var(--font-size-12); font-weight: var(--font-weight-850); white-space: nowrap; transition: 250ms; cursor: pointer; }
.site-header-nav-link:hover { color: var(--color-text); }
.site-header-connect-button { display: inline-flex; align-items: center; justify-content: center; height: 38px; white-space: nowrap; cursor: pointer; }
.site-header-burger { display: none; width: 38px; height: 38px; color: var(--color-text-body); background: transparent; border: 0; border-radius: var(--radius-10); transition: 250ms; cursor: pointer; }
.site-header-burger:hover { color: var(--color-text); background: var(--color-purple-hover-bg); }
.site-header-overlay { position: fixed; inset: 0; z-index: 30; display: none; }
.site-header-drawer { position: fixed; top: 0; left: 0; z-index: 40; display: grid; align-content: start; gap: 8px; width: min(82vw,420px); height: 100vh; padding: 24px; background: var(--background-overlay); border-right: 1px solid var(--color-border); border-radius: var(--radius-10); box-shadow: var(--shadow-menu); transform: translateX(-100%); transition: 250ms; overflow-x: hidden; min-width: 0; }
.site-header-drawer * { min-width: 0; max-width: 100%; }
.site-header-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-bottom: 18px; }
.site-header-drawer-top-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.site-header-drawer-link { display: flex; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 8px; padding: 8px 12px; color: var(--color-text-body); text-decoration: none; border: 1px solid transparent; border-radius: var(--radius-10); font-size: var(--font-size-12); font-weight: var(--font-weight-700); white-space: nowrap; transition: 250ms; cursor: pointer; }
.site-header-drawer-link:hover { color: var(--color-text); background: var(--color-purple-hover-bg); border-color: var(--color-purple-hover-border); }
.site-header-drawer-link:last-child { margin-bottom: 0; }
.site-header-drawer-connect-button { display: none; width: 100%; margin-top: 14px; }
.site-header[data-drawer-open="true"] .site-header-drawer { z-index: 80; opacity: 1; transform: translateX(0); display: grid; visibility: visible; }
.site-header[data-drawer-open="true"] .site-header-overlay { z-index: 70; display: block; }
.site-header:not([data-drawer-open="true"]) .site-header-drawer { display: none; visibility: hidden; pointer-events: none; }
.language-switcher { position: relative; flex: 0 0 auto; min-width: 82px; }
.language-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 82px; min-height: 38px; padding: 8px 10px; color: var(--color-text-body); background: transparent; border: 0; border-radius: var(--radius-10); font-size: var(--font-size-12); font-weight: var(--font-weight-700); line-height: var(--line-height-1); white-space: nowrap; transition: 250ms; cursor: pointer; }
.language-button:hover { color: var(--color-text); }
.language-arrow { flex: 0 0 auto; color: var(--color-text-faint); }
.language-current-flag { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: var(--font-size-15); line-height: var(--line-height-1); }
.language-current-code { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 20px; line-height: var(--line-height-1); text-transform: uppercase; }
.language-menu { position: absolute; top: 48px; right: 0; z-index: 1000; display: none; width: 165px; min-width: min(155px,-24px + 100vw); max-width: min(165px,-24px + 100vw); padding: 8px; overflow: hidden; background: var(--background-overlay); border: 1px solid var(--color-border); border-radius: var(--radius-10); box-shadow: var(--shadow-menu); }
.language-search { display: block; width: 100%; height: 34px; margin: 0 0 8px; padding: 0 10px; color: var(--color-text-body); background: var(--color-row-bg-soft); border: 1px solid var(--color-border-soft); border-radius: var(--radius-8); font-size: var(--font-size-13); outline: none; }
.language-search:focus { outline: none; border-color: var(--color-purple-strong-border); }
.language-search::placeholder { color: var(--color-placeholder); }
.language-list { width: 100%; max-height: 220px; overflow: hidden auto; }
.language-item { display: grid; grid-template-columns: 18px 24px minmax(0,1fr); align-items: center; column-gap: 8px; width: 100%; min-height: 32px; margin-bottom: 6px; padding: 6px 8px; color: var(--color-text-body); text-align: left; background: var(--color-row-bg-soft); border: 1px solid transparent; border-radius: var(--radius-10); font-size: var(--font-size-12); transition: 250ms; cursor: pointer; }
.language-item:hover,[data-language-item][data-language-selected="true"] { color: var(--color-text); background: var(--color-purple-hover-bg); border-color: var(--color-purple-hover-border); }
.language-item:last-child { margin-bottom: 0; }
.language-item-flag { display: inline-flex; align-items: center; justify-content: center; justify-self: center; min-width: 22px; font-size: var(--font-size-15); line-height: var(--line-height-1); }
.language-item-code { display: inline-flex; align-items: center; min-width: 24px; color: var(--color-text-body); font-weight: var(--font-weight-850); letter-spacing: .03em; line-height: var(--line-height-1); text-transform: uppercase; white-space: nowrap; }
.language-item-name { min-width: 0; padding-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-switcher[data-language-open="true"] .language-menu { display: block; }
.currency-switcher { position: relative; flex: 0 0 auto; }
.currency-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 56px; min-height: 38px; padding: 8px 10px; color: var(--color-text-body); background: transparent; border: 0; border-radius: var(--radius-10); font-size: var(--font-size-13); font-weight: var(--font-weight-700); line-height: var(--line-height-1); white-space: nowrap; transition: 250ms; cursor: pointer; }
.currency-button:hover { color: var(--color-text); }
.currency-arrow { flex: 0 0 auto; color: var(--color-text-faint); }
.currency-current { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: var(--line-height-1); text-transform: uppercase; min-width: 30px; }
.currency-menu { position: absolute; top: 48px; right: 0; z-index: 1000; display: none; width: 115px; padding: 8px; overflow: hidden; background: var(--background-overlay); border: 1px solid var(--color-border); border-radius: var(--radius-10); box-shadow: var(--shadow-menu); }
.currency-search { display: block; width: 100%; height: 34px; margin: 0 0 8px; padding: 0 10px; color: var(--color-text-body); background: var(--color-row-bg-soft); border: 1px solid var(--color-border-soft); border-radius: var(--radius-8); font-size: var(--font-size-13); outline: none; }
.currency-search:focus { outline: none; border-color: var(--color-purple-strong-border); }
.currency-search::placeholder { color: var(--color-placeholder); }
.currency-list { width: 100%; max-height: 280px; overflow: hidden auto; }
.currency-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; margin-bottom: 6px; padding: 6px 8px; color: var(--color-text-body); text-align: left; background: var(--color-row-bg-soft); border: 1px solid transparent; border-radius: var(--radius-10); font-size: var(--font-size-12); font-weight: var(--font-weight-700); cursor: pointer; transition: 250ms; }
.currency-item[hidden] { display: none; }
.currency-item:hover,[data-currency-item][data-currency-selected="true"] { color: var(--color-text); background: var(--color-purple-hover-bg); border-color: var(--color-purple-hover-border); }
.currency-item:last-child { margin-bottom: 0; }
.currency-item-symbol { min-width: 24px; color: var(--color-text-body); font-weight: var(--font-weight-850); text-align: right; }
.currency-item-code { flex: 1; text-transform: uppercase; }
.currency-switcher[data-currency-open="true"] .currency-menu { display: block; }
@media (max-width: 1100px) {
  .site-header { padding: 5px; }
  .site-header-inner { justify-content: flex-start; gap: 8px; padding: 10px; }
  .site-header-actions .language-switcher { display: none; }
  .site-header-actions .currency-switcher { display: none; }
  .site-header-burger { display: inline-flex; align-items: center; justify-content: center; }
  .site-header-nav { display: none; }
  .site-header-connect-button { font-size: 12px; }
  .site-header-drawer-top .language-switcher { flex: 0 0 auto; min-width: 82px; }
  .site-header-drawer-top .language-menu { width: 244px; min-width: min(220px,-24px + 100vw); max-width: min(244px,-24px + 100vw); }
  .site-header-drawer-top .language-button { min-width: 82px; }
  .site-header-drawer-top .currency-switcher { flex: 0 0 auto; position: relative; }
  .site-header-drawer-top .currency-menu { position: absolute; top: 48px; inset-inline-start: 0; inset-inline-end: auto; width: 160px; max-width: min(160px, calc(100vw - 24px)); z-index: 9999; }
  .site-brand { order: 1; }
  .site-header-inner > .theme-toggle { order: 2; margin-inline-start: 2px; }
  .site-header-actions { order: 3; }
  .site-header-burger { order: 4; width: 44px; height: 44px; margin-inline-end: -6px; }
  .site-header-burger svg { width: 26px; height: 26px; }
  .site-brand img { width: 34px; height: 34px; border-radius: var(--radius-8); }
  .site-header-drawer { left: auto; right: auto; inset-inline-end: 0; border-right: 0; border-inline-start: 1px solid var(--color-border); }
}
@media (max-width: 480px) {
  .site-brand-text { display: none; }
  .site-header-connect-button { font-size: 11px; }
  .site-header-drawer { overflow-x: hidden; overflow-y: auto; max-width: 100vw; }
}
@media (max-width: 520px) {
  .site-header-drawer-top .currency-switcher { min-width: 56px; }
  .site-header-drawer-top .currency-button { min-width: 56px; padding: 6px 8px; }
}
@media (max-width: 320px) {
  .site-header-connect-button { display: none; }
  .site-header-drawer-connect-button { display: inline-flex; min-height: 34px; padding: 8px 10px; font-size: var(--font-size-10); }
  .site-header-drawer { padding: 18px; }
}
.site-header a[data-nav-active="1"] { color: var(--color-purple-soft); }
