/* Plasma Wallet chrome — nav, drawer, site footer (P2P menus preserved) */
.pw-plasma-shell {
  --pw-nav-muted: #c8c8cc;
  --pw-nav-text: #ffffff;
  --pw-nav-line: rgba(255, 255, 255, 0.14);
  --pw-nav-panel: rgba(19, 16, 13, 0.98);
  --pw-header-clearance: calc(5.5rem + 2.2rem);
  font-family: Sora, system-ui, sans-serif;
}

.pw-plasma-shell .wlf-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pw-plasma-shell .wlf-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10001;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #e6c53f;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.pw-plasma-shell .navbar_component {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  min-height: 4.5rem;
  overflow: visible;
  padding: 1.1rem 5%;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: rgba(19, 16, 13, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.pw-plasma-shell.pw-plasma-shell--inner .navbar_component {
  position: sticky;
  background-color: rgba(19, 16, 13, 0.92);
}

.pw-plasma-shell .navbar_component.is-scrolled {
  background-color: rgba(19, 16, 13, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.pw-plasma-shell .navbar_container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 3vw, 1.5rem);
  min-width: 0;
}

.pw-plasma-shell .navbar_logo-link {
  grid-column: 1;
}

.pw-plasma-shell .pw-plasma-nav__center {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.pw-plasma-shell .navbar_menu-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  opacity: 1 !important;
  flex-direction: row;
  margin-top: 0;
  padding-bottom: 0;
}

.pw-plasma-shell .navbar_menu-button {
  grid-column: 4;
  justify-self: end;
}

@media (min-width: 1024px) {
  .pw-plasma-shell .navbar_container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem 1.25rem;
  }

  .pw-plasma-shell .pw-plasma-nav__center {
    grid-column: 2;
  }

  .pw-plasma-shell .navbar_menu-right {
    grid-column: 3;
  }

  .pw-plasma-shell .navbar_menu-button {
    display: none;
  }
}

.pw-plasma-shell .navbar_logo-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(22rem, 62vw);
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.pw-plasma-shell .pw-plasma-nav__logo {
  width: auto;
  height: 66px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.pw-plasma-shell .pw-plasma-nav__center {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .pw-plasma-shell .pw-plasma-nav__center {
    display: flex;
  }
}

.pw-plasma-shell .pw-plasma-nav__center .wlf-nav__menu {
  width: 100%;
}

.pw-plasma-shell .pw-plasma-nav__center .wlf-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pw-plasma-shell .wlf-drop__trigger,
.pw-plasma-shell .wlf-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pw-nav-text) !important;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pw-plasma-shell .wlf-nav__link--featured {
  color: var(--pw-nav-text) !important;
  background: transparent;
  border: 0;
  font-weight: 500;
}

.pw-plasma-shell .wlf-drop.is-open > .wlf-drop__trigger {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pw-plasma-shell .wlf-drop__trigger:hover,
.pw-plasma-shell .wlf-nav__link:hover,
.pw-plasma-shell .wlf-nav__link--featured:hover {
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pw-plasma-shell .wlf-drop__icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.75;
  transition: transform 0.2s;
}

.pw-plasma-shell .wlf-drop.is-open .wlf-drop__icon {
  transform: rotate(180deg);
}

.pw-plasma-shell .wlf-drop {
  position: relative;
}

.pw-plasma-shell .wlf-drop__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.5rem;
  background: var(--pw-nav-panel);
  border: 1px solid var(--pw-nav-line);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, visibility 0.18s;
  z-index: 60;
}

.pw-plasma-shell .wlf-drop__panel--lang {
  left: auto;
  right: 0;
  transform: none;
  min-width: 170px;
}

.pw-plasma-shell .wlf-drop.is-open .wlf-drop__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pw-plasma-shell .wlf-drop__title {
  margin: 0 0 0.375rem;
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pw-nav-muted) !important;
}

.pw-plasma-shell .wlf-drop__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  max-height: 240px;
  overflow-y: auto;
}

.pw-plasma-shell .wlf-drop__link,
.pw-plasma-shell .wlf-drop__row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pw-nav-muted) !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  text-align: left;
  cursor: pointer;
  font-family: Sora, system-ui, sans-serif;
  transition: background 0.15s, color 0.15s;
}

.pw-plasma-shell .wlf-drop__link {
  justify-content: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--pw-nav-text) !important;
}

.pw-plasma-shell .wlf-drop__link:hover,
.pw-plasma-shell .wlf-drop__row:hover {
  color: var(--pw-nav-text) !important;
}

.pw-plasma-shell .wlf-drop__row--danger:hover {
  color: #fca5a5 !important;
}

