:root {
  --gold: #d4af37;
  --gold-2: #f4d77a;
  --gold-dark: #8f6b13;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --border-gold: rgba(212,175,55,0.18);

  --desktop-rail-width: 86px;
  --desktop-rail-expanded: 320px;
  --mobile-bottom-nav-height: 86px;
  --mobile-nav-bg: rgba(10, 10, 10, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.48) 0%, rgba(7, 7, 7, 0.72) 45%, rgba(7, 7, 7, 0.82) 100%),
    radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 30%),
    url("../../bg-mobile-final-1080x1920.webp");
  background-size: cover, auto, cover;
  background-position: center top, center top, center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, scroll, fixed;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  padding: 0 18px 44px calc(var(--desktop-rail-width) + 28px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 8px;
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.74), rgba(0,0,0,0.42) 70%, rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}

.header-bar {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 4px;
  position: relative;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-left {
  justify-content: flex-start;
}

.currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  width: max-content;
  min-width: 88px;
  max-width: none;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(14,14,14,0.88), rgba(10,10,10,0.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 22px rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.currency-badge-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.currency-badge-value {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0;
  color: #f7e6ac;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-center {
  justify-content: center;
  pointer-events: none;
}

.header-center > * {
  pointer-events: auto;
}

.header-right {
  justify-content: flex-end;
  position: relative;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: min(288px, 45vw);
  height: auto;
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 20px rgba(212, 175, 55, 0.08));
}

.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    linear-gradient(180deg, rgba(10,10,10,0.86), rgba(10,10,10,0.92));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 22px rgba(0,0,0,0.24);
  backdrop-filter: blur(4px);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  padding: 0;
  text-decoration: none;
}

.header-icon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.person-icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.person-icon::before,
.person-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2.2px solid #f5f5f5;
  box-sizing: border-box;
}

.person-icon::before {
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.person-icon::after {
  bottom: -1px;
  width: 21px;
  height: 11px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.header-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(212,175,55,0.55);
  background: #111;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.24),
    0 0 0 3px rgba(212,175,55,0.08);
  cursor: pointer;
}

.header-avatar-btn img,
.header-avatar-btn .header-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.header-avatar-fallback {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3a2d0d, #a98325);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.account-menu {
  display: none !important;
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  z-index: 90;
}

.account-menu-actions {
  display: grid;
  gap: 8px;
}

.account-menu-link,
.account-menu button {
  width: 100%;
  text-decoration: none;
  text-align: center;
}

.auth-box.compact-auth {
  position: absolute;
  top: 52px;
  right: 0;
  width: 250px;
  text-align: left;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  z-index: 90;
}

.compact-auth h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compact-auth .auth-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.compact-auth input,
.field-input,
.field-textarea,
.field-file,
.field-select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(16,16,16,0.92) 0%, rgba(12,12,12,0.96) 100%);
  color: white;
  font-size: 15px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 6px 16px rgba(0,0,0,0.18);
  font-family: 'Manrope', sans-serif;
}

.compact-auth input {
  min-height: 40px;
  padding: 10px 11px;
  font-size: 13px;
  border-radius: 12px;
}

.field-input,
.field-file,
.field-select {
  min-height: 52px;
  padding: 0 14px;
}

.field-textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.compact-auth input:focus,
.field-input:focus,
.field-textarea:focus,
.field-file:focus,
.field-select:focus {
  border-color: rgba(212,175,55,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 3px rgba(212,175,55,0.08);
}

.compact-auth .auth-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.compact-auth .metal-btn {
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
}

.compact-auth .auth-message {
  min-height: 16px;
  margin-top: 8px;
  font-size: 11px;
  color: #cfcfcf;
  text-align: center;
}

.desktop-side-nav {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: var(--desktop-rail-width);
  height: min(84vh, 780px);
  z-index: 120;
  display: flex;
  align-items: stretch;
  overflow: visible;
  transition: width 0.34s cubic-bezier(.22,.61,.36,1);
}

.desktop-side-nav:hover {
  width: var(--desktop-rail-expanded);
}

.desktop-side-nav-panel {
  width: 100%;
  height: 100%;
  transition: width 0.34s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  padding: 18px 0 16px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.desktop-side-links,
.desktop-side-bottom {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: stretch;
}

.desktop-side-links {
  flex: 1;
  padding-top: 2px;
}

.desktop-side-bottom {
  margin-top: auto;
  padding-top: 24px;
}

.desktop-nav-link,
.desktop-nav-button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 18px;
  color: rgba(245,245,245,0.96);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease, background 0.18s ease;
  text-align: left;
  position: relative;
  border-radius: 18px;
}

.desktop-side-nav:hover .desktop-nav-link,
.desktop-side-nav:hover .desktop-nav-button {
  width: 100%;
}

.desktop-nav-link:hover,
.desktop-nav-button:hover {
  transform: translateX(2px);
  background:
    linear-gradient(90deg, rgba(212,175,55,0.16), rgba(212,175,55,0.05) 58%, transparent);
}

.desktop-nav-link.active,
.desktop-nav-button.active {
  color: #fff5d2;
  background:
    linear-gradient(90deg, rgba(212,175,55,0.18), rgba(212,175,55,0.06) 58%, transparent);
}

.desktop-nav-link.active::after,
.desktop-nav-button.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08d, #d4af37 52%, #8f6b13);
  box-shadow: 0 0 14px rgba(212,175,55,0.30);
}

