/* WarextMarket v0.548 final UI hotfixes. */
/* WAREXT_V0548_UI_HOTFIX */

/* Five profile tabs: keep the label itself on the geometric center while the count stays at the right. */
@media (min-width: 901px) {
  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}
body.profile-page .public-profile-tab {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
  padding-left: 18px !important;
  padding-right: 54px !important;
}
body.profile-page .public-profile-tab__anchor {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}
body.profile-page .public-profile-tab__label {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.profile-page .public-profile-tab__count {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  text-align: center !important;
}

/* Değerlendirmeler pane heading/content header alignment. */
body.profile-page [data-profile-tab-pane="degerlendirmeler"] .public-profile-section-card__head {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  text-align: center !important;
}
body.profile-page [data-profile-tab-pane="degerlendirmeler"] .public-profile-section-card__head > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
}

/* Medal/rozet hover detail must open below the icon, not over the panel heading. */
body.profile-page .public-profile-award-panel,
body.profile-page .public-profile-award-panel .profile-medal-grid,
body.profile-page .public-profile-award-panel .profile-medal-grid--profile,
body.profile-page .public-profile-award-panel .medal-chip {
  overflow: visible !important;
}
body.profile-page .public-profile-award-panel .medal-chip {
  position: relative !important;
}
body.profile-page .public-profile-award-panel .medal-chip__tooltip {
  position: absolute !important;
  left: 50% !important;
  top: calc(100% + 12px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, 8px) !important;
  min-width: 190px !important;
  max-width: min(280px, calc(100vw - 32px)) !important;
  z-index: 22000 !important;
  pointer-events: none !important;
}
body.profile-page .public-profile-award-panel .medal-chip:hover .medal-chip__tooltip,
body.profile-page .public-profile-award-panel .medal-chip:focus-within .medal-chip__tooltip {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
}
body.profile-page .public-profile-award-panel .medal-chip__tooltip::after {
  top: -7px !important;
  bottom: auto !important;
}
body.profile-page .public-profile-award-line-head {
  position: relative !important;
  z-index: 2 !important;
}

/* Footer bottom text: same baseline, more breathing room and a bold separator. */
.footer-bottom-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  flex-wrap: wrap !important;
}
.footer-bottom-inline .copyright,
.footer-bottom-inline__credit {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  vertical-align: middle !important;
}
.footer-bottom-inline__credit::before {
  content: "|" !important;
  display: inline-block !important;
  margin: 0 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: currentColor !important;
  opacity: .92 !important;
}

@media (max-width: 900px) {
  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 12px !important;
  }
}
@media (max-width: 640px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: 1fr !important;
  }
  body.profile-page .public-profile-tab {
    padding-left: 16px !important;
    padding-right: 52px !important;
  }
  .footer-bottom-inline {
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-bottom-inline .copyright,
  .footer-bottom-inline__credit {
    justify-content: center !important;
  }
}


/* WarextMarket v0.549 profile tab layout correction. */
/* WAREXT_V0549_PROFILE_TAB_FULL_LABEL */

/*
 * v0.548 reserved more space on the right than on the left and then clipped
 * the label with ellipsis. That made the label look left-shifted and caused
 * "Değerlendirmeler" to render as "Değerlendir..." even on wide screens.
 * Keep the counter independent on the right, reserve symmetrical space for it,
 * and let the full label render on the real geometric centre of the tab.
 */
body.profile-page .public-profile-tab {
  padding-left: 54px !important;
  padding-right: 54px !important;
}

body.profile-page .public-profile-tab__anchor {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  text-align: center !important;
}

body.profile-page .public-profile-tab__label {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center !important;
  vertical-align: middle !important;
}