.pw-plasma-shell .wlf-drop__row {
  gap: 0.5rem;
}

.pw-plasma-shell .wlf-drop__row i {
  flex-shrink: 0;
  width: 16px;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--pw-nav-muted);
}

.pw-plasma-shell .wlf-drop__row .p2p-nav-chat-badge {
  margin-left: auto;
}

/* Grouped panels (e.g. the Account menu) repeat .wlf-drop__title once per
   section instead of a single title at the top - give repeats breathing
   room from the previous group's last row while keeping the very first
   title flush like every other (single-title) dropdown panel. */
.pw-plasma-shell .wlf-drop__title {
  margin-top: 0.75rem;
}

.pw-plasma-shell .wlf-drop__title:first-child {
  margin-top: 0;
}

.pw-plasma-shell .wlf-drop__divider {
  height: 1px;
  margin: 0.375rem 0.5rem;
  background: var(--pw-nav-line);
}

/* The Account panel holds ~4 groups of items with icons + trailing badges,
   so it gets a bit more width than the default panel, plus a capped height
   with internal scroll so it never overflows the viewport on shorter
   screens - the same pattern already used for the Buy/Sell crypto grids. */
.pw-plasma-shell .wlf-drop__panel--account {
  min-width: 260px;
  max-width: min(320px, calc(100vw - 2rem));
  max-height: min(75vh, 560px);
  overflow-y: auto;
}

.pw-plasma-shell .pw-plasma-nav__desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .pw-plasma-shell .pw-plasma-nav__desktop-only {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .pw-plasma-shell .navbar_container {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem 0.625rem;
  }

  .pw-plasma-shell .navbar_logo-link {
    grid-column: 1;
    min-width: 0;
  }

  .pw-plasma-shell .pw-plasma-nav__center {
    display: none !important;
  }

  .pw-plasma-shell .navbar_menu-right {
    grid-column: 2;
    justify-self: end;
    gap: 0.375rem;
    min-width: 0;
  }

  .pw-plasma-shell .navbar_menu-button {
    grid-column: 3;
    display: inline-flex !important;
  }

  .pw-plasma-shell .pw-plasma-nav__desktop-only {
    display: none !important;
  }

  .pw-plasma-shell .pw-plasma-nav__login {
    min-height: 40px;
    padding: 0 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .pw-plasma-shell .pw-plasma-nav__dashboard.link-block--solo {
    display: inline-flex;
    min-height: 40px;
    padding-inline: 0.15rem;
  }

  .pw-plasma-shell .pw-plasma-nav__dashboard .text-block-3 {
    font-size: 0.8125rem;
    padding-inline: 0.65rem;
  }
}

@media screen and (max-width: 991px) {
  .pw-plasma-shell .navbar_menu-right {
    flex-direction: row !important;
    align-items: center !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.pw-plasma-shell .pw-plasma-nav__mobile-actions {
  display: none !important;
}

.p2p-nav-chat-badge--inline {
  position: static;
  margin-left: 0.15rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  font-size: 0.625rem;
  line-height: 1.125rem;
}

.pw-plasma-shell .wlf-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--pw-nav-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--pw-nav-muted) !important;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: Sora, system-ui, sans-serif;
}

.pw-plasma-shell .wlf-lang img,
.pw-plasma-shell .wlf-lang-opt img {
  border-radius: 2px;
  object-fit: cover;
}

.pw-plasma-shell .wlf-lang-opt.is-active,
.pw-plasma-drawer__lang.is-active {
  color: #fff !important;
  background: rgba(236, 196, 108, 0.14);
  box-shadow: inset 0 0 0 1px rgba(236, 196, 108, 0.28);
}

/* Live traders-online pulse - sits before the language switcher in the nav's
   right cluster. Same warm gold/amber "Living Ledger" visual language as the
   hero tag (mini node network + traveling glow packet) at nav scale, so the
   sitewide header carries a live signal instead of only the homepage hero. */
.pw-plasma-shell .pw-nav-pulse {
  /* Own breakpoint below, deliberately not sharing
     .pw-plasma-nav__desktop-only's 1024px cutoff: the center nav links
     already wrap to a 2nd line in a ~1024-1079px squeeze zone, and adding
     this badge's width right at 1024px pushed that to a 3rd line. Showing it
     only once the squeeze zone has cleared avoids making that worse. */
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.7rem 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 196, 108, 0.28);
  background: rgba(236, 196, 108, 0.05);
  font-family: Sora, system-ui, sans-serif;
  cursor: default;
}

@media (min-width: 1100px) {
  .pw-plasma-shell .pw-nav-pulse {
    display: inline-flex;
  }
}