.desktop-nav-icon,
.mobile-nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.desktop-nav-icon {
  width: 30px;
  height: 30px;
}

.mobile-nav-icon {
  width: 24px;
  height: 24px;
}

.nav-icon-mask {
  width: 100%;
  height: 100%;
  display: block;
  background:
    linear-gradient(180deg, #fff3b6 0%, #f4d77a 20%, #d4af37 52%, #b98714 76%, #7d5a10 100%);
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 2px 10px rgba(212,175,55,0.18));
  opacity: 0.98;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  pointer-events: none;
  user-select: none;
}

.desktop-nav-link:hover .nav-icon-mask,
.desktop-nav-button:hover .nav-icon-mask,
.mobile-nav-link:hover .nav-icon-mask {
  transform: scale(1.04);
  opacity: 1;
  background:
    linear-gradient(180deg, #fff7cf 0%, #ffe08d 18%, #f4d77a 36%, #d4af37 58%, #b98714 80%, #7d5a10 100%);
  filter: drop-shadow(0 2px 11px rgba(212,175,55,0.22));
}

.desktop-nav-link.active .nav-icon-mask,
.desktop-nav-button.active .nav-icon-mask,
.mobile-nav-link.active .nav-icon-mask {
  background:
    linear-gradient(180deg, #fff9da 0%, #ffe9a7 18%, #f7dd82 36%, #d4af37 58%, #ba8a18 80%, #7d5a10 100%);
  filter:
    drop-shadow(0 2px 12px rgba(212,175,55,0.24))
    drop-shadow(0 0 15px rgba(212,175,55,0.20));
}

.desktop-nav-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-family: 'Manrope', sans-serif;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.26s ease,
    transform 0.34s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
  min-width: 170px;
  max-width: 200px;
  overflow: visible;
  text-overflow: clip;
  text-align: left;
}

.desktop-side-nav:hover .desktop-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.mobile-bottom-nav-wrap {
  display: none;
}

.page-wrap {
  max-width: 760px;
  margin: 10px auto 0;
}

.hero-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    radial-gradient(circle at top, rgba(212,175,55,0.12), transparent 55%),
    linear-gradient(180deg, rgba(24,24,24,0.88) 0%, rgba(17,17,17,0.94) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 30px 28px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.42),
    0 0 35px rgba(212,175,55,0.10),
    inset 0 1px 0 rgba(255,255,255,0.05);
  text-align: center;
}

.section-kicker {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.82;
  margin-bottom: 10px;
}

.page-title {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.page-note {
  max-width: 620px;
  margin: 0 auto;
  color: #ddd;
  font-size: 15px;
  line-height: 1.7;
}

.panel-card {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(22,22,22,0.86) 0%, rgba(16,16,16,0.92) 100%);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field-group {
  text-align: left;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0.82;
}

.field-select {
  appearance: none;
}

.field-file {
  padding: 12px 14px;
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(16,16,16,0.92) 0%, rgba(12,12,12,0.96) 100%);
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.checkbox-copy {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
}

.notice-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: center;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 18px;
}

.action-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.status-box {
  margin-top: 18px;
  min-height: 22px;
  color: #cfcfcf;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.sub-link-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ghost-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.32);
  font-weight: 500;
}

.ghost-link:hover {
  opacity: 0.88;
}

.submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #231700;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  background:
    linear-gradient(180deg, #fff5c9 0%, #f4d77a 20%, #d4af37 52%, #b98816 75%, #7c5a11 100%);
  border: 1px solid rgba(255, 230, 150, 0.38);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -2px 4px rgba(90,50,0,0.28),
    0 12px 26px rgba(212,175,55,0.22),
    0 0 0 1px rgba(212,175,55,0.08);
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
}

.metal-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, #fbfbfb 0%, #d6d6d6 16%, #b6b6b6 35%, #8b8b8b 52%, #d2d2d2 72%, #f4f4f4 100%);
  color: #151515;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.72),
    inset 0 -2px 3px rgba(0,0,0,0.18),
    0 10px 22px rgba(0,0,0,0.25);
  font-family: 'Manrope', sans-serif;
}

.metal-btn .icon {
  color: #6a560c;
  margin-right: 7px;
  font-size: 15px;
}

