.locale-switch { display: inline-flex; flex: 0 0 auto; align-items: center; margin-inline-start: 8px; }
.balance-icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; object-fit: contain; vertical-align: middle; flex-shrink: 0; }
.wallet__item { gap: 7px; }.wallet__item .balance-icon { width: 24px; height: 24px; }
.balance-label { display: inline-flex; align-items: center; gap: 8px; }
.wd-bal .balance-icon { width: 32px; height: 32px; }
[data-guide-link] { display: inline-flex; align-items: center; gap: 6px; }
.guide-notice { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ffc861; color: #15101e; font-size: 12px; line-height: 1; box-shadow: 0 0 16px #ffc86155; }
.guide-notice[hidden] { display: none; }
.guide-unread { color: #ffe09b !important; box-shadow: inset 0 0 0 1px #ffc86144; border-radius: 10px; }
.game-menu-toggle.has-guide-notice { gap: 7px; border-color: #ffc86188; }
.launch-notice { padding: 16px 20px; margin-block: 18px; border: 1px solid #ffc86150; border-radius: 14px; color: #ffe0a2; background: #ffc8610a; line-height: 1.7; }
.launch-notice[hidden] { display: none; }
.locale-switch select { max-width: 132px; min-height: 36px; padding: 6px 26px 6px 10px; border: 1px solid #ffffff30; border-radius: 10px; color: #f4f4fc; background: #151622; font: inherit; font-size: 12px; cursor: pointer; }
.locale-switch select:focus-visible { outline: 2px solid #27d3cf; outline-offset: 3px; }
#economy .card__icon { width: 64px; height: 64px; padding: 4px; border-radius: 50%; overflow: hidden; }
#economy .card__icon img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
#chest[hidden], #prelaunch[hidden], #countdown[hidden], a[data-prelaunch-href][hidden] { display: none !important; }
.countdown-preview { position: fixed; inset: auto 16px 16px; z-index: 120; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid #ffc86180; border-radius: 14px; background: #15121ef5; color: #ffe3a5; font-size: 13px; box-shadow: 0 8px 30px #0008; }
.countdown-preview a { color: #23e6c8; text-decoration: underline; }
html[dir="rtl"] body { font-family: Arial, sans-serif; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[name="wallet"], html[dir="rtl"] code, html[dir="rtl"] #refLink { direction: ltr; text-align: left; }
html[dir="rtl"] .gnav, html[dir="rtl"] .header__actions { direction: rtl; }
html[dir="rtl"] .toast, html[dir="rtl"] .modal, html[dir="rtl"] .g-main { text-align: start; }
html[dir="rtl"] .g-count, html[dir="rtl"] #wdWallet, html[dir="rtl"] #paymentAddress, html[dir="rtl"] #paymentMemo { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 1400px) { .locale-switch select { max-width: 116px; } }
.g-panel, .g-hero__grid > *, .reflink input { min-width: 0; }
.g-panel__head { flex-wrap: wrap; }
.btn { white-space: normal; }
@media (max-width: 1720px) {
  .g-body .game-menu-toggle { display: inline-flex; margin-inline-start: auto; margin-inline-end: 0; flex-shrink: 0; }
  .g-body .gnav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 14px 20px 22px; margin: 0; min-width: 0; background: rgba(5,7,14,.98); border-bottom: 1px solid var(--stroke); transform: translateY(-160%); visibility: hidden; max-height: calc(100dvh - 74px); overflow-x: hidden; overflow-y: auto; }
  .g-body .gnav.is-open { transform: none; visibility: visible; }
  .g-body .gnav a { padding: .75rem .6rem; font-size: 15px; }
}
@media (max-width: 1100px) {
  body:not(.g-body) .nav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 14px 20px 22px; background: rgba(5,7,14,.98); border-bottom: 1px solid var(--stroke); transform: translateY(-160%); visibility: hidden; max-height: calc(100dvh - 74px); overflow-y: auto; }
  body:not(.g-body) .nav.is-open { transform: none; visibility: visible; }
  body:not(.g-body) .burger { display: flex; }
}
@media (max-width: 820px) { .g-body .gnav { top: 64px; max-height: calc(100dvh - 64px); } }
@media (max-width: 600px) {
  .locale-switch { margin: 10px 0 0; }
  .locale-switch select { max-width: 100%; width: 100%; font-size: 14px; }
  .locale-switch { width: 100%; }
  .g-body .header__inner { flex-wrap: nowrap; }
  .btn { overflow-wrap: anywhere; }
  .header__actions .btn { white-space: nowrap; overflow-wrap: normal; }
  body:not(.g-body) .header__inner { gap: 10px; }
  body:not(.g-body) .logo { gap: 8px; }
  body:not(.g-body) .logo__text { font-size: 14px; }
  body:not(.g-body) .logo__mark { width: 30px; height: 30px; }
  body:not(.g-body) .header__actions .btn { padding: .6rem; font-size: 12px; }
  body:not(.g-body) .burger { flex-shrink: 0; }
  .reflink { flex-wrap: wrap; }
  .reflink input { flex-basis: 100%; }
}
