/* Mantém somente as correções de bgshare da V37 para Fortune Echo e mobile.
   Os backgrounds das páginas voltam aos estilos originais do site. */

/* Fortune Echo continua com a mesma bgshare do pacote da barra superior.
   A moldura fica independente da arte do background. */
html body .app-shell > .ticker-wrap > .ticker::after,
html body .ticker::after {
  display: block !important;
  background-color: transparent !important;
  background-image: var(--bryer-topbar-bgshare, none) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-blend-mode: normal !important;
  opacity: 1 !important;
}
html body .ticker::before { z-index: 1 !important; }
html body .ticker > * { z-index: 2 !important; }

/* Mobile: usa a camada REAL de bgshare, a mesma usada no desktop.
   O pseudo-elemento antigo ficava sob outras superfícies e podia ser coberto.
   Respeita o retângulo da moldura mobile, sem alterar os controles. */
@media (max-width: 820px) {
  html body .app-shell > .topbar,
  html body .topbar {
    isolation: isolate !important;
  }
  html body .app-shell > .topbar::after,
  html body .topbar::after {
    display: none !important;
  }
  html body .app-shell > .topbar > .bryer-topbar-bgshare-visual,
  html body .topbar > .bryer-topbar-bgshare-visual {
    display: block !important;
    position: absolute !important;
    inset: -7px -13px -12px !important;
    z-index: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--bryer-topbar-bgshare, none) center center / 100% 100% no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
  }
  html body .app-shell > .topbar::before,
  html body .topbar::before {
    display: block !important;
    z-index: 2 !important;
  }
  html body .app-shell > .topbar > :not(.bryer-topbar-bgshare-visual),
  html body .topbar > :not(.bryer-topbar-bgshare-visual) {
    z-index: 3 !important;
  }
}
@media (max-width: 760px) {
  html body .app-shell > .topbar > .bryer-topbar-bgshare-visual,
  html body .topbar > .bryer-topbar-bgshare-visual {
    inset: -4px -5px -7px !important;
  }
}

/* BGShare standalone V54: uma arte só, da pasta public/images.
   Sem gradiente/box-shadow/máscara sobre a textura. A moldura e os
   controles continuam com sua ordem de pintura e estilos próprios. */
:root {
  --bryer-topbar-bgshare: var(--bryer-bgshare-local-art, none) !important;
  --bryer-css-v61-bgshare: var(--bryer-bgshare-local-art, none) !important;
}

/* Surface real da barra: mantém o desenho no interior do painel e
   expande apenas a textura para compensar o rodapé transparente do PNG. */
html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
  /* Match the newtopbg frame's own box; scale only the shared background art
     down by 5%, preserving its natural aspect ratio and centered alignment. */
  inset: -8px -13px auto !important;
  height: 102px !important;
  background: transparent var(--bryer-topbar-bgshare) center center / 95% auto no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* A camada duplicada/antiga da topbar não participa mais da pintura. */
html body .app-shell > header.topbar::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Fortune Echo: só uma superfície com a mesma arte, sob a moldura. */
html body .app-shell > div.ticker-wrap > div.ticker::after {
  inset: 0 7px !important;
  background: transparent var(--bryer-topbar-bgshare) center center / 100% 128% no-repeat !important;
  background-blend-mode: normal !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Evita que a sombra projetada pelas molduras ultrapasse seu contorno.
   Não altera background, dimensões ou z-index dos PNGs decorativos. */
html body .app-shell > header.topbar::before,
html body .app-shell > div.ticker-wrap > div.ticker::before {
  filter: none !important;
}

@media (max-width: 820px) {
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    inset: 0 3px 0 !important;
    background-size: 100% 135% !important;
    z-index: 1 !important;
  }
  /* No mobile, o CSS antigo igualava o z-index do fundo e da moldura.
     Com a moldura desenhada antes no DOM, a arte ficava na frente dela. */
  html body .app-shell > header.topbar::before {
    z-index: 2 !important;
  }
}

/* V57: reaproveita as silhuetas originais do primeiro ZIP.
   A V56 recortava 9px no topo do span, mas deixava sua pintura
   ultrapassar a abertura inferior. O recorte acompanha o painel,
   sem tocar nas molduras, controles ou no PNG local. */
html body .app-shell > header.topbar {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
  /* Inset interno da versão original (v33): nada acima/abaixo do painel. */
  inset: 0 6px 2px !important;
  clip-path: polygon(1.1% 18%, 2.7% 7%, 8.5% 1%, 91.5% 1%, 97.3% 7%, 98.9% 18%, 99.6% 48%, 99% 77%, 97.2% 91%, 91.5% 98%, 8.5% 98%, 2.8% 91%, 1% 77%, .4% 48%) !important;
}
html body .app-shell > div.ticker-wrap > div.ticker::after {
  /* Mesmo recorte orgânico utilizado pelo Fortune Echo no ZIP inicial. */
  inset: 0 7px 2px !important;
  clip-path: polygon(1.2% 22%, 3.4% 7%, 8% 1%, 92% 1%, 96.6% 7%, 98.8% 22%, 99.5% 51%, 98.7% 80%, 96.5% 94%, 92% 99%, 8% 99%, 3.5% 94%, 1.3% 80%, .5% 51%) !important;
}
@media (max-width: 820px) {
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    inset: 0 3px 2px !important;
    clip-path: polygon(1.1% 18%, 2.7% 7%, 8.5% 1%, 91.5% 1%, 97.3% 7%, 98.9% 18%, 99.6% 48%, 99% 77%, 97.2% 91%, 91.5% 98%, 8.5% 98%, 2.8% 91%, 1% 77%, .4% 48%) !important;
  }
  html body .app-shell > div.ticker-wrap > div.ticker::after {
    inset: 0 3px 1px !important;
    clip-path: polygon(1.2% 22%, 3.4% 7%, 8% 1%, 92% 1%, 96.6% 7%, 98.8% 22%, 99.5% 51%, 98.7% 80%, 96.5% 94%, 92% 99%, 8% 99%, 3.5% 94%, 1.3% 80%, .5% 51%) !important;
  }
}

/* V58 — ajustes independentes e mínimos nas duas aberturas.
   A BGShare continua no PNG local. Nada é alterado na moldura,
   nos controles, nas camadas ou nas dimensões dos painéis. */
@media (min-width: 821px) {
  /* Fecha a faixa de ~1px: o inset de 2px e o fim em 98% da V57
     deixavam a imagem terminar antes do contorno inferior da topbar. */
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    inset: 0 6px 0 !important;
    clip-path: polygon(1.1% 18%, 2.7% 7%, 8.5% 1%, 91.5% 1%, 97.3% 7%, 98.9% 18%, 99.6% 48%, 99% 77%, 97.2% 91%, 91.5% 100%, 8.5% 100%, 2.8% 91%, 1% 77%, .4% 48%) !important;
  }
  /* Fortune Echo: o fundo não deve chegar até o limite inferior do
     pseudo-elemento, pois ali já fica o acabamento em madeira. */
  html body .app-shell > div.ticker-wrap > div.ticker::after {
    inset: 0 7px 8px !important;
    clip-path: polygon(1.2% 22%, 3.4% 7%, 8% 1%, 92% 1%, 96.6% 7%, 98.8% 22%, 99.5% 51%, 98.7% 80%, 96.5% 94%, 92% 98%, 8% 98%, 3.5% 94%, 1.3% 80%, .5% 51%) !important;
  }
}

/* V59 — retoque pontual dos limites da BGShare (desktop).
   1) Barra: remove o recuo superior de 1% que formava a linha vazia;
      recua levemente a borda central e as curvas inferiores, sem mexer na borda central
      nem nas dimensões, pintura ou empilhamento da moldura.
   2) Fortune Echo: usa a mesma silhueta e altura da V58, mas fecha
      alguns pixels de cada lateral para a textura não ultrapassar a madeira.
   O PNG permanece importado de public/images. */
@media (min-width: 821px) {
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    inset: 0 6px 0 !important;
    clip-path: polygon(
      1.1% 18%, 2.7% 7%, 8.5% 0%, 91.5% 0%, 97.3% 7%,
      98.9% 18%, 99.6% 48%, 99% 77%, 97.2% 87%,
      91.5% 99%, 8.5% 99%, 2.8% 87%, 1% 77%, .4% 48%
    ) !important;
  }
  html body .app-shell > div.ticker-wrap > div.ticker::after {
    inset: 0 16px 8px !important;
    /* Silhueta vertical da V58 preservada: ajuste só da margem lateral. */
    clip-path: polygon(
      1.2% 22%, 3.4% 7%, 8% 1%, 92% 1%, 96.6% 7%,
      98.8% 22%, 99.5% 51%, 98.7% 80%, 96.5% 94%,
      92% 98%, 8% 98%, 3.5% 94%, 1.3% 80%, .5% 51%
    ) !important;
  }
}