@media (max-width: 760px) {
  body {
    padding: 0 14px calc(var(--mobile-bottom-nav-height) + 18px);
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.50) 0%, rgba(7, 7, 7, 0.76) 42%, rgba(7, 7, 7, 0.86) 100%),
      radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 26%),
      url("../../bg-mobile-final-1080x1920.webp");
    background-size: cover, auto, 100% auto;
    background-position: center top, center top, center top;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: scroll, scroll, scroll;
  }

  .desktop-side-nav {
    display: none;
  }

  .mobile-bottom-nav-wrap {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--mobile-bottom-nav-height);
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(212,175,55,0.08);
    box-shadow: 0 -8px 28px rgba(0,0,0,0.28);
    z-index: 130;
  }

  .mobile-bottom-nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2px;
    padding: 8px 8px 10px;
  }

  .mobile-nav-link {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    color: #f4f4f4;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    font-family: 'Manrope', sans-serif;
    padding: 6px 2px;
    background: transparent;
  }

  .mobile-nav-link.hidden {
    display: none !important;
  }

  .mobile-nav-link.active {
    color: #fff5d2;
  }

  .mobile-nav-label {
    line-height: 1;
  }

  .header-bar {
    grid-template-columns: 90px 1fr 42px;
    min-height: 68px;
    padding: 6px 8px 2px 6px;
  }

  .header-left {
    justify-content: flex-start;
    margin-left: -2px;
  }


  .currency-badge {
    min-height: 40px;
    width: max-content;
    min-width: 80px;
    max-width: none;
    padding: 0 12px 0 10px;
    gap: 8px;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .currency-badge-icon {
    width: 24px;
    height: 24px;
  }

  .currency-badge-value {
    font-size: 14px;
    white-space: nowrap;
  }

  .header-logo {
    width: min(200px, 40vw);
  }

  .header-icon-btn,
  .header-avatar-btn {
    width: 38px;
    height: 38px;
  }

  .account-menu,
  .auth-box.compact-auth {
    top: 48px;
    right: 0;
  }

  .auth-box.compact-auth {
    width: min(240px, calc(100vw - 24px));
  }

  .hero-card,
  .panel-card {
    padding: 20px;
  }
}


/* v8 header + mobile account menu refinements */
.account-menu:not(.hidden) {
  display: block !important;
}

.header-logo {
  width: min(216px, 33.75vw);
}

@media (max-width: 768px) {
  .header-wrap .site-shell > header,
  .header-wrap .site-header,
  .header-wrap header {
    grid-template-columns: 72px 1fr 72px;
    gap: 8px;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-center {
    justify-content: center;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-logo-link {
    width: 100%;
    justify-content: center;
  }

  .header-logo {
    width: min(150px, 46vw);
    margin: 0 auto;
  }

  .account-menu {
    top: 50px;
    right: 0;
    min-width: 180px;
    padding: 8px;
  }

  .account-menu-actions {
    gap: 6px;
  }

  .account-menu .metal-btn,
  .account-menu .account-menu-link {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }
}


/* v10 unified mobile header + upward account menu */
@media (max-width: 768px) {
  .header-wrap .site-shell > header,
  .header-wrap .site-header,
  .header-wrap header {
    grid-template-columns: 72px 1fr 72px;
    gap: 8px;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-center {
    justify-content: center;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-logo-link {
    width: 100%;
    justify-content: center;
    transform: none;
  }

  .header-logo {
    width: min(150px, 46vw);
    margin: 0 auto;
  }

  .account-menu {
    top: auto;
    bottom: 50px;
    right: 0;
    min-width: 180px;
    padding: 8px;
  }

  .account-menu-actions {
    gap: 6px;
  }

  .account-menu .metal-btn,
  .account-menu .account-menu-link {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }
}


/* v11 mobile account menu visibility fix */
@media (max-width: 768px) {
  .header-right {
    overflow: visible;
  }

  .account-menu {
    top: 50px;
    bottom: auto;
    right: 0;
    left: auto;
    min-width: 176px;
    max-width: min(220px, calc(100vw - 20px));
    transform: none;
  }
}


/* v13 remove notifications shortcut from avatar popup */
#accountNotificationsLink {
  display: none !important;
}


/* v22 mobile background force */
@media (max-width: 768px) {
  body {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.46) 0%, rgba(7, 7, 7, 0.72) 45%, rgba(7, 7, 7, 0.84) 100%),
      radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 30%),
      url("../../bg-mobile-final-1080x1920.webp") !important;
    background-size: cover, auto, 100% auto !important;
    background-position: center top, center top, center top !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-attachment: scroll, scroll, scroll !important;
  }
}


@media (max-width: 768px) {
  body {
    background-size: cover, auto, 100% auto !important;
    background-position: center top, center top, center top !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-attachment: scroll, scroll, scroll !important;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    body {
      background-size: cover, auto, cover !important;
      background-position: center top, center top, center top !important;
      background-attachment: scroll, scroll, scroll !important;
    }
  }
}