.pw-plasma-shell .pw-nav-pulse__net {
  flex-shrink: 0;
  display: block;
}

.pw-plasma-shell .pw-nav-pulse__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ecc46c;
  flex-shrink: 0;
  animation: pwNavPulseBlink 1.1s steps(1) infinite;
}

.pw-plasma-shell .pw-nav-pulse__count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ecc46c;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pw-plasma-shell .pw-nav-pulse__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pw-nav-muted);
  text-transform: lowercase;
  line-height: 1;
}

@keyframes pwNavPulseBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-plasma-shell .pw-nav-pulse__dot {
    animation: none !important;
    opacity: 1 !important;
  }

  .pw-plasma-shell .pw-nav-pulse__packet {
    display: none !important;
  }
}

.pw-plasma-shell .navbar_menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.75rem 0 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
}

.pw-plasma-shell .pw-plasma-nav__menu-label {
  color: #fff;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

@media (min-width: 1024px) {
  .pw-plasma-shell .navbar_menu-button {
    display: none;
  }
}

.pw-plasma-shell .menu-icon {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

.pw-plasma-shell .menu-icon_line-top,
.pw-plasma-shell .menu-icon_line-bottom,
.pw-plasma-shell .menu-icon_line-middle {
  background: #fff;
  width: 24px;
  height: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.pw-plasma-shell .menu-icon_line-middle {
  margin: 6px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pw-plasma-shell .menu-icon_line-middle-inner {
  width: 0;
  height: 0;
}

.pw-plasma-shell .navbar_menu-button.w--open .menu-icon_line-top {
  transform: translateY(8px) rotate(45deg);
}

.pw-plasma-shell .navbar_menu-button.w--open .menu-icon_line-middle {
  opacity: 0;
}

.pw-plasma-shell .navbar_menu-button.w--open .menu-icon_line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Plasma CTA pill */
.pw-plasma-shell .link-block {
  opacity: 1;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 2px;
  text-decoration: none;
  transition: opacity 0.3s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
}

.pw-plasma-shell .link-block:hover {
  opacity: 1;
}

.pw-plasma-shell .div-block-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.pw-plasma-shell .div-block {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-right: 8px;
  padding: 4px;
  display: flex;
}

.pw-plasma-shell .text-block-2 {
  color: #fff;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 400;
  line-height: 12px;
}

.pw-plasma-shell .text-block-3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.pw-plasma-shell .link-block--solo {
  opacity: 1;
  align-items: center;
  padding: 3px 10px 3px 10px;
}

.pw-plasma-shell .link-block--solo .div-block {
  margin-right: 0;
  padding: 5px 2px;
  align-items: center;
}

.pw-plasma-shell .link-block--solo .text-block-3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.pw-plasma-drawer .link-block--solo {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.pw-plasma-drawer .link-block--solo .div-block {
  align-items: center;
}

/* Mobile drawer — Plasma dark panel */
.pw-plasma-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(19, 16, 13, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1050;
}

.pw-plasma-drawer-bg.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pw-plasma-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: #1c1712;
  border-left: 1px solid var(--pw-nav-line);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.pw-plasma-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.pw-plasma-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--pw-nav-line);
}

.pw-plasma-drawer__logo {
  width: auto;
  height: 36px;
  max-width: 140px;
  object-fit: contain;
}

.pw-plasma-drawer__head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pw-nav-line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.pw-plasma-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
  flex: 1;
  overflow-y: auto;
}

.pw-plasma-drawer__section-label {
  margin: 1rem 0 0.35rem;
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 196, 108, 0.95) !important;
}

.pw-plasma-drawer__section-label:first-child {
  margin-top: 0.25rem;
}

.pw-plasma-drawer__link,
.pw-plasma-drawer__nav > a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.15rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f0f0f5 !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pw-plasma-drawer__link i {
  flex-shrink: 0;
  width: 18px;
  font-size: 1rem;
  text-align: center;
  color: rgba(240, 240, 245, 0.6);
}

.pw-plasma-drawer__link .p2p-nav-chat-badge {
  margin-left: auto;
}

.pw-plasma-drawer__link--danger i {
  color: #fca5a5;
}

.pw-plasma-drawer__divider {
  height: 1px;
  margin: 0.5rem 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
}

.pw-plasma-drawer__link:hover,
.pw-plasma-drawer__nav > a:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.pw-plasma-drawer__link--featured {
  color: #f0f0f5 !important;
  font-weight: 500;
  background: transparent;
  border-color: transparent;
}

.pw-plasma-drawer__link--featured:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.pw-plasma-drawer__link--danger {
  color: #fca5a5 !important;
}

.pw-plasma-drawer__link--danger:hover {
  border-color: rgba(239, 68, 68, 0.25);
}

.pw-plasma-drawer__group {
  margin-bottom: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.pw-plasma-drawer__group summary {
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f0f0f5;
  cursor: pointer;
  list-style: none;
}

.pw-plasma-drawer__group summary::-webkit-details-marker {
  display: none;
}

.pw-plasma-drawer__group-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0 0.75rem 0.75rem;
}

.pw-plasma-drawer__group-links a,
.pw-plasma-drawer__lang {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #d2d2d7 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.03);
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: Sora, system-ui, sans-serif;
}

.pw-plasma-drawer__group-links a:hover,
.pw-plasma-drawer__lang:hover {
  color: #fff !important;
}

.pw-plasma-drawer__group-links a {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

.pw-plasma-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--pw-nav-line);
  background: rgba(255, 255, 255, 0.02);
}