/* V60 — Popups: preserve a ordem original dos dois painéis sticky.
   Alguns modais ativam uma regra antiga que rebaixa a topbar para 20,
   enquanto o Fortune Echo permanece com 999. Não mexer nos z-index
   internos das molduras/da BGShare, só restaurar o contexto da topbar. */
@media (min-width: 821px) {
  html body .app-shell:has([aria-modal="true"]) > header.topbar,
  html body .app-shell:has(.modal-backdrop) > header.topbar,
  html body .app-shell:has(.help-backdrop) > header.topbar,
  html body .app-shell:has(.peek-inside-backdrop) > header.topbar {
    z-index: 1000 !important;
  }
}


/* BGM/SFX v66: a arte do fundo fica numa camada própria, atrás dos textos/ícones.
   Só o brilho da imagem muda no hover; mantém 81 x 23 e os controles originais. */
html body :is(.history-launch-audio, .history-launch-audio-portal, .site-mobile-nav-audio)
.audio-slider-row > button.audio-slider-prefix.audio-badge-toggle {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  isolation: isolate !important;
}
html body :is(.history-launch-audio, .history-launch-audio-portal, .site-mobile-nav-audio)
.audio-slider-row > button.audio-slider-prefix.audio-badge-toggle::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: var(--bryer-bgmsfx-button-image, none) center center / 100% 100% no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: brightness(1) !important;
  transition: filter 180ms ease-out !important;
}
html body :is(.history-launch-audio, .history-launch-audio-portal, .site-mobile-nav-audio)
.audio-slider-row > button.audio-slider-prefix.audio-badge-toggle::after {
  content: none !important;
  display: none !important;
}
html body :is(.history-launch-audio, .history-launch-audio-portal, .site-mobile-nav-audio)
.audio-slider-row > button.audio-slider-prefix.audio-badge-toggle:is(:hover, :focus-visible)::before {
  filter: brightness(1.14) !important;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(.history-launch-audio, .history-launch-audio-portal, .site-mobile-nav-audio)
  .audio-slider-row > button.audio-slider-prefix.audio-badge-toggle::before {
    transition: none !important;
  }
}


/* BGShare desktop: use the exact same rendered rectangle as the topbar frame.
   Both source PNGs are 2048x178. The frame is drawn by ::before with this
   exact inset and 100% 100% sizing, so the background must match it 1:1.
   This override removes every legacy crop/mask from the BGShare layer only. */
@media (min-width: 821px) {
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"],
  html body header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    display: block !important;
    position: absolute !important;
    inset: -7px -13px -12px !important;
    z-index: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: var(--bryer-bgshare-local-art, none) !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-blend-mode: normal !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    pointer-events: none !important;
  }


}

/* Topbar desktop: keep the existing DOM order and keep every control in the
   same navigation row. The previous right-anchored nav override pushed the
   whole group into the player area and made the last tab overflow its grid. */