body.profile-page .public-profile-tab__count {
  right: 16px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Around tablet / small-laptop widths keep every label readable instead of
 * forcing five undersized desktop columns. */
@media (min-width: 901px) and (max-width: 1199px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .public-profile-tab {
    padding-left: 52px !important;
    padding-right: 52px !important;
  }
}



/* WarextMarket v0.550 - definitive profile layout correction. */
/* WAREXT_V0550_PROFILE_LAYOUT_FINAL */

/*
 * Header identity block
 * - Neutralizes the v0.548 translateX(-2px) shift.
 * - Reserves enough horizontal room for avatar cosmetic frames that extend 10%
 *   outside the avatar shell.
 * - Keeps status/name/role content above the decorative frame so no text can
 *   be visually clipped by the frame.
 */
body.profile-page .public-profile-header,
body.profile-page .public-profile-top,
body.profile-page .public-profile-main {
  overflow: visible !important;
  min-width: 0 !important;
}

body.profile-page .public-profile-top > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.profile-page .public-profile-main {
  grid-template-columns: 128px minmax(0, 1fr) !important;
  column-gap: 26px !important;
  row-gap: 0 !important;
  align-items: start !important;
}

body.profile-page .public-profile-avatar-shell {
  position: relative !important;
  z-index: 2 !important;
  justify-self: start !important;
}

body.profile-page .public-profile-main > div:last-child {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-left: 2px !important;
  transform: none !important;
  overflow: visible !important;
}

body.profile-page .public-profile-status {
  position: relative !important;
  z-index: 5 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

body.profile-page .public-profile-name {
  position: relative !important;
  z-index: 5 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

body.profile-page .public-profile-role-line,
body.profile-page .public-profile-role-badges,
body.profile-page .public-profile-actions {
  position: relative !important;
  z-index: 5 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

/*
 * Profile tabs
 * v0.546 positioned the counter absolutely relative to the label anchor.
 * v0.548/v0.549 then moved it with right:16px, so the counter still used the
 * text-width anchor as its containing block and landed on top of the label.
 * v0.550 removes absolute positioning entirely. A symmetric 3-column grid
 * reserves identical space on both sides, keeping the label on the exact
 * geometric centre while the counter has its own independent right column.
 */
body.profile-page .public-profile-tabs {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

@media (min-width: 1200px) {
  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
}

body.profile-page .public-profile-tab {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  text-align: center !important;
}

body.profile-page .public-profile-tab__anchor,
body.profile-page .public-profile-tab > span.public-profile-tab__anchor {
  position: static !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body.profile-page .public-profile-tab__label {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: center !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body.profile-page .public-profile-tab__count {
  position: static !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Small laptops/tablets: use fewer columns before any label can become tight. */
@media (min-width: 901px) and (max-width: 1199px) {
  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.profile-page .public-profile-main {
    grid-template-columns: 118px minmax(0, 1fr) !important;
    column-gap: 22px !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.profile-page .public-profile-main {
    grid-template-columns: 116px minmax(0, 1fr) !important;
    column-gap: 20px !important;
  }

  body.profile-page .public-profile-status {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .public-profile-main {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    row-gap: 16px !important;
    text-align: center !important;
  }

  body.profile-page .public-profile-avatar-shell {
    justify-self: center !important;
  }

  body.profile-page .public-profile-main > div:last-child {
    padding-left: 0 !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.profile-page .public-profile-status,
  body.profile-page .public-profile-name,
  body.profile-page .public-profile-role-line,
  body.profile-page .public-profile-role-badges {
    text-align: center !important;
  }

  body.profile-page .public-profile-status {
    white-space: normal !important;
  }

  body.profile-page .public-profile-tabs__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.profile-page .public-profile-tab,
  body.profile-page .public-profile-tab__anchor,
  body.profile-page .public-profile-tab > span.public-profile-tab__anchor {
    min-height: 58px !important;
  }
}



/* WarextMarket v0.551 - centered label + counter group. */
/* WAREXT_V0551_PROFILE_TAB_GROUP_CENTER */

/*
 * v0.550 separated the counter into the far-right column. That prevented
 * overlap but broke the intended visual grouping. In v0.551 the label and
 * counter stay in normal flow as one centered inline-flex group, so they can
 * never overlap and the whole pair remains mathematically centered.
 */
body.profile-page .public-profile-tab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  overflow: visible !important;
}

body.profile-page .public-profile-tab__anchor,
body.profile-page .public-profile-tab > span.public-profile-tab__anchor {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body.profile-page .public-profile-tab__label {
  position: static !important;
  display: inline-block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body.profile-page .public-profile-tab__count {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  min-width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

/* Keep enough room for the longest label before reducing the number of tabs
 * per row. This avoids ellipsis or label/counter collisions at every range. */
@media (min-width: 1200px) and (max-width: 1350px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .public-profile-tabs__list {
    grid-template-columns: 1fr !important;
  }

  body.profile-page .public-profile-tab {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}



/* WarextMarket v0.552 - balanced profile score/trade card. */
/* WAREXT_V0552_PROFILE_SIDE_BALANCE */

/*
 * The profile score panel was visually split: date/rating were centered as a
 * composition, while the successful-trade badge remained pinned to the left.
 * Keep the membership date as the panel header, then center the complete rating
 * and trade summary below it as one balanced vertical block.
 */
body.profile-page .public-profile-side {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  justify-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.profile-page .public-profile-member-date {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  text-align: left !important;
  white-space: normal !important;
}

body.profile-page .public-profile-score {
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.profile-page .public-profile-score-main {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.profile-page .public-profile-score-note {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

body.profile-page .public-profile-success {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 2px auto 0 !important;
  padding: 12px 18px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  body.profile-page .public-profile-side {
    justify-items: center !important;
    text-align: center !important;
  }

  body.profile-page .public-profile-member-date {
    text-align: center !important;
  }

  body.profile-page .public-profile-success {
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .public-profile-side {
    padding: 18px !important;
    gap: 14px !important;
  }

  body.profile-page .public-profile-score-main {
    gap: 10px !important;
    white-space: normal !important;
  }

  body.profile-page .public-profile-success {
    white-space: normal !important;
  }
}



/* WarextMarket v0.553 - definitive profile social rail + score side alignment. */
/* WAREXT_V0553_PROFILE_SOCIAL_SIDE_FINAL */

/*
 * Keep the right score/trade column centered even when the legacy <=1180px
 * responsive block is evaluated after earlier profile rules.
 */
body.profile-page .public-profile-side {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  align-items: start !important;
  align-content: start !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.profile-page .public-profile-score,
body.profile-page .public-profile-score-main,
body.profile-page .public-profile-score-note,
body.profile-page .public-profile-success {
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  text-align: center !important;
}

body.profile-page .public-profile-score {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-inline: auto !important;
}

body.profile-page .public-profile-score-main,
body.profile-page .public-profile-success {
  justify-self: center !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.profile-page .public-profile-score-main {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
}

body.profile-page .public-profile-score-note {
  justify-self: stretch !important;
  width: 100% !important;
  margin-inline: 0 !important;
}

body.profile-page .public-profile-success {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
}

/*
 * The generic responsive stylesheet hides the floating stack/social rail at
 * <=1180px with !important. Profiles intentionally keep their left social rail.
 * These selectors are page-scoped so other pages retain the original behavior.
 */
body.profile-page .site-float-stack,
body.profile-page .site-social-float {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.profile-page .site-float-stack {
  display: flex !important;
}

body.profile-page .site-social-float {
  display: flex !important;
}

@media (max-width: 1180px) {
  body.profile-page .public-profile-side {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: start !important;
    text-align: center !important;
  }

  body.profile-page .public-profile-score,
  body.profile-page .public-profile-score-main,
  body.profile-page .public-profile-success {
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.profile-page .site-float-stack,
  body.profile-page .site-social-float {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .public-profile-score-main,
  body.profile-page .public-profile-success {
    white-space: normal !important;
  }

  /* Keep the rail available without allowing it to create a horizontal page overflow. */
  body.profile-page .site-float-stack,
  body.profile-page .site-social-float {
    max-width: calc(100vw - 20px) !important;
  }
}




/* WarextMarket v0.561 - profile social rail final layer. */
/* WAREXT_V0561_PROFILE_SOCIAL_FINAL */
html body.profile-page.has-site-bg-engine > .site-float-stack,
html body.profile-page .site-float-stack,
html[data-warext-profile-social-visible="1"] body.profile-page .site-float-stack {
    position: fixed !important;
    left: 22px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2147482000 !important;
    isolation: isolate !important;
    contain: none !important;
}

html body.profile-page .site-float-stack .site-social-float,
html body.profile-page .site-social-float,
html[data-warext-profile-social-visible="1"] body.profile-page .site-social-float {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 2147482001 !important;
    contain: none !important;
}

html body.profile-page .site-social-float__inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html body.profile-page .site-social-float__backdrop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body.profile-page .site-social-float__action,
html body.profile-page .site-social-float__icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 991px) {
    html body.profile-page.has-site-bg-engine > .site-float-stack,
    html body.profile-page .site-float-stack {
        left: 10px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }
}



/* WarextMarket v0.562 - homepage/profile visual alignment and presence polish. */
/* WAREXT_V0562_UI_POLISH */

/* 1) News cards: replace the detached gray body with the site's navy/purple surface language. */
body.home-page .news-home-card {
  background: linear-gradient(180deg, rgba(14,19,39,.985), rgba(8,12,28,.995)) !important;
  border: 1px solid rgba(115,92,255,.26) !important;
  box-shadow: 0 20px 48px rgba(2,5,18,.34), inset 0 1px 0 rgba(255,255,255,.045) !important;
  overflow: hidden !important;
}
body.home-page .news-home-media {
  position: relative !important;
  background: linear-gradient(145deg, #161d3a, #0c1126) !important;
  overflow: hidden !important;
}
body.home-page .news-home-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(5,8,20,0) 48%, rgba(8,12,28,.58) 100%) !important;
}
body.home-page .news-home-body {
  background:
    radial-gradient(circle at 88% 0%, rgba(112,78,255,.10), transparent 35%),
    linear-gradient(180deg, rgba(18,24,46,.99), rgba(10,15,31,.995)) !important;
  border-top: 1px solid rgba(129,107,255,.16) !important;
}
body.home-page .news-home-title { color: #f6f7ff !important; }
body.home-page .news-home-excerpt { color: #b8bfd2 !important; }
body.home-page .news-home-meta,
body.home-page .news-home-date { color: #a6aec3 !important; }
body.home-page .news-home-btn {
  background: linear-gradient(135deg, #6441ff 0%, #8d4cff 100%) !important;
  border: 1px solid rgba(190,174,255,.28) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(96,61,255,.24) !important;
}
body.home-page .news-home-btn:hover,
body.home-page .news-home-btn:focus-visible {
  background: linear-gradient(135deg, #7352ff 0%, #9b59ff 100%) !important;
  box-shadow: 0 15px 34px rgba(108,70,255,.34) !important;
}

/* 2) Testimonial stacks: one coherent card language and identical geometry per column. */
body.home-page .testimonial-section--stacked .testimonial-stack-column {
  --stack-accent: #6f62ff !important;
  --stack-accent-soft: #9a70ff !important;
}
body.home-page .testimonial-section--stacked .testimonial-stack-card {
  background:
    radial-gradient(circle at 18% 4%, rgba(78,104,210,.24), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(142,78,212,.20), transparent 32%),
    linear-gradient(160deg, rgba(18,25,48,.985), rgba(8,13,29,.995) 62%) !important;
  border: 1px solid rgba(125,101,255,.42) !important;
  box-shadow: 0 24px 52px rgba(2,5,18,.30), inset 0 1px 0 rgba(255,255,255,.045), 0 0 24px rgba(112,83,255,.10) !important;
}
body.home-page .testimonial-section--stacked .testimonial-stack-card::before {
  background:
    radial-gradient(circle at 12% 10%, rgba(93,119,255,.15), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(181,102,255,.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 42%) !important;
}
body.home-page .testimonial-section--stacked .testimonial-stack-card::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 0 0 1px rgba(119,94,255,.16) !important;
}
@media (min-width: 992px) {
  body.home-page .testimonial-section--stacked .testimonial-stack-board {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(30px, 3vw, 48px) !important;
    align-items: stretch !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-column {
    width: 100% !important;
    min-width: 0 !important;
    height: 482px !important;
    padding: 52px 46px 0 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-column__inner {
    position: relative !important;
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    box-sizing: border-box !important;
    transform-origin: 50% 100% !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card .testimonial-content,
  body.home-page .testimonial-section--stacked .testimonial-stack-card__body {
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-front {
    transform: translate3d(0,0,0) scale(1) !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-layer-1 {
    transform: translate3d(10px,-11px,0) scale(.985) !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-layer-2 {
    transform: translate3d(20px,-22px,0) scale(.970) !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-layer-3 {
    transform: translate3d(30px,-33px,0) scale(.955) !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-layer-4 {
    transform: translate3d(40px,-44px,0) scale(.940) !important;
  }
  body.home-page .testimonial-section--stacked .testimonial-stack-card.is-hidden {
    transform: translate3d(48px,-52px,0) scale(.925) !important;
  }
}

/* 3) Hero: main visual and the complete three-card side stack share exactly one grid height. */
@media (min-width: 992px) {
  body.home-page .hero-section.container {
    align-items: stretch !important;
  }
  body.home-page .hero-section.container .hero-slider {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  body.home-page .hero-section.container .hero-slider-track,
  body.home-page .hero-section.container .hero-slide {
    height: 100% !important;
    min-height: 100% !important;
  }
  body.home-page .hero-section.container .hero-side.hero-side--managed {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }
  body.home-page .hero-section.container .hero-side--managed > .side-banner.side-banner--managed {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
  }
}

/* 4) Floating social rail: the clickable circles sit on the exact horizontal center axis. */
html body:not(.admin-body) .site-float-stack {
  align-items: center !important;
}
html body:not(.admin-body) .site-float-stack .site-social-float,
html body:not(.admin-body) .site-float-stack .site-social-float__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
html body:not(.admin-body) .site-float-stack .site-social-float__action {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
html body:not(.admin-body) .site-float-stack .site-social-float__icon {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 auto !important;
}
html body:not(.admin-body) .site-float-stack .site-social-float__label {
  position: absolute !important;
  left: calc(100% + 10px) !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* 5) Public profile tabs: equal top/bottom breathing room inside their backing panel. */
body.profile-page .public-profile-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
}
body.profile-page .public-profile-tabs__list {
  align-self: center !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.profile-page .public-profile-tab {
  align-self: stretch !important;
  min-height: 54px !important;
  height: 54px !important;
  box-sizing: border-box !important;
}

/* 6) Presence state: green full Wi-Fi when online, red Wi-Fi-off when offline. */
body.profile-page .public-profile-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  color: rgba(235,239,255,.78) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}
body.profile-page .public-profile-status::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
}
body.profile-page .public-profile-status.is-online::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e58c' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M2.8 8.3a14.3 14.3 0 0 1 18.4 0'/%3E%3Cpath d='M6.1 11.8a9.1 9.1 0 0 1 11.8 0'/%3E%3Cpath d='M9.3 15.2a4.3 4.3 0 0 1 5.4 0'/%3E%3Ccircle cx='12' cy='18.7' r='1.35' fill='%2338e58c' stroke='none'/%3E%3C/svg%3E") !important;
}
body.profile-page .public-profile-status.is-offline::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5d6c' stroke-width='2.15' stroke-linecap='round'%3E%3Cpath d='M3 8.6a14.2 14.2 0 0 1 13.1-2.5'/%3E%3Cpath d='M6.2 12a9 9 0 0 1 6.8-2.1'/%3E%3Cpath d='M9.5 15.3a4.1 4.1 0 0 1 4.8-.2'/%3E%3Ccircle cx='12' cy='18.7' r='1.25' fill='%23ff5d6c' stroke='none'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E") !important;
}




/* WarextMarket v0.563 - exact fixes for reported visual regressions. */
/* WAREXT_V0563_EXACT_UI_FIXES */

/* 1 + 6) Profile tab rail: force a real centered inner rail instead of nudging the old geometry. */
body.profile-page .public-profile-tabs {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 84px !important;
  min-height: 84px !important;
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
body.profile-page .public-profile-tabs__list {
  align-self: center !important;
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.profile-page .public-profile-tab {
  align-self: stretch !important;
  min-height: 60px !important;
  height: 60px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}

/* 2) Actual medal renderer uses hover-note, not the legacy tooltip class. */
body.profile-page .public-profile-award-panel .medal-chip {
  position: relative !important;
  overflow: visible !important;
}
body.profile-page .public-profile-award-panel .medal-chip__hover-note {
  position: absolute !important;
  z-index: 120 !important;
  top: calc(100% + 11px) !important;
  left: 0 !important;
  right: auto !important;
  display: block !important;
  width: max-content !important;
  min-width: 178px !important;
  max-width: 230px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid rgba(126, 137, 255, .28) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, rgba(24, 29, 55, .98), rgba(15, 19, 39, .99)) !important;
  box-shadow: 0 16px 36px rgba(3, 6, 18, .42), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
  color: #f4f6ff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-6px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}
body.profile-page .public-profile-award-panel .medal-chip__hover-note::before {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: -6px !important;
  width: 11px !important;
  height: 11px !important;
  background: #181d37 !important;
  border-left: 1px solid rgba(126, 137, 255, .28) !important;
  border-top: 1px solid rgba(126, 137, 255, .28) !important;
  transform: rotate(45deg) !important;
}
body.profile-page .public-profile-award-panel .medal-chip:hover .medal-chip__hover-note,
body.profile-page .public-profile-award-panel .medal-chip:focus-visible .medal-chip__hover-note {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
body.profile-page .public-profile-award-panel .medal-chip__hover-date {
  display: block !important;
  color: #f4f6ff !important;
  white-space: nowrap !important;
}
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+5) .medal-chip__hover-note,
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+6) .medal-chip__hover-note {
  left: auto !important;
  right: 0 !important;
}
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+5) .medal-chip__hover-note::before,
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+6) .medal-chip__hover-note::before {
  left: auto !important;
  right: 18px !important;
}

/* 3) News arrows: more breathing room and a WarextMarket navy/purple control surface. */
body.home-page .news-carousel {
  padding-left: 84px !important;
  padding-right: 84px !important;
}
body.home-page .news-carousel-arrow {
  width: 58px !important;
  height: 58px !important;
  margin-top: -29px !important;
  border-radius: 19px !important;
  border: 1px solid rgba(121, 137, 255, .34) !important;
  background: linear-gradient(145deg, rgba(38, 45, 78, .97), rgba(22, 27, 52, .98)) !important;
  box-shadow: 0 16px 34px rgba(2, 5, 17, .35), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 22px rgba(104, 111, 255, .14) !important;
  color: #f7f8ff !important;
  font-size: 32px !important;
  line-height: 1 !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}
body.home-page .news-carousel-arrow.prev { left: 7px !important; }
body.home-page .news-carousel-arrow.next { right: 7px !important; }
body.home-page .news-carousel-arrow:hover,
body.home-page .news-carousel-arrow:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(151, 119, 255, .62) !important;
  background: linear-gradient(145deg, rgba(77, 61, 142, .98), rgba(39, 48, 94, .99)) !important;
  box-shadow: 0 18px 38px rgba(2, 5, 17, .42), inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 26px rgba(132, 92, 255, .24) !important;
}

/* 4) Homepage category section: remove the 720/860px deferred intrinsic placeholder that creates the giant blank banner. */
body.home-page .platform-section {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding-top: 38px !important;
  padding-bottom: 34px !important;
  margin-top: 0 !important;
}
body.home-page .platform-section .section-block-title,
body.home-page .platform-section .section-block-title--center {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
}
body.home-page .platform-section .section-block-title::before,
body.home-page .platform-section .section-block-title::after,
body.home-page .platform-section .section-block-title--center::before,
body.home-page .platform-section .section-block-title--center::after {
  display: none !important;
  content: none !important;
}
body.home-page .platform-section .section-block-title h2,
body.home-page .platform-section .section-block-title--center h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(38px, 4.1vw, 58px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
}
body.home-page .platform-section .mini-chips-wrap,
body.home-page .platform-section .mini-chips-wrap--managed {
  margin-top: 0 !important;
  padding-top: 0 !important;
  align-content: start !important;
}

/* 5) Presence status remains visually consistent after the heartbeat/state fix. */
body.profile-page .public-profile-status.is-online {
  color: #8ff0bc !important;
}
body.profile-page .public-profile-status.is-offline {
  color: rgba(232, 235, 247, .78) !important;
}

@media (max-width: 1180px) {
  body.home-page .news-carousel {
    padding-left: 70px !important;
    padding-right: 70px !important;
  }
  body.home-page .news-carousel-arrow {
    width: 54px !important;
    height: 54px !important;
    margin-top: -27px !important;
  }
}

@media (max-width: 900px) {
  body.profile-page .public-profile-tabs {
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
  }
  body.profile-page .public-profile-tabs__list {
    height: auto !important;
    min-height: 0 !important;
  }
  body.profile-page .public-profile-tab {
    min-height: 58px !important;
    height: 58px !important;
  }
  body.home-page .platform-section {
    padding-top: 28px !important;
    padding-bottom: 26px !important;
  }
}

@media (max-width: 860px) {
  body.profile-page .profile-medal-grid .medal-chip:nth-child(5n+4) .medal-chip__hover-note,
  body.profile-page .profile-medal-grid .medal-chip:nth-child(5n+5) .medal-chip__hover-note {
    left: auto !important;
    right: 0 !important;
  }
}

@media (max-width: 640px) {
  body.profile-page .profile-medal-grid .medal-chip__hover-note {
    min-width: 158px !important;
    max-width: min(220px, 76vw) !important;
  }
  body.profile-page .profile-medal-grid .medal-chip:nth-child(4n+3) .medal-chip__hover-note,
  body.profile-page .profile-medal-grid .medal-chip:nth-child(4n+4) .medal-chip__hover-note {
    left: auto !important;
    right: 0 !important;
  }
  body.home-page .platform-section .section-block-title h2,
  body.home-page .platform-section .section-block-title--center h2 {
    font-size: clamp(32px, 10vw, 44px) !important;
  }
}



/* WarextMarket v0.564 - hide floating social panel on mobile. */
/* WAREXT_V0564_HIDE_MOBILE_SOCIAL_PANEL */
@media (max-width: 991px) {
  html body:not(.admin-body) .site-float-stack {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}



/* WarextMarket v0.565 - final alignment fixes for reported homepage/profile regressions. */
/* WAREXT_V0565_UI_ALIGNMENT_FINAL */

/* 1) Homepage categories/platform section: remove the residual empty decorative band. */
body.home-page .platform-section {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 30px !important;
}
body.home-page .platform-section::before,
body.home-page .platform-section::after,
body.home-page .platform-section .section-block-title::before,
body.home-page .platform-section .section-block-title::after,
body.home-page .platform-section .section-block-title--center::before,
body.home-page .platform-section .section-block-title--center::after {
  content: none !important;
  display: none !important;
}
body.home-page .platform-section .section-block-title,
body.home-page .platform-section .section-block-title--center {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 26px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 2) Profile tab rail: reduce the dark background and center the five buttons vertically. */
body.profile-page .public-profile-tabs {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 88px !important;
  min-height: 88px !important;
  margin: 12px 0 0 !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
body.profile-page .public-profile-tabs__list {
  display: grid !important;
  align-items: stretch !important;
  align-self: center !important;
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.profile-page .public-profile-tab {
  align-self: center !important;
  height: 60px !important;
  min-height: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) News arrows: remove the old double vertical offset and center them on the cards. */
body.home-page .news-carousel {
  position: relative !important;
}
body.home-page .news-carousel-arrow {
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%) !important;
}
body.home-page .news-carousel-arrow:hover,
body.home-page .news-carousel-arrow:focus-visible {
  transform: translateY(-50%) scale(1.04) !important;
}

/* 4) Medal hover card: allow it to escape every profile award wrapper instead of being clipped. */
body.profile-page .public-profile-awards,
body.profile-page .public-profile-awards-grid,
body.profile-page .public-profile-award-panel,
body.profile-page .profile-medal-grid {
  overflow: visible !important;
}
body.profile-page .public-profile-award-panel {
  position: relative !important;
  z-index: 20 !important;
}
body.profile-page .public-profile-tabs {
  z-index: 5 !important;
}
body.profile-page .public-profile-award-panel .medal-chip {
  position: relative !important;
  overflow: visible !important;
  z-index: 25 !important;
}
body.profile-page .public-profile-award-panel .medal-chip__hover-note {
  z-index: 999 !important;
  top: 50% !important;
  left: calc(100% + 14px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
body.profile-page .public-profile-award-panel .medal-chip__hover-note::before {
  left: -6px !important;
  right: auto !important;
  top: 50% !important;
  margin-top: -6px !important;
  transform: rotate(-45deg) !important;
}
body.profile-page .public-profile-award-panel .medal-chip:hover .medal-chip__hover-note,
body.profile-page .public-profile-award-panel .medal-chip:focus-visible .medal-chip__hover-note {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) !important;
}
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+5) .medal-chip__hover-note,
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+6) .medal-chip__hover-note {
  left: auto !important;
  right: calc(100% + 14px) !important;
}
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+5) .medal-chip__hover-note::before,
body.profile-page .profile-medal-grid .medal-chip:nth-child(6n+6) .medal-chip__hover-note::before {
  left: auto !important;
  right: -6px !important;
  transform: rotate(135deg) !important;
}

@media (max-width: 900px) {
  body.profile-page .public-profile-tabs {
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
  }
  body.profile-page .public-profile-tabs__list {
    height: auto !important;
    min-height: 0 !important;
  }
  body.profile-page .public-profile-tab {
    height: 58px !important;
    min-height: 58px !important;
  }
  body.home-page .platform-section {
    padding-top: 4px !important;
    padding-bottom: 24px !important;
  }
}

@media (max-width: 700px) {
  body.profile-page .public-profile-award-panel .medal-chip__hover-note {
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
  body.profile-page .public-profile-award-panel .medal-chip__hover-note::before {
    left: 18px !important;
    right: auto !important;
    top: -6px !important;
    margin-top: 0 !important;
    transform: rotate(45deg) !important;
  }
  body.profile-page .public-profile-award-panel .medal-chip:hover .medal-chip__hover-note,
  body.profile-page .public-profile-award-panel .medal-chip:focus-visible .medal-chip__hover-note {
    transform: none !important;
  }
}



/* WarextMarket v0.566 - homepage header/hero recovery. */
/* WAREXT_V0566_HOME_HERO_HEADER_RECOVERY */

/*
 * Root cause fixed:
 * v0.565 made the desktop hero descendants height:100% while simultaneously
 * removing their minimum height. The parent has an automatic height, so the
 * percentage-height chain can collapse before/while the slider runtime starts.
 * That leaves the quick-link row followed by an empty patterned band and only
 * fragments of the right-side hero artwork, exactly like the reported capture.
 *
 * Keep the parent fluid, but give the actual desktop hero viewport a concrete
 * intrinsic block size. The side stack uses that same size, so both columns
 * stay aligned without relying on an unresolved percentage-height chain.
 */
@media (min-width: 992px) {
  body.home-page .hero-section.container {
    min-height: 430px !important;
    height: auto !important;
    align-items: stretch !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.home-page .hero-section.container .hero-slider,
  body.home-page .hero-section.container .hero-slider-track {
    position: relative !important;
    display: block !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: none !important;
    align-self: stretch !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.home-page .hero-section.container .hero-slide,
  body.home-page .hero-section.container .hero-main.hero-slide {
    height: 430px !important;
    min-height: 430px !important;
    max-height: none !important;
  }

  body.home-page .hero-section.container .js-hero-slider:not(.is-runtime-ready) .hero-slide:first-child,
  body.home-page .hero-section.container .js-hero-slider.is-runtime-ready .hero-slide.is-active {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.home-page .hero-section.container .hero-side.hero-side--managed {
    height: 430px !important;
    min-height: 430px !important;
    max-height: none !important;
    align-self: stretch !important;
    display: grid !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.home-page .hero-section.container .hero-side--managed > .side-banner.side-banner--managed {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: stretch !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/*
 * Keep the sections around the hero in normal document flow. This also
 * neutralizes old deferred/intrinsic placeholders without changing their
 * visual design.
 */
body.home-page .quick-links-section,
body.home-page .platform-section {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: 0 0 !important;
}

body.home-page .quick-links-section {
  position: relative !important;
  z-index: 1 !important;
}

body.home-page .platform-section {
  position: relative !important;
  z-index: 1 !important;
  height: auto !important;
  min-height: 0 !important;
}



/* WarextMarket v0.567 - final profile/footer micro alignment and semantic footer icons. */
/* WAREXT_V0567_UI_MICRO_ALIGNMENT */

/* 1) Public profile tabs: center the complete label + counter cluster, not only the label column. */
@media (min-width: 901px) {
  body.profile-page .public-profile-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.profile-page .public-profile-tab__anchor,
  body.profile-page .public-profile-tab > span.public-profile-tab__anchor {
    position: static !important;
    display: inline-flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  body.profile-page .public-profile-tab__label {
    position: static !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: auto !important;
    align-self: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  body.profile-page .public-profile-tab__count {
    position: static !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: auto !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    transform: none !important;
    line-height: 1 !important;
  }
}

/* 2) Footer top cards: semantic SVG artwork replaces the I / M / G letter placeholders. */
.site-footer--managed .footer-info-card-neo .footer-icon--semantic {
  display: grid !important;
  place-items: center !important;
  font-size: 0 !important;
  color: #eef2ff !important;
}

.site-footer--managed .footer-info-card-neo .footer-icon--semantic svg {
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 7px 14px rgba(88, 102, 255, .18)) !important;
}

.site-footer--managed .footer-info-card-neo .footer-icon--semantic-ilan-pazari svg {
  color: #e9edff !important;
}
.site-footer--managed .footer-info-card-neo .footer-icon--semantic-magazalar svg {
  color: #edf0ff !important;
}
.site-footer--managed .footer-info-card-neo .footer-icon--semantic-guvenli-alisveris svg {
  color: #f0efff !important;
}

/* 3) Footer copyright/credit row: one optical center line and a true centered separator. */
.footer-bottom-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

.footer-bottom-inline .copyright,
.footer-bottom-inline__credit {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

.footer-bottom-inline__credit::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 2px !important;
  width: 2px !important;
  height: 24px !important;
  margin: 0 20px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: .72 !important;
  align-self: center !important;
  line-height: 0 !important;
}

.footer-bottom-inline__credit a {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: .28em !important;
  line-height: inherit !important;
}

@media (max-width: 640px) {
  .footer-bottom-inline {
    justify-content: center !important;
  }
  .footer-bottom-inline__credit::before {
    height: 20px !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
}



/* WarextMarket v0.568 - 404 social rail, mobile random listings and mobile news stack. */
/* WAREXT_V0568_MOBILE_UI */

/* ------------------------------------------------------------------
 * 1) 404: the managed social rail must remain visible on desktop.
 * Some legacy error-page rules can neutralize the global fixed rail.
 * Restore the same fixed geometry used across the rest of the site.
 * ------------------------------------------------------------------ */
@media (min-width: 992px) {
  html body.error-page:not(.admin-body) > .site-float-stack,
  html body.error-page:not(.admin-body) .site-float-stack {
    position: fixed !important;
    left: 22px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2147482000 !important;
    isolation: isolate !important;
    contain: none !important;
  }

  html body.error-page:not(.admin-body) .site-social-float,
  html body.error-page:not(.admin-body) .site-social-float__inner,
  html body.error-page:not(.admin-body) .site-social-float__action,
  html body.error-page:not(.admin-body) .site-social-float__icon {
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body.error-page:not(.admin-body) .site-social-float {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 2147482001 !important;
  }

  html body.error-page:not(.admin-body) .site-social-float__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  html body.error-page:not(.admin-body) .site-social-float__action {
    display: flex !important;
    pointer-events: auto !important;
  }
}

/* ------------------------------------------------------------------
 * 2) Random listings on phones: restore a readable single-card flow.
 * A later mobile override forced the desktop-oriented random cards into
 * two very narrow columns, causing seller/title/badge/price overlap.
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
  html body.home-page #homeRandomListingsGridShell,
  html body.home-page #homeRandomListingsGridShell .home-random-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 14px !important;
    align-items: stretch !important;
    margin: 0 !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card {
    position: relative !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller {
    position: relative !important;
    inset: auto !important;
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 11px !important;
    transform: none !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller-avatar {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller-meta {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller-meta strong,
  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller-meta span,
  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__seller-meta small {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__media {
    position: relative !important;
    inset: auto !important;
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__media > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__badge {
    max-width: calc(100% - 24px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__body {
    position: relative !important;
    inset: auto !important;
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__body h3 {
    position: static !important;
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 17px !important;
    line-height: 1.28 !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__body ul {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__body li {
    position: static !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .listing-browser-card__price--cta {
    position: static !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  html body.home-page #homeRandomListingsGridShell .home-random-card .animated-purchase-cta {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 999px !important;
  }
}

/* ------------------------------------------------------------------
 * 3) Mobile news: five-card testimonial-like stack. JS assigns the
 * is-news-* layer classes and rotates the shuffled deck continuously.
 * Desktop keeps the existing news carousel unchanged.
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
  html body.home-page .news-home-section {
    overflow: visible !important;
    gap: 20px !important;
  }

  html body.home-page .news-carousel.news-carousel--mobile-stack {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 34px 20px 24px !important;
    overflow: visible !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-carousel-arrow {
    display: none !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-carousel-viewport {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 414px !important;
    overflow: visible !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-carousel-track {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 414px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
    overflow: visible !important;
    will-change: auto !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    width: min(calc(100% - 42px), 420px) !important;
    min-width: 0 !important;
    max-width: 420px !important;
    height: 376px !important;
    min-height: 376px !important;
    max-height: 376px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    transform-origin: center center !important;
    transition: transform .72s cubic-bezier(.22,.61,.36,1), opacity .46s ease, box-shadow .46s ease !important;
    will-change: transform, opacity !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-front {
    z-index: 7 !important;
    opacity: 1 !important;
    transform: translate3d(-50%, 0, 0) scale(1) !important;
    pointer-events: auto !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-1 {
    z-index: 6 !important;
    opacity: .98 !important;
    transform: translate3d(calc(-50% + 9px), -9px, 0) scale(.987) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-2 {
    z-index: 5 !important;
    opacity: .95 !important;
    transform: translate3d(calc(-50% + 18px), -18px, 0) scale(.974) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-3 {
    z-index: 4 !important;
    opacity: .91 !important;
    transform: translate3d(calc(-50% + 27px), -27px, 0) scale(.961) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-4 {
    z-index: 3 !important;
    opacity: .86 !important;
    transform: translate3d(calc(-50% + 36px), -36px, 0) scale(.948) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-hidden {
    z-index: 1 !important;
    opacity: 0 !important;
    transform: translate3d(calc(-50% + 48px), -48px, 0) scale(.93) !important;
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card:not(.is-news-front) {
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card:not(.is-news-front) > .news-home-media,
  html body.home-page .news-carousel--mobile-stack .news-home-card:not(.is-news-front) > .news-home-body {
    opacity: 0 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-media {
    flex: 0 0 172px !important;
    width: 100% !important;
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 14px 16px 16px !important;
    gap: 8px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body h3 {
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body p {
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-author-line {
    justify-content: flex-start !important;
    gap: 7px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: 12.5px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-author-line > * {
    min-width: 0 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-footer {
    margin-top: auto !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-footer time {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  html body.home-page .news-carousel.news-carousel--mobile-stack {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card {
    width: calc(100% - 34px) !important;
  }
}



/* WarextMarket v0.569 - mobile news stack geometry correction. */
/* WAREXT_V0569_MOBILE_NEWS_STACK */

@media (max-width: 640px) {
  /* Break the stack out of legacy container widths so it is always centered
     against the actual phone viewport and can never be clipped on the right. */
  html body.home-page .news-home-section {
    overflow: visible !important;
  }

  html body.home-page .news-carousel.news-carousel--mobile-stack {
    position: relative !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    margin-left: calc(50% - 50vw + 12px) !important;
    margin-right: 0 !important;
    padding: 48px 0 24px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-carousel-viewport,
  html body.home-page .news-carousel--mobile-stack .news-carousel-track {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 366px !important;
    min-height: 366px !important;
    max-height: 366px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
    box-sizing: border-box !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: min(78vw, 340px) !important;
    max-width: calc(100vw - 64px) !important;
    min-width: 0 !important;
    height: 332px !important;
    min-height: 332px !important;
    max-height: 332px !important;
    margin: 0 !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transform-origin: center center !important;
    transition: transform .72s cubic-bezier(.22,.61,.36,1), opacity .46s ease, box-shadow .46s ease, border-color .46s ease !important;
    will-change: transform, opacity !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-front {
    z-index: 10 !important;
    opacity: 1 !important;
    transform: translate3d(-50%, 0, 0) scale(1) !important;
    pointer-events: auto !important;
    border-color: rgba(125, 139, 255, .30) !important;
    box-shadow: 0 22px 48px rgba(3, 7, 18, .30), 0 0 26px rgba(103, 93, 255, .10) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-1 {
    z-index: 9 !important;
    opacity: 1 !important;
    transform: translate3d(calc(-50% + 11px), -11px, 0) scale(.988) !important;
    border-color: rgba(119, 132, 255, .24) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-2 {
    z-index: 8 !important;
    opacity: 1 !important;
    transform: translate3d(calc(-50% + 22px), -22px, 0) scale(.976) !important;
    border-color: rgba(119, 132, 255, .20) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-3 {
    z-index: 7 !important;
    opacity: 1 !important;
    transform: translate3d(calc(-50% + 33px), -33px, 0) scale(.964) !important;
    border-color: rgba(119, 132, 255, .17) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-4 {
    z-index: 6 !important;
    opacity: 1 !important;
    transform: translate3d(calc(-50% + 44px), -44px, 0) scale(.952) !important;
    border-color: rgba(119, 132, 255, .14) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-hidden {
    z-index: 1 !important;
    opacity: 0 !important;
    transform: translate3d(calc(-50% + 54px), -54px, 0) scale(.94) !important;
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card:not(.is-news-front) {
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(36, 43, 76, .99), rgba(17, 21, 43, .995)) !important;
    box-shadow: 0 15px 34px rgba(3, 7, 18, .24) !important;
  }

  /* Only the leading card shows content; the remaining four cards are visible
     as true stacked shells, matching the mobile testimonial interaction. */
  html body.home-page .news-carousel--mobile-stack .news-home-card:not(.is-news-front) > * {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-media {
    display: block !important;
    flex: 0 0 144px !important;
    width: 100% !important;
    height: 144px !important;
    min-height: 144px !important;
    max-height: 144px !important;
    overflow: hidden !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 14px 16px 15px !important;
    gap: 7px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body h3 {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow-wrap: anywhere !important;
    font-size: 16.5px !important;
    line-height: 1.28 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-body p {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow-wrap: anywhere !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-author-line {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    overflow: hidden !important;
    font-size: 12px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: auto !important;
    gap: 8px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-footer time {
    font-size: 11.5px !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-btn {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  html body.home-page .news-carousel--mobile-stack .news-home-card {
    width: min(76vw, 292px) !important;
    max-width: calc(100vw - 58px) !important;
  }

  html body.home-page .news-carousel--mobile-stack .news-home-card.is-news-layer-4 {
    transform: translate3d(calc(-50% + 38px), -40px, 0) scale(.952) !important;
  }
}



/* WarextMarket v0.570 - canonical mobile/tablet news stack. */
/* WAREXT_V0570_CANONICAL_NEWS_STACK */

/*
 * The site's real mobile shell breakpoint is 991px. Previous news-stack
 * revisions only activated at 640px, so devices/tablet-width mobile layouts
 * between 641px and 991px kept the legacy carousel geometry. This canonical
 * layer uses the same breakpoint as the rest of the mobile application and
 * keeps every card inside the section container (no 100vw breakout math).
 */
@media (max-width: 991px) {
  html body.home-page .news-home-section {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  html body.home-page .news-carousel.news-carousel--mobile-stack-v570 {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 52px 8px 24px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-carousel-arrow {
    display: none !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-carousel-viewport {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 370px !important;
    min-height: 370px !important;
    max-height: 370px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-carousel-track {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    box-sizing: border-box !important;
  }

  /* One real interactive news card. The four following shells are decorative
     stack layers. This avoids legacy carousel widths and guarantees five
     visible layers even when the database currently contains only one news. */
  html body.home-page .news-carousel--mobile-stack-v570 .news-home-card {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    display: none !important;
    flex-direction: column !important;
    width: min(380px, calc(100% - 104px)) !important;
    min-width: 0 !important;
    max-width: calc(100% - 104px) !important;
    height: 334px !important;
    min-height: 334px !important;
    max-height: 334px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: translate3d(-50%, 0, 0) !important;
    transition: opacity .34s ease, transform .46s cubic-bezier(.22,.61,.36,1), border-color .34s ease, box-shadow .34s ease !important;
    will-change: opacity, transform !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-card.is-v570-front {
    z-index: 20 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(-50%, 0, 0) scale(1) !important;
    border-color: rgba(129, 143, 255, .30) !important;
    box-shadow: 0 24px 48px rgba(3, 7, 18, .32), 0 0 24px rgba(107, 96, 255, .10) !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-card.is-v570-hidden {
    z-index: 1 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    display: block !important;
    width: min(380px, calc(100% - 104px)) !important;
    min-width: 0 !important;
    max-width: calc(100% - 104px) !important;
    height: 334px !important;
    min-height: 334px !important;
    max-height: 334px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    background:
      radial-gradient(circle at 18% 12%, rgba(105, 109, 222, .16), transparent 28%),
      linear-gradient(180deg, rgba(27, 31, 60, .99), rgba(10, 15, 33, .995)) !important;
    border: 1px solid rgba(125, 139, 255, .16) !important;
    box-shadow: 0 16px 34px rgba(3, 7, 18, .24) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform-origin: center center !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 34%) !important;
    pointer-events: none !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--1 {
    z-index: 19 !important;
    transform: translate3d(calc(-50% + 10px), -10px, 0) scale(.988) !important;
    opacity: .98 !important;
  }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--2 {
    z-index: 18 !important;
    transform: translate3d(calc(-50% + 20px), -20px, 0) scale(.976) !important;
    opacity: .95 !important;
  }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--3 {
    z-index: 17 !important;
    transform: translate3d(calc(-50% + 30px), -30px, 0) scale(.964) !important;
    opacity: .91 !important;
  }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--4 {
    z-index: 16 !important;
    transform: translate3d(calc(-50% + 40px), -40px, 0) scale(.952) !important;
    opacity: .86 !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-media {
    position: relative !important;
    display: block !important;
    flex: 0 0 148px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    overflow: hidden !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-media img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 13px 15px 14px !important;
    gap: 7px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-body h3 {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    font-size: 16.5px !important;
    line-height: 1.28 !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-body p {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow-wrap: anywhere !important;
    font-size: 12.75px !important;
    line-height: 1.38 !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-author-line {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 6px !important;
    overflow: hidden !important;
    font-size: 11.75px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-author-badges {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: auto !important;
    gap: 8px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-footer time {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: 11.25px !important;
    white-space: nowrap !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-btn {
    flex: 0 0 auto !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 640px) {
  html body.home-page .news-carousel.news-carousel--mobile-stack-v570 {
    padding-top: 48px !important;
    padding-inline: 4px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-carousel-viewport {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-card,
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer {
    width: min(326px, calc(100% - 84px)) !important;
    max-width: calc(100% - 84px) !important;
    height: 326px !important;
    min-height: 326px !important;
    max-height: 326px !important;
    border-radius: 22px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-home-media {
    flex-basis: 142px !important;
    height: 142px !important;
    min-height: 142px !important;
    max-height: 142px !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--1 { transform: translate3d(calc(-50% + 9px), -9px, 0) scale(.988) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--2 { transform: translate3d(calc(-50% + 18px), -18px, 0) scale(.976) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--3 { transform: translate3d(calc(-50% + 27px), -27px, 0) scale(.964) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--4 { transform: translate3d(calc(-50% + 36px), -36px, 0) scale(.952) !important; }
}

@media (max-width: 420px) {
  html body.home-page .news-carousel--mobile-stack-v570 .news-home-card,
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer {
    width: min(286px, calc(100% - 68px)) !important;
    max-width: calc(100% - 68px) !important;
  }

  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--1 { transform: translate3d(calc(-50% + 7px), -8px, 0) scale(.988) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--2 { transform: translate3d(calc(-50% + 14px), -16px, 0) scale(.976) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--3 { transform: translate3d(calc(-50% + 21px), -24px, 0) scale(.964) !important; }
  html body.home-page .news-carousel--mobile-stack-v570 .news-stack-v570-layer--4 { transform: translate3d(calc(-50% + 28px), -32px, 0) scale(.952) !important; }
}

/* Decorative layers must never leak into desktop if the viewport is resized
   after the mobile runtime has already been initialized. */
@media (min-width: 992px) {
  html body.home-page .news-stack-v570-layer {
    display: none !important;
  }
}



/* WarextMarket v0.571 - canonical News layouts. */
/* WAREXT_V0571_CANONICAL_NEWS */

/*
 * v0.571 intentionally stops sharing layout classes between desktop and mobile.
 * The old news rules remain in the historical bundles, but these two isolated
 * components no longer match those selectors, so the legacy cascade cannot
 * resize or reposition the live cards.
 */

.wm-news-section {
  position: relative !important;
  min-width: 0 !important;
}

.wm-news-desktop-carousel,
.wm-news-mobile-stack,
.wm-news-desktop-carousel *,
.wm-news-mobile-stack * {
  box-sizing: border-box !important;
}

/* ------------------------------------------------------------------
 * DESKTOP: geometrically centered carousel.
 * ------------------------------------------------------------------ */
@media (min-width: 992px) {
  html body.home-page .wm-news-mobile-stack {
    display: none !important;
  }

  html body.home-page .wm-news-desktop-carousel {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.home-page .wm-news-desktop-carousel__viewport {
    position: relative !important;
    width: calc(100% - 180px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 180px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.home-page .wm-news-desktop-carousel__track {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
    transform: translate3d(0, 0, 0);
    transition: none;
    will-change: transform;
  }

  html body.home-page .wm-news-desktop-carousel.is-static .wm-news-desktop-carousel__track {
    justify-content: center !important;
  }

  html body.home-page .wm-news-desktop-card {
    position: relative !important;
    flex: 0 0 calc((100% - 72px) / 5) !important;
    width: calc((100% - 72px) / 5) !important;
    min-width: 0 !important;
    max-width: calc((100% - 72px) / 5) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(30, 35, 62, .99), rgba(11, 16, 35, .995)) !important;
    border: 1px solid rgba(126, 140, 255, .18) !important;
    box-shadow: 0 18px 42px rgba(3, 7, 18, .24) !important;
  }

  html body.home-page .wm-news-desktop-card__media {
    display: block !important;
    width: 100% !important;
    height: 278px !important;
    min-height: 278px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.04) !important;
  }

  html body.home-page .wm-news-desktop-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body.home-page .wm-news-desktop-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 20px 24px 20px !important;
    gap: 12px !important;
    background: linear-gradient(180deg, rgba(24, 29, 55, .96), rgba(10, 15, 33, .99)) !important;
  }

  html body.home-page .wm-news-desktop-card__body h3 {
    display: -webkit-box !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    font-size: 1.19rem !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
  }

  html body.home-page .wm-news-desktop-card__body h3 a {
    color: #f4f6ff !important;
  }

  html body.home-page .wm-news-desktop-card__body p {
    display: -webkit-box !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: rgba(223, 228, 244, .74) !important;
    font-size: .91rem !important;
    line-height: 1.48 !important;
    overflow-wrap: anywhere !important;
  }

  html body.home-page .wm-news-desktop-card__author {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    color: rgba(226, 232, 248, .80) !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
  }

  html body.home-page .wm-news-desktop-card__dot {
    flex: 0 0 5px !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.36) !important;
  }

  html body.home-page .wm-news-desktop-card__badges {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.home-page .wm-news-desktop-card__footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: auto !important;
    gap: 10px !important;
  }

  html body.home-page .wm-news-desktop-card__footer time {
    min-width: 0 !important;
    color: rgba(177, 187, 216, .88) !important;
    font-size: .82rem !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-news-desktop-card__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #6c59ff, #8b42ff) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #fff !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 26px rgba(79, 61, 230, .22) !important;
  }

  html body.home-page .wm-news-desktop-carousel__arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 20 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 18px !important;
    border: 1px solid rgba(126, 140, 255, .28) !important;
    background: rgba(20, 27, 57, .88) !important;
    color: #f5f7ff !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 12px 30px rgba(4, 8, 24, .24) !important;
    backdrop-filter: blur(10px) !important;
  }

  html body.home-page .wm-news-desktop-carousel__arrow--prev { left: 18px !important; }
  html body.home-page .wm-news-desktop-carousel__arrow--next { right: 18px !important; }

  html body.home-page .wm-news-desktop-carousel.is-static .wm-news-desktop-carousel__arrow {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  html body.home-page .wm-news-desktop-carousel__viewport {
    width: calc(100% - 150px) !important;
    max-width: calc(100% - 150px) !important;
  }

  html body.home-page .wm-news-desktop-card {
    flex-basis: calc((100% - 54px) / 4) !important;
    width: calc((100% - 54px) / 4) !important;
    max-width: calc((100% - 54px) / 4) !important;
  }

  html body.home-page .wm-news-desktop-card__media {
    height: 232px !important;
    min-height: 232px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  html body.home-page .wm-news-desktop-carousel__viewport {
    width: calc(100% - 130px) !important;
    max-width: calc(100% - 130px) !important;
  }

  html body.home-page .wm-news-desktop-card {
    flex-basis: calc((100% - 36px) / 3) !important;
    width: calc((100% - 36px) / 3) !important;
    max-width: calc((100% - 36px) / 3) !important;
  }

  html body.home-page .wm-news-desktop-card__media {
    height: 208px !important;
    min-height: 208px !important;
  }
}

/* ------------------------------------------------------------------
 * MOBILE/TABLET: testimonial-style five-card stack.
 * This component has no .news-carousel/.news-home-card/.js-news-carousel
 * classes, so historical news carousel CSS and JS cannot affect it.
 * ------------------------------------------------------------------ */
@media (max-width: 991px) {
  html body.home-page .wm-news-desktop-carousel {
    display: none !important;
  }

  html body.home-page .wm-news-mobile-stack {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.home-page .wm-news-mobile-stack__stage {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.home-page .wm-news-mobile-card {
    position: absolute !important;
    top: 46px !important;
    left: 50% !important;
    right: auto !important;
    display: none !important;
    flex-direction: column !important;
    width: min(390px, calc(100% - 96px)) !important;
    min-width: 0 !important;
    max-width: calc(100% - 96px) !important;
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(26, 31, 61, .995), rgba(8, 13, 31, .998)) !important;
    border: 1px solid rgba(126, 140, 255, .18) !important;
    box-shadow: 0 18px 42px rgba(3, 7, 18, .24) !important;
    transform-origin: center center !important;
    transition: transform .72s cubic-bezier(.22,.61,.36,1), opacity .42s ease, border-color .42s ease, box-shadow .42s ease !important;
    will-change: transform, opacity !important;
  }

  html body.home-page .wm-news-mobile-card.is-front,
  html body.home-page .wm-news-mobile-card.is-layer-1,
  html body.home-page .wm-news-mobile-card.is-layer-2,
  html body.home-page .wm-news-mobile-card.is-layer-3,
  html body.home-page .wm-news-mobile-card.is-layer-4 {
    display: flex !important;
    visibility: visible !important;
  }

  html body.home-page .wm-news-mobile-card.is-front {
    z-index: 20 !important;
    opacity: 1 !important;
    transform: translate3d(-50%, 0, 0) scale(1) !important;
    pointer-events: auto !important;
    border-color: rgba(136, 148, 255, .30) !important;
    box-shadow: 0 24px 52px rgba(3, 7, 18, .30), 0 0 26px rgba(104, 92, 255, .10) !important;
  }

  html body.home-page .wm-news-mobile-card.is-layer-1 {
    z-index: 19 !important;
    opacity: .98 !important;
    transform: translate3d(calc(-50% + 8px), -8px, 0) scale(.989) !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card.is-layer-2 {
    z-index: 18 !important;
    opacity: .95 !important;
    transform: translate3d(calc(-50% + 16px), -16px, 0) scale(.978) !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card.is-layer-3 {
    z-index: 17 !important;
    opacity: .92 !important;
    transform: translate3d(calc(-50% + 24px), -24px, 0) scale(.967) !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card.is-layer-4 {
    z-index: 16 !important;
    opacity: .88 !important;
    transform: translate3d(calc(-50% + 32px), -32px, 0) scale(.956) !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card.is-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card:not(.is-front) > * {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-news-mobile-card:not(.is-front) {
    background:
      radial-gradient(circle at 18% 12%, rgba(112, 104, 232, .15), transparent 30%),
      linear-gradient(180deg, rgba(29, 34, 68, .995), rgba(9, 14, 33, .998)) !important;
  }

  html body.home-page .wm-news-mobile-card__media {
    display: block !important;
    flex: 0 0 146px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 146px !important;
    min-height: 146px !important;
    max-height: 146px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.04) !important;
  }

  html body.home-page .wm-news-mobile-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body.home-page .wm-news-mobile-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 14px 16px 14px !important;
    gap: 7px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(22, 27, 54, .97), rgba(8, 13, 31, .995)) !important;
  }

  html body.home-page .wm-news-mobile-card__body h3 {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    font-size: 16.5px !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere !important;
  }

  html body.home-page .wm-news-mobile-card__body h3 a {
    color: #f4f6ff !important;
  }

  html body.home-page .wm-news-mobile-card__body p {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: rgba(221, 227, 244, .74) !important;
    font-size: 12.75px !important;
    line-height: 1.38 !important;
    overflow-wrap: anywhere !important;
  }

  html body.home-page .wm-news-mobile-card__author {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 6px !important;
    overflow: hidden !important;
    color: rgba(225, 231, 247, .80) !important;
    font-size: 11.75px !important;
    font-weight: 700 !important;
  }

  html body.home-page .wm-news-mobile-card__author-name,
  html body.home-page .wm-news-mobile-card__role {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-news-mobile-card__dot {
    flex: 0 0 4px !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.35) !important;
  }

  html body.home-page .wm-news-mobile-card__badges {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 58% !important;
    overflow: hidden !important;
  }

  html body.home-page .wm-news-mobile-card__badges .role-badge-pill {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-news-mobile-card__footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: auto !important;
    gap: 8px !important;
  }

  html body.home-page .wm-news-mobile-card__footer time {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    color: rgba(178, 187, 216, .88) !important;
    font-size: 11.25px !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-news-mobile-card__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #6c59ff, #8b42ff) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 640px) {
  html body.home-page .wm-news-mobile-stack__stage {
    height: 388px !important;
    min-height: 388px !important;
  }

  html body.home-page .wm-news-mobile-card {
    top: 44px !important;
    width: min(340px, calc(100% - 72px)) !important;
    max-width: calc(100% - 72px) !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    border-radius: 23px !important;
  }

  html body.home-page .wm-news-mobile-card__media {
    flex-basis: 142px !important;
    height: 142px !important;
    min-height: 142px !important;
    max-height: 142px !important;
  }
}

@media (max-width: 420px) {
  html body.home-page .wm-news-mobile-stack__stage {
    height: 376px !important;
    min-height: 376px !important;
  }

  html body.home-page .wm-news-mobile-card {
    top: 40px !important;
    width: min(292px, calc(100% - 52px)) !important;
    max-width: calc(100% - 52px) !important;
    height: 322px !important;
    min-height: 322px !important;
    max-height: 322px !important;
  }

  html body.home-page .wm-news-mobile-card.is-layer-1 { transform: translate3d(calc(-50% + 6px), -7px, 0) scale(.989) !important; }
  html body.home-page .wm-news-mobile-card.is-layer-2 { transform: translate3d(calc(-50% + 12px), -14px, 0) scale(.978) !important; }
  html body.home-page .wm-news-mobile-card.is-layer-3 { transform: translate3d(calc(-50% + 18px), -21px, 0) scale(.967) !important; }
  html body.home-page .wm-news-mobile-card.is-layer-4 { transform: translate3d(calc(-50% + 24px), -28px, 0) scale(.956) !important; }

  html body.home-page .wm-news-mobile-card__media {
    flex-basis: 136px !important;
    height: 136px !important;
    min-height: 136px !important;
    max-height: 136px !important;
  }

  html body.home-page .wm-news-mobile-card__body {
    padding: 12px 13px 13px !important;
    gap: 6px !important;
  }

  html body.home-page .wm-news-mobile-card__body h3 {
    font-size: 15.5px !important;
  }

  html body.home-page .wm-news-mobile-card__body p {
    font-size: 12px !important;
  }
}



/* WarextMarket v0.572 - restore legacy desktop News appearance; alignment only. */
/* WAREXT_V0572_NEWS_DESKTOP_RESTORE */

@media (min-width: 992px) {
  /* v0.572 intentionally uses the original desktop classes/markup again.
     Do not restyle cards here; the existing production News CSS remains the
     single source of truth for the visual design. */
  html body.home-page .wm-news-desktop-legacy {
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.home-page .wm-news-desktop-legacy .news-carousel-viewport {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.home-page .wm-news-desktop-legacy .news-carousel-track {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* The old static rule was overridden later in the historical bundle with
     justify-content:flex-start. Re-center only the group; card size, colors,
     image height, typography and button design remain untouched. */
  html body.home-page .wm-news-desktop-legacy.news-carousel--static .news-carousel-track {
    justify-content: center !important;
  }

  html body.home-page .wm-news-mobile-stack {
    display: none !important;
  }
}

@media (max-width: 991px) {
  html body.home-page .wm-news-desktop-legacy {
    display: none !important;
  }

  html body.home-page .wm-news-mobile-stack {
    display: block !important;
  }
}



/* WarextMarket v0.573 - screen-centered desktop News carousel. */
/* WAREXT_V0573_NEWS_DESKTOP_SCREEN_CENTER */

/*
 * v0.572 restored the original News design correctly, but the legacy carousel
 * shell still sits a few pixels to the right of the physical viewport center.
 * Do not touch card dimensions or visual styling; move the complete carousel
 * shell (cards + arrows) left as one unit so its visual center matches the
 * browser viewport center.
 */
@media (min-width: 1500px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -18px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -12px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -8px !important;
  }
}



/* WarextMarket v0.574 - exact desktop News centering + isolated mobile random listings. */
/* WAREXT_V0574_LAYOUT_ISOLATION */

/* ------------------------------------------------------------------
 * DESKTOP NEWS
 * The v0.573 screenshot was measured against the physical viewport:
 * carousel center ~= 1084px, viewport center ~= 1024px on a 2047px capture.
 * v0.573 already applied -18px, so the canonical wide-desktop correction is
 * -78px total. Visual card design remains untouched.
 * ------------------------------------------------------------------ */
@media (min-width: 1500px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -78px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -44px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  html body.home-page .wm-news-desktop-legacy {
    left: -24px !important;
  }
}

/* ------------------------------------------------------------------
 * RANDOM LISTINGS
 * Desktop keeps the historical production card DOM/classes untouched.
 * Mobile uses a fully namespaced component so legacy .home-random-card,
 * .listing-browser-card and shared weekly/featured overrides cannot resize,
 * reposition or overlap the mobile card.
 * ------------------------------------------------------------------ */
html body.home-page .wm-random-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  html body.home-page .wm-random-desktop {
    display: none !important;
  }

  html body.home-page .wm-random-mobile {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home-page .wm-random-mobile-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    justify-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
  }

  html body.home-page .wm-random-mobile-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: min(430px, 100%) !important;
    min-width: 0 !important;
    max-width: 430px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    border: 1px solid rgba(151, 144, 196, .22) !important;
    background:
      radial-gradient(circle at 22% 12%, rgba(255,255,255,.05), transparent 24%),
      linear-gradient(180deg, rgba(39,37,48,.97) 0%, rgba(28,27,38,.98) 30%, rgba(13,15,24,.995) 100%) !important;
    box-shadow: 0 22px 52px rgba(2,4,14,.34), inset 0 1px 0 rgba(255,255,255,.035) !important;
    color: #f4f6ff !important;
    text-decoration: none !important;
    isolation: isolate !important;
    transform: none !important;
  }

  html body.home-page .wm-random-mobile-card:focus-visible {
    outline: 2px solid rgba(156,167,255,.9) !important;
    outline-offset: 3px !important;
  }

  html body.home-page .wm-random-mobile-card__ribbon {
    position: absolute !important;
    top: -16px !important;
    left: -18px !important;
    z-index: 8 !important;
    display: block !important;
    width: 132px !important;
    height: 132px !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-random-mobile-card__ribbon > span {
    position: absolute !important;
    top: 39px !important;
    left: -43px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    height: 36px !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
    border: 0 !important;
    background: linear-gradient(90deg, #ff784d 0%, #ffa642 55%, #ff854d 100%) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.18) !important;
    color: #fff !important;
    font-size: .68rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-random-mobile-card__seller {
    position: relative !important;
    z-index: 4 !important;
    display: grid !important;
    grid-template-columns: 56px minmax(0,1fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 58px 18px 14px !important;
    gap: 12px !important;
  }

  html body.home-page .wm-random-mobile-card__avatar,
  html body.home-page .wm-random-mobile-card__avatar > img {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 50% !important;
  }

  html body.home-page .wm-random-mobile-card__avatar {
    position: relative !important;
    overflow: visible !important;
    transform: none !important;
    background: linear-gradient(135deg, rgba(105,114,255,.90), rgba(255,138,118,.80)) !important;
    box-shadow: 0 10px 20px rgba(8,10,24,.22) !important;
  }

  html body.home-page .wm-random-mobile-card__avatar > img {
    object-fit: cover !important;
  }

  html body.home-page .wm-random-mobile-card__avatar .cosmetic-avatar-frame,
  html body.home-page .wm-random-mobile-card__avatar .cosmetic-avatar-frame > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta {
    display: grid !important;
    align-content: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 3px !important;
    transform: none !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta strong,
  html body.home-page .wm-random-mobile-card__seller-meta span,
  html body.home-page .wm-random-mobile-card__seller-meta small {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta strong {
    color: #f8f9ff !important;
    font-size: 1rem !important;
    line-height: 1.14 !important;
    font-weight: 900 !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta span,
  html body.home-page .wm-random-mobile-card__seller-meta small {
    color: rgba(221,226,242,.82) !important;
    font-size: .78rem !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
  }

  html body.home-page .wm-random-mobile-card__media {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: calc(100% - 28px) !important;
    min-width: 0 !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    margin: 0 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: rgba(23,31,51,.96) !important;
  }

  html body.home-page .wm-random-mobile-card__media > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: inherit !important;
  }

  html body.home-page .wm-random-mobile-card__badge {
    position: absolute !important;
    left: 50% !important;
    bottom: 12px !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 78% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 6px 17px !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(112,75,245,.96), rgba(186,89,247,.94)) !important;
    box-shadow: 0 12px 24px rgba(6,7,18,.34), inset 0 1px 0 rgba(255,255,255,.12) !important;
    color: #fff !important;
    font-size: .84rem !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  html body.home-page .wm-random-mobile-card__body {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 15px 18px 18px !important;
    gap: 0 !important;
    background: transparent !important;
  }

  html body.home-page .wm-random-mobile-card__body h3 {
    display: -webkit-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #f7f8ff !important;
    font-size: 1.03rem !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  html body.home-page .wm-random-mobile-card__meta {
    list-style: none !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    color: rgba(219,225,244,.86) !important;
    font-size: .86rem !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
  }

  html body.home-page .wm-random-mobile-card__meta li {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-random-mobile-card__price-wrap {
    display: grid !important;
    justify-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 18px 0 0 !important;
    gap: 5px !important;
  }

  html body.home-page .wm-random-mobile-card__price-wrap del {
    color: rgba(197,202,220,.62) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
  }

  html body.home-page .wm-random-mobile-card__price {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(230px, 100%) !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    border: 2px solid rgba(156,167,255,.96) !important;
    border-radius: 999px !important;
    background: rgba(11,14,24,.96) !important;
    box-shadow: 0 0 0 1px rgba(156,167,255,.08), inset 0 1px 0 rgba(255,255,255,.03) !important;
    color: #f8f9ff !important;
    font-size: 1.12rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  html body.home-page .wm-random-mobile-empty {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.035) !important;
    text-align: center !important;
  }
}

@media (max-width: 420px) {
  html body.home-page .wm-random-mobile-card {
    max-width: 100% !important;
    border-radius: 20px !important;
  }

  html body.home-page .wm-random-mobile-card__seller {
    grid-template-columns: 52px minmax(0,1fr) !important;
    padding: 56px 14px 12px !important;
    gap: 10px !important;
  }

  html body.home-page .wm-random-mobile-card__avatar,
  html body.home-page .wm-random-mobile-card__avatar > img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
  }

  html body.home-page .wm-random-mobile-card__media {
    width: calc(100% - 24px) !important;
    height: 194px !important;
    min-height: 194px !important;
    max-height: 194px !important;
    margin: 0 12px !important;
  }

  html body.home-page .wm-random-mobile-card__body {
    padding: 14px 14px 16px !important;
  }
}

@media (min-width: 768px) {
  html body.home-page .wm-random-desktop {
    display: block !important;
  }

  html body.home-page .wm-random-mobile {
    display: none !important;
  }
}



/* WarextMarket v0.575 - mobile Random Listings 2 x 5 grid. */
/* WAREXT_V0575_RANDOM_MOBILE_TWO_COLUMN */

/*
 * v0.574 correctly isolated the mobile Random Listings DOM from the legacy
 * desktop/shared listing card CSS, but intentionally rendered the isolated
 * mobile component as one column. Product requirement is 10 cards as 2
 * columns x 5 rows on phones. Keep the isolation and only change the mobile
 * component geometry/typography so two cards fit without overlap.
 */
@media (max-width: 767px) {
  html body.home-page .wm-random-mobile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home-page .wm-random-mobile-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 18px !important;
  }

  html body.home-page .wm-random-mobile-card__ribbon {
    top: -18px !important;
    left: -20px !important;
    width: 104px !important;
    height: 104px !important;
  }

  html body.home-page .wm-random-mobile-card__ribbon > span {
    top: 31px !important;
    left: -39px !important;
    width: 154px !important;
    height: 30px !important;
    font-size: .56rem !important;
    letter-spacing: .075em !important;
  }

  html body.home-page .wm-random-mobile-card__seller {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 42px 10px 10px !important;
    gap: 8px !important;
  }

  html body.home-page .wm-random-mobile-card__avatar,
  html body.home-page .wm-random-mobile-card__avatar > img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta {
    gap: 2px !important;
    min-width: 0 !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta strong {
    font-size: .80rem !important;
    line-height: 1.08 !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta span,
  html body.home-page .wm-random-mobile-card__seller-meta small {
    font-size: .66rem !important;
    line-height: 1.16 !important;
  }

  html body.home-page .wm-random-mobile-card__media {
    width: calc(100% - 16px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 8px !important;
    border-radius: 13px !important;
  }

  html body.home-page .wm-random-mobile-card__media > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  html body.home-page .wm-random-mobile-card__badge {
    bottom: 8px !important;
    max-width: 86% !important;
    min-height: 26px !important;
    padding: 4px 8px !important;
    font-size: .67rem !important;
    line-height: 1.05 !important;
  }

  html body.home-page .wm-random-mobile-card__body {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 10px 12px !important;
  }

  html body.home-page .wm-random-mobile-card__body h3 {
    min-height: 2.25em !important;
    margin: 0 0 8px !important;
    font-size: .82rem !important;
    line-height: 1.14 !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.home-page .wm-random-mobile-card__meta {
    gap: 5px !important;
    font-size: .70rem !important;
    line-height: 1.16 !important;
  }

  html body.home-page .wm-random-mobile-card__price-wrap {
    margin-top: auto !important;
    padding-top: 12px !important;
    gap: 4px !important;
  }

  html body.home-page .wm-random-mobile-card__price-wrap del {
    font-size: .66rem !important;
  }

  html body.home-page .wm-random-mobile-card__price {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    border-width: 2px !important;
    font-size: .91rem !important;
  }
}

/* Very narrow phones still keep the requested 2 x 5 layout; only spacing and
 * typography become denser. */
@media (max-width: 380px) {
  html body.home-page .wm-random-mobile-grid {
    gap: 8px !important;
  }

  html body.home-page .wm-random-mobile-card {
    border-radius: 16px !important;
  }

  html body.home-page .wm-random-mobile-card__seller {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    padding: 38px 8px 8px !important;
    gap: 6px !important;
  }

  html body.home-page .wm-random-mobile-card__avatar,
  html body.home-page .wm-random-mobile-card__avatar > img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta strong {
    font-size: .73rem !important;
  }

  html body.home-page .wm-random-mobile-card__seller-meta span,
  html body.home-page .wm-random-mobile-card__seller-meta small {
    font-size: .60rem !important;
  }

  html body.home-page .wm-random-mobile-card__media {
    width: calc(100% - 12px) !important;
    margin: 0 6px !important;
    border-radius: 11px !important;
  }

  html body.home-page .wm-random-mobile-card__badge {
    bottom: 6px !important;
    min-height: 24px !important;
    padding: 3px 6px !important;
    font-size: .60rem !important;
  }

  html body.home-page .wm-random-mobile-card__body {
    padding: 8px 8px 10px !important;
  }

  html body.home-page .wm-random-mobile-card__body h3 {
    margin-bottom: 7px !important;
    font-size: .76rem !important;
  }

  html body.home-page .wm-random-mobile-card__meta {
    gap: 4px !important;
    font-size: .64rem !important;
  }

  html body.home-page .wm-random-mobile-card__price {
    min-height: 40px !important;
    font-size: .82rem !important;
  }
}



/* WarextMarket v0.577 - editorial news detail redesign. */
/* WAREXT_V0577_NEWS_DETAIL */

.wm-news-detail-page {
  position: relative;
  isolation: isolate;
  padding: 36px 0 82px;
}

.wm-news-detail-wrap {
  width: min(100%, 1240px) !important;
  margin-inline: auto !important;
  padding-inline: 24px !important;
}

.wm-news-detail {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(111, 126, 200, .26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 4%, rgba(96, 91, 255, .10), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(48, 188, 255, .07), transparent 28%),
    linear-gradient(180deg, rgba(20, 24, 48, .94), rgba(11, 14, 29, .97));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.wm-news-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.035), transparent 24%, transparent 76%, rgba(121,88,255,.025));
}

.wm-news-detail__header {
  position: relative;
  z-index: 1;
  width: min(100%, 930px);
  margin-inline: auto;
  padding: 54px 44px 34px;
  text-align: left;
}

.wm-news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: rgba(206, 212, 236, .65);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.wm-news-breadcrumb a {
  color: rgba(224, 229, 249, .82);
  text-decoration: none;
  transition: color .18s ease;
}

.wm-news-breadcrumb a:hover {
  color: #fff;
}

.wm-news-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(121, 101, 255, .32);
  border-radius: 999px;
  background: rgba(98, 78, 255, .10);
  color: #b9b0ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
}

.wm-news-detail__title {
  max-width: 900px;
  margin: 20px 0 0;
  color: #f7f8ff;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.wm-news-detail__lead {
  max-width: 800px;
  margin: 22px 0 0;
  color: rgba(219, 224, 242, .78);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
}

.wm-news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: rgba(218, 224, 244, .72);
  font-size: 13px;
  font-weight: 700;
}

.wm-news-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.wm-news-meta__item--author {
  gap: 8px;
}

.wm-news-meta__icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #969cff;
  flex: 0 0 auto;
}

.wm-news-meta__icon svg {
  width: 18px;
  height: 18px;
}

.wm-news-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(199, 205, 230, .42);
  flex: 0 0 auto;
}

.wm-news-author-name {
  color: #eef0fb;
  font-weight: 800;
}

.wm-news-author-badges {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.wm-news-author-badges > * {
  max-width: 100%;
}

.wm-news-author-role {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(103, 88, 255, .13);
  color: #c8c1ff;
  font-size: 11px;
  font-weight: 800;
}

.wm-news-cover {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 88px), 1040px);
  margin: 6px auto 0;
  overflow: hidden;
  border: 1px solid rgba(112, 126, 196, .30);
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #0d1020;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.wm-news-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.wm-news-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wm-news-body {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 88px), 820px);
  margin: 48px auto 0;
  padding-bottom: 52px;
  color: rgba(235, 238, 249, .86);
  font-size: 17px;
  line-height: 1.82;
}

.wm-news-body > :first-child {
  margin-top: 0 !important;
}

.wm-news-body > :last-child {
  margin-bottom: 0 !important;
}

.wm-news-body p {
  margin: 0 0 1.35em;
  color: rgba(235, 238, 249, .84);
  font-size: inherit;
  line-height: inherit;
}

.wm-news-body h1,
.wm-news-body h2,
.wm-news-body h3,
.wm-news-body h4 {
  margin: 1.8em 0 .72em;
  color: #f7f8ff;
  line-height: 1.22;
  letter-spacing: -.018em;
}

.wm-news-body h2 { font-size: clamp(27px, 2.4vw, 36px); }
.wm-news-body h3 { font-size: clamp(22px, 2vw, 29px); }
.wm-news-body h4 { font-size: 20px; }

.wm-news-body a {
  color: #9aa6ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wm-news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.wm-news-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid #7666ff;
  border-radius: 0 14px 14px 0;
  background: rgba(107, 89, 255, .07);
  color: rgba(237, 239, 250, .88);
}

.wm-news-body ul,
.wm-news-body ol {
  margin: 20px 0 28px;
  padding-left: 24px;
}

.wm-news-body li + li {
  margin-top: 8px;
}

.wm-news-body pre,
.wm-news-body code {
  max-width: 100%;
}

.wm-news-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 88px), 1040px);
  margin: 0 auto 44px;
  padding: 22px 24px;
  border: 1px solid rgba(108, 120, 189, .20);
  border-radius: 18px;
  background: rgba(7, 10, 22, .38);
}

.wm-news-footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.wm-news-footer__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(126, 116, 255, .34);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(95, 79, 255, .26), rgba(52, 62, 126, .16));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.wm-news-footer__brand > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wm-news-footer__brand strong {
  color: #f4f5fd;
  font-size: 14px;
  font-weight: 850;
}

.wm-news-footer__brand span:not(.wm-news-footer__mark) {
  margin-top: 3px;
  color: rgba(200, 206, 230, .58);
  font-size: 12px;
  line-height: 1.45;
}

.wm-news-footer__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.wm-news-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(123, 134, 199, .28);
  border-radius: 12px;
  background: rgba(22, 27, 53, .72);
  color: #eef0fb;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.wm-news-action svg {
  width: 17px;
  height: 17px;
}

.wm-news-action:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 132, 255, .50);
  background: rgba(31, 36, 69, .88);
}

.wm-news-action--primary {
  border-color: rgba(119, 93, 255, .56);
  background: linear-gradient(135deg, #6250f5, #8951ff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(98, 80, 245, .18);
}

.wm-news-empty {
  display: flex;
  width: min(100%, 760px);
  min-height: 420px;
  margin: 44px auto 80px;
  padding: 56px 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(112, 126, 196, .24);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20,24,48,.90), rgba(11,14,29,.96));
  text-align: center;
}

.wm-news-empty__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(122, 111, 255, .30);
  border-radius: 18px;
  background: rgba(96, 80, 255, .10);
  color: #b3adff;
}

.wm-news-empty__icon svg {
  width: 30px;
  height: 30px;
}

.wm-news-empty h1 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 34px;
}

.wm-news-empty p {
  margin: 0 0 24px;
  color: rgba(213, 219, 239, .70);
}

@media (max-width: 991px) {
  .wm-news-detail-page {
    padding-top: 24px;
  }

  .wm-news-detail-wrap {
    padding-inline: 18px !important;
  }

  .wm-news-detail {
    border-radius: 23px;
  }

  .wm-news-detail__header {
    width: 100%;
    padding: 38px 30px 28px;
  }

  .wm-news-detail__title {
    font-size: clamp(34px, 6vw, 50px);
  }

  .wm-news-cover,
  .wm-news-footer {
    width: calc(100% - 60px);
  }

  .wm-news-body {
    width: min(calc(100% - 60px), 800px);
  }
}

@media (max-width: 640px) {
  .wm-news-detail-page {
    padding: 14px 0 54px;
  }

  .wm-news-detail-wrap {
    padding-inline: 10px !important;
  }

  .wm-news-detail {
    border-radius: 19px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  }

  .wm-news-detail__header {
    padding: 26px 18px 22px;
  }

  .wm-news-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .wm-news-eyebrow {
    min-height: 29px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .wm-news-detail__title {
    margin-top: 16px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .wm-news-detail__lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  .wm-news-meta {
    gap: 9px 10px;
    margin-top: 21px;
    font-size: 11.5px;
  }

  .wm-news-meta__dot {
    display: none;
  }

  .wm-news-meta__item {
    min-height: 26px;
    padding-right: 4px;
  }

  .wm-news-author-badges {
    max-width: 138px;
  }

  .wm-news-cover {
    width: calc(100% - 22px);
    margin-top: 2px;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
  }

  .wm-news-body {
    width: calc(100% - 36px);
    margin-top: 30px;
    padding-bottom: 36px;
    font-size: 15.5px;
    line-height: 1.76;
  }

  .wm-news-body h2 { font-size: 26px; }
  .wm-news-body h3 { font-size: 22px; }

  .wm-news-footer {
    width: calc(100% - 22px);
    margin-bottom: 12px;
    padding: 17px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 15px;
  }

  .wm-news-footer__actions {
    width: 100%;
  }

  .wm-news-action {
    flex: 1 1 0;
    min-width: 0;
  }

  .wm-news-empty {
    min-height: 360px;
    margin: 18px auto 48px;
    padding: 38px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 390px) {
  .wm-news-detail__header {
    padding-inline: 15px;
  }

  .wm-news-detail__title {
    font-size: 29px;
  }

  .wm-news-meta__item--author {
    width: 100%;
  }

  .wm-news-cover {
    width: calc(100% - 16px);
  }

  .wm-news-body {
    width: calc(100% - 30px);
  }

  .wm-news-footer {
    width: calc(100% - 16px);
  }
}



/* WarextMarket v0.578 - news detail title horizontal tuning. */
/* WAREXT_V0578_NEWS_TITLE_HORIZONTAL */

@media (min-width: 992px) {
  .wm-news-detail__header {
    width: min(100%, 1120px) !important;
  }

  .wm-news-detail__title {
    max-width: 1080px !important;
    font-size: clamp(38px, 3.1vw, 54px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.038em !important;
    text-wrap: wrap !important;
  }

  .wm-news-detail__lead {
    max-width: 900px !important;
  }
}



/* WarextMarket v0.579 - compact, typed notification cards. */
/* WAREXT_V0579_NOTIFICATION_UI */

/* Header dropdown */
.notification-dropdown {
  width: min(448px, calc(100vw - 24px)) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(103, 117, 190, .28) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(92, 81, 255, .08), transparent 34%),
    linear-gradient(180deg, rgba(14, 18, 39, .985), rgba(9, 12, 28, .99)) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42) !important;
}

.notification-dropdown__header {
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(104, 117, 184, .16) !important;
  color: #f5f6ff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
}

.notification-dropdown__list {
  display: grid !important;
  gap: 7px !important;
  max-height: 392px !important;
  padding: 10px 10px 8px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(116, 128, 184, .46) transparent;
}

.notification-dropdown__list::-webkit-scrollbar {
  width: 5px;
}

.notification-dropdown__list::-webkit-scrollbar-track {
  background: transparent;
}

.notification-dropdown__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(116, 128, 184, .46);
}

.notification-dropdown .notification-item {
  --notification-accent: 118, 104, 255;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 11px !important;
  min-height: 0 !important;
  padding: 12px 13px !important;
  overflow: hidden !important;
  border: 1px solid rgba(91, 105, 166, .15) !important;
  border-radius: 16px !important;
  background: rgba(18, 23, 48, .58) !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

.notification-dropdown .notification-item::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(var(--notification-accent), .88);
  opacity: 0;
  transform: scaleY(.55);
  transition: opacity .16s ease, transform .16s ease;
}

.notification-dropdown .notification-item.is-unread {
  border-color: rgba(var(--notification-accent), .30) !important;
  background:
    linear-gradient(90deg, rgba(var(--notification-accent), .075), transparent 44%),
    rgba(19, 25, 52, .76) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--notification-accent), .035) !important;
}

.notification-dropdown .notification-item.is-unread::before {
  opacity: 1;
  transform: scaleY(1);
}

.notification-dropdown .notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--notification-accent));
  box-shadow: 0 0 0 4px rgba(var(--notification-accent), .10);
}

.notification-dropdown .notification-item.is-read {
  opacity: .82;
}

.notification-dropdown .notification-item:hover,
.notification-dropdown .notification-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--notification-accent), .42) !important;
  background:
    linear-gradient(90deg, rgba(var(--notification-accent), .09), transparent 54%),
    rgba(24, 30, 59, .86) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16) !important;
  outline: none;
}

.notification-item__type-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  align-self: start;
  border: 1px solid rgba(var(--notification-accent), .30);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(var(--notification-accent), .18), rgba(var(--notification-accent), .07));
  color: rgb(var(--notification-accent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.notification-item__type-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-dropdown .notification-item__body {
  min-width: 0 !important;
  padding: 1px 14px 0 0 !important;
}

.notification-dropdown .notification-item__body strong {
  display: block !important;
  margin: 0 !important;
  overflow: hidden;
  color: #f1f3ff !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
  text-overflow: ellipsis;
}

.notification-dropdown .notification-item__body p {
  display: -webkit-box !important;
  margin: 4px 0 0 !important;
  overflow: hidden !important;
  color: rgba(211, 217, 239, .74) !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  line-height: 1.38 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notification-dropdown .notification-item__body small {
  display: inline-flex !important;
  align-items: center;
  margin-top: 6px !important;
  color: rgba(183, 191, 220, .56) !important;
  font-size: 10.8px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
}

.notification-dropdown .notification-item__body small.notification-item__sender {
  margin: 4px 7px 0 0 !important;
  color: rgba(203, 210, 235, .66) !important;
}

.notification-item--grouped .notification-item__body p {
  -webkit-line-clamp: 3;
}

.notification-item[data-notification-kind="medal"] { --notification-accent: 242, 180, 68; }
.notification-item[data-notification-kind="order"] { --notification-accent: 70, 208, 142; }
.notification-item[data-notification-kind="support"] { --notification-accent: 67, 184, 235; }
.notification-item[data-notification-kind="review"] { --notification-accent: 178, 109, 255; }
.notification-item[data-notification-kind="wallet"] { --notification-accent: 255, 160, 72; }
.notification-item[data-notification-kind="follow"] { --notification-accent: 85, 153, 255; }
.notification-item[data-notification-kind="security"] { --notification-accent: 246, 100, 120; }
.notification-item[data-notification-kind="chat"] { --notification-accent: 132, 116, 255; }
.notification-item[data-notification-kind="default"] { --notification-accent: 124, 131, 255; }

.notification-dropdown__footer--dual {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding: 10px !important;
  border-top: 1px solid rgba(101, 114, 180, .14) !important;
  background: rgba(8, 11, 25, .58) !important;
}

.notification-dropdown .notification-footer-btn {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(106, 121, 192, .25) !important;
  border-radius: 11px !important;
  background: rgba(19, 25, 52, .80) !important;
  color: #eef0fb !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.notification-dropdown .notification-footer-btn:hover {
  border-color: rgba(127, 117, 255, .45) !important;
  background: rgba(29, 35, 67, .92) !important;
}

/* Full notifications page: same visual language, individual history remains intact. */
.notifications-page__list {
  display: grid !important;
  gap: 10px !important;
}

.notifications-page__item {
  --notification-accent: 124, 131, 255;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 15px 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(91, 105, 166, .16) !important;
  border-radius: 17px !important;
  background: rgba(16, 21, 45, .60) !important;
}

.notifications-page__item::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(var(--notification-accent), .9);
  opacity: 0;
}

.notifications-page__item.is-unread {
  border-color: rgba(var(--notification-accent), .30) !important;
  background: linear-gradient(90deg, rgba(var(--notification-accent), .07), transparent 48%), rgba(18, 24, 51, .78) !important;
}

.notifications-page__item.is-unread::before { opacity: 1; }
.notifications-page__item.is-unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--notification-accent));
}

.notifications-page__item > .notification-item__type-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.notifications-page__item > .notification-item__type-icon svg {
  width: 22px;
  height: 22px;
}

.notifications-page__item-main {
  min-width: 0 !important;
}

.notifications-page__item-head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.notifications-page__item-head strong {
  color: #f2f4ff !important;
  font-size: 14.5px !important;
  font-weight: 850 !important;
}

.notifications-page__item-head small,
.notifications-page__sender {
  color: rgba(184, 192, 221, .58) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

.notifications-page__sender {
  margin-top: 4px !important;
}

.notifications-page__item-main > p {
  margin: 5px 0 0 !important;
  color: rgba(213, 218, 238, .74) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.notifications-page__item-side {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.notifications-page__item-side .site-primary-btn,
.notifications-page__item-side .site-secondary-btn {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}

.notifications-page__read-state {
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(87, 101, 151, .10) !important;
  color: rgba(196, 203, 228, .58) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

.notifications-page__item[data-notification-kind="medal"] { --notification-accent: 242, 180, 68; }
.notifications-page__item[data-notification-kind="order"] { --notification-accent: 70, 208, 142; }
.notifications-page__item[data-notification-kind="support"] { --notification-accent: 67, 184, 235; }
.notifications-page__item[data-notification-kind="review"] { --notification-accent: 178, 109, 255; }
.notifications-page__item[data-notification-kind="wallet"] { --notification-accent: 255, 160, 72; }
.notifications-page__item[data-notification-kind="follow"] { --notification-accent: 85, 153, 255; }
.notifications-page__item[data-notification-kind="security"] { --notification-accent: 246, 100, 120; }
.notifications-page__item[data-notification-kind="chat"] { --notification-accent: 132, 116, 255; }

@media (max-width: 640px) {
  .notification-dropdown {
    width: min(430px, calc(100vw - 16px)) !important;
    border-radius: 18px !important;
  }

  .notification-dropdown__list {
    max-height: min(420px, 62vh) !important;
    padding: 8px !important;
  }

  .notification-dropdown .notification-item {
    grid-template-columns: 37px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 11px !important;
    border-radius: 14px !important;
  }

  .notification-item__type-icon {
    width: 37px;
    height: 37px;
    border-radius: 11px;
  }

  .notifications-page__item {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 13px !important;
  }

  .notifications-page__item > .notification-item__type-icon {
    width: 42px;
    height: 42px;
  }

  .notifications-page__item-side {
    grid-column: 1 / -1;
    justify-content: flex-end !important;
    padding-top: 2px;
  }

  .notifications-page__item-side .site-primary-btn,
  .notifications-page__item-side form,
  .notifications-page__item-side .site-secondary-btn {
    flex: 1 1 0;
  }
}



/* WarextMarket v0.581 - viewport-safe notification panel */
/* WAREXT_V0581_NOTIFICATION_UI */

.notification-dropdown {
  width: min(448px, calc(100vw - 24px)) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: min(560px, calc(100dvh - 92px)) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(103,117,190,.28) !important;
  border-radius: 22px !important;
  background: radial-gradient(circle at 82% 0%, rgba(92,81,255,.08), transparent 34%), linear-gradient(180deg, rgba(14,18,39,.985), rgba(9,12,28,.99)) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.42) !important;
}

.notification-dropdown__header {
  flex: 0 0 auto !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(104,117,184,.16) !important;
  color: #f5f6ff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
}

.notification-dropdown__list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
  padding: 10px 10px 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(116,128,184,.46) transparent;
}
.notification-dropdown__list::-webkit-scrollbar { width: 5px; }
.notification-dropdown__list::-webkit-scrollbar-track { background: transparent; }
.notification-dropdown__list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(116,128,184,.46); }

.notification-dropdown .notification-item {
  --notification-accent: 124,131,255;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0,1fr) !important;
  align-items: start !important;
  gap: 11px !important;
  min-height: 0 !important;
  padding: 12px 13px !important;
  overflow: hidden !important;
  border: 1px solid rgba(91,105,166,.15) !important;
  border-radius: 16px !important;
  background: rgba(18,23,48,.58) !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}
.notification-dropdown .notification-item::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(var(--notification-accent),.88);
  opacity: 0;
  transform: scaleY(.55);
  transition: opacity .16s ease, transform .16s ease;
}
.notification-dropdown .notification-item.is-unread {
  border-color: rgba(var(--notification-accent),.30) !important;
  background: linear-gradient(90deg, rgba(var(--notification-accent),.075), transparent 44%), rgba(19,25,52,.76) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--notification-accent),.035) !important;
}
.notification-dropdown .notification-item.is-unread::before { opacity: 1; transform: scaleY(1); }
.notification-dropdown .notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--notification-accent));
  box-shadow: 0 0 0 4px rgba(var(--notification-accent),.10);
}
.notification-dropdown .notification-item.is-read { opacity: .82; }
.notification-dropdown .notification-item:hover,
.notification-dropdown .notification-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--notification-accent),.42) !important;
  background: linear-gradient(90deg, rgba(var(--notification-accent),.09), transparent 54%), rgba(24,30,59,.86) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
  outline: none;
}

.notification-item__type-icon {
  display: grid !important;
  width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  align-self: start !important;
  flex: 0 0 40px !important;
  border: 1px solid rgba(var(--notification-accent),.30) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(var(--notification-accent),.18), rgba(var(--notification-accent),.07)) !important;
  color: rgb(var(--notification-accent)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}
.notification-item__type-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.notification-dropdown .notification-item__body { min-width: 0 !important; padding: 1px 14px 0 0 !important; }
.notification-dropdown .notification-item__body strong {
  display: block !important;
  margin: 0 !important;
  color: #f1f3ff !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
}
.notification-dropdown .notification-item__body p {
  display: -webkit-box !important;
  margin: 4px 0 0 !important;
  overflow: hidden !important;
  color: rgba(211,217,239,.74) !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  line-height: 1.38 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.notification-item--grouped .notification-item__body p { -webkit-line-clamp: 3; }
.notification-item__meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px 8px !important;
  margin-top: 6px !important;
}
.notification-dropdown .notification-item__sender,
.notification-dropdown .notification-item__time {
  margin: 0 !important;
  color: rgba(183,191,220,.56) !important;
  font-size: 10.8px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
}
.notification-dropdown .notification-item__sender { color: rgba(203,210,235,.66) !important; }

.notification-item[data-notification-kind="medal"], .notifications-page__item[data-notification-kind="medal"] { --notification-accent: 242,180,68; }
.notification-item[data-notification-kind="order"], .notifications-page__item[data-notification-kind="order"] { --notification-accent: 70,208,142; }
.notification-item[data-notification-kind="support"], .notifications-page__item[data-notification-kind="support"] { --notification-accent: 67,184,235; }
.notification-item[data-notification-kind="review"], .notifications-page__item[data-notification-kind="review"] { --notification-accent: 178,109,255; }
.notification-item[data-notification-kind="wallet"], .notifications-page__item[data-notification-kind="wallet"] { --notification-accent: 255,160,72; }
.notification-item[data-notification-kind="follow"], .notifications-page__item[data-notification-kind="follow"] { --notification-accent: 85,153,255; }
.notification-item[data-notification-kind="security"], .notifications-page__item[data-notification-kind="security"] { --notification-accent: 246,100,120; }
.notification-item[data-notification-kind="chat"], .notifications-page__item[data-notification-kind="chat"] { --notification-accent: 132,116,255; }
.notification-item[data-notification-kind="default"], .notifications-page__item[data-notification-kind="default"] { --notification-accent: 124,131,255; }

.notification-dropdown__footer,
.notification-dropdown__footer--dual {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding: 10px !important;
  margin: 0 !important;
  border-top: 1px solid rgba(101,114,180,.14) !important;
  background: rgba(8,11,25,.96) !important;
  box-shadow: 0 -10px 24px rgba(5,8,20,.20) !important;
}
.notification-dropdown .notification-footer-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(106,121,192,.25) !important;
  border-radius: 11px !important;
  background: rgba(19,25,52,.80) !important;
  color: #eef0fb !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.notification-dropdown .notification-footer-btn:hover { border-color: rgba(127,117,255,.45) !important; background: rgba(29,35,67,.92) !important; }

.notifications-page__list { display: grid !important; gap: 10px !important; }
.notifications-page__item {
  --notification-accent: 124,131,255;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 15px 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(91,105,166,.16) !important;
  border-radius: 17px !important;
  background: rgba(16,21,45,.60) !important;
}
.notifications-page__item::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(var(--notification-accent),.9);
  opacity: 0;
}
.notifications-page__item.is-unread { border-color: rgba(var(--notification-accent),.30) !important; background: linear-gradient(90deg, rgba(var(--notification-accent),.065), transparent 48%), rgba(18,24,51,.74) !important; }
.notifications-page__item.is-unread::before { opacity: 1; }
.notifications-page__item.is-read { opacity: .86; }
.notifications-page__item > .notification-item__type-icon { width: 46px !important; height: 46px !important; border-radius: 13px !important; }
.notifications-page__item-main { min-width: 0 !important; }
.notifications-page__item-head { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 16px !important; }
.notifications-page__item-head strong { color: #f4f5ff !important; font-size: 14px !important; font-weight: 850 !important; }
.notifications-page__item-head small,
.notifications-page__sender { color: rgba(183,191,220,.60) !important; font-size: 11px !important; font-weight: 650 !important; }
.notifications-page__item-main > p { margin: 5px 0 0 !important; color: rgba(211,217,239,.76) !important; font-size: 13px !important; line-height: 1.45 !important; }
.notifications-page__item-side { display: flex !important; align-items: center !important; gap: 8px !important; }

@media (max-width: 640px) {
  .notification-dropdown {
    width: min(420px, calc(100vw - 12px)) !important;
    max-height: calc(100dvh - 78px) !important;
    border-radius: 18px !important;
  }
  .notification-dropdown__header { min-height: 52px !important; padding: 0 14px !important; }
  .notification-dropdown__list { gap: 6px !important; padding: 8px !important; }
  .notification-dropdown .notification-item { grid-template-columns: 36px minmax(0,1fr) !important; gap: 9px !important; padding: 10px 11px !important; border-radius: 14px !important; }
  .notification-item__type-icon { width: 36px !important; height: 36px !important; border-radius: 11px !important; }
  .notification-item__type-icon svg { width: 18px !important; height: 18px !important; }
  .notification-dropdown .notification-item__body strong { font-size: 12.8px !important; }
  .notification-dropdown .notification-item__body p { font-size: 11.8px !important; }
  .notification-dropdown__footer,
  .notification-dropdown__footer--dual { gap: 6px !important; padding: 8px !important; }
  .notification-dropdown .notification-footer-btn { min-height: 36px !important; font-size: 12px !important; padding: 7px 8px !important; }
  .notifications-page__item { grid-template-columns: 40px minmax(0,1fr) !important; align-items: start !important; gap: 10px !important; padding: 12px !important; }
  .notifications-page__item > .notification-item__type-icon { width: 40px !important; height: 40px !important; }
  .notifications-page__item-side { grid-column: 2; flex-wrap: wrap; }
  .notifications-page__item-head { align-items: flex-start !important; flex-direction: column !important; gap: 3px !important; }
}

@supports not (height: 100dvh) {
  .notification-dropdown { max-height: min(560px, calc(100vh - 92px)) !important; }
  @media (max-width: 640px) { .notification-dropdown { max-height: calc(100vh - 78px) !important; } }
}

