:root {
  --uix-page: #2d3238;
  --uix-message: #383c42;
  --uix-user: #42464d;
  --uix-border: #54585e;
  --uix-border-soft: rgba(255, 255, 255, 0.12);
  --uix-text: #fff;
  --uix-muted: #bcc0c7;
  --uix-link: #2196f3;
  --uix-link-hover: #73bdf7;
  --uix-link-readable: #73bdf7;
  --uix-link-readable-hover: #a8d8fb;
  --uix-accent: #8bc34a;
  --uix-postbit: 129px;
  --thread-header-height: 94px;
}

html {
  background: var(--uix-page);
  color-scheme: dark;
}

body {
  background: var(--uix-page);
}

.template-thread-view .p-pageWrapper {
  border-top: 0;
}

[data-login-required] {
  cursor: pointer;
}

/* RAMP's archived UI.X header starts directly with the navigation. */
.template-thread-view .p-header {
  display: none;
  height: 0;
  flex-basis: 0;
}

.template-thread-view .p-navSticky {
  height: var(--thread-header-height);
  flex-basis: var(--thread-header-height);
  background: var(--uix-page);
  isolation: isolate;
}

.template-thread-view .p-nav-inner {
  width: min(1200px, calc(100% - 20px));
}

.template-thread-view .p-navEl-link--logo img {
  width: 140px;
}

.p-navEl--headerAd {
  display: none;
}

.threadView {
  flex: 1 0 auto;
  min-width: 0;
  background: var(--uix-page);
  scroll-margin-top: calc(var(--thread-header-height) + 12px);
}

.threadView :focus-visible {
  outline-offset: -2px;
}

.threadShell {
  width: min(1200px, calc(100% - 8px));
  margin-inline: auto;
  padding: 26px 0 32px;
}