@media (min-width: 821px) {
  html body .app-shell > header.topbar > .nav-cluster,
  html body header.topbar > .nav-cluster {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: calc(50% - 4px) !important;
    transform: translate(-50%, -50%) !important;
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    z-index: 8 !important;
  }

  html body .app-shell > header.topbar > .nav-cluster > .nav-tabs,
  html body header.topbar > .nav-cluster > .nav-tabs {
    flex: 0 0 auto !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    padding: 5px !important;
    overflow: hidden !important;
  }

  /* The five-tab layout must use the same 118px track as its actual buttons.
     Its previous 112px grid clipped the 118px children on the right. */
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests),
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests) {
    --free-prizes-tab-width: 118px !important;
    display: grid !important;
    grid-template-columns: repeat(5, 118px) !important;
    grid-auto-flow: column !important;
    gap: 8px !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    overflow: hidden !important;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests) > .nav-tab,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests) > .nav-tab {
    box-sizing: border-box !important;
    flex: 0 0 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
  }

  /* Keep the physical wood indicator aligned to the 118px tab + 8px gap. */
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests)::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests)::before {
    left: 5px !important;
    width: 118px !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-minigame::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-minigame::before {
    transform: translate3d(0, 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-freequests::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-freequests::before {
    transform: translate3d(126px, 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-shop::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-shop::before {
    transform: translate3d(252px, 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-open::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-open::before {
    transform: translate3d(378px, 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-upgrade::before,
  html body header.topbar > .nav-cluster .nav-tabs:has(.nav-tab-freequests).nav-upgrade::before {
    transform: translate3d(504px, 0, 0) !important;
  }

  html body .app-shell > header.topbar .nav-cluster .nav-tabs .nav-tab,
  html body header.topbar .nav-cluster .nav-tabs .nav-tab {
    box-sizing: border-box !important;
    flex: 0 0 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
  }

  html body .app-shell > header.topbar .nav-cluster .nav-tabs .nav-tab-freequests,
  html body header.topbar .nav-cluster .nav-tabs .nav-tab-freequests {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Deposit/Cashout returns to its original place immediately after the
     navigation tabs; Donate no longer takes up space inside this row. */
  html body .app-shell > header.topbar > .nav-cluster > .site-deposit-anchor,
  html body header.topbar > .nav-cluster > .site-deposit-anchor {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 5px !important;
    transform: none !important;
    z-index: 10 !important;
  }

  html body .app-shell > header.topbar > .nav-cluster > .site-deposit-anchor .site-deposit-trigger,
  html body header.topbar > .nav-cluster > .site-deposit-anchor .site-deposit-trigger {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  /* The player block shifts independently; the brand and navigation do not. */
  html body .app-shell > header.topbar > .player-chip,
  html body header.topbar > .player-chip {
    transform: translate(-10px, calc(-50% - 4px)) !important;
  }
}

/* Keep the original compact desktop scaling at narrower widths. */
@media (min-width: 821px) and (max-width: 1120px) {
  html body .app-shell > header.topbar > .nav-cluster,
  html body header.topbar > .nav-cluster {
    gap: 5px !important;
    transform: translate(-50%, -50%) scale(.88) !important;
    transform-origin: center !important;
  }

  html body .app-shell > header.topbar > .player-chip,
  html body header.topbar > .player-chip {
    transform: translate(-10px, calc(-50% - 4px)) scale(.78) !important;
    transform-origin: right center !important;
  }
}

/* Donate is now a separate control outside the right edge of the wooden
   frame. It is positioned against the header itself, not inside the nav row,
   so Deposit/Cashout keeps its original position after Upgrade. The artwork
   remains at a fixed bitmap size during hover to avoid resampling blur. */
@media (min-width: 1281px) {
  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    position: absolute !important;
    left: calc(100% + 8px) !important;
    right: auto !important;
    top: calc(50% - 6px) !important;
    z-index: 12 !important;
    display: grid !important;
    flex: 0 0 auto !important;
    place-items: center !important;
    width: 166px !important;
    height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    /* Keep the base offset overridable by the 3D keyframes below.
       The animation repeats translateY(-50%) to preserve this exact placement. */
    transform: translateY(-50%);
    isolation: isolate !important;
    cursor: pointer !important;
    overflow: visible !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button::before,
  html body header.topbar > .topbar-donate-image-button::before {
    content: "" !important;
    position: absolute !important;
    inset: 12px 16px !important;
    z-index: 0 !important;
    border-radius: 50% !important;
    background: radial-gradient(ellipse at center, rgba(255, 190, 70, .25) 0%, rgba(255, 166, 48, .13) 48%, transparent 76%) !important;
    filter: blur(8px) !important;
    opacity: 0 !important;
    transform: scale(.9) !important;
    transition: opacity 180ms ease, transform 180ms ease !important;
    pointer-events: none !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 160px !important;
    height: 64px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    image-rendering: auto !important;
    transform: none !important;
    pointer-events: none !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button:hover::before,
  html body header.topbar > .topbar-donate-image-button:hover::before,
  html body .app-shell > header.topbar > .topbar-donate-image-button:focus-visible::before,
  html body header.topbar > .topbar-donate-image-button:focus-visible::before {
    opacity: 1 !important;
    transform: scale(1.08) !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button:focus-visible,
  html body header.topbar > .topbar-donate-image-button:focus-visible {
    outline: 1px solid rgba(255, 205, 112, .82) !important;
    outline-offset: 3px !important;
  }
}

/* There is not enough room beside the frame on compact desktop/tablet widths. */
@media (max-width: 1280px) {
  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell > header.topbar > .topbar-donate-image-button::before,
  html body header.topbar > .topbar-donate-image-button::before {
    transition: none !important;
  }
}

@media (max-width: 820px) {
  html body .app-shell > header.topbar > .nav-cluster > .site-deposit-anchor {
    display: none !important;
  }
}


/* Donate v2 — gentle image zoom with a separate golden halo; the button's
   layout transform and bitmap dimensions stay unchanged. */
@media (min-width: 1281px) {
  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img {
    transform: scale(1) translateZ(0) !important;
    transform-origin: center !important;
    backface-visibility: hidden !important;
    will-change: transform, filter;
    transition:
      transform 220ms cubic-bezier(.2,.8,.2,1),
      filter 220ms ease !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button:hover img,
  html body header.topbar > .topbar-donate-image-button:hover img,
  html body .app-shell > header.topbar > .topbar-donate-image-button:focus-visible img,
  html body header.topbar > .topbar-donate-image-button:focus-visible img {
    transform: scale(1.045) translateZ(0) !important;
    filter:
      drop-shadow(0 0 3px rgba(255, 225, 150, .92))
      drop-shadow(0 0 9px rgba(255, 188, 72, .76))
      drop-shadow(0 0 17px rgba(235, 153, 40, .42)) !important;
  }
}

.donate-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 20000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  background: rgba(3, 7, 5, .82) !important;
  backdrop-filter: blur(11px) saturate(.82) !important;
  -webkit-backdrop-filter: blur(11px) saturate(.82) !important;
  animation: donateModalBackdropIn 180ms ease both;
}

.donate-modal {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(1180px, 95vw) !important;
  height: min(820px, 88vh) !important;
  max-height: 92vh !important;
  min-height: 560px !important;
  overflow: hidden !important;
  border: 1px solid rgba(222, 187, 111, .52) !important;
  border-radius: 17px !important;
  color: #f7f3e8 !important;
  background:
    radial-gradient(ellipse 55% 80% at 5% 45%, rgba(189, 145, 66, .13), transparent 72%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(78, 104, 65, .15), transparent 75%),
    linear-gradient(145deg, rgba(23, 31, 23, .99), rgba(10, 17, 13, .99) 62%, rgba(18, 24, 17, .99)) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .72),
    0 0 38px rgba(220, 177, 87, .13),
    inset 0 1px 0 rgba(255, 255, 255, .075) !important;
  animation: donateModalPanelIn 260ms cubic-bezier(.18,.82,.25,1) both;
}

.donate-modal::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(220, 184, 105, .12);
  border-radius: 11px;
}

.donate-modal-main,
.donate-modal-footer {
  position: relative;
  z-index: 1;
}

.donate-modal-main {
  display: grid;
  grid-template-columns: minmax(245px, .78fr) minmax(0, 1.55fr);
  gap: clamp(22px, 3vw, 42px);
  flex: 1 1 auto;
  min-height: 0;
  padding: 34px 42px 20px;
}

.donate-modal-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(220, 184, 105, .15);
  background: radial-gradient(ellipse at center, rgba(223, 183, 103, .10), transparent 70%);
}

.donate-modal-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: min(66vh, 650px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .38));
  user-select: none;
}

.donate-modal-content-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.donate-modal-heading {
  flex: 0 0 auto;
  padding: 3px 12px 18px;
  border-bottom: 1px solid rgba(220, 184, 105, .18);
  text-align: center;
}

.donate-modal-heading h2 {
  margin: 0;
  color: #fff2ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.45vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .015em;
  text-shadow: 0 2px 13px rgba(218, 174, 88, .22);
}

.donate-modal-copy {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 21px 20px 16px 4px;
  color: rgba(247, 243, 232, .91);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.68;
  scrollbar-width: thin;
  scrollbar-color: rgba(213, 174, 91, .68) rgba(255, 255, 255, .045);
}

.donate-modal-copy::-webkit-scrollbar { width: 9px; }
.donate-modal-copy::-webkit-scrollbar-track {
  border-radius: 9px;
  background: rgba(255, 255, 255, .045);
}
.donate-modal-copy::-webkit-scrollbar-thumb {
  border: 2px solid rgba(12, 19, 14, .9);
  border-radius: 9px;
  background: linear-gradient(180deg, #f7e4a8, #c79a45 58%, #8e682b);
}
.donate-modal-copy::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff0c1, #e0b65c 58%, #ad7c32);
}

.donate-modal-copy h3 {
  margin: 0 0 9px;
  color: #f2d38e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.25;
  text-shadow: 0 0 13px rgba(224, 180, 91, .16);
}
.donate-modal-copy h3 span {
  display: inline-block;
  margin-left: 4px;
  color: #fff0bd;
}
.donate-modal-copy p {
  margin: 0 0 14px;
  color: rgba(247, 243, 232, .88);
}
.donate-modal-copy p:last-child { margin-bottom: 0; }
.donate-modal-copy strong {
  color: #ffe3a4;
  font-weight: 750;
  text-shadow: 0 0 10px rgba(224, 180, 91, .11);
}

.donate-modal-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 14px 24px 25px;
  border-top: 1px solid rgba(220, 184, 105, .14);
  background: rgba(4, 9, 6, .28);
}

.donate-modal-footer button {
  min-width: 150px;
  padding: 11px 28px;
  border: 1px solid rgba(255, 224, 153, .62);
  border-radius: 7px;
  color: #21180b;
  background: linear-gradient(180deg, #f5dfa4 0%, #d6ad5c 52%, #a87932 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .42);
  font: 800 13px/1.2 "Segoe UI", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.donate-modal-footer button:hover {
  transform: translateY(-1px);
  filter: brightness(1.09);
  box-shadow: 0 6px 20px rgba(217, 169, 76, .25), 0 0 17px rgba(224, 180, 91, .18), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.donate-modal-footer button:active { transform: translateY(0) scale(.985); }
.donate-modal-footer button:focus-visible {
  outline: 2px solid #ffe9ae;
  outline-offset: 3px;
}

@keyframes donateModalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes donateModalPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .donate-modal-backdrop {
    padding: 12px !important;
    align-items: center !important;
  }
  .donate-modal {
    width: min(640px, 96vw) !important;
    height: min(900px, 94dvh) !important;
    max-height: 94dvh !important;
    min-height: 0 !important;
    border-radius: 13px !important;
  }
  .donate-modal-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 12px;
  }
  .donate-modal-art {
    flex: 0 0 148px;
    min-height: 148px;
    max-height: 148px;
    border-right: 0;
    border-bottom: 1px solid rgba(220, 184, 105, .15);
    padding-bottom: 8px;
  }
  .donate-modal-art img {
    width: auto;
    height: 140px;
    max-height: 140px;
    max-width: min(100%, 280px);
  }
  .donate-modal-heading { padding: 2px 4px 12px; }
  .donate-modal-heading h2 { font-size: clamp(21px, 5.5vw, 27px); }
  .donate-modal-copy {
    padding: 14px 10px 12px 2px;
    font-size: 13px;
    line-height: 1.58;
  }
  .donate-modal-copy h3 { font-size: 20px; }
  .donate-modal-copy p { margin-bottom: 11px; }
  .donate-modal-footer { padding: 11px 18px 18px; }
}

@media (max-width: 390px) {
  .donate-modal-main { padding: 16px 15px 8px; }
  .donate-modal-art { flex-basis: 122px; min-height: 122px; max-height: 122px; }
  .donate-modal-art img { height: 116px; max-height: 116px; }
  .donate-modal-copy { font-size: 12px; }
  .donate-modal-footer { padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img,
  .donate-modal-backdrop,
  .donate-modal,
  .donate-modal-footer button {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* Donate popup v2 — portrait donation artwork behind the mascot, softly
   dissolving into the modal surface; copy is organized into native accordions. */
.donate-modal-main {
  grid-template-columns: minmax(245px, .78fr) minmax(0, 1.55fr) !important;
  gap: 0 !important;
}

.donate-modal-art {
  position: relative !important;
  isolation: isolate !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

.donate-modal-art::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background: url("/images/donationsbg.png") center / cover no-repeat;
  opacity: .94;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
}

.donate-modal-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 17, 13, 0) 35%, rgba(10, 17, 13, .36) 72%, rgba(10, 17, 13, .99) 100%),
    linear-gradient(180deg, rgba(10, 17, 13, .08), transparent 22%, transparent 78%, rgba(10, 17, 13, .20));
}

.donate-modal-art img {
  position: relative !important;
  z-index: 2 !important;
}

.donate-modal-content-column {
  padding-left: clamp(14px, 1.7vw, 25px) !important;
}

.donate-modal-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 11px !important;
  padding-left: 4px !important;
}

.donate-topic {
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(220, 184, 105, .20);
  border-radius: 10px;
  background: rgba(3, 10, 6, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.donate-topic[open] {
  border-color: rgba(220, 184, 105, .38);
  background: linear-gradient(145deg, rgba(26, 34, 24, .62), rgba(5, 12, 8, .36));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 5px 16px rgba(0, 0, 0, .12);
}

.donate-topic > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  color: #f2d38e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: color 180ms ease, background 180ms ease;
}

.donate-topic > summary::-webkit-details-marker { display: none; }
.donate-topic > summary::marker { content: ""; }
.donate-topic > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(230, 194, 119, .46);
  border-radius: 50%;
  color: #ffe7ad;
  font: 500 18px/1 "Segoe UI", Arial, sans-serif;
  text-shadow: 0 0 9px rgba(238, 190, 94, .30);
}

.donate-topic[open] > summary::after { content: "−"; }
.donate-topic > summary:hover {
  color: #fff0c5;
  background: rgba(214, 174, 91, .055);
}
.donate-topic > summary:focus-visible {
  outline: 2px solid rgba(255, 224, 153, .78);
  outline-offset: -3px;
  border-radius: 8px;
}

.donate-topic-body {
  padding: 0 15px 14px;
}

.donate-topic-body p {
  margin: 0 0 13px !important;
  color: rgba(247, 243, 232, .88) !important;
  font-size: inherit;
  line-height: 1.68;
}

.donate-topic-body p:last-child { margin-bottom: 0 !important; }
.donate-topic-body .donate-topic-lead { margin-bottom: 12px !important; }

@media (max-width: 760px) {
  .donate-modal-main {
    gap: 0 !important;
  }

  .donate-modal-art {
    position: relative !important;
    border: 0 !important;
    flex: 0 0 156px !important;
    min-height: 156px !important;
    max-height: 156px !important;
    padding: 0 !important;
  }

  .donate-modal-art::before {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  }

  .donate-modal-art::after {
    background:
      linear-gradient(180deg, rgba(10, 17, 13, 0) 38%, rgba(10, 17, 13, .48) 72%, rgba(10, 17, 13, .99) 100%),
      linear-gradient(90deg, rgba(10, 17, 13, .12), transparent 24%, transparent 76%, rgba(10, 17, 13, .12));
  }

  .donate-modal-content-column { padding-left: 0 !important; }
  .donate-modal-copy { padding: 12px 10px 12px 2px !important; }
  .donate-topic > summary { padding: 12px 13px; font-size: 15px; }
  .donate-topic-body { padding: 0 13px 12px; }
  .donate-topic-body p { line-height: 1.58; }
}

@media (max-width: 390px) {
  .donate-modal-art {
    flex-basis: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
  }
  .donate-topic > summary { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .donate-topic,
  .donate-topic > summary { transition-duration: .01ms !important; }
}

.donate-topic-label > span {
  display: inline-block;
  margin-left: 4px;
  color: #fff0bd;
}


/* Donate popup v3 — match the split editorial layout of the venue game panels.
   The portrait artwork extends softly beneath the right column and dissolves
   into the modal surface instead of ending at a hard vertical boundary. */
.donate-modal {
  background:
    radial-gradient(ellipse 58% 78% at 2% 44%, rgba(91, 111, 63, .16), transparent 76%),
    radial-gradient(ellipse 72% 58% at 100% 0%, rgba(73, 91, 54, .13), transparent 76%),
    linear-gradient(135deg, #172219 0%, #0d1510 54%, #111a13 100%) !important;
}

.donate-modal-main {
  grid-template-columns: minmax(285px, .9fr) minmax(0, 1.2fr) !important;
  gap: 0 !important;
}

.donate-modal-art {
  position: relative !important;
  isolation: isolate !important;
  z-index: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.donate-modal-art::before {
  content: "";
  position: absolute;
  inset: -22px -150px -22px -18px;
  z-index: 0;
  pointer-events: none;
  background: url("/images/donationsbg.png") center / cover no-repeat;
  opacity: .96;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0,0,0,.88) 68%, rgba(0,0,0,.42) 84%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0,0,0,.88) 68%, rgba(0,0,0,.42) 84%, transparent 100%);
}

.donate-modal-art::after {
  content: "";
  position: absolute;
  inset: -22px -150px -22px 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,21,16,0) 38%, rgba(13,21,16,.12) 54%, rgba(13,21,16,.48) 73%, rgba(13,21,16,.96) 100%),
    linear-gradient(180deg, rgba(13,21,16,.04), transparent 18%, transparent 82%, rgba(13,21,16,.22));
}

.donate-modal-art img {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: min(66vh, 650px) !important;
  object-fit: contain !important;
  object-position: center !important;
}

.donate-modal-content-column {
  position: relative !important;
  z-index: 2 !important;
  padding-left: clamp(16px, 1.8vw, 28px) !important;
}

.donate-modal-heading {
  position: relative !important;
  flex: 0 0 auto !important;
  padding: 3px 4px 20px !important;
  border: 0 !important;
  text-align: left !important;
}

.donate-modal-heading h2 {
  color: #f7f0e7 !important;
  font-size: clamp(30px, 3vw, 43px) !important;
  font-weight: 500 !important;
  letter-spacing: -.015em !important;
  line-height: 1.12 !important;
  text-shadow: 0 2px 16px rgba(224, 190, 125, .14) !important;
}

.donate-modal-heading h2 span {
  display: inline-block;
  margin-left: 5px;
  color: #e9c477;
  font-size: .72em;
  vertical-align: .12em;
  text-shadow: 0 0 10px rgba(238, 196, 111, .34);
}

.donate-modal-heading::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: min(210px, 52%);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 190, 125, .18) 7%,
    rgba(224, 190, 125, .70) 28%,
    rgba(255, 231, 177, .88) 50%,
    rgba(224, 190, 125, .70) 72%,
    rgba(224, 190, 125, .18) 93%,
    transparent 100%);
  filter: blur(.42px);
  box-shadow: 0 0 7px rgba(222, 181, 105, .28);
}

.donate-modal-heading::before {
  content: "✦";
  position: absolute;
  z-index: 1;
  left: min(105px, 26%);
  bottom: -8px;
  padding: 0 5px;
  color: #f1d18b;
  background: #101911;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 9px rgba(239, 194, 105, .58);
}

.donate-modal-copy {
  padding-top: 23px !important;
}

.donate-modal-footer {
  border-top: 0 !important;
  background: linear-gradient(180deg, rgba(4, 9, 6, 0), rgba(4, 9, 6, .24)) !important;
}

@media (max-width: 760px) {
  .donate-modal-main {
    gap: 0 !important;
  }

  .donate-modal-art {
    z-index: 0 !important;
    overflow: visible !important;
    flex: 0 0 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .donate-modal-art::before {
    inset: -10px -12px -128px -12px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,.72) 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,.72) 70%, transparent 100%);
  }

  .donate-modal-art::after {
    inset: -10px -12px -128px -12px;
    background:
      linear-gradient(180deg, rgba(13,21,16,0) 38%, rgba(13,21,16,.16) 56%, rgba(13,21,16,.72) 82%, rgba(13,21,16,.98) 100%),
      linear-gradient(90deg, rgba(13,21,16,.08), transparent 22%, transparent 78%, rgba(13,21,16,.08));
  }

  .donate-modal-art img {
    width: auto !important;
    height: 172px !important;
    max-height: 172px !important;
    max-width: min(100%, 300px) !important;
  }

  .donate-modal-content-column {
    padding-left: 0 !important;
  }

  .donate-modal-heading {
    padding: 2px 4px 18px !important;
    text-align: left !important;
  }

  .donate-modal-heading h2 {
    font-size: clamp(27px, 6vw, 35px) !important;
  }

  .donate-modal-copy {
    padding: 18px 10px 12px 2px !important;
  }

  .donate-modal-footer {
    padding: 11px 18px 18px !important;
  }
}