.pw-plasma-drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pw-plasma-drawer__cta--primary {
  color: #000 !important;
  border: 1px solid rgba(236, 196, 108, 0.55);
  background: linear-gradient(135deg, #ecc46c, #f1dc9d);
}

.pw-plasma-drawer__cta--primary:hover {
  color: #000 !important;
  filter: brightness(1.05);
}

.pw-plasma-drawer__cta--ghost {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.pw-plasma-drawer__cta--ghost:hover {
  color: #fff !important;
  border-color: rgba(236, 196, 108, 0.4);
}

.pw-plasma-drawer__foot .link-block {
  display: none;
}

html.pw-plasma-drawer-open,
html.pw-plasma-drawer-open body {
  overflow: hidden;
}

/* Plasma site footer (inner pages + marketplace) */
.pw-site-footer.footer {
  flex-direction: column;
  align-items: center;
  padding: 2rem 5% 1.5rem;
  background: #13100d;
}

.pw-site-footer .div-block-11 {
  background-color: rgba(255, 255, 255, 0.14);
  width: min(980px, 100%);
  height: 1px;
  margin-bottom: 20px;
}

.pw-site-footer .div-block-12 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: min(980px, 100%);
}

.pw-site-footer .div-block-13 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
}

.pw-site-footer .text-block-9 {
  color: #a1a1a6;
  margin-right: 1rem;
  font-size: 12px;
  line-height: 1.4;
}

.pw-site-footer .link-3 {
  color: #a1a1a6;
  margin: 0 14px;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}

.pw-site-footer .link-3:hover {
  color: #e6c53f;
  text-decoration: underline;
}

.pw-site-footer .div-block-14 .link-3 {
  margin: 0;
}

.pw-site-footer .div-block-14 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.pw-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pw-site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1a6 !important;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.pw-site-footer__social-link:hover {
  color: #e6c53f !important;
  border-color: rgba(230, 197, 63, 0.45);
}

body:not(:has(.pw-home)) {
  padding-top: 0;
}

@media (max-width: 380px) {
  .pw-plasma-shell .pw-plasma-nav__menu-label {
    display: none;
  }

  .pw-plasma-shell .navbar_menu-button {
    padding: 0 0.35rem;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .pw-plasma-shell .pw-plasma-nav__center .wlf-nav__list {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    border-radius: 18px;
  }

  .pw-plasma-shell .wlf-drop__trigger,
  .pw-plasma-shell .wlf-nav__link {
    font-size: 0.8125rem;
    padding-inline: 0.65rem;
  }
}

@media (max-width: 767px) {
  .pw-plasma-shell .navbar_component {
    padding: 0.65rem 0.75rem;
  }

  .pw-plasma-shell .navbar_container {
    gap: 0.375rem 0.5rem;
  }

  .pw-plasma-shell .navbar_menu-button {
    min-width: 44px;
    min-height: 40px;
    padding: 0 0.55rem 0 0.3rem;
    align-items: center;
    justify-content: center;
  }

  .pw-plasma-shell .pw-plasma-nav__menu-label {
    font-size: 0.75rem;
  }

  .pw-plasma-drawer__link,
  .pw-plasma-drawer__nav a,
  .pw-plasma-drawer__nav summary {
    min-height: 44px;
  }

  .pw-plasma-shell .pw-plasma-nav__logo {
    height: 50px;
  }

  .pw-plasma-shell .navbar_logo-link {
    max-width: min(18rem, 64vw);
  }

  .pw-plasma-shell .link-block .text-block-3 {
    font-size: 14px;
  }

  .pw-site-footer .div-block-12 {
    flex-direction: column;
    align-items: flex-start;
  }

  .pw-site-footer .div-block-13 {
    flex-direction: column;
    align-items: flex-start;
  }

  .pw-site-footer .link-3 {
    margin: 0.25rem 0;
  }
}