@media (min-width: 1201px) {
  .threadView {
    margin-left: 210px;
  }

  /* The footer is a sibling of .p-pageWrapper (not a child), so the generic
     "has-global-rail > .p-footer" offset never matches. Offset it here to
     clear the fixed left rail and align with .threadShell. */
  .template-thread-view .p-footer {
    margin-left: 210px;
    width: auto;
    box-sizing: border-box;
  }

  .threadShell {
    width: min(1200px, calc(100% - 40px));
  }

  .template-thread-view .p-nav-list > li:not(.p-navEl--logo):not(.p-navEl--headerAd) {
    display: none;
  }

  .template-thread-view .p-navEl--headerAd {
    display: flex;
    min-width: 0;
    margin-left: clamp(45px, 19vw, 250px);
    align-items: center;
  }

  .template-thread-view .p-navEl--headerAd a {
    display: inline-flex;
    max-width: 350px;
    overflow: hidden;
    align-items: center;
    gap: 5px;
    color: #c4c8ce;
    font-size: 12px;
    font-weight: 600;
    line-height: var(--thread-header-height);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-thread-view .p-navEl-headerAdLead {
    color: #9ccc65;
  }

  .template-thread-view .p-navEl-headerAdDivider {
    color: #788173;
  }

  .template-thread-view .p-navEl--headerAd a:hover {
    color: #fff;
  }
}

.threadTitleBar h1 {
  margin: 0;
  color: var(--uix-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.threadTitleHeading {
  display: flex;
  min-width: 0;
  margin-bottom: 5px;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.threadTitleHeading h1 {
  min-width: 0;
}

/* Breadcrumb sits inside the thread title bar, between the title and the
   author/date/replies meta. Give it a little breathing room on both sides. */
.threadTitleBar .p-breadcrumbs {
  margin: 9px 0 11px;
}

.threadTypeBadge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 1px 6px;
  border: 1px solid rgba(139, 195, 74, 0.42);
  border-radius: 3px;
  background: rgba(139, 195, 74, 0.09);
  color: #b8df89;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.threadTypeBadge--hot {
  padding: 3px 10px 3px 8px;
  border: 1px solid #ff6a3d;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff3d2e 0%, #ff8a1e 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(120, 20, 0, 0.5);
  box-shadow: 0 2px 8px rgba(255, 80, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  animation: hotPulse 2.6s ease-in-out infinite;
}
.threadTypeBadge--hot .mdi-glyph {
  font-size: 13px;
  margin-right: 4px;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(120, 20, 0, 0.55));
}
.threadTypeBadge--verified {
  padding: 3px 10px 3px 8px;
  border: 1px solid #1b8a3a;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b7a32 0%, #3cb54a 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 50, 10, 0.45);
  box-shadow: 0 2px 8px rgba(40, 170, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.threadTypeBadge--verified .mdi-glyph {
  font-size: 13px;
  margin-right: 4px;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 50, 10, 0.45));
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(255, 80, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50%      { box-shadow: 0 3px 14px rgba(255, 100, 30, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

.threadTitleMeta {
  display: flex;
  min-height: 20px;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--uix-muted);
  font-size: 13px;
  line-height: 20px;
}

.threadTitleMeta a,
.threadTitleMeta time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--uix-muted);
}

.threadTitleMeta a:hover {
  color: var(--uix-link-hover);
}

.threadTitleMeta .mdi-glyph {
  font-size: 15px;
}

.p-breadcrumbs {
  display: flex;
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  color: var(--uix-muted);
}

.p-breadcrumbs > li {
  display: flex;
  min-width: 0;
  align-items: center;
  color: inherit;
  font-size: 13px;
  line-height: 19px;
}

.p-breadcrumbs > li + li::before {
  content: "›";
  margin: 0 5px;
  color: var(--uix-muted);
  font-size: 18px;
  line-height: 1;
}

.p-breadcrumbs a {
  display: block;
  max-width: 240px;
  overflow: hidden;
  color: var(--uix-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-breadcrumbs li:last-child a {
  color: #e7e9eb;
  font-weight: 700;
}

.p-breadcrumbs a:hover {
  color: var(--uix-link-hover);
}

.uixForumRail {
  position: fixed;
  z-index: 80;
  top: var(--thread-header-height);
  bottom: 0;
  left: 0;
  width: 210px;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  background: #292e35;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
}

.uixForumRail-nav {
  padding: 20px 0;
}

.uixForumRail-link {
  position: relative;
  display: grid;
  min-height: 40px;
  padding: 0 15px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  color: #c4c8ce;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.uixForumRail-link > .mdi-glyph:first-child {
  color: #aeb4bc;
  font-size: 20px;
}

.uixForumRail-link:hover {
  background: #30363f;
  color: #fff;
}

.uixForumRail-link.is-active {
  background: #343a45;
  color: #fff;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 3px 0 var(--uix-accent);
}

.uixForumRail-link:first-child {
  min-height: 50px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.uixForumRail-link.is-active > .mdi-glyph:first-child,
.uixForumRail-link--accent > .mdi-glyph:first-child {
  color: var(--uix-accent);
}

.uixForumRail-chevron {
  color: #949aa3;
  font-size: 15px;
}

.threadAds {
  display: grid;
  min-width: 0;
  margin-top: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}

.threadAd {
  position: relative;
  display: flex;
  min-width: 0;
  height: 60px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171a1e;
  color: #fff;
  text-align: center;
}

.threadAd:hover {
  border-color: rgba(255, 255, 255, 0.10);
  color: #fff;
  filter: brightness(1.05);
}

/* Banner-image ad: show the FULL banner (no crop, no stretch), centered, dark letterbox.
   Source banners are not 4.6:1, so cover would cut content — contain preserves the whole image. */
.threadAd--banner {
  display: block;
  padding: 0;
  background: #0d0f12;
}
.threadAd--banner img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: contain;
  object-position: center;
}
.threadAd--banner video {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.threadAd--brand img {
  display: block;
  width: min(150px, calc(100% - 24px));
  height: 34px;
  object-fit: contain;
}

.threadAd--brand small {
  margin-top: -2px;
}

.threadAd--security {
  background:
    linear-gradient(118deg, rgba(13, 70, 108, 0.96), rgba(26, 38, 51, 0.98)),
    #1b2732;
}

.threadAd--security::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px);
  content: "";
}

.threadAd--available {
  background:
    linear-gradient(118deg, rgba(54, 66, 39, 0.94), rgba(26, 30, 24, 0.98)),
    #252a22;
}

.threadAd--updates {
  background:
    linear-gradient(118deg, rgba(55, 39, 78, 0.95), rgba(29, 25, 37, 0.98)),
    #292230;
}

.threadAd-kicker,
.threadAd strong,
.threadAd small {
  position: relative;
  z-index: 1;
}

.threadAd-kicker {
  color: #aeb6bf;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 13px;
}

.threadAd strong {
  max-width: calc(100% - 18px);
  overflow: hidden;
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.threadAd small {
  color: #bdc3ca;
  font-size: 10px;
  line-height: 13px;
}

.threadContentMain {
  min-width: 0;
  margin-top: 10px;
}

.threadContentMain > .p-body-content {
  min-width: 0;
}

.threadContentMain .threadTools {
  margin-top: 0;
}

.block-outer {
  min-height: 28px;
}

.block-outer::after,
.actionBar::after {
  display: table;
  clear: both;
  content: "";
}

.threadTools {
  display: flex;
  margin-top: 8px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.block-outer-main {
  min-width: 0;
  margin-left: auto;
}

.block-outer-opposite {
  margin-left: auto;
}

.threadActivitySummary {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 3px 7px;
  border: 1px solid var(--uix-border-soft);
  border-radius: 3px;
  background: var(--uix-message);
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.threadActivitySummary strong {
  color: #fff;
  font-weight: 600;
}

.threadActivityDivider {
  color: #777c83;
}

.threadActivityPulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--uix-accent);
  box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.3);
  animation: threadActivityPulse 2.4s ease-out infinite;
}

@keyframes threadActivityPulse {
  0%,
  45% {
    box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.3);
  }

  80%,
  100% {
    box-shadow: 0 0 0 6px rgba(139, 195, 74, 0);
  }
}

.pageNav {
  display: flex;
}

.pageNav-main {
  display: inline-table;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pageNav-page {
  display: table-cell;
  height: 26px;
  border: 1px solid var(--uix-border-soft);
  border-radius: 0;
  background: var(--uix-message);
  color: var(--uix-muted);
  line-height: 24px;
  white-space: nowrap;
}

.pageNav-page:not(:last-child) {
  border-right: 0;
}

.pageNav-page > a,
.pageNav-page > span {
  display: block;
  padding: 0 8px;
  color: inherit;
  text-decoration: none;
}

.pageNav-page:hover,
.pageNav-page:active {
  color: #fff;
}

.pageNav-page.pageNav-page--current {
  color: var(--uix-accent);
  box-shadow: 0 -2px var(--uix-accent) inset;
  cursor: default;
}

.pageNav-jump {
  display: inline-block;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--uix-border-soft);
  border-radius: 0;
  background: var(--uix-message);
  color: var(--uix-muted);
  line-height: 26px;
  white-space: nowrap;
}

.pageNav-jump:hover,
.pageNav-jump:active {
  color: #fff;
}

.pageNav-jump--next {
  margin-left: 6px;
}

.pageNav-jump--next::after {
  display: inline-block;
  width: auto;
  margin-left: 0.35em;
  content: "\F0142";
  font: normal 0.85em/1 "Material Design Icons";
  text-align: center;
  unicode-bidi: isolate;
  vertical-align: -0.05em;
}

.pageNav-jump--last {
  margin-left: 6px;
}
.pageNav-jump--last::after {
  display: inline-block;
  width: auto;
  margin-left: 0.35em;
  content: "\F04AD";
  font: normal 0.85em/1 "Material Design Icons";
  text-align: center;
  unicode-bidi: isolate;
  vertical-align: -0.05em;
}

.pageNavSimple {
  display: none;
  height: 26px;
  line-height: 26px;
}

.pageNavSimple-el {
  display: inline-block;
  min-width: 0;
  margin-right: 4px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.pageNavSimple-el:last-child {
  margin-right: 0;
}

.pageNavSimple-el--current {
  color: var(--uix-link);
}

.pageNavSimple-el--next {
  background: #0d6fad;
  color: #fff;
}

.pageNavSimple-el--next:hover {
  background: #0a5d91;
  color: #fff;
}

.pageNavSimple-el--next i {
  margin-left: 0.25em;
}

.pageNavSimple-el--next i::before {
  display: inline-block;
  width: auto;
  content: "\F0142";
  font: normal 0.9em/1 "Material Design Icons";
  line-height: inherit;
  text-align: center;
}

.threadPaginationBottom {
  display: flex;
  margin-top: 15px;
  padding-bottom: 0;
  justify-content: flex-end;
}

.block--messages {
  margin-top: 13px;
}

.block-container,
.block-body {
  min-width: 0;
}

.block--messages .block-container {
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.message {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  background: var(--uix-message);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.u-anchorTarget {
  position: absolute;
  top: 0;
  scroll-margin-top: calc(var(--thread-header-height) + 12px);
}

.message + .message {
  margin-top: 10px;
}

.message-inner {
  display: grid;
  min-width: 0;
  grid-template-columns: var(--uix-postbit) minmax(0, 1fr);
  align-items: stretch;
}

.message-cell {
  min-width: 0;
}

.message-cell--user {
  padding: 9px;
  border-right: 1px solid var(--uix-border);
  background: var(--uix-user);
  text-align: center;
}

.message-cell--main {
  background: var(--uix-message);
}

.message-user {
  min-width: 0;
}

.message-userArrow {
  display: none;
}

.message-avatar {
  text-align: center;
}

.message-avatar-wrapper {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 110px;
  vertical-align: bottom;
}

.avatar {
  position: relative;
  display: block;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 3px;
  background: #595d63;
  color: var(--uix-muted);
  text-decoration: none;
}

.avatar:hover {
  color: var(--uix-muted);
}

.avatar--w1nte4mute {
  background: linear-gradient(145deg, #394765, #202836);
  color: #a7c1ec;
}

.avatar--hyseuene {
  background: linear-gradient(145deg, #5b205a, #2b1737);
  color: #e384dd;
}

.avatar--default {
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

.avatar--uploaded img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--guard {
  background: #263d29;
  color: #8bc34a;
}

.avatar--night {
  background: #282142;
  color: #8d79d8;
}

.avatar--qilin {
  background: #3b4026;
  color: #c5d56a;
}

.avatar--arcadia {
  background: #253d49;
  color: #72bfdc;
}

.avatar--kestrel {
  background: #44312a;
  color: #d9a17d;
}

.avatar--byteshade {
  background: #302c49;
  color: #a99ae1;
}

.avatar--oldcrow {
  background: #3e2935;
  color: #d68fae;
}

.avatar--snowfall {
  background: #28413d;
  color: #78cdbc;
}

.message-avatar-online {
  position: absolute;
  z-index: 2;
  bottom: -4px;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--uix-user);
  border-radius: 50%;
  background: var(--uix-accent);
  transform: translateX(-50%);
}

.message-avatar-online::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 2px;
  border-bottom: 1px solid #3f6520;
  border-left: 1px solid #3f6520;
  content: "";
  transform: rotate(-45deg);
}

.message-name {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.message-name .username {
  display: block;
  max-width: 100%;
  color: var(--uix-link-readable);
  overflow-wrap: anywhere;
}

.message-name .username:hover {
  color: var(--uix-link-readable-hover);
}
.message-name .username--staff {
  color: #e23c3c;
}
.message-name .username--staff:hover {
  color: #ff5a5a;
}

/* Reputation number in post user-extras: green, clickable, links to author profile. */
.rep-number {
  color: #8bc34a;
  font-weight: 700;
  text-decoration: none;
}
.rep-number:hover {
  color: #aed581;
  text-decoration: none;
}

.userDeposit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8bc34a;
  font-weight: 700;
  white-space: nowrap;
}
.userDeposit-btc {
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.userDeposit-btc svg {
  display: block;
  width: 13px;
  height: 13px;
}
.userDeposit-amount {
  color: #8bc34a;
}
.message-userExtras .pairs.pairs--justified.pairs--deposit {
  align-items: center;
}
.message-userExtras .pairs.pairs--justified.pairs--deposit > dt {
  overflow: visible;
  text-overflow: clip;
  flex-shrink: 0;
  margin-right: 6px;
}
.message-userExtras .pairs.pairs--justified.pairs--deposit > dd {
  color: #f2c14e;
}
.userDeposit {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f2c14e;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
a.userDeposit:hover,
a.userDeposit:hover .userDeposit-amount {
  color: #ffd36a;
}
.userDeposit-btc {
  display: inline-flex;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
}
.userDeposit-btc svg {
  display: block;
  width: 11px;
  height: 11px;
}
.userDeposit-amount {
  color: #f2c14e;
}

.message-userTitle {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.userBanner {
  padding: 1px 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  display: inline-block;
}

.userBanner strong {
  font-weight: inherit;
}

.userBanner--red {
  color: #fff;
  background: #d90000;
  border-color: #b80000;
  border-radius: 4px;
}

/* Green "Verified" banner (e.g. verified sellers) — same shape as the staff red banner. */
.userBanner--green {
  color: #fff;
  background: #2e7d32;
  border-color: #1b5e20;
  border-radius: 4px;
}
.userBanner--green strong { font-weight: 700; }

.message-userBanner {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 3px auto 0;
}

.message-date {
  margin-top: 7px;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.message-userExtras {
  margin-top: 8px;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

.pairs {
  margin: 0;
}

.pairs.pairs--justified {
  display: flex;
  justify-content: space-between;
}

.pairs.pairs--justified > dt {
  min-width: 0;
  margin-right: 7px;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pairs.pairs--justified > dd {
  margin: 0;
  flex-shrink: 0;
  color: #fff;
  text-align: right;
}

.message-main {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
}

.message-attribution {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px 0;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 18px;
}

.message-attribution ul {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}

.message-attribution a {
  color: var(--uix-muted);
}

.message-attribution a:hover {
  color: #e6e7ea;
}

.message-attribution-main {
  min-width: 0;
  gap: 7px;
}

.message-attribution-main a {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
}

.message-attribution-opposite {
  flex-shrink: 0;
  gap: 12px;
}

.message-attribution-gadget {
  display: block;
  width: 14px;
  height: 18px;
  font-family: "Material Design Icons";
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

.gadget--share::before {
  content: "\F0497";
}

.gadget--bookmark::before {
  content: "\F00C3";
}

.message-attribution-postNumber {
  font-weight: 600;
}

.message-threadStarter {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 0 5px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.message-threadStarter {
  border: 1px solid rgba(115, 189, 247, 0.3);
  background: rgba(33, 150, 243, 0.12);
  color: #9bd1fa;
}

.message-content {
  min-width: 0;
  flex: 1 1 auto;
}

.message-userContent {
  min-width: 0;
}

.message-body {
  min-width: 0;
  margin: 0;
  padding: 7px 9px 16px;
  color: var(--uix-text);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.message-body p {
  margin: 0 0 15px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.bbCodeBlock {
  margin: 0 0 15px;
  overflow: hidden;
  border-left: 3px solid #697079;
  border-radius: 2px;
  background: #30343a;
  color: #d9dce0;
}

.bbCodeBlock-title {
  padding: 6px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #aeb4bc;
  font-size: 12px;
  font-weight: 600;
}

.bbCodeBlock-content {
  padding: 8px 9px;
  color: #e4e7ea;
  line-height: 1.45;
}

.reactionsBar {
  min-width: 0;
  margin: 0 9px;
  padding: 0 0 8px;
  font-size: 12px;
}

.reactionsBar-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  background: #30343a;
  color: #aeb4bc;
  line-height: 20px;
}

.reactionsBar-link:hover {
  border-color: rgba(115, 189, 247, 0.25);
  color: #e5e8ec;
}

.reactionsBar-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #3f6d96;
  color: #fff;
  font-size: 12px;
}

.reactionsBar-icon::before {
  content: "\F0513";
  font-family: "Material Design Icons";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.reactionsBar-names {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reactionsBar-count {
  min-width: 18px;
  margin-left: 1px;
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #dfe3e7;
  text-align: center;
}

.message-footer {
  min-height: 45px;
  margin-top: auto;
  padding: 8px 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.threadReplyGate {
  display: flex;
  min-width: 0;
  margin-top: 13px;
  padding: 16px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 5px;
  background: var(--uix-message);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.threadReplyGate-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 18px;
}

.threadReplyGate-copy strong {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.threadReplyGate .threadReplyGate-button {
  width: auto;
  min-width: 118px;
  flex: 0 0 auto;
  background: #126fa8;
  font-size: 13px;
}

.threadViewers {
  margin-top: 13px;
}

.threadViewers .block-container {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  background: var(--uix-message);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.threadViewers .block-header {
  display: flex;
  min-height: 42px;
  margin: 0;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--uix-border);
  background: var(--uix-user);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.threadViewers .block-body {
  padding: 14px 16px;
}

.threadViewers-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.threadViewers-members {
  display: block;
  min-width: 0;
  color: var(--uix-muted);
  font-size: 13px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.threadViewers-members .threadActivityPulse {
  margin-right: 5px;
  vertical-align: 1px;
  color: #4cd964;
  font-size: 9px;
  line-height: 1;
  display: inline-block;
  animation: threadActivityPulse 1.8s ease-in-out infinite;
}
@keyframes threadActivityPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.threadViewers .block-header-title { font-weight: 600; }
.threadViewers-members .tv-sep { color: var(--uix-muted); }

.threadViewers-members a {
  color: var(--uix-link-readable);
}

.threadViewers-members a:hover {
  color: var(--uix-link-readable-hover);
}

.threadViewers-count {
  flex: 0 0 auto;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.threadViewers-note {
  margin: 5px 0 0;
  color: var(--uix-muted);
  font-size: 12px;
  line-height: 18px;
}

.actionBar {
  min-height: 28px;
  font-size: 12px;
  line-height: 20px;
}

.actionBar-set--internal {
  float: left;
}

.actionBar-set--external {
  float: right;
}

.actionBar .actionBar-action {
  display: inline-block;
  margin-left: 5px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--uix-muted);
}

.actionBar-set--internal > .actionBar-action:first-child {
  margin-left: 0;
}

.actionBar-set--external > .actionBar-action:last-child {
  margin-right: 0;
}

.actionBar .actionBar-action:hover {
  color: #e6e7ea;
}

.actionBar .actionBar-action::before {
  display: inline-block;
  width: auto;
  padding-right: 2px;
  font: normal 1.1em/1 "Material Design Icons";
  line-height: inherit;
  text-align: center;
}

.actionBar-action--report::before {
  content: "\F05D6\20";
}

.actionBar-action--reaction::before {
  content: "\F0513\20";
}

.actionBar-action--reply::before {
  content: "\F0F20\20";
}

.selectToQuote {
  position: absolute;
  z-index: 300;
  display: inline-flex;
  min-height: 30px;
  max-width: calc(100vw - 16px);
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #bfc2c5;
  border-radius: 4px;
  background: #e7e8ea;
  color: #282c31;
  font-size: 13px;
  line-height: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.selectToQuote[hidden] {
  display: none;
}

.selectToQuote:hover {
  background: #fff;
  color: #1f2226;
}

.pageToast {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 18px;
  max-width: min(380px, calc(100% - 36px));
  padding: 10px 13px;
  border-radius: 4px;
  background: #17191c;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pageToast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .uixForumRail {
    display: none;
  }

  .threadShell {
    width: calc(100% - 8px);
    padding-top: 20px;
  }

  .threadViewers .block-container {
    margin-right: 0;
    margin-left: 0;
    border-radius: 4px;
  }
}

@media (max-width: 650px) {
  .threadTools {
    margin-top: 18px;
    align-items: stretch;
    gap: 8px;
  }

  .threadTools .block-outer-opposite {
    width: 100%;
    margin-left: 0;
  }

  .threadActivitySummary {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .pageNavWrapper--mixed .pageNav {
    display: none;
  }

  .pageNavWrapper--mixed .pageNavSimple {
    display: inline-flex;
  }

  .threadTitleBar h1 {
    font-size: 19px;
  }

  .p-breadcrumbs {
    margin-top: 10px;
    flex-wrap: wrap;
    row-gap: 4px;
    padding-bottom: 4px;
  }

  .p-breadcrumbs > li {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .p-breadcrumbs a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .p-breadcrumbs > li + li::before {
    flex-shrink: 0;
  }

  .message-inner {
    display: block;
  }

  .message-cell--user {
    padding: 7px 9px;
    border-right: 0;
    border-bottom: 1px solid var(--uix-border);
    text-align: left;
  }

  .message-user {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
  }

  .message-avatar {
    grid-row: 1 / 3;
  }

  .uix_messagePostBitWrapper {
    min-width: 0;
  }

  .message-avatar-wrapper,
  .avatar {
    width: 48px;
    height: 48px;
  }

  .avatar--default {
    font-size: 29px;
  }

  .message-name {
    margin-top: 0;
  }

  .message-userTitle {
    justify-self: start;
  }

  .message-userBanner {
    margin-left: 0;
  }

  .message-userExtras {
    display: none;
  }

  .message-body {
    font-size: 13px;
  }

  .message-attribution-opposite {
    gap: 0;
  }

  .message-attribution-main {
    flex-wrap: wrap;
  }

  .reactionsBar-link {
    align-items: flex-start;
  }

  .threadViewers .block-header,
  .threadViewers-row,
  .threadReplyGate {
    align-items: flex-start;
  }

  .threadViewers .block-header {
    flex-wrap: wrap;
  }

  .threadViewers-row {
    flex-direction: column;
    gap: 4px;
  }

  .threadViewers-count {
    white-space: normal;
  }

  .threadReplyGate {
    flex-direction: column;
  }

  .threadReplyGate .threadReplyGate-button {
    width: 100%;
  }

  .message-attribution-gadget,
  .message-attribution-postNumber {
    display: inline-flex;
    width: auto;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
  }

  .actionBar .actionBar-action {
    min-height: 40px;
    padding: 8px;
  }
}

@media (pointer: coarse) {
  .pageNavSimple,
  .pageNavSimple-el {
    height: auto;
    min-height: 44px;
    line-height: 44px;
  }

  .message-attribution-gadget,
  .message-attribution-postNumber {
    display: inline-flex;
    width: auto;
    min-width: 36px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .message-attribution-opposite {
    gap: 0;
  }

  .actionBar .actionBar-action {
    min-height: 44px;
    padding: 10px 8px;
  }

  .reactionsBar-link,
  .threadReplyGate .threadReplyGate-button {
    min-height: 44px;
  }

  .template-thread-view .p-nav-menuTrigger {
    min-height: 44px;
  }

  .template-thread-view .p-navgroup-link,
  .template-thread-view .offCanvasMenu-header button,
  .template-thread-view .languageChooser button {
    min-height: 44px;
  }
}

body.is-locked .selectToQuote {
  display: none !important;
}

@media (max-width: 1200px) {
  .uixForumRail {
    display: none;
  }

  .threadShell {
    width: min(1200px, calc(100% - 40px));
  }
}

@media (max-width: 1100px) {
  .threadAds {
    grid-template-columns: minmax(0, 298px);
    gap: 0;
    justify-content: start;
  }
}

@media (max-width: 900px) {
  .threadShell {
    width: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .threadAds {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.threadClosedNotice {
  display: flex;
  min-width: 0;
  margin-top: 13px;
  padding: 14px 16px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-left: 3px solid #c45c5c;
  border-radius: 5px;
  background: var(--uix-message);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  color: #d7dbe0;
}
.threadClosedNotice .mdi-glyph { color: #e07a7a; font-size: 20px; line-height: 1; }
.threadClosedNotice-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; font-size: 12px; line-height: 18px; }
.threadClosedNotice-copy strong { color: #fff; font-size: 13px; font-weight: 600; }

.message-body h3{margin:18px 0 8px;color:#f0f1f2;font-size:15px;font-weight:700}.message-body ul{margin:0 0 15px;padding-left:20px}.message-body li{margin:0 0 6px}.message-body .telegramSupportLink{display:inline-flex;align-items:center;gap:6px;color:#54a3ff;font-weight:700;text-decoration:none}.message-body .telegramSupportLink .mdi-glyph{color:#54a3ff;font-size:18px}

.uixForumRail-link--verified,.p-navEl-link--verified,.offCanvasMenu-verified{color:#f3c84d;letter-spacing:.04em;font-weight:800}.uixForumRail-link--verified>.mdi-glyph:first-child,.p-navEl-link--verified>.mdi-glyph,.offCanvasMenu-verified>.mdi-glyph{color:#f6cf5a}.uixForumRail-link--verified:hover,.p-navEl-link--verified:hover,.p-navEl-link--verified:hover>.mdi-glyph,.offCanvasMenu-verified:hover{color:#ffe082}.uixForumRail-link--verified.is-active{color:#ffe082;box-shadow:inset 3px 0 #f3c84d}.uixForumRail-link--verified.is-active>.mdi-glyph:first-child{color:#f6cf5a}

.message-userExtras .pairs.pairs--justified.pairs--telegram{align-items:center}.postbitTelegram{display:inline-flex;align-items:center;justify-content:center;color:#2aabee;font-size:16px;line-height:1;text-decoration:none}.postbitTelegram:hover{color:#55c2f3}

.message-body .invMore {
  margin: 18px 0 12px;
  color: #e53935;
  font-weight: 700;
}
.message-body .invMore b {
  color: #e53935;
  font-weight: 700;
}

.message-body .winterContactBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 2px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #229ed9;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}

.message-body .winterContactBtn:hover {
  background: #1b8ec4;
  color: #fff !important;
}

.message-body .winterContactBtn .mdi-glyph {
  color: #fff;
  font-size: 18px;
}

.message-body .staffLead {
  font-size: 14px;
  line-height: 1.5;
}

.message-body .bbCodeBlock--staff {
  border-left-color: #3d9b6a;
}

.message-body .staffMirrors {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.message-body .staffMirrors a {
  color: #7ec8ff;
  font-weight: 700;
  text-decoration: none;
}

.message-body .staffMirrors a:hover {
  color: #b7e0ff;
  text-decoration: underline;
}

.message-body .staffMirrors span {
  margin-left: 8px;
  color: #8b929a;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.message-body code {
  padding: 1px 5px;
  border-radius: 3px;
  background: #2b2f35;
  color: #f0c36d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.message-body .staffSign {
  margin-top: 18px;
  color: #aeb4bc;
}

.message-body .staffSign small {
  color: #8b929a;
}

.message-body .staffMirrors .staffTag--main {
  color: #e53935;
}
.message-body .staffMirrors .staffTag--active {
  color: #3d9b6a;
}