@media (max-width: 390px) {
  .donate-modal-art {
    flex-basis: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
  }

  .donate-modal-art img {
    height: 142px !important;
    max-height: 142px !important;
  }
}


/* Donate popup v4 — full-bleed split panel. The old modal-wide surface is
   removed: the artwork fills the left column and the green gradient belongs
   exclusively to the right column, with the two surfaces softly dissolving. */
.donate-modal {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(1180px, 95vw) !important;
  height: min(820px, 88vh) !important;
  max-height: 92vh !important;
  min-height: 560px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 195, 126, .76) !important;
  border-radius: 18px !important;
  color: #f7f3e8 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .72),
    0 0 34px rgba(220, 177, 87, .12) !important;
}

.donate-modal::before {
  display: none !important;
  content: none !important;
}

.donate-modal-main {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(285px, .92fr) minmax(0, 1.08fr) !important;
  gap: 0 !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.donate-modal-art {
  position: relative !important;
  isolation: isolate !important;
  z-index: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: initial !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
}

.donate-modal-art::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: url("/images/donationsbg.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.donate-modal-art::after {
  content: "" !important;
  position: absolute !important;
  inset: -8px -18px -8px 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg,
      rgba(17, 35, 26, 0) 0%,
      rgba(17, 35, 26, 0) 48%,
      rgba(17, 35, 26, .20) 63%,
      rgba(17, 35, 26, .58) 79%,
      rgba(17, 35, 26, .94) 96%,
      #11231a 100%),
    linear-gradient(180deg,
      rgba(7, 17, 11, .12) 0%,
      transparent 20%,
      transparent 80%,
      rgba(7, 17, 11, .22) 100%) !important;
  filter: blur(7px) !important;
  transform: translateZ(0) !important;
}

.donate-modal-art img {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: min(78vh, 760px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .40)) !important;
}

.donate-modal-content-column {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: clamp(46px, 5.5vh, 64px) clamp(25px, 3.2vw, 44px) 26px !important;
  background: linear-gradient(132deg,
    #11231a 0%,
    #172d20 43%,
    #102219 76%,
    #0c1b13 100%) !important;
}

.donate-modal-heading {
  position: relative !important;
  flex: 0 0 auto !important;
  padding: 4px 8px 23px !important;
  border: 0 !important;
  text-align: center !important;
}

.donate-modal-heading h2 {
  margin: 0 !important;
  color: #f7f0e7 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(29px, 3vw, 43px) !important;
  font-weight: 500 !important;
  letter-spacing: -.015em !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-shadow: 0 2px 16px rgba(224, 190, 125, .14) !important;
}

.donate-modal-heading h2 span {
  display: inline-block !important;
  margin-left: 5px !important;
  color: #e9c477 !important;
  font-size: .72em !important;
  vertical-align: .12em !important;
  text-shadow: 0 0 10px rgba(238, 196, 111, .34) !important;
}

.donate-modal-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: min(240px, 76%) !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 190, 125, .16) 7%,
    rgba(224, 190, 125, .70) 28%,
    rgba(255, 231, 177, .92) 50%,
    rgba(224, 190, 125, .70) 72%,
    rgba(224, 190, 125, .16) 93%,
    transparent 100%) !important;
  filter: blur(.8px) !important;
  box-shadow: 0 0 7px rgba(222, 181, 105, .32), 0 0 15px rgba(222, 181, 105, .12) !important;
  transform: translateX(-50%) !important;
}

.donate-modal-heading::before {
  content: "✦" !important;
  position: absolute !important;
  z-index: 1 !important;
  left: 50% !important;
  bottom: -8px !important;
  padding: 0 6px !important;
  color: #f1d18b !important;
  background: #14271c !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-shadow: 0 0 9px rgba(239, 194, 105, .58) !important;
  transform: translateX(-50%) !important;
}

.donate-modal-copy {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 23px 5px 12px 2px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.donate-modal-close {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 10 !important;
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 0 2px !important;
  border: 1px solid rgba(232, 199, 130, .70) !important;
  border-radius: 50% !important;
  color: #f6dfaa !important;
  background: rgba(5, 15, 10, .52) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  font: 300 27px/1 "Segoe UI", Arial, sans-serif !important;
  cursor: pointer !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.donate-modal-close:hover {
  color: #fff2cf !important;
  border-color: rgba(255, 225, 160, .95) !important;
  background: rgba(111, 78, 30, .42) !important;
  box-shadow: 0 0 14px rgba(224, 180, 91, .30), inset 0 1px rgba(255, 255, 255, .12) !important;
  transform: scale(1.06) !important;
}

.donate-modal-close:focus-visible {
  outline: 2px solid #ffe9ae !important;
  outline-offset: 3px !important;
}

.donate-modal-footer {
  display: none !important;
}

@media (max-width: 760px) {
  .donate-modal {
    width: min(640px, 96vw) !important;
    height: min(900px, 94dvh) !important;
    max-height: 94dvh !important;
    min-height: 0 !important;
    border-radius: 14px !important;
  }

  .donate-modal-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .donate-modal-art {
    flex: 0 0 184px !important;
    width: 100% !important;
    height: 184px !important;
    min-height: 184px !important;
    max-height: 184px !important;
    overflow: hidden !important;
  }

  .donate-modal-art::after {
    inset: -8px -8px -18px -8px !important;
    background:
      linear-gradient(180deg,
        rgba(17, 35, 26, 0) 0%,
        rgba(17, 35, 26, 0) 48%,
        rgba(17, 35, 26, .22) 64%,
        rgba(17, 35, 26, .66) 82%,
        #11231a 100%) !important;
    filter: blur(7px) !important;
  }

  .donate-modal-art img {
    width: auto !important;
    height: 178px !important;
    max-height: 178px !important;
    max-width: min(100%, 320px) !important;
  }

  .donate-modal-content-column {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 18px 20px 20px !important;
    background: linear-gradient(180deg,
      #11231a 0%,
      #172d20 42%,
      #102219 78%,
      #0c1b13 100%) !important;
  }

  .donate-modal-heading {
    padding: 5px 38px 19px !important;
    text-align: center !important;
  }

  .donate-modal-heading h2 {
    font-size: clamp(25px, 6vw, 34px) !important;
    text-align: center !important;
  }

  .donate-modal-copy {
    padding: 18px 2px 10px !important;
  }

  .donate-modal-close {
    top: 11px !important;
    right: 11px !important;
    width: 35px !important;
    height: 35px !important;
  }
}

@media (max-width: 390px) {
  .donate-modal-art {
    flex-basis: 154px !important;
    height: 154px !important;
    min-height: 154px !important;
    max-height: 154px !important;
  }

  .donate-modal-art img {
    height: 150px !important;
    max-height: 150px !important;
  }

  .donate-modal-content-column {
    padding: 15px 15px 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-modal-close {
    transition-duration: .01ms !important;
  }
}


/* Donate popup v5 — real layered background dissolve, individual floating
   star glints behind/in front of the mascot, and the final contact accordion. */
.donate-modal-main {
  --donate-fade-width: clamp(150px, 18vw, 230px);
  position: relative !important;
  isolation: isolate !important;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%) !important;
  gap: 0 !important;
  overflow: hidden !important;
}

.donate-modal-art {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  isolation: isolate !important;
}

.donate-modal-art::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: url("/images/donationsbg.png") center center / cover no-repeat !important;
  opacity: 1 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* A soft, enlarged continuation of the left artwork extends under the
   right-hand gradient, so the fade blends two actual image surfaces. */
.donate-modal-art::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: calc(100% + var(--donate-fade-width)) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: url("/images/donationsbg.png") center center / cover no-repeat !important;
  opacity: .78 !important;
  filter: blur(10px) saturate(1.08) !important;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 56%,
    rgba(0,0,0,.32) 67%,
    #000 80%,
    transparent 100%) !important;
  mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 56%,
    rgba(0,0,0,.32) 67%,
    #000 80%,
    transparent 100%) !important;
}

.donate-modal-art img {
  position: relative !important;
  z-index: 3 !important;
}

.donate-modal-content-column {
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(132deg,
    rgba(17,35,26,0) 0%,
    rgba(23,45,32,.24) 12%,
    rgba(23,45,32,.72) 24%,
    rgba(16,34,25,.97) 36%,
    #102219 42%,
    #0c1b13 100%) !important;
}

.donate-starfield {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.donate-starfield-back { z-index: 2 !important; }
.donate-starfield-front { z-index: 4 !important; }

.donate-star {
  position: absolute !important;
  display: block !important;
  width: var(--star-size, 4px) !important;
  height: var(--star-size, 4px) !important;
  border-radius: 50% !important;
  color: var(--star-color, #fff8e8) !important;
  opacity: 0;
  background: radial-gradient(circle,
    #fff 0%,
    currentColor 28%,
    rgba(255,255,255,.12) 58%,
    transparent 76%) !important;
  filter:
    drop-shadow(0 0 3px currentColor)
    drop-shadow(0 0 7px currentColor)
    drop-shadow(0 0 13px rgba(255,224,164,.30)) !important;
  animation: donateStarDrift var(--star-duration, 7s) ease-in-out var(--star-delay, 0s) infinite both !important;
  will-change: transform, opacity;
}

.donate-star::before,
.donate-star::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  pointer-events: none !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg,
    transparent 0%,
    currentColor 28%,
    #fff 50%,
    currentColor 72%,
    transparent 100%) !important;
  box-shadow: 0 0 5px currentColor, 0 0 10px rgba(255,239,200,.36) !important;
}

.donate-star::before {
  width: 1px !important;
  height: calc(var(--star-size, 4px) * 3.4) !important;
  transform: translate(-50%, -50%) !important;
}

.donate-star::after {
  width: calc(var(--star-size, 4px) * 3.4) !important;
  height: 1px !important;
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

@keyframes donateStarDrift {
  0% {
    opacity: 0;
    transform: translate3d(0,0,0) rotate(var(--star-rot-a, 0deg)) scale(.36);
  }
  14% {
    opacity: var(--star-peak, .9);
    transform: translate3d(2px,-2px,0) rotate(var(--star-rot-b, 22deg)) scale(1);
  }
  43% {
    opacity: calc(var(--star-peak, .9) * .48);
    transform: translate3d(var(--star-dx, 8px),var(--star-dy, -10px),0) rotate(var(--star-rot-c, -30deg)) scale(.78);
  }
  71% {
    opacity: var(--star-peak, .9);
    transform: translate3d(var(--star-dx2, -5px),var(--star-dy2, 7px),0) rotate(var(--star-rot-b, 22deg)) scale(1.12);
  }
  100% {
    opacity: 0;
    transform: translate3d(0,0,0) rotate(var(--star-rot-a, 0deg)) scale(.36);
  }
}

.star-back-01 { left:12%; top:18%; --star-size:4px; --star-color:#f1d18b; --star-duration:6.8s; --star-delay:-1.2s; --star-dx:8px; --star-dy:-12px; --star-dx2:-6px; --star-dy2:7px; --star-rot-a:-18deg; --star-rot-b:32deg; --star-rot-c:-52deg; --star-peak:.94; }
.star-back-02 { left:28%; top:31%; --star-size:3px; --star-color:#fff8e8; --star-duration:5.6s; --star-delay:-3.3s; --star-dx:-7px; --star-dy:-9px; --star-dx2:5px; --star-dy2:6px; --star-rot-a:24deg; --star-rot-b:-34deg; --star-rot-c:48deg; --star-peak:.82; }
.star-back-03 { left:74%; top:17%; --star-size:5px; --star-color:#e8bf70; --star-duration:7.5s; --star-delay:-2.7s; --star-dx:10px; --star-dy:-14px; --star-dx2:-7px; --star-dy2:8px; --star-rot-a:-32deg; --star-rot-b:26deg; --star-rot-c:66deg; --star-peak:.96; }
.star-back-04 { left:88%; top:36%; --star-size:3px; --star-color:#fffdf4; --star-duration:6.2s; --star-delay:-4.4s; --star-dx:-8px; --star-dy:-7px; --star-dx2:6px; --star-dy2:5px; --star-rot-a:18deg; --star-rot-b:-48deg; --star-rot-c:34deg; --star-peak:.78; }
.star-back-05 { left:18%; top:57%; --star-size:4px; --star-color:#fff7e6; --star-duration:8.1s; --star-delay:-1.8s; --star-dx:7px; --star-dy:-13px; --star-dx2:-5px; --star-dy2:8px; --star-rot-a:-24deg; --star-rot-b:42deg; --star-rot-c:-62deg; --star-peak:.9; }
.star-back-06 { left:62%; top:64%; --star-size:3px; --star-color:#eac579; --star-duration:5.4s; --star-delay:-3.9s; --star-dx:-9px; --star-dy:-8px; --star-dx2:7px; --star-dy2:6px; --star-rot-a:36deg; --star-rot-b:-22deg; --star-rot-c:58deg; --star-peak:.86; }
.star-back-07 { left:84%; top:75%; --star-size:5px; --star-color:#fff9e9; --star-duration:7.1s; --star-delay:-5.1s; --star-dx:8px; --star-dy:-15px; --star-dx2:-6px; --star-dy2:9px; --star-rot-a:-42deg; --star-rot-b:28deg; --star-rot-c:74deg; --star-peak:.95; }
.star-back-08 { left:32%; top:83%; --star-size:3px; --star-color:#e8c16f; --star-duration:6.6s; --star-delay:-2.3s; --star-dx:-7px; --star-dy:-10px; --star-dx2:5px; --star-dy2:7px; --star-rot-a:22deg; --star-rot-b:-38deg; --star-rot-c:54deg; --star-peak:.8; }
.star-back-09 { left:53%; top:42%; --star-size:4px; --star-color:#fffdf5; --star-duration:8.4s; --star-delay:-6.2s; --star-dx:11px; --star-dy:-9px; --star-dx2:-8px; --star-dy2:6px; --star-rot-a:-16deg; --star-rot-b:46deg; --star-rot-c:-58deg; --star-peak:.92; }
.star-back-10 { left:7%; top:82%; --star-size:2.5px; --star-color:#e7c477; --star-duration:5.8s; --star-delay:-.9s; --star-dx:6px; --star-dy:-8px; --star-dx2:-4px; --star-dy2:5px; --star-rot-a:30deg; --star-rot-b:-44deg; --star-rot-c:62deg; --star-peak:.78; }
.star-front-01 { left:24%; top:24%; --star-size:5px; --star-color:#fff9e8; --star-duration:6.1s; --star-delay:-2.6s; --star-dx:9px; --star-dy:-13px; --star-dx2:-6px; --star-dy2:8px; --star-rot-a:-26deg; --star-rot-b:38deg; --star-rot-c:-64deg; --star-peak:.96; }
.star-front-02 { left:44%; top:16%; --star-size:3px; --star-color:#e9c16f; --star-duration:7.7s; --star-delay:-4.8s; --star-dx:-8px; --star-dy:-10px; --star-dx2:6px; --star-dy2:7px; --star-rot-a:34deg; --star-rot-b:-28deg; --star-rot-c:56deg; --star-peak:.84; }
.star-front-03 { left:68%; top:30%; --star-size:4px; --star-color:#fffdf5; --star-duration:5.9s; --star-delay:-1.5s; --star-dx:10px; --star-dy:-8px; --star-dx2:-7px; --star-dy2:6px; --star-rot-a:-20deg; --star-rot-b:48deg; --star-rot-c:-52deg; --star-peak:.9; }
.star-front-04 { left:89%; top:53%; --star-size:3px; --star-color:#e8c16f; --star-duration:8.3s; --star-delay:-5.7s; --star-dx:-9px; --star-dy:-12px; --star-dx2:6px; --star-dy2:8px; --star-rot-a:28deg; --star-rot-b:-42deg; --star-rot-c:68deg; --star-peak:.86; }
.star-front-05 { left:13%; top:46%; --star-size:3px; --star-color:#fff9e9; --star-duration:6.4s; --star-delay:-3.1s; --star-dx:7px; --star-dy:-9px; --star-dx2:-5px; --star-dy2:6px; --star-rot-a:-36deg; --star-rot-b:24deg; --star-rot-c:-60deg; --star-peak:.82; }
.star-front-06 { left:36%; top:69%; --star-size:5px; --star-color:#eac477; --star-duration:7.2s; --star-delay:-6.1s; --star-dx:-10px; --star-dy:-14px; --star-dx2:7px; --star-dy2:9px; --star-rot-a:18deg; --star-rot-b:-46deg; --star-rot-c:62deg; --star-peak:.95; }
.star-front-07 { left:72%; top:82%; --star-size:3px; --star-color:#fffdf5; --star-duration:5.5s; --star-delay:-2.1s; --star-dx:8px; --star-dy:-8px; --star-dx2:-5px; --star-dy2:6px; --star-rot-a:-30deg; --star-rot-b:44deg; --star-rot-c:-56deg; --star-peak:.82; }
.star-front-08 { left:56%; top:55%; --star-size:4px; --star-color:#e8c16f; --star-duration:8.7s; --star-delay:-4.2s; --star-dx:-11px; --star-dy:-10px; --star-dx2:8px; --star-dy2:7px; --star-rot-a:42deg; --star-rot-b:-24deg; --star-rot-c:70deg; --star-peak:.94; }
.star-front-09 { left:91%; top:13%; --star-size:4px; --star-color:#fff9e8; --star-duration:6.9s; --star-delay:-5.3s; --star-dx:7px; --star-dy:-12px; --star-dx2:-5px; --star-dy2:8px; --star-rot-a:-14deg; --star-rot-b:52deg; --star-rot-c:-48deg; --star-peak:.88; }
.star-front-10 { left:6%; top:70%; --star-size:3px; --star-color:#e9c16f; --star-duration:7.9s; --star-delay:-1.1s; --star-dx:-8px; --star-dy:-9px; --star-dx2:6px; --star-dy2:7px; --star-rot-a:32deg; --star-rot-b:-40deg; --star-rot-c:64deg; --star-peak:.8; }

.donate-contact-highlight {
  color: #e9c477 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: 0 0 9px rgba(233,196,119,.20) !important;
}

a.donate-contact-highlight:hover {
  color: #ffe7ad !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 760px) {
  .donate-modal-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .donate-modal-art {
    position: relative !important;
    z-index: 1 !important;
    flex: 0 0 184px !important;
    width: 100% !important;
    height: 184px !important;
    min-height: 184px !important;
    max-height: 184px !important;
    overflow: visible !important;
  }

  .donate-modal-art::before {
    background-position: center 22% !important;
    background-size: cover !important;
  }

  .donate-modal-art::after {
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% + 130px) !important;
    background-position: center 22% !important;
    background-size: cover !important;
    filter: blur(9px) saturate(1.08) !important;
    -webkit-mask-image: linear-gradient(180deg,
      #000 0%,
      #000 48%,
      rgba(0,0,0,.72) 66%,
      rgba(0,0,0,.20) 88%,
      transparent 100%) !important;
    mask-image: linear-gradient(180deg,
      #000 0%,
      #000 48%,
      rgba(0,0,0,.72) 66%,
      rgba(0,0,0,.20) 88%,
      transparent 100%) !important;
  }

  .donate-modal-content-column {
    z-index: 2 !important;
    background: linear-gradient(180deg,
      rgba(17,35,26,0) 0%,
      rgba(17,35,26,.52) 12%,
      rgba(23,45,32,.92) 23%,
      #11231a 31%,
      #0c1b13 100%) !important;
  }

  .donate-starfield {
    overflow: hidden !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-star {
    animation: none !important;
    opacity: .58 !important;
    transform: none !important;
  }
}


/* Donate popup v6 — reproduce the Blackjack guide's real artwork dissolve.
   The image is masked as a layer, revealing the continuous green panel beneath. */
.donate-modal-main {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: linear-gradient(132deg,
    #11231a 0%,
    #172d20 43%,
    #102219 76%,
    #0c1b13 100%) !important;
}

.donate-modal-art {
  position: relative !important;
  z-index: 1 !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  -webkit-mask-image: linear-gradient(90deg,
    #000 0%, #000 49%,
    rgba(0, 0, 0, .97) 59%,
    rgba(0, 0, 0, .81) 70%,
    rgba(0, 0, 0, .45) 84%,
    transparent 100%) !important;
  mask-image: linear-gradient(90deg,
    #000 0%, #000 49%,
    rgba(0, 0, 0, .97) 59%,
    rgba(0, 0, 0, .81) 70%,
    rgba(0, 0, 0, .45) 84%,
    transparent 100%) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

.donate-modal-art::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: url("/images/donationsbg.png") center center / cover no-repeat !important;
  opacity: 1 !important;
}

.donate-modal-art::after {
  content: none !important;
  display: none !important;
}

.donate-modal-art img {
  position: relative !important;
  z-index: 3 !important;
}

.donate-modal-content-column {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
}

/* The back stars sit between the scenic background and the animated mascot;
   the front stars sit above the mascot. The art mask fades both with the image. */
.donate-starfield {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.donate-starfield-back { z-index: 2 !important; }
.donate-starfield-front { z-index: 4 !important; }

.donate-star {
  opacity: 0;
  animation: donateStarDrift var(--star-duration, 7s) ease-in-out var(--star-delay, 0s) infinite both !important;
}

/* A narrow, luminous reflection sweeps across the final help accordion every 3 seconds. */
.donate-topic-help > summary {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

.donate-topic-help > summary::before {
  content: "" !important;
  position: absolute !important;
  top: -85% !important;
  bottom: -85% !important;
  left: -34% !important;
  z-index: 0 !important;
  width: 25% !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 238, 188, .06) 18%,
    rgba(255, 247, 220, .46) 48%,
    rgba(226, 185, 105, .20) 72%,
    transparent 100%) !important;
  filter: blur(1.4px) !important;
  opacity: 0;
  transform: translate3d(-180%, 0, 0) rotate(18deg);
  animation: donateHelpTitleSweep 3s ease-in-out infinite !important;
}

.donate-topic-help > summary .donate-topic-title {
  position: relative !important;
  z-index: 1 !important;
}

.donate-topic-help > summary::after {
  position: relative !important;
  z-index: 1 !important;
}

@keyframes donateHelpTitleSweep {
  0%, 10% {
    opacity: 0;
    transform: translate3d(-180%, 0, 0) rotate(18deg);
  }
  17% {
    opacity: .82;
  }
  42% {
    opacity: 0;
    transform: translate3d(650%, 0, 0) rotate(18deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(650%, 0, 0) rotate(18deg);
  }
}

@media (max-width: 760px) {
  .donate-modal-main {
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(180deg,
      #11231a 0%,
      #172d20 42%,
      #102219 78%,
      #0c1b13 100%) !important;
  }

  .donate-modal-art {
    flex: 0 0 184px !important;
    width: 100% !important;
    height: 184px !important;
    min-height: 184px !important;
    max-height: 184px !important;
    -webkit-mask-image: linear-gradient(180deg,
      #000 0%, #000 37%,
      rgba(0, 0, 0, .92) 51%,
      rgba(0, 0, 0, .63) 69%,
      rgba(0, 0, 0, .25) 85%,
      transparent 100%) !important;
    mask-image: linear-gradient(180deg,
      #000 0%, #000 37%,
      rgba(0, 0, 0, .92) 51%,
      rgba(0, 0, 0, .63) 69%,
      rgba(0, 0, 0, .25) 85%,
      transparent 100%) !important;
  }

  .donate-modal-content-column {
    flex: 1 1 auto !important;
    background: transparent !important;
  }

  .donate-starfield {
    overflow: hidden !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-topic-help > summary::before {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Donate popup — subtle overall size reduction; internal layout and effects stay unchanged. */
@media (min-width: 761px) {
  .donate-modal {
    width: min(1100px, 92vw) !important;
    height: min(770px, 85vh) !important;
    max-height: 90vh !important;
    min-height: 520px !important;
  }
}

@media (max-width: 760px) {
  .donate-modal {
    width: min(610px, 94vw) !important;
    height: min(850px, 90dvh) !important;
    max-height: 90dvh !important;
  }
}

/* Donate button — clearly alternating, restrained left/right 3D sway.
   Opposing yaw, tiny roll and lateral movement make both directions readable. */
@media (min-width: 1281px) {
  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    width: 150px !important;
    height: 64px !important;
    transform-origin: 50% 50% !important;
    transform-style: preserve-3d !important;
    animation: donateButtonPerspectiveSway 6.4s cubic-bezier(.42, 0, .58, 1) infinite !important;
    will-change: transform !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img {
    width: 144px !important;
    height: 56px !important;
  }
}

@keyframes donateButtonPerspectiveSway {
  0%, 40%, 80%, 100% {
    transform: translateY(-50%) perspective(1050px) rotateY(0deg) rotateZ(0deg) rotateX(0deg) translateX(0) translateZ(0);
  }
  /* Left-facing turn: the left edge subtly comes forward. */
  20% {
    transform: translateY(-50%) perspective(1050px) rotateY(-1.15deg) rotateZ(-.18deg) rotateX(.08deg) translateX(-.6px) translateZ(.25px);
  }
  /* Right-facing turn: reverse every directional cue. */
  60% {
    transform: translateY(-50%) perspective(1050px) rotateY(1.15deg) rotateZ(.18deg) rotateX(-.08deg) translateX(.6px) translateZ(.25px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    animation: none !important;
    transform: translateY(-50%) !important;
    will-change: auto !important;
  }
}

/* Topbar profile frame: replace the hand-built circular border with the
   dedicated transparent PNG while preserving the existing 38x38 hit area. */
html body .app-shell > header.topbar > .player-chip > button.site-top-profile-button,
html body header.topbar > .player-chip > button.site-top-profile-button {
  box-sizing: border-box !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background:
    url("/images/newprofile.png") center center / 100% 100% no-repeat,
    radial-gradient(circle, #3d5741, #142016 72%) !important;
  background-clip: border-box !important;
}

/* Topbar final sizing — shrink Donate slightly and enlarge only the profile
   control visually, without changing the flex space reserved by the chip. */
@media (min-width: 1281px) {
  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    width: 144px !important;
    height: 61px !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img {
    width: 138px !important;
    height: 53px !important;
  }
}

/* Scale the clickable avatar itself rather than increasing its flex-basis;
   neighboring profile text and the rest of the topbar keep their positions. */
html body .app-shell > header.topbar > .player-chip > button.site-top-profile-button,
html body header.topbar > .player-chip > button.site-top-profile-button {
  scale: 1.08 !important;
  transform-origin: center center !important;
}


/* Mobile topbar: use the purpose-built 397x78 mobile frame instead of
   stretching the 2048x178 desktop frame. Keep the BGShare texture at its
   natural aspect ratio and crop its sides to the mobile viewport. */
@media (max-width: 820px) {
  html body .app-shell > header.topbar,
  html body header.topbar {
    isolation: isolate !important;
  }

  html body .app-shell > header.topbar::before,
  html body header.topbar::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: -1px 0 -1px !important;
    z-index: 2 !important;
    width: auto !important;
    height: auto !important;
    background-image: var(--bryer-css-v60-topbarmobile, url('/images/topbarmobile.png')) !important;
    background-position: center center !important;
    background-size: auto 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 4px 6px rgba(2, 8, 4, .28)) !important;
    pointer-events: none !important;
  }

  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"],
  html body header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    display: block !important;
    position: absolute !important;
    inset: 3px 9px 3px !important;
    z-index: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    background-color: transparent !important;
    background-image: var(--bryer-topbar-bgshare, none) !important;
    background-position: center center !important;
    background-size: auto 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
  }

  html body .app-shell > header.topbar > :not(.bryer-topbar-bgshare-visual),
  html body header.topbar > :not(.bryer-topbar-bgshare-visual) {
    position: relative !important;
    z-index: 3 !important;
  }
}

/* Mobile topbar final fit: the 397x78 frame must scale with the viewport,
   not stay at its intrinsic 397px width. Keep its native aspect ratio while
   expanding the header to the full visual viewport (including body zoom). */
@media screen and (max-width: 820px) {
  html body .app-shell > header.topbar,
  html body header.topbar {
    position: fixed !important;
    inset: 0 auto auto 0 !important;
    width: calc(100vw / var(--bryer-layout-scale, 1)) !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: max(
      calc(19.6473vw / var(--bryer-layout-scale, 1) + env(safe-area-inset-top)),
      calc(58px + env(safe-area-inset-top))
    ) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: calc(7px + env(safe-area-inset-top)) 10px 7px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    transform: none !important;
  }

  /* Mobile frame artwork: 397:78 aspect ratio, now fitted to the full bar. */
  html body .app-shell > header.topbar::before,
  html body header.topbar::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: auto !important;
    height: auto !important;
    background-image: var(--bryer-css-v60-topbarmobile, url('/images/topbarmobile.png')) !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    filter: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  /* BGShare fills the whole interior without being horizontally squashed;
     its wide artwork keeps its aspect ratio and is center-cropped by the frame. */
  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"],
  html body header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    display: block !important;
    position: absolute !important;
    inset: 4px 0 4px !important;
    z-index: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    background-image: var(--bryer-topbar-bgshare, none) !important;
    background-position: center center !important;
    background-size: auto 100% !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
  }

  html body .app-shell > header.topbar > :not(.bryer-topbar-bgshare-visual),
  html body header.topbar > :not(.bryer-topbar-bgshare-visual) {
    position: relative !important;
    z-index: 3 !important;
  }
}

/* Full-HD topbar alignment: raise the frame/background slightly, then center
   the complete control row against the visible frame. Explicitly clear bottom:0
   from older rules so the nav cluster is not vertically stretched/off-center. */
@media screen and (min-width: 1024px) and (max-width: 1920px) and (max-height: 1080px) {
  html body .app-shell > header.topbar::before,
  html body header.topbar::before {
    inset: -17px -13px auto !important;
    height: 102px !important;
    background-position: center bottom !important;
    background-size: 100% auto !important;
  }

  html body .app-shell > header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"],
  html body header.topbar > span.bryer-topbar-bgshare-visual[aria-hidden="true"] {
    inset: -16px -13px -13px !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
  }

  html body .app-shell > header.topbar > .nav-cluster,
  html body header.topbar > .nav-cluster {
    top: calc(50% - 2px) !important;
    bottom: auto !important;
    height: max-content !important;
    margin: 0 !important;
    align-items: center !important;
    transform: translate(-50%, -50%) !important;
  }

  html body .app-shell > header.topbar > .brand,
  html body header.topbar > .brand {
    transform: translate(-12px, -2px) !important;
    transform-origin: left center !important;
  }

  html body .app-shell > header.topbar > .player-chip,
  html body header.topbar > .player-chip {
    transform: translate(-10px, calc(-50% - 2px)) !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button,
  html body header.topbar > .topbar-donate-image-button {
    top: calc(50% - 2px) !important;
    width: 132px !important;
    height: 56px !important;
  }

  html body .app-shell > header.topbar > .topbar-donate-image-button img,
  html body header.topbar > .topbar-donate-image-button img {
    width: 128px !important;
    height: 49px !important;
  }
}

/* Non-tester navigation: when FREE Quests is not rendered, collapse the
   five-slot tester grid to four columns instead of leaving an empty slot. */
@media (min-width: 821px) {
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)),
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) {
    --minigame-nav-width: 112px !important;
    display: grid !important;
    grid-template-columns: repeat(4, var(--minigame-nav-width)) !important;
    grid-auto-flow: column !important;
    gap: 8px !important;
    padding: 5px !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: max-content !important;
    overflow: hidden !important;
  }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab {
    box-sizing: border-box !important;
    width: var(--minigame-nav-width) !important;
    min-width: var(--minigame-nav-width) !important;
    max-width: var(--minigame-nav-width) !important;
    flex: 0 0 var(--minigame-nav-width) !important;
    white-space: nowrap !important;
  }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-minigame,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-minigame { order: 1 !important; grid-column: 1 !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-shop,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-shop { order: 2 !important; grid-column: 2 !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-open,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-open { order: 3 !important; grid-column: 3 !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-upgrade,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) > .nav-tab-upgrade { order: 4 !important; grid-column: 4 !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests))::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests))::before {
    left: 5px !important;
    top: 5px !important;
    bottom: 5px !important;
    width: var(--minigame-nav-width) !important;
    transform: translate3d(0, 0, 0) !important;
  }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-minigame::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-minigame::before { transform: translate3d(0, 0, 0) !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-shop::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-shop::before { transform: translate3d(120px, 0, 0) !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-open::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-open::before { transform: translate3d(240px, 0, 0) !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-upgrade::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-upgrade::before { transform: translate3d(360px, 0, 0) !important; }
}
@media (min-width: 821px) and (max-width: 1180px) {
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)),
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)) {
    --minigame-nav-width: 94px !important;
    gap: 5px !important;
  }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-shop::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-shop::before { transform: translate3d(99px, 0, 0) !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-open::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-open::before { transform: translate3d(198px, 0, 0) !important; }
  html body .app-shell > header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-upgrade::before,
  html body header.topbar .nav-tabs:not(:has(.nav-tab-freequests)).nav-upgrade::before { transform: translate3d(297px, 0, 0) !important; }
}

/* Restore the original shared forest canvas for every site page.
   Keep the artwork on a viewport-fixed root layer; do not clear page-level
   backgrounds on .main-layout or .content, so each page retains its own art. */
html {
  position: relative !important;
  min-height: 100% !important;
  background: #09100b !important;
  background-image: none !important;
}
html::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: url("/images/bg-global.webp?v=2") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  transform: scaleX(-1) !important;
  transform-origin: center center !important;
}
html::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: .68 !important;
  background:
    radial-gradient(circle at 14% 6%, rgba(214,180,95,.10), transparent 29%),
    radial-gradient(circle at 84% 10%, rgba(44,67,48,.34), transparent 31%),
    radial-gradient(circle at 50% 100%, rgba(34,53,38,.46), transparent 46%),
    linear-gradient(145deg, #0d160f 0%, #142118 48%, #09100b 100%) !important;
}
html body {
  position: relative !important;
  z-index: 2 !important;
  min-height: 100vh !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
html body .app-shell {
  position: relative !important;
  z-index: 1 !important;
  min-height: 100vh !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}


/* Hide the Minigames destination banner when this Profile disables that page.
   Keep the remaining destination at the same desktop width, centered in the row. */
html body .coffer-hall-promo-banners.is-minigames-disabled {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body .coffer-hall-promo-banners.is-minigames-disabled > .coffer-hall-promo-banner-one {
  display: none !important;
}

html body .coffer-hall-promo-banners.is-minigames-disabled > .coffer-hall-promo-banner-two {
  grid-column: 1 / -1 !important;
  width: calc((100% - clamp(10px, 1.1vw, 18px)) / 2) !important;
  justify-self: center !important;
}

@media (max-width: 900px) {
  html body .coffer-hall-promo-banners.is-minigames-disabled > .coffer-hall-promo-banner-two {
    width: calc((100% - 8px) / 2) !important;
  }
}

@media (max-width: 620px) {
  html body .coffer-hall-promo-banners.is-minigames-disabled {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .coffer-hall-promo-banners.is-minigames-disabled > .coffer-hall-promo-banner-two {
    grid-column: 1 !important;
    width: 100% !important;
    justify-self: stretch !important;
  }
}

/* Per-Profile page access: collapse the desktop tab strip to only the pages
   that are actually available for this Venue. Keep the wooden active marker
   aligned with the visible order rather than legacy fixed 4/5-tab positions. */
@media (min-width: 821px) {
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"],
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"] {
    --profile-nav-gap: 8px;
    --profile-nav-step: 120px;
    display: grid !important;
    grid-template-columns: repeat(var(--profile-nav-count), var(--profile-nav-tab-width)) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: var(--profile-nav-tab-width) !important;
    gap: var(--profile-nav-gap) !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: max-content !important;
    overflow: hidden !important;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]:has(.nav-tab-freequests),
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]:has(.nav-tab-freequests) {
    --profile-nav-step: 126px;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"] > .nav-tab,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"] > .nav-tab {
    grid-column: auto !important;
    order: 0 !important;
    width: var(--profile-nav-tab-width) !important;
    min-width: var(--profile-nav-tab-width) !important;
    max-width: var(--profile-nav-tab-width) !important;
    flex: 0 0 var(--profile-nav-tab-width) !important;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]::before {
    left: 5px !important;
    top: 5px !important;
    bottom: 5px !important;
    width: var(--profile-nav-tab-width) !important;
    transform: translate3d(0, 0, 0) !important;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="0"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="0"]::before {
    transform: translate3d(0, 0, 0) !important;
  }

  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="1"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="1"]::before {
    transform: translate3d(var(--profile-nav-step), 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="2"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="2"]::before {
    transform: translate3d(calc(var(--profile-nav-step) + var(--profile-nav-step)), 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="3"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="3"]::before {
    transform: translate3d(calc(var(--profile-nav-step) + var(--profile-nav-step) + var(--profile-nav-step)), 0, 0) !important;
  }
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="4"]::before,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"][data-active-index="4"]::before {
    transform: translate3d(calc(var(--profile-nav-step) + var(--profile-nav-step) + var(--profile-nav-step) + var(--profile-nav-step)), 0, 0) !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]:not(:has(.nav-tab-freequests)),
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"]:not(:has(.nav-tab-freequests)) {
    --profile-nav-tab-width: 94px !important;
    --profile-nav-step: 99px !important;
    --profile-nav-gap: 5px !important;
  }
}

@media (min-width: 821px) {
  html body .app-shell > header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"].is-empty,
  html body header.topbar > .nav-cluster .nav-tabs[data-profile-page-access="true"].is-empty {
    display: none !important;
  }
}
