:root {
  --bg: #0d1117;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --panel: rgba(11, 16, 24, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --text: #edf2f7;
  --muted: #95a3b8;
  --accent: #ff9d2f;
  --accent-2: #4ed8c7;
  --accent-3: #ff6877;
  --accent-4: #b5dd53;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.22);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ui-surface: rgba(18, 22, 29, 0.92);
  --ui-surface-soft: rgba(255, 255, 255, 0.045);
  --ui-surface-strong: rgba(255, 255, 255, 0.075);
  --ui-border-soft: rgba(255, 255, 255, 0.06);
  --ui-radius-xl: 28px;
  --ui-radius-lg: 22px;
  --ui-radius-md: 18px;
  --ui-space-1: 8px;
  --ui-space-2: 12px;
  --ui-space-3: 16px;
  --ui-space-4: 24px;
  --ui-space-5: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 47, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.16), transparent 24%),
    linear-gradient(180deg, #111824 0%, #0b1017 48%, #090c12 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #fff5dd;
}

.page-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 24px auto;
  overflow: visible;
}

.app-frame {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  overflow: visible;
}

.page-main {
  min-width: 0;
}

.topbar,
.panel,
.hero,
.ticker {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(8, 12, 18, 0.78);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 40;
}

.topbar-clean {
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: linear-gradient(180deg, #181818 0%, #101010 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 60px rgba(0, 0, 0, 0.34);
}

.topbar-clean > .brand {
  grid-column: 1;
}

.topbar-clean > .topbar-center {
  grid-column: 2;
}

.topbar-clean > .topbar-quick-user {
  grid-column: 3;
}

.topbar-clean > .topbar-menu-toggle {
  grid-column: 3;
  justify-self: end;
}

.topbar-clean > .topbar-mobile-menu {
  grid-column: 1 / -1;
}

.topbar-mobile-menu {
  display: none;
}

.mobile-menu-backdrop,
.mobile-menu-panel,
.mobile-nav-secondary,
.mobile-menu-section {
  display: none;
}

.topbar-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0 12px;
  color: #f5f5f5;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0;
  position: relative;
}

.topbar-menu-toggle::before {
  content: "";
  width: 22px;
  height: 14px;
  display: block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 22px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 6px / 22px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px / 22px 2px no-repeat;
}

.topbar-clean .brand-copy,
.editor-help {
  display: none;
}

.topbar-quick-user .topbar-icon,
.topbar-quick-user .topbar-profile {
  display: inline-flex;
}

.brand,
.profile-lead,
.forum-card-head,
.forum-row-main,
.post-card,
.listing-top,
.listing-price-row,
.thread-header-meta,
.online-users,
.hero-actions,
.tab-row,
.forum-meta,
.hero-tags,
.stat-row,
.section-head,
.topbar-actions,
.main-nav,
.panel-header,
.hero-thread,
.pulse-list li,
.thread-card,
.leaderboard li,
.activity-list li,
.feature-list li,
.post-meta,
.thread-topline,
.forum-row-meta {
  display: flex;
  gap: 12px;
}

.brand {
  align-items: center;
  color: inherit;
}

.brand-compact {
  gap: 10px;
}

.topbar-clean .brand-compact {
  gap: 0;
}

.topbar-clean .brand-mark {
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  box-shadow: 0 16px 32px rgba(255, 90, 31, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark,
.avatar-stack,
.avatar-large,
.avatar-giant,
.forum-icon {
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.25rem;
  color: #111512;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(180deg, #f6c35d, #62e6b5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 22px rgba(98, 230, 181, 0.12),
    0 10px 26px rgba(242, 184, 75, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-compact .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.15rem;
}

.brand-compact .brand-copy strong {
  font-size: 1rem;
}

.brand-compact .brand-copy span:last-child {
  font-size: 0.78rem;
}

.brand-copy strong,
.hero h1,
.section-head h2,
.section-hero h1,
.profile-hero h1 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy span:last-child,
.hero-text,
.section-copy,
.forum-card p,
.forum-row p,
.thread-body p,
.pulse-list span,
.hero-thread p,
.hero-thread span,
.online-stack p,
.joined-copy,
.mini-card p,
.profile-title,
.post-author span,
.post-author small,
.listing-card p,
.listing-meta,
.forum-meta span,
.thread-stats span,
.thread-stats small {
  color: var(--muted);
}

.main-nav {
  flex-wrap: wrap;
}

.main-nav-clean {
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar-clean .main-nav-clean {
  justify-content: flex-start;
  margin-left: 0;
  font-size: 0.92rem;
}

.topbar-clean .main-nav-clean a {
  color: #a3a3a3;
  border-radius: 14px;
}

.topbar-clean .main-nav-clean a:hover,
.topbar-clean .main-nav-clean a:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 118, 42, 0.24);
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.16), rgba(255, 255, 255, 0.055));
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.topbar-search-compact {
  max-width: 360px;
  flex: 1 1 360px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}

.topbar-search {
  width: 100%;
  max-width: 320px;
}

.topbar-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.topbar-search input::placeholder {
  color: #7f8da3;
}

.topbar-search input:focus {
  border-color: rgba(255, 118, 42, 0.32);
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 4px rgba(255, 90, 31, 0.08);
}

.topbar-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-quick-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  justify-self: end;
}

.topbar-icon,
.topbar-admin,
.topbar-auth,
.topbar-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms var(--ease-smooth);
}

.topbar-icon,
.topbar-admin {
  min-width: 42px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #d7d7d7;
}

.topbar-icon:not(.topbar-icon-glyph) span {
  margin-left: 6px;
  color: #ffcf78;
}

.topbar-icon-glyph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 0;
}

.topbar-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #d7d7d7;
}

.topbar-glyph.is-image {
  border: 0;
  background: transparent;
}

.topbar-glyph-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.86;
  filter: grayscale(0.05) brightness(1.08);
}

.topbar-icon-glyph > .topbar-glyph {
  margin-left: 0;
}

.topbar-icon-glyph > span:not(.topbar-glyph) {
  position: absolute;
  top: -6px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: #ff5a1f;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.24);
}

.topbar-balance {
  padding: 0 14px;
  font-weight: 800;
  color: #ffb16f;
}

.topbar-admin {
  color: #ffb16f;
}

.topbar-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms var(--ease-smooth);
}

.topbar-name {
  font-weight: 700;
  color: #e7e7e7;
}

.topbar-profile-wrap {
  position: relative;
  z-index: 60;
}

.topbar-notice-wrap {
  position: relative;
  z-index: 90;
}

.topbar-notice-wrap .topbar-icon {
  cursor: pointer;
}

.topbar-icon:hover,
.topbar-admin:hover,
.topbar-auth:hover,
.topbar-balance:hover,
.topbar-profile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 118, 42, 0.28);
  background: rgba(255, 90, 31, 0.12);
  box-shadow: 0 12px 28px rgba(255, 90, 31, 0.1);
}

.topbar-profile .avatar-stack {
  flex: 0 0 auto;
}

.notifications-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: -54px;
  z-index: 180;
  width: min(360px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 92px));
  overflow: hidden;
  border: 1px solid var(--ui-border-soft);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transform-origin: top right;
  transition: transform 220ms var(--ease-smooth), opacity 180ms ease;
}

.notifications-popover[hidden] {
  display: none;
}

.notifications-popover.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.notifications-popover-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notifications-popover-head h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.notifications-read-all {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 999px;
  background: var(--ui-surface-soft);
  color: var(--text);
  font-weight: 700;
}

.notifications-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.015);
}

.notifications-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.notifications-tabs button span {
  color: inherit;
  opacity: 0.85;
}

.notifications-tabs button.is-active {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.18);
  background: rgba(78, 216, 199, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.notifications-list {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
  max-height: 460px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 216, 199, 0.4) rgba(255, 255, 255, 0.05);
}

.notifications-list::-webkit-scrollbar {
  width: 10px;
}

.notifications-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.notifications-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(78, 216, 199, 0.42), rgba(255, 217, 120, 0.32));
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.notification-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 180ms ease, transform 180ms var(--ease-smooth), border-color 180ms ease;
}

.notification-item[hidden] {
  display: none;
}

.notification-item:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 216, 199, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.notification-item.is-unread {
  background: linear-gradient(180deg, rgba(78, 216, 199, 0.07), rgba(255, 255, 255, 0.025));
}

.notification-item.is-unread .notification-avatar {
  border-color: rgba(78, 216, 199, 0.22);
  background: linear-gradient(135deg, rgba(78, 216, 199, 0.18), rgba(255, 217, 120, 0.22));
}

.notification-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.notification-avatar-icon,
.notification-avatar-icon.is-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(1.05);
}

.notification-copy {
  display: grid;
  gap: 6px;
}

.notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e3f3;
  font-size: 0.78rem;
  font-weight: 700;
}

.notification-item strong,
.notification-item small,
.notification-item time,
.notification-copy {
  display: block;
}

.notification-item strong {
  font-weight: 700;
  line-height: 1.45;
}

.notification-item small,
.notification-item time,
.notification-empty {
  color: var(--muted);
}

.notification-item time {
  font-size: 0.76rem;
  text-align: right;
  line-height: 1.25;
}

.notification-empty {
  padding: 18px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
}

.topbar-clean .notifications-popover {
  width: min(420px, calc(100vw - 28px));
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 90, 31, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(31, 31, 31, 0.98), rgba(12, 12, 12, 0.99));
}

.topbar-clean .notifications-popover-head {
  padding: 18px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.topbar-clean .notifications-popover-head h3 {
  font-size: 1.2rem;
}

.topbar-clean .notifications-read-all {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.topbar-clean .notifications-read-all:hover {
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.topbar-clean .notifications-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px 14px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.topbar-clean .notifications-tabs button {
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 12px;
}

.topbar-clean .notifications-tabs button.is-active {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.topbar-clean .notifications-list {
  gap: 8px;
  padding: 12px;
  scrollbar-color: rgba(255, 138, 61, 0.55) rgba(255, 255, 255, 0.05);
}

.topbar-clean .notifications-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.72), rgba(255, 184, 93, 0.5));
}

.topbar-clean .notification-item {
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.topbar-clean .notification-item:hover {
  border-color: rgba(255, 138, 61, 0.28);
  background: rgba(255, 90, 31, 0.09);
}

.topbar-clean .notification-item.is-unread {
  background: rgba(255, 90, 31, 0.12);
}

.topbar-clean .notification-avatar {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

.topbar-clean .notification-item.is-unread .notification-avatar {
  border-color: rgba(255, 138, 61, 0.35);
  background: rgba(255, 90, 31, 0.18);
}

.topbar-clean .notification-pill {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.new-message-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 18px;
}

.new-message-modal[hidden] {
  display: none;
}

.new-message-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 8, 12, 0.72);
}

.new-message-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 20, 26, 0.98);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.profile-hover-card {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 292px;
  display: none;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(23, 26, 33, 0.98), rgba(16, 18, 24, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.topbar-profile-wrap:hover .profile-hover-card,
.topbar-profile-wrap.is-open .profile-hover-card {
  display: grid;
  gap: 12px;
}

.profile-hover-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 22px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(23, 26, 33, 0.98);
}

.profile-hover-head {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.profile-hover-head .avatar-large {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  flex: 0 0 auto;
}

.profile-hover-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-hover-identity strong {
  font-size: 1rem;
  color: #ff8d4d;
}

.profile-hover-identity p,
.profile-hover-balance span,
.profile-hover-grid a {
  color: var(--muted);
}

.profile-hover-identity p {
  margin: 0;
}

.profile-hover-balance {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-hover-balance strong {
  font-size: 1.2rem;
}

.profile-hover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-hover-grid a,
.topbar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease;
}

.profile-hover-grid a:hover,
.topbar-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 216, 199, 0.16);
  background: rgba(255, 255, 255, 0.075);
}

.profile-hover-logout {
  display: grid;
}

.topbar-logout {
  color: #ff9d9d;
  background: rgba(140, 34, 34, 0.16);
}

.topbar-clean .profile-menu-card {
  width: 330px;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 90, 31, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(31, 31, 31, 0.98), rgba(12, 12, 12, 0.99));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
}

.topbar-clean .profile-menu-card::before {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(28, 28, 28, 0.98);
}

.topbar-clean .profile-menu-card .profile-hover-head {
  padding: 6px;
}

.topbar-clean .profile-menu-card .avatar-large {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.topbar-clean .profile-hover-identity strong {
  color: #fff;
}

.topbar-clean .profile-hover-identity p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

.topbar-clean .profile-hover-balance {
  min-height: 78px;
  align-content: end;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #d83f16, #ff5a1f 54%, #c3421c);
}

.topbar-clean .profile-hover-balance span,
.topbar-clean .profile-hover-balance strong {
  color: #fff;
}

.topbar-clean .profile-hover-balance span {
  opacity: 0.72;
  font-weight: 900;
}

.topbar-clean .profile-hover-balance strong {
  font-size: 1.38rem;
  line-height: 1;
}

.topbar-clean .profile-hover-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.topbar-clean .profile-hover-grid a,
.topbar-clean .topbar-logout {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
}

.topbar-clean .profile-hover-grid a:hover {
  color: #fff;
  border-color: rgba(255, 138, 61, 0.28);
  background: rgba(255, 90, 31, 0.12);
}

.topbar-clean .profile-hover-logout {
  padding-top: 2px;
}

.topbar-clean .topbar-logout {
  width: 100%;
  color: #ffb0a0;
  background: rgba(255, 90, 31, 0.08);
}

.topbar-clean .topbar-logout:hover {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.topbar-auth {
  padding: 0 14px;
  font-weight: 700;
  color: var(--text);
}

.topbar-auth.accent {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ffd978);
}

button,
input,
textarea,
select {
  font: inherit;
}

select {
  color-scheme: dark;
}

select,
option,
optgroup {
  color: var(--text);
  background-color: #171b22;
}

option:checked {
  background-color: rgba(78, 216, 199, 0.22);
}

button {
  border: 0;
  cursor: pointer;
}

.accent-button,
.ghost-button,
.tab-button,
.link-button {
  border-radius: 14px;
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms var(--ease-smooth),
    filter 180ms ease;
}

.accent-button,
.ghost-button,
.tab-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.accent-button {
  padding: 12px 18px;
  color: #111;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ffd978);
}

.ghost-button,
.tab-button,
.link-button.ghost-button {
  padding: 12px 18px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.compact {
  padding: 10px 14px;
}

.accent-button:hover,
.ghost-button:hover,
.tab-button:hover,
.link-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.layout,
.main-column,
.sidebar,
.forum-grid,
.club-grid,
.thread-list,
.post-list,
.mini-list,
.listing-grid,
.forum-list {
  display: grid;
  gap: 18px;
}

.layout {
  margin-top: 18px;
}

.main-column,
.sidebar,
.sidebar > *,
.thread-card,
.thread-body,
.feature-list li span,
.leaderboard li span,
.pulse-list li span,
.hero-thread > div,
.hero-thread h3,
.hero-thread p {
  min-width: 0;
}

.app-frame > .page-main > .layout,
.app-frame > .side-menu {
  margin-top: 18px;
}

.hero,
.content-grid,
.profile-hero {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.82fr);
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(18, 25, 38, 0.92), rgba(10, 14, 21, 0.94));
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition:
    transform 220ms var(--ease-smooth),
    border-color 220ms ease,
    box-shadow 220ms var(--ease-smooth),
    background 220ms ease;
}

.section-hero h1,
.profile-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section-copy,
.hero-text {
  max-width: 70ch;
  margin: 0;
  line-height: 1.65;
}

.hero-panel,
.forum-card,
.thread-card,
.club-card,
.sidebar-panel,
.forum-row,
.post-card,
.mini-card,
.listing-card {
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 220ms var(--ease-smooth),
    border-color 220ms ease,
    box-shadow 220ms var(--ease-smooth),
    background 220ms ease;
}

.sidebar-panel {
  overflow: hidden;
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.panel-header,
.hero-thread,
.pulse-list li,
.thread-card,
.leaderboard li,
.activity-list li,
.feature-list li,
.listing-price-row,
.thread-header-meta,
.forum-row-meta {
  align-items: center;
  justify-content: space-between;
}

.status-dot,
.thread-tag,
.status-badge,
.pin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.status-dot {
  padding: 6px 10px;
  color: #111;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-2), #a0ffe7);
}

.hero-thread,
.forum-card,
.thread-card,
.club-card,
.forum-row,
.post-card,
.mini-card,
.listing-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.hero-panel:hover,
.forum-card:hover,
.thread-card:hover,
.club-card:hover,
.sidebar-panel:hover,
.forum-row:hover,
.post-card:hover,
.mini-card:hover,
.listing-card:hover,
.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 216, 199, 0.18);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.32);
}

.hero-thread {
  border-color: rgba(255, 176, 72, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 176, 72, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 176, 72, 0.08);
}

.hero-thread-count {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: #ffd9a0;
  background: rgba(255, 176, 72, 0.08);
}

.pulse-list,
.leaderboard,
.activity-list,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.pulse-list li,
.leaderboard li,
.activity-list li,
.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-list li:last-child,
.leaderboard li:last-child,
.activity-list li:last-child,
.feature-list li:last-child {
  border-bottom: 0;
}

.hero-tags {
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-tags span,
.thread-tag,
.status-badge,
.pin-badge {
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
}

.search-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.filter-block {
  display: grid;
  gap: 12px;
}

.filter-toggle {
  display: none;
  width: max-content;
}

.search-grid {
  grid-template-columns: minmax(240px, 2.2fr) minmax(150px, 1.2fr) minmax(140px, 1fr) minmax(120px, 0.9fr) minmax(140px, 1fr) auto;
  align-items: end;
}

.search-grid-forum {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-grid-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-search {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  font-size: 0.86rem;
  color: var(--muted);
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.search-wide,
.search-actions {
  grid-column: auto;
}

.search-actions {
  display: flex;
  gap: 10px;
}

.hero-search .search-field {
  min-width: 0;
}

.search-grid .search-field,
.search-grid .search-actions,
.search-grid .search-field input,
.search-grid .search-field select {
  min-width: 0;
}

.hero-metrics {
  margin-top: 0;
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.metric-card span,
.metric-card small {
  color: var(--muted);
}

.metric-card strong {
  font-size: 1.5rem;
  line-height: 1;
}

.rich-content {
  color: var(--text);
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
  margin: 12px 0 0;
  line-height: 1.75;
}

.rich-content ul,
.rich-content ol {
  padding-left: 20px;
}

.rich-content blockquote {
  margin-left: 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(78, 216, 199, 0.62);
  border-radius: 0 14px 14px 0;
  background: rgba(78, 216, 199, 0.08);
}

.rich-content code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.pin-badge {
  margin-left: 8px;
  color: #111;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-4), #efffaa);
}

.thread-topline {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.status-badge.available {
  color: #111;
  background: linear-gradient(135deg, var(--accent-2), #befff5);
}

.status-badge.reserved {
  color: #111;
  background: linear-gradient(135deg, var(--accent), #ffe2a8);
}

.status-badge.sold {
  color: #fff;
  background: linear-gradient(135deg, #65748b, #3f4a5b);
}

.status-badge.open {
  color: #111;
  background: linear-gradient(135deg, #85f0c6, #cffff1);
}

.status-badge.review {
  color: #111;
  background: linear-gradient(135deg, #ffcb70, #ffe6b2);
}

.status-badge.completed {
  color: #111;
  background: linear-gradient(135deg, #87e0ff, #d7f6ff);
}

.status-badge.disputed,
.status-badge.arbitration,
.status-badge.cancelled {
  color: #fff;
  background: linear-gradient(135deg, #d45d72, #7d2637);
}

.market-shell,
.market-layout,
.market-hero,
.market-stat-grid,
.market-quick-strip,
.market-category-grid,
.market-side-column,
.market-main-column,
.market-deal-list,
.market-inline-meta,
.market-card-actions,
.deal-action-grid {
  display: grid;
  gap: 14px;
}

.market-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-stat-grid article,
.market-summary-card,
.market-filter-panel,
.market-list-panel,
.deal-control-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.market-stat-grid article strong,
.market-balance {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.market-stat-grid article span,
.market-inline-meta,
.market-deal-row small,
.market-empty-note,
.market-locked-note {
  color: var(--muted);
}

.market-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.market-quick-strip {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.market-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.market-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.market-category-tile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease;
}

.market-category-tile:hover,
.market-category-tile.is-active {
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(78, 216, 199, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.market-category-tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.market-category-icon.is-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-category-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.market-category-tile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.market-category-tile-copy strong,
.market-category-tile-copy small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-category-tile-copy small {
  color: var(--muted);
}

.market-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.market-stat-pill strong {
  color: var(--text);
}

.market-quick-chip,
.market-deal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.market-quick-chip:hover,
.market-deal-row:hover {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.market-quick-chip.is-muted {
  justify-content: center;
}

.market-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.market-page-layout .market-layout {
  grid-template-columns: minmax(0, 1fr);
}

.market-filters-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-filter-hero .search-shell {
  margin-top: 12px;
}

.market-filter-hero .search-actions {
  justify-content: flex-start;
}

.market-listing-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.listing-grid.market-listing-grid {
  grid-template-columns: minmax(0, 1fr);
}

.market-listing-grid > * {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.market-listing-card {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 14px 16px;
}

.market-listing-card-wide {
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(29, 31, 34, 0.94), rgba(22, 23, 25, 0.96));
}

.market-listing-card.trustcore-market-strong {
  border-color: rgba(78, 216, 199, 0.28);
  box-shadow: inset 0 1px 0 rgba(143, 241, 223, 0.08);
}

.market-listing-card.trustcore-market-watch {
  border-color: rgba(255, 203, 118, 0.32);
}

.market-listing-card.trustcore-market-risk {
  border-color: rgba(255, 104, 119, 0.34);
}

.market-listing-card.trustcore-market-new {
  border-color: rgba(143, 177, 255, 0.28);
}

.market-listing-body {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.market-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
}

.market-card-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.market-card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(78, 216, 199, 0.13);
  color: #8ff1df;
}

.market-card-icon-img {
  width: 22px;
  height: 22px;
}

.market-card-title-block {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.market-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.market-card-posted {
  color: var(--muted);
  font-size: 0.96rem;
  white-space: nowrap;
}

.market-listing-body h3,
.market-card-title-block h3 {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(1.05rem, 1.3vw, 1.32rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-card-title-block h3 a {
  color: inherit;
  text-decoration: none;
}

.market-card-title-block h3 a:hover {
  color: #8ff1df;
}

.market-card-price {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #eafff8;
  background: linear-gradient(135deg, #14784f, #1f9b66);
}

.market-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.market-card-meta .avatar-stack {
  width: 36px;
  height: 36px;
}

.market-card-meta strong {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-card-main > *,
.market-card-bottom > * {
  min-width: 0;
}

.market-card-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.market-card-check-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(158, 255, 219, 0.9);
  font-size: 0.8rem;
  font-weight: 750;
  background: rgba(16, 210, 140, 0.09);
}

.market-card-check-icon {
  width: 14px;
  height: 14px;
  opacity: 0.78;
}

.market-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
}

.market-card-seller-time {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.market-origin-chip,
.market-flag,
.market-card-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.market-origin-chip {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.9rem;
  color: #8effd8;
  border-color: rgba(78, 216, 199, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.trustcore-market-flag.strong {
  color: #8ff1df;
  border-color: rgba(78, 216, 199, 0.28);
  background: rgba(78, 216, 199, 0.1);
}

.trustcore-market-flag.watch {
  color: #ffe0a6;
  border-color: rgba(255, 203, 118, 0.3);
  background: rgba(255, 203, 118, 0.1);
}

.trustcore-market-flag.new {
  color: #d8e2ff;
  border-color: rgba(143, 177, 255, 0.3);
  background: rgba(143, 177, 255, 0.1);
}

.trustcore-market-flag.risk {
  color: #ffd0d5;
  border-color: rgba(255, 104, 119, 0.34);
  background: rgba(255, 104, 119, 0.1);
}

.market-trustcore-notice,
.market-trustcore-alert {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 203, 118, 0.24);
  border-radius: 14px;
  color: #ffe0a6;
  background: rgba(255, 203, 118, 0.08);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.market-trustcore-alert {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.market-trustcore-alert span {
  color: var(--muted);
}

.market-card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.market-card-description {
  margin: 0;
  color: #aebed3;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.market-seller-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.market-seller-line .avatar-stack {
  width: 36px;
  height: 36px;
}

.market-seller-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.market-seller-copy strong,
.market-seller-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-seller-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.market-card-actions-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.market-card-more {
  min-width: 80px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.market-action-icon {
  min-width: 38px;
  padding: 0 12px;
  font-size: 1rem;
}

.market-card-actions-inline .accent-button,
.market-card-actions-inline .ghost-button {
  min-height: 36px;
}

.market-inline-meta {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  font-size: 0.88rem;
}

.market-card-actions {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.market-buy-form {
  padding: 14px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 18px;
  background: rgba(78, 216, 199, 0.05);
}

.market-purchase-trustcore {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(78, 216, 199, 0.2);
  border-radius: 18px;
  background: rgba(78, 216, 199, 0.08);
}

.market-purchase-modal .market-purchase-trustcore {
  margin: 18px 0;
}

.market-purchase-trustcore > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.market-purchase-trustcore h3,
.market-purchase-trustcore p {
  margin: 0;
  overflow-wrap: anywhere;
}

.market-purchase-trustcore p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.market-purchase-trustcore > strong {
  flex: 0 0 auto;
  padding: 12px 14px;
  border-radius: 16px;
  color: #071316;
  background: linear-gradient(180deg, #8ff1df, #66dcbf);
}

.market-purchase-trustcore.trustcore-market-new {
  border-color: rgba(143, 177, 255, 0.3);
  background: rgba(143, 177, 255, 0.1);
}

.market-purchase-trustcore.trustcore-market-watch {
  border-color: rgba(255, 203, 118, 0.34);
  background: rgba(255, 203, 118, 0.1);
}

.market-purchase-trustcore.trustcore-market-risk {
  border-color: rgba(255, 104, 119, 0.38);
  background: rgba(255, 104, 119, 0.1);
}

.market-locked-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.market-balance {
  margin: 8px 0;
}

.market-category-tile.accent-teal .market-category-tile-icon { background: rgba(52, 211, 153, 0.16); }
.market-category-tile.accent-blue .market-category-tile-icon { background: rgba(80, 149, 255, 0.16); }
.market-category-tile.accent-violet .market-category-tile-icon { background: rgba(149, 107, 255, 0.16); }
.market-category-tile.accent-red .market-category-tile-icon { background: rgba(255, 107, 107, 0.16); }
.market-category-tile.accent-rose .market-category-tile-icon { background: rgba(255, 101, 164, 0.16); }
.market-category-tile.accent-mint .market-category-tile-icon { background: rgba(78, 216, 199, 0.16); }

.market-listing-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.market-deal-list {
  gap: 10px;
}

.market-deal-row {
  flex-direction: column;
  align-items: flex-start;
}

.market-deal-row strong,
.deal-control-head strong {
  font-size: 1.05rem;
}

.market-private-layer {
  padding: 14px 16px;
  border: 1px solid rgba(78, 216, 199, 0.2);
  border-radius: 16px;
  background: rgba(13, 45, 44, 0.34);
}

.market-private-layer pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: 0.95rem/1.6 "Manrope", sans-serif;
  color: #dff6ef;
}

.market-item-layout,
.market-item-columns,
.market-item-main,
.market-item-side,
.seller-trust-snapshot,
.arbitration-rules-link-panel,
.dispute-rules-panel,
.dispute-rules-grid {
  display: grid;
  gap: 18px;
}

.arbitration-rules-link-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-color: rgba(78, 216, 199, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.arbitration-rules-link-panel h2,
.arbitration-rules-link-panel p {
  margin: 0;
}

.arbitration-rules-link-panel p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
}

.market-item-hero {
  gap: 20px;
}

.market-item-price-box {
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 18px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.market-item-price-box span,
.market-item-price-box small {
  color: var(--muted);
}

.market-item-price-box strong {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #9ef5e7;
}

.market-item-columns {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
}

.seller-trust-head {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.seller-trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.seller-trust-grid .profile-info-card {
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  border-radius: 14px;
}

.seller-trust-grid .profile-info-card span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-trust-grid .profile-info-card strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.dispute-rules-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dispute-rules-grid .mini-card {
  align-content: start;
}

.dispute-decision-panel,
.dispute-decision-timeline,
.admin-deal-resolution-form {
  display: grid;
  gap: 12px;
}

.dispute-decision-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 184, 77, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.12), rgba(78, 216, 199, 0.04) 48%, rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.dispute-decision-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffb84d, #86f0df);
}

.dispute-decision-panel-buyer {
  border-color: rgba(134, 240, 223, 0.42);
  background:
    linear-gradient(135deg, rgba(134, 240, 223, 0.13), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.dispute-decision-panel-review {
  border-color: rgba(122, 176, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(122, 176, 255, 0.13), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.dispute-decision-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.dispute-decision-hero h2 {
  margin-bottom: 6px;
}

.dispute-decision-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.dispute-decision-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffb84d, #86f0df);
  color: #09101a;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(255, 184, 77, 0.2);
}

.dispute-decision-panel-buyer .dispute-decision-mark {
  background: linear-gradient(135deg, #86f0df, #d8f7a3);
}

.dispute-decision-panel-review .dispute-decision-mark {
  background: linear-gradient(135deg, #7ab0ff, #86f0df);
}

.dispute-decision-timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-deal-resolution-form {
  min-width: min(100%, 440px);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-deal-resolution-form label {
  display: grid;
  gap: 6px;
}

.admin-deal-resolution-form textarea {
  min-height: 72px;
}

@media (max-width: 900px) {
  .market-item-columns,
  .dispute-case-grid,
  .dispute-rules-grid,
  .dispute-decision-timeline,
  .dispute-summary-list,
  .dispute-participants-grid {
    grid-template-columns: 1fr;
  }

  .dispute-decision-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dispute-decision-hero .thread-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .deal-review-form {
    grid-template-columns: 1fr;
  }

  .arbitration-rules-link-panel {
    grid-template-columns: 1fr;
  }

  .review-score-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-item-price-box {
    min-width: 0;
  }

}

.deal-control-panel {
  margin-top: 14px;
}

.market-history-panel,
.deal-timeline-panel {
  display: grid;
  gap: 16px;
}

.market-history-list,
.deal-timeline-list {
  display: grid;
  gap: 14px;
}

.seller-listings-page {
  gap: 18px;
}

.seller-listings-panel,
.seller-listings-list {
  display: grid;
  gap: 12px;
}

.seller-listing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.seller-listing-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.seller-listing-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(78, 216, 199, 0.12);
  color: #9ef5e7;
  font-weight: 900;
}

.seller-listing-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.seller-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.seller-listing-meta span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.seller-listing-status.is-available {
  color: #8ff1df;
  border-color: rgba(78, 216, 199, 0.35);
}

.seller-listing-status.is-reserved {
  color: #ffd36b;
  border-color: rgba(255, 211, 107, 0.35);
}

.seller-listing-status.is-sold {
  color: #aab6c8;
}

.seller-listing-row h3,
.seller-listing-row p {
  margin: 0;
}

.seller-listing-row h3 {
  font-size: 1.08rem;
}

.seller-listing-row p {
  margin-top: 6px;
  color: var(--muted);
}

.seller-listing-side {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--muted);
  font-size: 0.86rem;
}

.seller-listing-side strong {
  color: var(--text);
  font-size: 1.15rem;
}

.seller-listing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seller-listing-locked {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.seller-listings-empty {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.market-history-item,
.deal-timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.market-history-dot,
.deal-timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(143, 241, 223, 0.12);
}

.market-history-item strong,
.deal-timeline-item strong {
  display: block;
  color: var(--text);
}

.market-history-item p,
.deal-timeline-item p,
.market-history-item small,
.deal-timeline-item small {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
}

.deal-control-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.deal-control-head h3 {
  margin: 4px 0 0;
}

.dispute-workspace,
.dispute-open-form,
.dispute-reply-form {
  display: grid;
  gap: 16px;
}

.dispute-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.dispute-summary-card,
.dispute-action-card,
.dispute-participants-card {
  display: grid;
  gap: 16px;
}

.dispute-summary-card h2,
.dispute-action-card h2 {
  margin: 4px 0 0;
}

.dispute-summary-list,
.dispute-participants-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dispute-summary-list article,
.dispute-party-card,
.dispute-action-meta,
.dispute-summary-text {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.dispute-summary-list span,
.dispute-party-card span,
.dispute-summary-text span,
.dispute-action-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.dispute-summary-list strong,
.dispute-party-card strong,
.dispute-action-meta strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.dispute-summary-text p,
.dispute-party-card p,
.dispute-action-card p,
.dispute-action-card small {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dispute-action-card {
  align-content: start;
  border-color: rgba(78, 216, 199, 0.24);
}

.dispute-action-card-warning {
  border-color: rgba(255, 190, 89, 0.35);
  background: linear-gradient(135deg, rgba(255, 190, 89, 0.1), rgba(255, 255, 255, 0.035));
}

.dispute-action-card-accent {
  border-color: rgba(78, 216, 199, 0.34);
  background: linear-gradient(135deg, rgba(78, 216, 199, 0.1), rgba(255, 255, 255, 0.035));
}

.dispute-action-card-success {
  border-color: rgba(95, 214, 130, 0.32);
  background: linear-gradient(135deg, rgba(95, 214, 130, 0.1), rgba(255, 255, 255, 0.035));
}

.dispute-action-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.dispute-chat-log {
  display: grid;
  gap: 12px;
}

.dispute-message {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  max-width: 860px;
}

.dispute-message.is-mine {
  margin-left: auto;
}

.dispute-message-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #10161f;
  font-weight: 900;
  background: linear-gradient(135deg, #5ad7c6, #ffe488);
}

.dispute-message-body {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.dispute-message.is-mine .dispute-message-body {
  border-color: rgba(78, 216, 199, 0.24);
  background: rgba(78, 216, 199, 0.055);
}

.dispute-message.system .dispute-message-body {
  border-style: dashed;
}

.dispute-message-body p {
  margin: 8px 0 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.dispute-reply-form {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.deal-dispute-callout {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 190, 89, 0.28);
  border-radius: 18px;
  background: rgba(255, 190, 89, 0.08);
}

.deal-dispute-callout h3,
.deal-dispute-callout p {
  margin: 0;
}

.deal-dispute-callout p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
}

.deal-review-panel {
  overflow: hidden;
}

.deal-review-form {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(78, 216, 199, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.review-score-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.review-score-field legend,
.deal-review-comment span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.review-score-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 8px;
}

.review-score-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.review-score-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-score-options span {
  display: grid;
  gap: 2px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
  align-content: center;
}

.review-score-options strong {
  color: var(--text);
  font-size: 1.25rem;
}

.review-score-options input:checked + span {
  border-color: rgba(255, 184, 77, 0.65);
  color: #111827;
  background: linear-gradient(135deg, #ffb84d, #ffe7a3);
}

.review-score-options input:checked + span strong {
  color: #111827;
}

.deal-review-comment {
  display: grid;
  min-width: 0;
}

.deal-review-comment textarea {
  min-height: 112px;
  resize: vertical;
}

.deal-review-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.ticker {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.74);
}

.ticker-track {
  display: flex;
  gap: 48px;
  padding: 14px 18px;
  width: max-content;
  max-width: none;
  animation: ticker-scroll 24s linear infinite;
  color: #dce7f5;
  font-size: 0.92rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33%); }
}

.content-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.72fr);
  align-items: start;
}

.content-grid > .main-column:only-child {
  grid-column: 1 / -1;
}

.content-grid > *,
.forum-grid > *,
.article-rail > *,
.thread-list > *,
.forum-list > * {
  min-width: 0;
}

.section-head {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-head h2,
.listing-card h3,
.thread-body h3,
.forum-row h3,
.mini-card h3 {
  margin: 0;
}

.forum-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forum-icon {
  min-width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #111;
}

.amber { background: linear-gradient(135deg, var(--accent), #ffd978); }
.cyan { background: linear-gradient(135deg, var(--accent-2), #b7fff2); }
.rose { background: linear-gradient(135deg, var(--accent-3), #ffb7bf); }
.lime { background: linear-gradient(135deg, var(--accent-4), #e5ff9b); }

.forum-meta,
.thread-header-meta,
.forum-row-meta,
.listing-meta {
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.thread-list,
.post-list,
.listing-grid {
  gap: 14px;
}

.thread-card {
  align-items: flex-start;
}

.thread-rank {
  min-width: 48px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.thread-body {
  flex: 1;
}

.thread-body p {
  margin: 10px 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.thread-body h3,
.feature-list li span,
.leaderboard li span,
.pulse-list li span,
.hero-thread h3,
.hero-thread p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.thread-stats {
  min-width: 90px;
  text-align: right;
}

.thread-stats strong {
  display: block;
  font-size: 1.2rem;
}

.thread-stats small {
  display: block;
  margin-top: 6px;
}

.trust-panel,
.trust-inline,
.trust-stats,
.trust-badges,
.deal-trust-strip {
  display: flex;
  gap: 10px;
}

.trust-panel {
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(78, 216, 199, 0.09), rgba(255, 255, 255, 0.02));
}

.trust-panel-compact {
  flex: 1;
  min-width: 0;
  padding: 16px;
  align-items: center;
}

.trust-panel-compact .trust-score-ring {
  min-width: 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.trust-panel-compact .trust-panel-copy {
  gap: 6px;
}

.trust-panel-compact .trust-copy {
  font-size: 0.94rem;
}

.trust-more-link {
  width: fit-content;
  margin-top: 4px;
}

.trust-score-ring {
  display: grid;
  place-items: center;
  min-width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #10161f;
  background: linear-gradient(135deg, #5ad7c6, #ffe488);
}

.trust-panel-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.trust-panel-copy h3,
.profile-copy h1 {
  margin: 0;
}

.trust-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-stats,
.trust-badges,
.trust-inline {
  flex-wrap: wrap;
}

.trust-badge,
.trust-pill,
.profile-role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
}

.trust-badge,
.profile-role-chip {
  color: #111;
  font-weight: 800;
  border-color: transparent;
  background: linear-gradient(135deg, #ffd978, #9ef5e7);
}

.trust-pill.subtle {
  color: var(--muted);
}

.review-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.review-author {
  margin-left: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.avatar-stack,
.avatar-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.avatar-large {
  width: 72px;
  height: 72px;
  font-size: 1.15rem;
}

.avatar-giant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  font-size: 1.6rem;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #ffe285);
}

.avatar-image-shell {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
}

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

.online-users {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.avatar-stack.more {
  width: auto;
  padding: 0 12px;
  color: var(--accent-2);
}

.spotlight {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 47, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(17, 24, 36, 0.98), rgba(10, 15, 22, 0.95));
}

.forum-row {
  justify-content: space-between;
}

.forum-row-main,
.post-author,
.profile-lead {
  align-items: flex-start;
}

.profile-hero {
  gap: 20px;
}

.profile-lead {
  justify-content: space-between;
  gap: 24px;
}

.profile-copy {
  display: grid;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.profile-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-author {
  flex-direction: column;
  min-width: 0;
  padding-right: 8px;
}

.post-body {
  min-width: 0;
}

.post-body p {
  margin: 12px 0 0;
  line-height: 1.8;
}

.mini-list {
  gap: 12px;
}

.profile-posts-stream .compact-thread-list {
  grid-template-columns: 1fr;
}

.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-card p {
  line-height: 1.7;
}

.listing-price-row strong {
  font-size: 1.6rem;
}

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

.form-stack label {
  display: grid;
  gap: 8px;
}

.form-stack span {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.form-stack input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}

.form-stack input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #0d1519;
  background: linear-gradient(180deg, #8ff1df, #5ed6bd);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-stack input[type="file"]:hover::file-selector-button {
  background: linear-gradient(180deg, #ffe08a, #ffad38);
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: rgba(255, 157, 47, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 157, 47, 0.12);
}

.editor-shell {
  display: grid;
  gap: 12px;
}

.editor-storage {
  display: none;
}

.editor-surface {
  min-height: 320px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.7;
  outline: none;
  overflow-wrap: anywhere;
}

.editor-surface:focus {
  border-color: rgba(255, 157, 47, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 157, 47, 0.12);
}

.editor-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.editor-surface img {
  max-width: 100%;
  border-radius: 12px;
}

.editor-surface blockquote {
  margin: 10px 0;
  padding: 12px 14px;
  border-left: 3px solid #8ff1df;
  border-radius: 12px;
  color: #d9edf7;
  background: rgba(143, 241, 223, 0.08);
}

.editor-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(78, 216, 199, 0.3);
  border-radius: 14px;
  background: rgba(31, 67, 98, 0.84);
}

.editor-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #c8ddf4;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.editor-tool:hover,
.editor-tool.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.editor-popover {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(78, 216, 199, 0.28);
  border-radius: 14px;
  background: rgba(18, 31, 43, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.editor-popover[hidden] {
  display: none;
}

.editor-color-popover button,
.editor-smile-popover button,
.editor-gif-popover button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.editor-color-popover button {
  background: var(--swatch);
}

.editor-smile-popover button {
  color: var(--text);
  font-size: 1.15rem;
}

.editor-gif-popover {
  max-width: 410px;
}

.editor-gif-popover button {
  width: 86px;
  height: 64px;
  padding: 4px;
}

.editor-gif-popover img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.editor-shell.is-fullscreen {
  position: fixed;
  inset: 12px;
  z-index: 220;
  padding: 16px;
  border-radius: 18px;
  background: #111820;
  overflow: auto;
}

.editor-shell.is-fullscreen .editor-input {
  min-height: 54vh;
}

.editor-shell.is-fullscreen .editor-surface {
  min-height: 54vh;
}

.editor-help {
  font-size: 0.84rem;
  color: var(--muted);
}

.editor-preview {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.rt-color-accent {
  color: #8ff1df;
}

.rt-color-muted {
  color: var(--muted);
}

.rt-color-success {
  color: #3ddc97;
}

.rt-color-warning {
  color: #ffd36b;
}

.rt-color-mint {
  color: #8ff1df;
}

.rt-color-gold {
  color: #ffd36b;
}

.rt-color-coral {
  color: #ff8f8f;
}

.rt-color-blue {
  color: #9db7ff;
}

.rt-color-purple {
  color: #d7a4ff;
}

.rt-color-light {
  color: #f2f5f7;
}

.rt-color-red {
  color: #ff5d5d;
}

.rt-color-orange {
  color: #ff9f43;
}

.rt-color-yellow {
  color: #fff06a;
}

.rt-color-green {
  color: #70e67a;
}

.rt-color-cyan {
  color: #70dcff;
}

.rt-color-pink {
  color: #ff8bd1;
}

.rt-color-silver {
  color: #b8c2cc;
}

.rt-color-white {
  color: #ffffff;
}

.rt-color-black {
  color: #111820;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.35);
}

.rt-size-small {
  font-size: 0.88em;
}

.rt-size-large {
  font-size: 1.18em;
}

.rt-size-xl {
  font-size: 1.38em;
}

.rt-align-left,
.rt-align-center,
.rt-align-right {
  display: block;
}

.rt-align-left {
  text-align: left;
}

.rt-align-center {
  text-align: center;
}

.rt-align-right {
  text-align: right;
}

.attachment-strip {
  margin-top: 16px;
}

.attachment-title {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attachment-list-inline {
  margin-top: 10px;
}

.attachment-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(78, 216, 199, 0.24);
  border-radius: 14px;
  background: rgba(78, 216, 199, 0.08);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.page-chip.is-current {
  color: #111;
  font-weight: 800;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ffd978);
}

.messages-layout,
.settings-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 360px minmax(0, 1fr);
}

.message-thread-list,
.settings-nav,
.wallet-history {
  display: grid;
  gap: 8px;
}

.message-thread-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  transition:
    transform 180ms var(--ease-smooth),
    background 180ms ease,
    box-shadow 180ms var(--ease-smooth);
}

.message-thread-card.is-hidden {
  display: none;
}

.message-thread-card.is-active {
  background: rgba(78, 216, 199, 0.1);
}

.message-thread-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.04);
}

.message-thread-head,
.message-thread-meta,
.message-room-head,
.message-member-row,
.wallet-actions,
.wallet-row,
.wallet-row-side,
.profile-action-row,
.settings-user-chip {
  display: flex;
  gap: 12px;
}

.message-thread-head,
.message-thread-meta,
.message-room-head,
.wallet-row {
  justify-content: space-between;
  align-items: flex-start;
}

.message-thread-card p,
.message-thread-meta span,
.wallet-row p,
.wallet-row-side span,
.wallet-row-side small,
.settings-user-chip p,
.profile-status {
  margin: 0;
  color: var(--muted);
}

.message-thread-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #111;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ffd978);
}

.message-inbox-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.message-search {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.message-search span {
  color: var(--muted);
  font-weight: 900;
}

.message-search input {
  border: 0;
  color: var(--text);
  background: transparent;
  outline: none;
}

.message-icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #bcd1e8;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.35rem;
  cursor: pointer;
  transition:
    transform 180ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms var(--ease-smooth);
}

.message-icon-button:hover {
  transform: translateY(-2px) rotate(6deg);
  border-color: rgba(78, 216, 199, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.message-empty-list {
  display: grid;
  gap: 6px;
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
}

.message-stream {
  display: grid;
  gap: 14px;
  max-height: 640px;
  padding-right: 6px;
  overflow: auto;
}

.message-bubble {
  display: grid;
  gap: 10px;
  max-width: 88%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.message-bubble.is-own {
  margin-left: auto;
  border-color: rgba(255, 157, 47, 0.34);
  background: rgba(255, 157, 47, 0.08);
}

.message-bubble-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.message-meta-pack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.message-delivery-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(227, 232, 243, 0.72);
}

.message-delivery-status.is-delivered {
  background: rgba(118, 136, 168, 0.16);
  color: rgba(227, 232, 243, 0.82);
}

.message-delivery-status.is-read {
  background: rgba(87, 213, 154, 0.14);
  color: #8ff0bf;
}

.message-attachment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.message-attachment-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.message-attachment-preview img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.trust-member-pill {
  display: grid;
  gap: 8px;
}

.trustcore-dashboard-page,
.trustcore-dashboard-hero,
.trustcore-dashboard-grid,
.trustcore-workspace-grid,
.trustcore-balance-card,
.trustcore-metric-card,
.trustcore-bar-panel,
.trustcore-rule-card,
.trustcore-leader-panel,
.trustcore-leader-list {
  display: grid;
  gap: 12px;
}

.trustcore-dashboard-page {
  gap: 16px;
  color: #f4f4f5;
}

.trustcore-dashboard-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.trustcore-dashboard-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.trustcore-dashboard-hero p:not(.eyebrow) {
  max-width: 860px;
  margin: 0;
  color: #a3a3a3;
  line-height: 1.62;
}

.trustcore-dashboard-grid {
  grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(220px, 0.72fr));
}

.trustcore-balance-card,
.trustcore-metric-card,
.trustcore-bar-panel,
.trustcore-rule-card,
.trustcore-leader-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    #171717;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 42px rgba(0, 0, 0, 0.18);
}

.trustcore-orange-card {
  grid-template-columns: minmax(0, 0.8fr) minmax(180px, 1fr);
  align-items: end;
  min-height: 230px;
  background:
    linear-gradient(135deg, #ff5a1f 0%, #ff7a1a 42%, #ffefe8 100%);
  color: #fff;
}

.trustcore-balance-card span,
.trustcore-metric-card span {
  color: rgba(255, 255, 255, 0.74);
}

.trustcore-balance-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.92;
  white-space: nowrap;
}

.trustcore-balance-card small {
  color: rgba(255, 255, 255, 0.78);
}

.trustcore-wave {
  position: relative;
  min-height: 130px;
  overflow: hidden;
}

.trustcore-wave i {
  position: absolute;
  inset: auto 0 24px;
  height: 74px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.82) transparent transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.trustcore-wave i + i {
  inset: auto 18px 0;
  border-top-color: rgba(26, 26, 26, 0.42);
  transform: rotate(7deg);
}

.trustcore-metric-card {
  align-content: space-between;
  min-height: 230px;
}

.trustcore-metric-card strong {
  font-size: 1.55rem;
}

.trustcore-metric-card p,
.trustcore-rule-card p,
.trustcore-leader-list p {
  margin: 0;
  color: #a3a3a3;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.trustcore-workspace-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.trustcore-panel-head h2,
.trustcore-rule-card h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.trustcore-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 290px;
  padding-top: 22px;
}

.trustcore-bars > div {
  display: grid;
  gap: 8px;
  align-items: end;
  min-height: 248px;
}

.trustcore-bars span {
  display: block;
  width: 100%;
  min-height: 42px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #ff5a1f, rgba(255, 255, 255, 0.72));
  box-shadow: 0 0 28px rgba(255, 90, 31, 0.22);
}

.trustcore-bars strong,
.trustcore-bars small {
  text-align: center;
}

.trustcore-bars small,
.trustcore-leader-list span {
  color: #8e8e8e;
}

.trustcore-rule-card {
  align-content: space-between;
}

.trustcore-rule-card > div {
  display: grid;
  gap: 8px;
}

.trustcore-rule-card span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #d4d4d4;
}

.trustcore-leader-list article {
  display: grid;
  grid-template-columns: 42px minmax(150px, 1fr) 92px minmax(0, 1.4fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trustcore-leader-list article:last-child {
  border-bottom: 0;
}

.trustcore-leader-list strong {
  overflow-wrap: anywhere;
}

.trustcore-leader-list em {
  color: #ff8a3d;
  font-style: normal;
  font-weight: 900;
}

.forum-home-dashboard .accent-button {
  border-color: rgba(255, 118, 42, 0.34);
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  color: #fff;
}

.forum-home-dashboard-hero {
  padding: 0;
}

.forum-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.forum-home-dashboard-hero h1 {
  max-width: 900px;
}

.forum-trust-route-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 0.95fr));
  gap: 14px;
}

.forum-trust-route-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.forum-trust-route-card.is-primary {
  border-color: rgba(255, 118, 42, 0.26);
  background:
    radial-gradient(circle at top left, rgba(255, 118, 42, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(64, 25, 16, 0.9), rgba(16, 25, 31, 0.86));
}

.forum-trust-route-card span {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forum-trust-route-card h2,
.forum-trust-route-card p {
  margin: 0;
}

.forum-trust-route-card h2 {
  font-size: 1.45rem;
  line-height: 1.08;
}

.forum-trust-route-card p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.forum-trust-route-card a {
  align-self: end;
  color: #ffb16f;
  font-weight: 800;
  text-decoration: none;
}

.forum-home-main-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
}

.forum-home-board-panel .forum-thread-stream {
  gap: 0;
}

.forum-home-board-panel .forum-thread-row {
  border-color: rgba(255, 255, 255, 0.08);
}

.forum-home-board-panel .forum-thread-row-meta a,
.forum-home-dashboard .forum-home-promo-item {
  color: #ffb16f;
}

.forum-home-dashboard .forum-home-promo-item:hover,
.forum-home-board-panel .forum-thread-row h3 a:hover {
  color: #fff;
}

.forum-home-safety-card {
  align-content: start;
}

.forum-home-check-list {
  display: grid;
  gap: 10px;
}

.forum-home-check-list span {
  display: block;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.035);
}

.forum-home-board-panel .forum-map-card {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    #171717;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trustcore-admin-card .admin-entity-head > strong {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: #8ff1df;
}

.deal-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.settings-sidebar,
.message-sidebar {
  align-self: start;
}

.message-sidebar {
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.settings-user-chip {
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-nav-link {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.settings-nav-link.is-active,
.settings-nav-link:hover {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.34);
  background: rgba(27, 141, 109, 0.18);
}

.settings-section {
  display: grid;
  gap: 18px;
}

.settings-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-form .checkbox-field {
  grid-column: 1 / -1;
}

.settings-dashboard-page {
  gap: 16px;
}

.settings-dashboard-hero,
.settings-sidebar-rich,
.settings-main-rich {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(13, 15, 20, 0.94);
}

.settings-dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  min-height: 190px;
  padding: 34px;
  border-radius: 24px;
}

.settings-dashboard-hero h1,
.settings-dashboard-hero p {
  margin: 0;
}

.settings-dashboard-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.settings-dashboard-hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
}

.settings-layout-rich {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
}

.settings-sidebar-rich,
.settings-main-rich {
  border-radius: 22px;
}

.settings-sidebar-rich {
  position: sticky;
  top: 92px;
  padding: 14px;
}

.settings-main-rich {
  padding: 24px;
}

.settings-sidebar-rich .settings-user-chip {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 10px 18px;
  margin-bottom: 10px;
}

.settings-sidebar-rich .avatar-giant {
  width: 58px;
  min-width: 58px;
  height: 58px;
  border-radius: 16px;
}

.settings-sidebar-rich .settings-user-chip strong,
.settings-sidebar-rich .settings-user-chip p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settings-sidebar-rich .settings-nav {
  gap: 6px;
}

.settings-sidebar-rich .settings-nav-link {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.settings-sidebar-rich .settings-nav-link.is-active,
.settings-sidebar-rich .settings-nav-link:hover {
  color: #fff;
  border-color: rgba(34, 199, 122, 0.18);
  background: rgba(34, 199, 122, 0.1);
}

.settings-main-rich .section-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.settings-main-rich .settings-form {
  gap: 14px;
}

.settings-main-rich .settings-form label:not(.checkbox-field) {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.settings-main-rich .settings-form label > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.settings-main-rich .settings-form input,
.settings-main-rich .settings-form select,
.settings-main-rich .settings-form textarea {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.settings-main-rich .checkbox-field {
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 860px) {
  .settings-dashboard-hero {
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    padding: 22px;
    border-radius: 18px;
  }

  .settings-layout-rich {
    grid-template-columns: 1fr;
  }

  .settings-sidebar-rich {
    position: static;
    top: auto;
  }

  .status-upgrade-row-head {
    grid-template-columns: 1fr;
  }

  .status-upgrade-row {
    padding: 18px;
  }
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.wallet-balance {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(255, 157, 47, 0.16), rgba(255, 217, 120, 0.1));
}

.wallet-actions {
  flex-wrap: wrap;
}

.wallet-row {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.wallet-row-side {
  flex-direction: column;
  align-items: flex-end;
}

.wallet-chip {
  font-weight: 800;
  color: #ffe6b8;
}

.profile-action-row,
.message-member-row {
  flex-wrap: wrap;
  align-items: center;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 420px;
  text-align: center;
}

.thread-card.is-hidden {
  display: none;
}

.hero-home {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.hero-panel-rich,
.profile-aside,
.profile-main-column,
.profile-wall-feed,
.compose-main,
.compose-side,
.compose-form-main,
.compose-form-side,
.message-sidebar-head {
  display: grid;
  gap: 12px;
}

.hero-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-live-panel,
.live-feed-list,
.live-user-grid {
  display: grid;
  gap: 14px;
}

.live-feed-item {
  display: grid;
  gap: 8px;
}

.live-feed-item p,
.live-feed-item small,
.live-user-chip small {
  color: var(--muted);
}

.live-feed-item p {
  margin: 6px 0 0;
}

.live-user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.live-user-chip span {
  display: grid;
  gap: 3px;
}

.hero-route-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.hero-route-card span,
.article-meta-row span,
.article-visual-meta span,
.profile-wall-card-head span,
.message-composer-actions span {
  color: var(--muted);
}

.hero-route-card:hover,
.profile-section-tabs a:hover {
  border-color: rgba(78, 216, 199, 0.34);
  background: rgba(27, 141, 109, 0.18);
}

.hero-route-card:hover {
  transform: translateY(-2px);
}

.article-rail,
.compact-thread-list,
.profile-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.article-card.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 1.08fr) minmax(0, 1fr);
}

.article-visual,
.article-copy,
.compose-form-card,
.compose-guide-card,
.profile-summary-card,
.profile-side-card,
.message-start-card,
.message-composer-card {
  display: grid;
}

.article-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(8, 13, 21, 0.98), rgba(20, 30, 47, 0.92));
}

.article-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.08), rgba(10, 12, 18, 0.3));
  pointer-events: none;
}

.article-visual-default {
  background:
    radial-gradient(circle at top right, rgba(255, 221, 138, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(12, 19, 31, 0.98), rgba(22, 33, 51, 0.92));
}

.article-visual-market {
  background:
    radial-gradient(circle at top right, rgba(120, 255, 232, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(7, 27, 31, 0.98), rgba(14, 56, 59, 0.92));
}

.article-visual-guides {
  background:
    radial-gradient(circle at top right, rgba(255, 193, 126, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(31, 17, 11, 0.98), rgba(72, 38, 18, 0.92));
}

.article-visual-clubs {
  background:
    radial-gradient(circle at top right, rgba(186, 255, 140, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(18, 28, 14, 0.98), rgba(38, 60, 24, 0.92));
}

.article-visual-announcements,
.article-visual-earnings {
  background:
    radial-gradient(circle at top right, rgba(255, 154, 112, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(32, 18, 11, 0.98), rgba(68, 32, 19, 0.92));
}

.article-meta-row,
.profile-wall-card-head,
.message-composer-actions,
.compose-inline-grid,
.compose-layout,
.compose-form-grid,
.profile-shell,
.profile-dashboard-head,
.compose-intro-grid {
  display: grid;
  gap: 12px;
}

.article-meta-row,
.message-composer-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: space-between;
  align-items: center;
}

.article-badge,
.message-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.article-badge {
  color: #111;
  background: linear-gradient(135deg, var(--accent), #fff0ad);
}

.subtle-badge {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.article-cover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-copy {
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.article-copy h3,
.message-thread-copy strong,
.message-room-head h2,
.compose-card-head h2,
.compose-guide-card h2,
.profile-dashboard h2 {
  margin: 0;
}

.article-copy h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

.article-copy p {
  margin: 0;
}

.article-meta-row {
  grid-template-columns: repeat(3, minmax(0, max-content));
  align-items: center;
  font-size: 0.88rem;
}

.profile-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.profile-summary-card {
  gap: 18px;
}

.profile-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-breadcrumbs strong,
.profile-breadcrumbs a:hover {
  color: var(--accent-2);
}

.profile-photo-card {
  display: grid;
  gap: var(--ui-space-3);
  justify-items: stretch;
  padding: var(--ui-space-4);
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--ui-surface);
}

.profile-photo-card .avatar-giant {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 24px;
  font-size: clamp(4rem, 12vw, 8rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.38)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.profile-photo-meta {
  display: none;
  gap: 4px;
  text-align: center;
}

.profile-photo-meta strong {
  font-size: 1.25rem;
}

.profile-photo-meta span {
  color: var(--muted);
}

.profile-edit-button {
  width: 100%;
  justify-content: center;
}

.profile-deposit-card {
  display: grid;
  gap: var(--ui-space-3);
  padding: var(--ui-space-4);
  border-radius: var(--ui-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
}

.profile-muted-title,
.profile-last-seen {
  margin: 0;
  color: var(--muted);
}

.profile-deposit-card h2 {
  margin: 6px 0 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.profile-deposit-card strong {
  display: block;
  color: var(--text);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.profile-deposit-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.profile-wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-wallet-actions a {
  justify-content: center;
}

.profile-main-card {
  display: grid;
  gap: var(--ui-space-4);
  padding: 28px;
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
}

.profile-last-seen {
  font-size: 0.9rem;
}

.profile-main-head {
  display: grid;
  gap: 10px;
}

.profile-main-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.profile-main-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.profile-main-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.profile-main-hero .profile-main-head {
  align-self: center;
  padding-left: 4px;
}

.profile-main-card-apple .trust-inline {
  gap: 10px;
}

.profile-main-divider {
  height: 1px;
  background: var(--ui-border-soft);
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-info-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border-soft);
  background: var(--ui-surface-soft);
}

.profile-info-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-info-card strong {
  font-weight: 700;
}

.profile-detail-grid,
.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-detail-grid article,
.profile-contact-grid a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.profile-detail-grid span,
.profile-contact-grid span {
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-detail-grid strong,
.profile-contact-grid strong {
  overflow-wrap: anywhere;
  color: var(--text);
}

.profile-content-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-content-tabs a {
  padding: 16px 18px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  color: var(--text);
  font-weight: 800;
  background: var(--ui-surface-soft);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.profile-content-tabs a:hover {
  background: var(--ui-surface-strong);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.profile-hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.profile-metric-fold {
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface-soft);
}

.profile-metric-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.profile-metric-fold summary::-webkit-details-marker {
  display: none;
}

.profile-metric-fold summary span {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.profile-metric-fold summary strong {
  color: var(--text);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.profile-status {
  max-width: 720px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--ui-border-soft);
  background: var(--ui-surface-soft);
  color: var(--text) !important;
}

.profile-posts-stream {
  padding: var(--ui-space-4);
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
}

.profile-thread-stream {
  display: grid;
  gap: 0;
}

.profile-side-grid,
.profile-dashboard,
.profile-wall-card {
  display: grid;
  gap: 14px;
}

.profile-dashboard-head {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
}

.profile-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.profile-section-tabs a,
.message-filter-pill {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.profile-section-tabs a,
.message-filter-pill {
  border-radius: 999px;
}

.profile-section-tabs a:hover,
.message-filter-pill.is-active {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.34);
  background: rgba(27, 141, 109, 0.18);
}

.profile-dashboard-page {
  gap: 16px;
}

.profile-dashboard-page .profile-breadcrumbs {
  margin-bottom: 0;
}

.profile-dashboard-page .profile-breadcrumbs strong,
.profile-dashboard-page .profile-breadcrumbs a:hover {
  color: #ffb16f;
}

.profile-dashboard-grid {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
}

.profile-dashboard-panel,
.profile-orange-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    #171717;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 42px rgba(0, 0, 0, 0.18);
}

.profile-orange-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #ff5a1f 0%, #ff7a1a 48%, #ffe6dc 100%);
}

.profile-orange-card .avatar-giant {
  border-radius: 18px;
  background: rgba(18, 18, 18, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.profile-orange-card .profile-edit-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(18, 18, 18, 0.22);
}

.profile-dashboard-page .profile-deposit-card strong,
.profile-dashboard-page .profile-main-head h1,
.profile-dashboard-page .profile-info-card strong,
.profile-dashboard-page .profile-detail-grid strong,
.profile-dashboard-page .profile-contact-grid strong,
.profile-dashboard-page .profile-metric-fold summary strong {
  color: #f5f5f5;
}

.profile-dashboard-page .profile-last-seen,
.profile-dashboard-page .profile-muted-title,
.profile-dashboard-page .profile-info-card span,
.profile-dashboard-page .profile-detail-grid span,
.profile-dashboard-page .profile-contact-grid span,
.profile-dashboard-page .profile-metric-fold summary span,
.profile-dashboard-page .profile-deposit-note,
.profile-dashboard-page .profile-main-head p {
  color: #a3a3a3;
}

.profile-dashboard-page .profile-role-chip {
  border-color: rgba(255, 118, 42, 0.28);
  background: rgba(255, 90, 31, 0.14);
  color: #ffb16f;
}

.profile-dashboard-page .profile-info-card,
.profile-dashboard-page .profile-detail-grid article,
.profile-dashboard-page .profile-contact-grid a,
.profile-dashboard-page .profile-content-tabs a,
.profile-dashboard-page .profile-metric-fold,
.profile-dashboard-page .profile-status {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-dashboard-page .profile-content-tabs a:hover,
.profile-dashboard-page .profile-contact-grid a:hover {
  color: #fff;
  border-color: rgba(255, 118, 42, 0.28);
  background: rgba(255, 90, 31, 0.12);
}

.profile-dashboard-page .profile-wallet-actions .accent-button,
.profile-dashboard-page .profile-action-row .ghost-button {
  border-color: rgba(255, 118, 42, 0.32);
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  color: #fff;
}

.profile-dashboard-page .trust-panel,
.profile-dashboard-page .profile-reviews-panel {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    #171717;
}

.profile-dashboard-page .forum-thread-row-meta a {
  color: #ffb16f;
}

.profile-compact-page {
  max-width: 980px;
  margin-inline: auto;
}

.profile-compact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 26px;
}

.profile-compact-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.profile-compact-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.profile-compact-avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
}

.profile-compact-avatar .avatar-giant {
  width: min(100%, 180px);
  height: auto;
  aspect-ratio: 1 / 1;
}

.profile-compact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-compact-stats article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    #171717;
}

.profile-compact-stats span,
.profile-disclosure summary small {
  color: #a3a3a3;
}

.profile-compact-stats strong {
  color: #f5f5f5;
  font-size: 1.35rem;
}

.profile-accordion-stack {
  display: grid;
  gap: 12px;
}

.profile-disclosure {
  overflow: hidden;
  padding: 0;
}

.profile-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.profile-disclosure summary::-webkit-details-marker {
  display: none;
}

.profile-disclosure summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-disclosure summary strong {
  color: #f5f5f5;
}

.profile-disclosure summary i {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid #ff8a3d;
  border-bottom: 2px solid #ff8a3d;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-smooth);
}

.profile-disclosure[open] summary i {
  transform: rotate(225deg);
}

.profile-disclosure-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.profile-disclosure-body > .trust-panel,
.profile-disclosure-body > .profile-reviews-panel,
.profile-disclosure-body > .profile-deposit-card {
  margin: 0;
  box-shadow: none;
}

.profile-compact-page .profile-detail-grid,
.profile-compact-page .profile-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.message-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-wall-card-head {
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
}

.messages-layout-rich {
  grid-template-columns: 342px minmax(0, 1fr);
  min-height: calc(100vh - 112px);
  gap: 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.messages-layout-rich .message-sidebar,
.messages-layout-rich .message-main {
  border: 1px solid var(--border);
  border-radius: 18px;
}

.messages-layout-rich .message-sidebar {
  border-right: 1px solid var(--border);
}

.message-main {
  min-height: 100%;
}

.message-empty-room {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: calc(100vh - 150px);
  text-align: center;
  color: #c8dcf2;
}

.message-empty-room p {
  margin: 0;
  color: var(--muted);
}

.message-empty-mascot {
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  border-radius: 34px;
  color: #cceeff;
  background: rgba(255, 255, 255, 0.035);
  font-size: 4.5rem;
}

.thread-hero-grid,
.guarantee-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.thread-page-flow {
  display: grid;
  gap: 18px;
}

.thread-page-head {
  display: grid;
  gap: 16px;
}

.thread-page-head h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.thread-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--muted);
}

.thread-discussion-panel {
  display: grid;
  gap: 18px;
}

.article-body-panel {
  display: grid;
  gap: 26px;
}

.article-author-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.article-author-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.article-author-main div:last-child {
  display: grid;
  gap: 4px;
}

.article-author-main span,
.article-author-trust {
  color: var(--muted);
}

.article-author-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  background: rgba(125, 163, 206, 0.24);
}

.article-content {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  font-size: 1.05rem;
}

.article-content h2,
.article-content h3 {
  color: #ffd36b;
  text-transform: uppercase;
}

.thread-reply-panel {
  max-width: 980px;
  width: 100%;
}

.reply-simple-form textarea[name="content"] {
  min-height: 140px;
  resize: vertical;
}

.reply-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.comment-card {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.comment-body {
  display: grid;
  gap: 10px;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.comment-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.comment-action:hover {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.34);
}

.comment-action[disabled] {
  opacity: 0.7;
  cursor: default;
}

.muted-action {
  border-style: dashed;
}

.reply-attach {
  flex: 1;
  min-width: 0;
}

.reply-attach summary,
.thread-report-details summary {
  cursor: pointer;
  width: fit-content;
  color: var(--muted);
  font-weight: 800;
}

.reply-attach label {
  margin-top: 10px;
}

.thread-report-details {
  max-width: 980px;
}

.thread-report-details .panel {
  margin-top: 12px;
}

.wallet-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wallet-request-card {
  align-content: start;
  padding: 20px;
}

.wallet-request-card h3 {
  margin: 4px 0 0;
}

.wallet-page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 1rem;
}

.wallet-page-breadcrumbs strong,
.wallet-page-breadcrumbs a:hover {
  color: var(--accent);
}

.wallet-deposit-page,
.wallet-hero-grid,
.wallet-hero-copy,
.wallet-hero-side,
.wallet-hero-stats,
.wallet-deposit-grid,
.wallet-deposit-form,
.wallet-deposit-sidebar,
.wallet-operations-grid,
.wallet-sidebar-card,
.wallet-tab-panel,
.wallet-tabs,
.wallet-method-list,
.wallet-withdraw-panel,
.wallet-mini-list,
.wallet-method-section,
.wallet-asset-grid,
.wallet-summary-card,
.wallet-section-head {
  display: grid;
  gap: 16px;
}

.wallet-hero-panel {
  padding: 26px;
}

.wallet-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: start;
}

.wallet-hero-copy h1,
.wallet-section-head h2 {
  margin: 0;
}

.wallet-hero-copy h1 {
  font-size: 2rem;
  line-height: 1.08;
}

.wallet-hero-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wallet-hero-stats article,
.wallet-summary-card,
.wallet-method-card,
.wallet-asset-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.wallet-hero-stats article {
  min-width: 0;
  padding: 16px;
}

.wallet-hero-stats article strong,
.wallet-summary-card strong {
  display: block;
  font-size: 1.4rem;
}

.wallet-hero-stats article span,
.wallet-hero-stats article small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.wallet-hero-stats article span,
.wallet-hero-stats article small,
.wallet-summary-card span,
.wallet-section-head p,
.wallet-method-card p,
.wallet-asset-card small {
  color: var(--muted);
}

.wallet-hero-stats article small,
.wallet-section-head p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.wallet-summary-card.subtle {
  background: rgba(255, 255, 255, 0.02);
}

.wallet-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.wallet-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.wallet-tab:hover,
.wallet-tab.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.wallet-tab.is-active {
  box-shadow: inset 0 0 0 1px rgba(78, 216, 199, 0.24);
}

.wallet-tab-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.wallet-deposit-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.wallet-deposit-form,
.wallet-sidebar-card {
  padding: 22px;
}

.wallet-amount-field {
  display: grid;
  gap: 10px;
}

.wallet-amount-field > span,
.wallet-method-section > span {
  font-weight: 800;
}

.wallet-amount-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(78, 216, 199, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 36, 50, 0.96), rgba(15, 24, 34, 0.94));
}

.wallet-amount-input input {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.wallet-amount-input input:focus {
  outline: none;
}

.wallet-amount-field select,
.wallet-amount-field textarea,
.wallet-amount-field input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(78, 216, 199, 0.2);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  background:
    linear-gradient(180deg, rgba(22, 36, 50, 0.96), rgba(15, 24, 34, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.wallet-amount-field textarea {
  min-height: 96px;
  resize: vertical;
}

.wallet-amount-field select:focus,
.wallet-amount-field textarea:focus,
.wallet-amount-field input[type="text"]:focus {
  outline: none;
  border-color: rgba(78, 216, 199, 0.42);
  box-shadow: 0 0 0 3px rgba(78, 216, 199, 0.08);
}

.wallet-amount-field textarea::placeholder,
.wallet-amount-field input[type="text"]::placeholder {
  color: rgba(174, 188, 208, 0.72);
}

.wallet-amount-input small {
  color: var(--muted);
  font-size: 0.96rem;
  white-space: nowrap;
}

.wallet-method-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.wallet-method-list {
  gap: 10px;
}

.wallet-withdraw-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wallet-method-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.wallet-method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wallet-method-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.03);
}

.wallet-method-option input:checked + span {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.38);
  background: linear-gradient(180deg, rgba(33, 73, 96, 0.95), rgba(19, 37, 50, 0.98));
}

.wallet-withdraw-panel {
  display: none;
  gap: 12px;
}

.wallet-withdraw-panel.is-active {
  display: grid;
}

.wallet-method-card strong,
.wallet-asset-card strong {
  display: block;
  margin-bottom: 4px;
}

.wallet-method-card.is-active {
  border-color: rgba(78, 216, 199, 0.3);
  background: linear-gradient(180deg, rgba(26, 61, 79, 0.86), rgba(18, 35, 48, 0.92));
}

.wallet-method-card.is-muted {
  opacity: 0.76;
}

.wallet-method-check,
.wallet-method-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f1b16;
  background: linear-gradient(135deg, #60f0c7, #c8f6a6);
}

.wallet-method-soon {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.wallet-asset-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wallet-asset-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-asset-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.wallet-asset-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.wallet-asset-card {
  display: grid;
  gap: 4px;
  width: 100%;
  height: 100%;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  align-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wallet-asset-option input:checked + .wallet-asset-card {
  border-color: rgba(78, 216, 199, 0.38);
  background: linear-gradient(180deg, rgba(33, 73, 96, 0.95), rgba(19, 37, 50, 0.98));
  transform: translateY(-1px);
}

.wallet-asset-option:hover .wallet-asset-card {
  border-color: rgba(78, 216, 199, 0.22);
}

.wallet-submit-button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.wallet-history.compact .wallet-row {
  padding: 14px 16px;
}

.wallet-mini-list {
  gap: 10px;
}

.wallet-mini-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.wallet-dashboard-page {
  gap: 24px;
}

.wallet-dashboard .wallet-page-breadcrumbs {
  padding-inline: 4px;
}

.wallet-dashboard-hero {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(27, 27, 27, 0.97), rgba(10, 10, 10, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.wallet-dashboard .wallet-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.62fr);
  align-items: stretch;
}

.wallet-dashboard .wallet-hero-copy {
  align-content: start;
}

.wallet-dashboard .wallet-hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.wallet-dashboard .wallet-hero-copy .section-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.wallet-dashboard .wallet-hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wallet-dashboard .wallet-hero-stats article {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.wallet-dashboard .wallet-hero-stats article strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
  white-space: nowrap;
}

.wallet-dashboard .wallet-hero-stats article span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.wallet-dashboard .wallet-hero-stats article small {
  color: rgba(255, 255, 255, 0.44);
}

.wallet-dashboard .wallet-hero-side {
  align-content: stretch;
}

.wallet-orange-card {
  min-height: 190px;
  align-content: end;
  border: 0;
  border-radius: 22px;
  color: #111;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.58), transparent 30%),
    linear-gradient(135deg, #ff5a1f 0%, #ff8a3d 48%, #ffe1a0 100%);
  box-shadow: 0 22px 52px rgba(255, 90, 31, 0.24);
}

.wallet-orange-card strong {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: #111;
}

.wallet-orange-card span,
.wallet-orange-card small {
  color: rgba(17, 17, 17, 0.72);
  font-weight: 800;
}

.wallet-dashboard .wallet-tabs {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.wallet-dashboard .wallet-tab {
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.56);
}

.wallet-dashboard .wallet-tab:hover,
.wallet-dashboard .wallet-tab.is-active {
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
  box-shadow: none;
}

.wallet-dashboard .wallet-tab-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 18px;
}

.wallet-dashboard .wallet-deposit-form,
.wallet-dashboard .wallet-sidebar-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(15, 15, 15, 0.98));
}

.wallet-dashboard .wallet-section-head h2 {
  font-size: 1.35rem;
}

.wallet-dashboard .wallet-amount-input,
.wallet-dashboard .wallet-amount-field select,
.wallet-dashboard .wallet-amount-field textarea,
.wallet-dashboard .wallet-amount-field input[type="text"] {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.wallet-dashboard .wallet-amount-input input {
  font-size: 1.45rem;
}

.wallet-dashboard .wallet-method-card,
.wallet-dashboard .wallet-asset-card,
.wallet-dashboard .wallet-method-option span,
.wallet-dashboard .wallet-mini-list span,
.wallet-dashboard .wallet-row {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.wallet-dashboard .wallet-method-card.is-active,
.wallet-dashboard .wallet-asset-option input:checked + .wallet-asset-card,
.wallet-dashboard .wallet-method-option input:checked + span {
  color: #fff;
  border-color: rgba(255, 138, 61, 0.44);
  background: rgba(255, 90, 31, 0.16);
}

.wallet-dashboard .wallet-method-check {
  color: #111;
  background: linear-gradient(135deg, #ff8a3d, #ffd36b);
}

.wallet-dashboard .wallet-submit-button {
  min-height: 52px;
  border-radius: 14px;
}

.nickname-stack {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.nickname-text {
  font-weight: inherit;
}

.nickname-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
}

.nickname-stack.is-admin .nickname-text {
  position: relative;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(52, 255, 210, 0.65), 0 0 24px rgba(86, 142, 255, 0.45);
}

.nickname-stack.is-admin .nickname-badge {
  border: 1px solid rgba(160, 255, 232, 0.7);
  box-shadow: 0 0 14px rgba(45, 238, 196, 0.28);
}

.nickname-settings-page,
.nickname-preview-panel,
.nickname-preview-card,
.nickname-preview-meta,
.nickname-editor-form,
.nickname-purchase-card,
.nickname-preset-gallery,
.nickname-preset-grid,
.nickname-editor-grid,
.nickname-permitted,
.status-upgrade-list,
.status-upgrade-row,
.status-upgrade-row-main,
.status-upgrade-row-head,
.status-upgrade-perks,
.status-upgrade-details,
.status-upgrade-editor,
.static-sections-grid,
.static-copy-card,
.rules-page-card {
  display: grid;
  gap: 16px;
}

.status-upgrade-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.status-upgrade-row {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.status-upgrade-row:last-child {
  border-bottom: 0;
}

.status-upgrade-row-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
}

.status-upgrade-row h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.status-upgrade-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.status-upgrade-price strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  color: #16d38b;
  background: rgba(22, 211, 139, 0.12);
}

.status-upgrade-price span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.status-upgrade-perks {
  justify-items: start;
  gap: 8px;
}

.status-upgrade-perks span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.035);
}

.status-upgrade-row .accent-button,
.status-upgrade-row .ghost-button {
  justify-self: start;
  min-width: 180px;
}

.status-upgrade-details {
  justify-self: start;
  width: 100%;
}

.status-upgrade-details > summary {
  display: inline-flex;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0 18px;
  border: 1px solid rgba(34, 199, 122, 0.24);
  border-radius: 12px;
  color: #fff;
  font-weight: 850;
  background: rgba(34, 199, 122, 0.16);
}

.status-upgrade-details > summary::-webkit-details-marker {
  display: none;
}

.status-upgrade-details[open] > summary {
  background: rgba(34, 199, 122, 0.24);
}

.status-upgrade-editor {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.status-upgrade-editor .nickname-preview-panel,
.status-upgrade-editor .nickname-editor-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.nickname-preview-card {
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
}

.nickname-preview-avatar {
  width: 90px !important;
  height: 90px !important;
  font-size: 2rem !important;
}

.nickname-preview-meta strong {
  font-size: 1.4rem;
}

.nickname-editor-grid,
.static-sections-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nickname-preset-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nickname-preset-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.nickname-preset-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.nickname-preset-card {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nickname-preset-card > span,
.nickname-preset-card > small {
  color: var(--muted);
}

.nickname-preset-option input:checked + .nickname-preset-card {
  border-color: rgba(78, 216, 199, 0.38);
  background: rgba(27, 141, 109, 0.14);
  transform: translateY(-1px);
}

.settings-dashboard-page .accent-button {
  background: linear-gradient(135deg, #ff5a1f, #ffb45d);
  color: #11141a;
  border-color: rgba(255, 160, 88, 0.32);
  box-shadow: 0 16px 34px rgba(255, 90, 31, 0.18);
}

.settings-dashboard-page .accent-button:hover {
  filter: brightness(1.04);
}

.settings-dashboard-hero,
.status-visual-hero {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 90, 31, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.status-upgrade-list {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.status-compact-head {
  padding-bottom: 4px;
}

.status-compact-panel {
  display: grid;
  gap: 12px;
}

.status-compact-card,
.status-compact-note {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.status-compact-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.status-compact-card.is-main {
  border-color: rgba(255, 118, 42, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 118, 42, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.045);
}

.status-compact-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffb16f;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 118, 42, 0.13);
}

.status-compact-card h3,
.status-compact-card p,
.status-compact-note p {
  margin: 0;
}

.status-compact-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.status-compact-card p,
.status-compact-note p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.status-compact-note {
  border-style: dashed;
}

.status-upgrade-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.status-upgrade-price strong {
  color: #ff9c4a;
  background: rgba(255, 110, 45, 0.14);
}

.status-upgrade-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-upgrade-perks span,
.nickname-editor-note {
  border-radius: 14px;
  color: var(--muted);
}

.nickname-editor-note {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.nickname-editor-note strong {
  color: var(--text);
}

.status-visual-shell {
  overflow: visible;
}

.status-visual-locked {
  display: grid;
  gap: 18px;
}

.nickname-preview-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 90, 31, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.035);
}

.nickname-preset-picker {
  position: relative;
  width: min(440px, 100%);
}

.nickname-preset-dropdown {
  position: relative;
}

.nickname-preset-dropdown > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.nickname-preset-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nickname-preset-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  gap: 2px;
  width: min(420px, calc(100vw - 48px));
  max-height: 430px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(25, 25, 24, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.nickname-preset-menu .nickname-preset-card {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.nickname-preset-menu .nickname-preset-card strong {
  font-size: 1.08rem;
}

.nickname-preset-menu .nickname-preset-card > span,
.nickname-preset-menu .nickname-preset-card > small {
  display: none;
}

.nickname-preset-option input:checked + .nickname-preset-card,
.nickname-preset-menu .nickname-preset-option input:checked + .nickname-preset-card {
  border-color: rgba(255, 126, 54, 0.4);
  background: rgba(255, 108, 31, 0.12);
}

.static-hero-panel,
.static-copy-card {
  display: grid;
  gap: 18px;
}

.rules-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.rules-dashboard-page {
  gap: 22px;
}

.rules-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 90, 31, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(11, 11, 11, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.rules-hero-panel h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.rules-hero-panel .section-copy {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
}

.rules-dashboard-page .rules-page-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(14, 14, 14, 0.98));
}

.rules-dashboard-page .rules-page-card .section-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rules-dashboard-page .rules-page-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.rules-dashboard-page .rules-list {
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: rules;
}

.rules-dashboard-page .rules-list li {
  position: relative;
  min-height: 46px;
  padding: 12px 14px 12px 58px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
}

.rules-dashboard-page .rules-list li::before {
  counter-increment: rules;
  content: counter(rules, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #111;
  font-size: 0.78rem;
  font-weight: 950;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.thread-hero-cover,
.guarantee-hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 26px;
}

.thread-hero-cover::after,
.guarantee-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.08), rgba(9, 13, 20, 0.28));
}

.thread-cover-photo,
.guarantee-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thread-hero-copy,
.guarantee-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.thread-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.thread-hero-meta-grid,
.guarantee-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 24px;
  color: var(--muted);
}

.guarantee-hero-apple,
.guarantee-main-panel,
.guarantee-side-card-apple,
.guarantee-strip-apple,
.guarantee-side-note {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--ui-surface);
}

.guarantee-hero-apple {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  padding: var(--ui-space-5);
  border-radius: var(--ui-radius-xl);
}

.guarantee-hero-copy-apple,
.guarantee-side-note {
  display: grid;
  gap: 16px;
}

.guarantee-cta-row,
.auth-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guarantee-stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.guarantee-stat-row-apple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guarantee-stat-row article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 20px;
  background: var(--ui-surface-soft);
}

.guarantee-stat-row strong {
  font-size: 1.5rem;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
}

.guarantee-grid-apple {
  align-items: start;
}

.guarantee-main-panel,
.guarantee-side-card-apple,
.guarantee-strip-apple {
  padding: var(--ui-space-5);
  border-radius: var(--ui-radius-xl);
}

.guarantee-section-head {
  margin-bottom: 18px;
}

.guarantee-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guarantee-step {
  gap: 10px;
}

.guarantee-step-apple {
  padding: 20px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 20px;
  background: var(--ui-surface-soft);
}

.guarantee-step strong {
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.guarantee-step h3,
.guarantee-side-card h2 {
  margin: 0;
}

.guarantee-strip {
  display: grid;
  gap: 14px;
}

.guarantee-feature-list {
  margin-top: 10px;
}

.guarantee-feature-list-numbered li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.guarantee-feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #111;
  font-size: 0.82rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffd978, #ffb84c);
}

.guarantee-side-note {
  padding: 18px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 20px;
}

.guarantee-side-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.guarantee-proof-row {
  margin-top: -2px;
}

.guarantee-proof-row .thread-chip.is-highlight {
  background: rgba(91, 228, 168, 0.14);
  border-color: rgba(91, 228, 168, 0.26);
  color: #d7ffea;
}

.guarantee-official-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: var(--ui-space-5);
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(18, 21, 28, 0.94);
  border: 1px solid var(--ui-border-soft);
}

.guarantee-team-list {
  display: grid;
  gap: 12px;
}

.guarantee-team-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--ui-surface-soft);
  border: 1px solid var(--ui-border-soft);
}

.guarantee-team-card strong {
  display: inline-flex;
  font-size: 1rem;
}

.guarantee-team-card p,
.guarantee-team-card span {
  margin: 0;
  color: var(--muted);
}

.guarantee-team-card p {
  font-size: 0.95rem;
}

.guarantee-team-card span {
  font-size: 0.88rem;
}

.guarantee-dashboard-page {
  gap: 24px;
}

.guarantee-dashboard-page .guarantee-hero-apple {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
}

.guarantee-dashboard-hero {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 90, 31, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(11, 11, 11, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.guarantee-dashboard-hero .guarantee-hero-copy {
  align-content: start;
}

.guarantee-dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.guarantee-dashboard-hero .section-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
}

.guarantee-dashboard-hero .thread-chip {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.guarantee-dashboard-hero .guarantee-proof-row .thread-chip.is-highlight {
  color: #fff;
  border-color: rgba(255, 138, 61, 0.34);
  background: rgba(255, 90, 31, 0.16);
}

.guarantee-dashboard-hero .accent-button {
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
  box-shadow: 0 16px 34px rgba(255, 90, 31, 0.22);
}

.guarantee-dashboard-hero .ghost-button {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.guarantee-dashboard-page .guarantee-stat-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guarantee-dashboard-page .guarantee-stat-row article {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.guarantee-dashboard-page .guarantee-stat-row strong {
  color: #fff;
  font-size: 1.45rem;
}

.guarantee-dashboard-page .guarantee-stat-row span {
  color: rgba(255, 255, 255, 0.5);
}

.guarantee-dashboard-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.96), rgba(14, 14, 14, 0.98));
}

.guarantee-dashboard-page .guarantee-official-card {
  box-shadow: none;
}

.guarantee-single-card {
  align-content: start;
  gap: 16px;
}

.guarantee-single-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.guarantee-single-head .thread-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 17px;
}

.guarantee-single-head h2 {
  margin: 4px 0 0;
  font-size: 1.65rem;
  line-height: 1.04;
}

.guarantee-single-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.guarantee-single-metrics article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.guarantee-single-metrics strong {
  font-size: 1.25rem;
  color: #fff;
}

.guarantee-single-metrics span,
.guarantee-single-card > p {
  color: rgba(255, 255, 255, 0.58);
}

.guarantee-single-card > p {
  margin: 0;
  line-height: 1.55;
}

.guarantee-dashboard-page .guarantee-team-card {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.guarantee-dashboard-page .guarantee-team-card .thread-author-avatar {
  border-radius: 14px;
}

.guarantee-dashboard-page .guarantee-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.55fr);
  gap: 18px;
}

.guarantee-dashboard-page .guarantee-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guarantee-dashboard-page .guarantee-step-apple {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.guarantee-dashboard-page .guarantee-step strong,
.guarantee-dashboard-page .guarantee-feature-index {
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.guarantee-dashboard-page .guarantee-step p,
.guarantee-dashboard-page .guarantee-feature-list li span:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.guarantee-dashboard-page .guarantee-feature-list-numbered li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.guarantee-service-page {
  max-width: 1480px;
  gap: 0;
  padding-bottom: 42px;
  background: rgba(255, 255, 255, 0.018);
}

.guarantee-service-hero,
.guarantee-service-section {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 56px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee-service-hero {
  min-height: 420px;
  align-content: center;
  gap: 22px;
}

.guarantee-service-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #22c77a;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(34, 199, 122, 0.12);
}

.guarantee-service-avatar-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-service-avatar-row .thread-author-avatar,
.guarantee-service-avatar-row > span {
  width: 58px;
  height: 58px;
  margin-left: -10px;
  border-radius: 999px;
  border: 3px solid #1b1b1b;
}

.guarantee-service-avatar-row .thread-author-avatar:first-child {
  margin-left: 0;
}

.guarantee-service-avatar-row > span {
  display: grid;
  place-items: center;
  color: #22c77a;
  font-weight: 900;
  background: #10251b;
}

.guarantee-service-hero h1,
.guarantee-service-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.guarantee-service-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
}

.guarantee-service-hero p,
.guarantee-service-section > p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.08rem;
  line-height: 1.65;
}

.guarantee-service-section {
  gap: 18px;
}

.guarantee-section-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: #22c77a;
  font-size: 1.35rem;
  font-weight: 950;
  background: rgba(34, 199, 122, 0.12);
}

.guarantee-service-section h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.guarantee-service-steps,
.guarantee-price-grid {
  display: grid;
  width: 100%;
  gap: 16px;
  margin-top: 22px;
}

.guarantee-service-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guarantee-service-steps article,
.guarantee-price-grid article,
.guarantee-person-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.guarantee-service-steps article {
  display: grid;
  gap: 16px;
  min-height: 250px;
  align-content: start;
  padding: 24px;
  text-align: left;
}

.guarantee-service-steps article > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: #d8f7e7;
  font-weight: 950;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.guarantee-service-steps h3 {
  margin: 0;
  font-size: 1.25rem;
}

.guarantee-service-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.guarantee-service-note {
  width: 100%;
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.06);
}

.guarantee-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guarantee-price-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.6fr);
  min-height: 112px;
  align-items: center;
  padding: 24px;
  text-align: left;
}

.guarantee-price-grid span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
}

.guarantee-price-grid strong {
  color: #fff;
  font-size: 1.28rem;
}

.guarantee-person-card {
  display: grid;
  width: min(100%, 760px);
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  text-align: left;
}

.guarantee-person-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.guarantee-person-head .thread-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.guarantee-person-head strong,
.guarantee-person-head span {
  display: block;
}

.guarantee-person-head strong {
  font-size: 1.35rem;
}

.guarantee-person-head span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.guarantee-person-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guarantee-service-page .accent-button {
  color: #fff;
  background: linear-gradient(135deg, #168d58, #20a568);
}

.guarantee-service-page .ghost-button {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.guarantee-service-warnings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-service-page {
  overflow: hidden;
}

.about-service-hero {
  min-height: 500px;
}

.about-service-avatar-row > span {
  background:
    linear-gradient(135deg, rgba(255, 91, 31, 0.95), rgba(255, 190, 93, 0.88));
  color: #101010;
}

.about-service-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.about-service-actions .accent-button,
.about-service-actions .ghost-button {
  min-width: 190px;
}

.about-service-steps article {
  min-height: 230px;
}

.about-service-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-service-flow article {
  grid-template-columns: 1fr;
  align-content: start;
}

.about-service-principles article {
  min-height: 220px;
}

.trustcore-service-page {
  overflow: hidden;
}

.trustcore-service-hero {
  min-height: 430px;
}

.trustcore-service-hero h1 {
  color: #fff;
}

.trustcore-service-scoreline {
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  padding: 18px 22px;
  border: 1px solid rgba(34, 199, 122, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(34, 199, 122, 0.12), rgba(255, 255, 255, 0.035));
  text-align: left;
}

.trustcore-service-scoreline strong {
  color: #dfffee;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  white-space: nowrap;
}

.trustcore-service-scoreline span {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.trustcore-service-scale-list,
.trustcore-service-leader-list {
  display: grid;
  width: 100%;
  gap: 12px;
  margin-top: 18px;
}

.trustcore-service-scale-list {
  grid-template-columns: 1fr;
}

.trustcore-service-scale-list article,
.trustcore-service-leader-list article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.trustcore-service-scale-list article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  text-align: left;
}

.trustcore-service-scale-list strong {
  color: #22c77a;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1;
  white-space: nowrap;
}

.trustcore-service-scale-list h3,
.trustcore-service-scale-list p,
.trustcore-service-leader-list p {
  margin: 0;
}

.trustcore-service-scale-list h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.trustcore-service-scale-list p,
.trustcore-service-leader-list p {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.trustcore-service-factors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trustcore-service-leader-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trustcore-service-leader-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 18px;
  text-align: left;
}

.trustcore-service-leader-list article > div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.trustcore-service-leader-list .thread-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.trustcore-service-leader-list strong {
  min-width: 0;
  font-size: 1.08rem;
}

.trustcore-service-leader-list article > span,
.trustcore-service-leader-list em {
  color: #22c77a;
  font-weight: 950;
  white-space: nowrap;
}

.trustcore-service-leader-list p {
  grid-column: 1 / -1;
}

.market-service-page {
  overflow: hidden;
}

.market-service-hero {
  min-height: 430px;
}

.market-service-stats {
  display: grid;
  width: min(100%, 820px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.market-service-stats article {
  display: grid;
  gap: 5px;
  padding: 18px 14px;
  background: rgba(0, 0, 0, 0.22);
}

.market-service-stats strong {
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1;
}

.market-service-stats span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

.market-service-section {
  align-items: stretch;
}

.market-service-list-section {
  padding-top: 34px;
}

.market-service-section > h2,
.market-service-section > p,
.market-service-section > .guarantee-section-icon {
  justify-self: center;
}

.market-category-strip-section {
  padding: 18px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.market-service-category-grid {
  width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.market-service-page .market-category-tile {
  grid-template-columns: 26px max-content;
  min-width: max-content;
  min-height: 42px;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.market-service-page .market-category-tile:hover,
.market-service-page .market-category-tile.is-active {
  border-color: rgba(255, 120, 48, 0.38);
  background: rgba(255, 120, 48, 0.08);
}

.market-service-page .market-category-tile-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.market-service-page .market-category-icon-img {
  width: 16px;
  height: 16px;
}

.market-service-page .market-category-tile-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.market-service-page .market-category-tile-copy strong {
  font-size: 0.92rem;
}

.market-service-page .market-category-tile-copy small {
  font-size: 0.78rem;
}

.market-filter-drawer {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.market-filter-drawer summary {
  display: flex;
  min-height: 58px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
}

.market-filter-drawer summary::-webkit-details-marker {
  display: none;
}

.market-filter-drawer summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.market-filter-drawer[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.market-filter-drawer summary strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  place-items: center;
  border-radius: 999px;
  color: #111;
  font-size: 0.78rem;
  background: #ff8a3d;
}

.market-filter-drawer .filter-block {
  padding: 0 16px 16px;
}

.market-filter-drawer .search-shell {
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.market-service-listing-grid {
  width: 100%;
  margin-top: 8px;
}

.market-service-page .market-listing-card-wide {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.22);
}

.market-service-page .market-card-price {
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #168d58, #20a568);
}

.market-empty-card {
  width: 100%;
  text-align: left;
}

.messages-layout-rich {
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: calc(100vh - 112px);
  height: calc(100vh - 112px);
  gap: 14px;
}

.message-sidebar-apple,
.message-main-apple {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(16, 18, 24, 0.94);
  border: 1px solid var(--ui-border-soft);
  border-radius: 24px;
}

.message-sidebar-head-apple {
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.message-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.message-sidebar-title h1 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.05;
}

.message-search-apple {
  min-height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-search-apple span {
  font-size: 1rem;
}

.message-thread-list-apple {
  padding: 12px;
  gap: 8px;
  overflow: auto;
  max-height: calc(100vh - 255px);
}

.message-thread-list-apple::-webkit-scrollbar,
.message-stream-apple::-webkit-scrollbar {
  width: 10px;
}

.message-thread-list-apple::-webkit-scrollbar-thumb,
.message-stream-apple::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(96, 197, 173, 0.22);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.message-thread-card {
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.message-thread-card:hover {
  transform: translateX(0);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.06);
}

.message-thread-card.is-active {
  background: linear-gradient(180deg, rgba(90, 184, 255, 0.14), rgba(90, 184, 255, 0.08));
  border-color: rgba(90, 184, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.message-thread-avatar-wrap {
  display: grid;
  place-items: center;
}

.message-thread-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  overflow: hidden;
}

.message-thread-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-thread-copy {
  min-width: 0;
}

.message-thread-head strong {
  font-size: 1rem;
}

.message-thread-head span,
.message-thread-copy p {
  color: rgba(227, 232, 243, 0.68);
}

.message-thread-copy p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.message-main-apple {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-height: calc(100vh - 112px);
  height: calc(100vh - 112px);
}

.message-room-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.message-room-head-apple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 12px;
  padding-right: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.024);
  position: relative;
}

.message-room-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.message-mobile-back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.message-mobile-back:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(-1px);
}

.message-room-avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  overflow: hidden;
}

.message-room-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-room-copy {
  min-width: 0;
}

.message-room-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.message-room-copy .section-copy {
  margin: 4px 0 0;
}

.message-room-utility {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  top: 12px;
  right: 16px;
}

.message-room-presence {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.message-room-presence.is-online {
  background: #39d98a;
  box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.12);
}

.message-room-presence.is-offline {
  background: rgba(227, 232, 243, 0.32);
  box-shadow: 0 0 0 4px rgba(227, 232, 243, 0.06);
}

.message-room-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(227, 232, 243, 0.78);
  font-size: 1.35rem;
  line-height: 1;
}

.message-room-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 25, 31, 0.98);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  z-index: 15;
}

.message-room-popover[hidden] {
  display: none;
}

.message-room-popover form {
  margin: 0;
}

.message-room-popover-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
}

.message-room-popover-action:hover {
  background: rgba(255, 255, 255, 0.05);
}

.message-room-popover-action.is-danger {
  color: #ff9da0;
}

.message-room-searchbar {
  padding: 12px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.message-search-inline {
  min-height: 44px;
}

.message-stream-apple {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  gap: 14px;
  padding: 22px;
  overflow: auto;
  background:
    radial-gradient(circle at top left, rgba(117, 194, 124, 0.08), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 216, 120, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.message-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  max-width: 78%;
}

.message-line.is-own {
  grid-template-columns: minmax(0, 1fr);
  justify-self: end;
}

.message-line-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.message-line-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-bubble {
  max-width: 100%;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.message-bubble.is-own {
  margin-left: 0;
  border-color: rgba(123, 210, 151, 0.24);
  background: linear-gradient(180deg, rgba(198, 255, 208, 0.18), rgba(149, 216, 158, 0.12));
}

.message-bubble .rich-content {
  color: var(--text);
}

.message-bubble-meta strong {
  font-size: 0.95rem;
}

.message-bubble-meta span {
  color: rgba(227, 232, 243, 0.56);
  font-size: 0.82rem;
}

.message-composer-shell {
  margin-top: 0;
  flex: 0 0 auto;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(16, 18, 24, 0.74), rgba(16, 18, 24, 0.96));
}

.message-composer-card-apple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(24, 27, 34, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.message-composer-card-apple textarea {
  resize: none;
  min-height: 28px;
  max-height: 96px;
  padding: 8px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.message-composer-card-apple textarea::placeholder {
  color: rgba(227, 232, 243, 0.48);
}


.message-composer-actions-apple {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.message-attach-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(227, 232, 243, 0.9);
  font-size: 1rem;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.message-attach-button:hover,
.message-attach-button.is-active {
  background: rgba(87, 213, 154, 0.12);
  border-color: rgba(87, 213, 154, 0.28);
  transform: translateY(-1px);
}

.message-send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #57d59a, #2cb97b);
  color: #08110d;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(44, 185, 123, 0.24);
}

.message-thread-counter-row {
  display: flex;
  justify-content: flex-end;
}

.message-empty-room-apple {
  min-height: calc(100vh - 260px);
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(117, 194, 124, 0.08), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 216, 120, 0.06), transparent 34%);
}

.messages-dashboard-page {
  padding-top: 0;
}

.messages-dashboard {
  gap: 18px;
}

.messages-dashboard .message-sidebar-apple,
.messages-dashboard .message-main-apple {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 90, 31, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(30, 30, 30, 0.97), rgba(12, 12, 12, 0.99));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.24);
}

.messages-dashboard .message-sidebar-head-apple,
.messages-dashboard .message-room-head-apple,
.messages-dashboard .message-composer-shell {
  border-color: rgba(255, 255, 255, 0.08);
}

.messages-dashboard .message-sidebar-title h1 {
  font-size: 2rem;
}

.message-sidebar-badge {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #111;
  font-weight: 900;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.messages-dashboard .message-search-apple {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.messages-dashboard .message-thread-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.messages-dashboard .message-thread-card:hover {
  border-color: rgba(255, 138, 61, 0.22);
  background: rgba(255, 90, 31, 0.08);
}

.messages-dashboard .message-thread-card.is-active {
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(255, 90, 31, 0.15);
}

.messages-dashboard .message-thread-avatar,
.messages-dashboard .message-room-avatar,
.messages-dashboard .message-line-avatar {
  border-radius: 15px;
}

.messages-dashboard .message-counter {
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
}

.messages-dashboard .message-room-head-apple {
  background: rgba(255, 255, 255, 0.028);
}

.messages-dashboard .message-room-menu,
.messages-dashboard .message-mobile-back,
.messages-dashboard .message-attach-button {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.messages-dashboard .message-room-menu:hover,
.messages-dashboard .message-mobile-back:hover,
.messages-dashboard .message-attach-button:hover,
.messages-dashboard .message-attach-button.is-active {
  border-color: rgba(255, 138, 61, 0.28);
  background: rgba(255, 90, 31, 0.12);
}

.messages-dashboard .message-room-popover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(22, 22, 22, 0.98);
}

.messages-dashboard .message-room-popover-action:hover {
  background: rgba(255, 90, 31, 0.1);
}

.messages-dashboard .message-stream-apple,
.messages-dashboard .message-empty-room-apple {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 90, 31, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.messages-dashboard .message-bubble {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.messages-dashboard .message-bubble.is-own {
  border-color: rgba(255, 138, 61, 0.34);
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.28), rgba(255, 184, 93, 0.16));
}

.messages-dashboard .message-composer-card-apple {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.messages-dashboard .message-send-button {
  border-radius: 13px;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
  color: #111;
  box-shadow: 0 12px 26px rgba(255, 90, 31, 0.22);
}

.post-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.rich-content,
.rich-content p,
.rich-content li,
.rich-content blockquote,
.article-copy p,
.thread-lead,
.post-author span,
.post-author small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.message-thread-card {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
}

.message-thread-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: #111;
  background: linear-gradient(135deg, var(--accent-2), #fff2a9);
}

.small-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.message-thread-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.message-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.message-start-card,
.message-composer-card,
.compose-form-card,
.compose-guide-card,
.profile-summary-card,
.profile-side-card {
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.compose-intro-grid,
.compose-layout,
.compose-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: start;
}

.compose-rules-highlight,
.compose-guide-card,
.compose-form-card {
  align-content: start;
}

.compose-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.compose-inline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compose-back-link {
  justify-self: end;
  align-self: start;
}

.compose-grid-wide {
  grid-column: 1 / -1;
}

.compact-feature-list {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .hero,
  .content-grid,
  .forum-grid,
  .listing-grid,
  .profile-hero,
  .profile-metrics,
  .profile-shell,
  .profile-main-grid,
  .profile-dashboard-head,
  .messages-layout,
  .settings-layout,
  .hero-search,
  .compose-intro-grid,
  .compose-layout,
  .compose-form-grid,
  .article-rail,
  .compact-thread-list,
  .hero-route-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-last-seen {
    margin-left: 0;
    text-align: left;
  }

  .search-wide,
  .search-actions {
    grid-column: span 2;
  }

  .topbar-clean {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .main-nav-clean,
  .topbar-tools {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  body {
    overflow-x: hidden;
  }

  .layout,
  .auth-layout,
  .auth-grid,
  .content-grid,
  .main-column,
  .panel,
  .hero,
  .ticker,
  .forum-grid,
  .article-rail,
  .thread-list,
  .forum-list {
    width: 100%;
    max-width: 100%;
  }

  .topbar,
  .section-head,
  .thread-card,
  .forum-row,
  .post-card,
  .profile-lead {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav,
  .topbar-actions,
  .hero-actions,
  .tab-row,
  .search-actions {
    width: 100%;
  }

  .main-nav a,
  .topbar-actions a,
  .hero-actions a,
  .tab-button {
    flex: 1;
    text-align: center;
  }

  .thread-stats,
  .forum-row-meta {
    min-width: auto;
    text-align: left;
  }

  .post-author {
    min-width: auto;
  }

  .search-grid,
  .hero-search,
  .profile-metrics,
  .profile-info-table div,
  .profile-content-tabs,
  .wallet-request-grid {
    grid-template-columns: 1fr;
  }

  .profile-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 2px 10px;
  }

  .profile-main-card {
    padding: 22px;
  }

  .topbar-clean > .topbar-quick-user {
    grid-column: 2;
  }

  .topbar-clean > .topbar-menu-toggle {
    grid-column: 3;
  }

  .profile-photo-card {
    justify-items: center;
  }

  .profile-photo-card .avatar-giant {
    max-width: 400px;
  }

  .profile-wallet-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-author-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .article-author-main {
    align-items: flex-start;
  }

  .article-content {
    font-size: 1rem;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .collapsible-filters:not(.is-open) {
    display: none !important;
  }

  .collapsible-filters.is-open {
    display: grid !important;
  }

  .search-shell {
    padding: 14px;
    border-radius: 16px;
  }

  .search-actions {
    flex-direction: column;
  }

  .search-actions .accent-button,
  .search-actions .ghost-button,
  .filter-toggle {
    width: 100%;
  }

  .article-card,
  .article-card.is-featured,
  .compact-thread-list .article-card,
  .message-thread-card,
  .compose-inline-grid,
  .article-meta-row,
  .thread-hero-grid,
  .guarantee-hero,
  .guarantee-hero-apple,
  .guarantee-grid,
  .guarantee-steps,
  .auth-grid,
  .message-composer-actions {
    grid-template-columns: 1fr;
  }

  .auth-layout {
    margin-inline: 0;
  }

  .auth-panel,
  .auth-panel-rich,
  .auth-side-card {
    padding: 18px;
  }

  .auth-panel-rich h1,
  .auth-side-card h2 {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .article-card {
    overflow: hidden;
  }

  .article-visual {
    min-height: 160px;
  }

  .article-copy {
    padding: 16px;
  }

  .article-copy h3 {
    font-size: 1.16rem;
  }

  .forum-row {
    gap: 14px;
  }

  .forum-row-main {
    width: 100%;
  }

  .guarantee-stat-row,
  .thread-hero-meta-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-dashboard-page .guarantee-stat-row,
  .guarantee-dashboard-page .guarantee-grid,
  .guarantee-dashboard-page .guarantee-steps,
  .guarantee-service-steps,
  .guarantee-service-warnings,
  .guarantee-price-grid,
  .trustcore-service-scale-list,
  .trustcore-service-factors,
  .trustcore-service-leader-list,
  .guarantee-person-actions {
    grid-template-columns: 1fr;
  }

  .guarantee-service-hero,
  .guarantee-service-section {
    padding: 34px 16px;
  }

  .market-category-strip-section {
    padding: 14px 16px;
  }

  .guarantee-service-steps article {
    min-height: auto;
  }

  .market-service-stats,
  .about-service-flow,
  .trustcore-service-scoreline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guarantee-price-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-wide,
  .search-actions {
    grid-column: span 1;
  }

  .panel,
  .section-hero,
  .thread-compose-page,
  .compose-form-card,
  .message-composer-card,
  .profile-summary-card,
  .profile-side-card {
    border-radius: 16px;
  }

  .thread-compose-page {
    padding: 16px;
  }

  .compose-intro-grid {
    gap: 12px;
  }

  .compose-simple-grid {
    grid-template-columns: 1fr;
  }

  .editor-toolbar {
    gap: 8px;
    overflow-x: auto;
    grid-template-columns: repeat(10, 34px);
    padding-bottom: 4px;
  }

  .editor-toolbar .ghost-button {
    flex: 0 0 auto;
  }

  .thread-compose-form-page .editor-input,
  .thread-compose-form-page .editor-surface {
    min-height: 240px;
  }

  .compose-submit,
  .compose-back-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .accent-button,
  .ghost-button,
  .tab-button,
  .link-button,
  .panel,
  .hero-panel,
  .forum-card,
  .thread-card,
  .club-card,
  .forum-row,
  .post-card,
  .mini-card,
  .listing-card,
  .message-thread-card,
  .message-icon-button,
  .topbar,
  .topbar-icon,
  .topbar-admin,
  .topbar-auth,
  .topbar-balance,
  .topbar-profile,
  .notifications-popover,
  .notification-item,
  .side-link,
  .motion-reveal { transition: none; animation: none; transform: none; }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 520ms var(--ease-smooth);
  transition-delay: var(--motion-delay, 0ms);
}

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

.auth-strip,
.admin-actions,
.admin-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth-strip,
.admin-actions.wrap {
  flex-wrap: nowrap;
}

.inline-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.flash-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.flash-banner.success {
  border-color: rgba(78, 216, 199, 0.45);
  background: rgba(78, 216, 199, 0.12);
}

.flash-banner.error {
  border-color: rgba(255, 104, 119, 0.45);
  background: rgba(255, 104, 119, 0.12);
}

.flash-banner.info {
  border-color: rgba(255, 157, 47, 0.45);
  background: rgba(255, 157, 47, 0.12);
}

.live-toast-stack {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  top: calc(88px + env(safe-area-inset-top));
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.live-toast {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(78, 216, 199, 0.24);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.16), transparent 38%),
    rgba(15, 22, 31, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  pointer-events: auto;
}

.live-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.live-toast:hover {
  border-color: rgba(255, 217, 120, 0.42);
  transform: translateY(-2px) scale(1);
}

.live-toast strong,
.live-toast span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.live-toast strong {
  font-size: 0.96rem;
}

.live-toast span {
  color: var(--muted);
  line-height: 1.45;
}

.live-toast.is-message {
  border-color: rgba(143, 241, 223, 0.34);
}

@media (max-width: 720px) {
  .live-toast-stack {
    inset: auto max(12px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: auto;
  }

  .live-toast {
    border-radius: 16px;
  }
}

.top-gap {
  margin-top: 14px;
}

.auth-layout {
  max-width: 1240px;
  margin-inline: auto;
}

.auth-panel {
  padding: 32px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: stretch;
}

.auth-panel-rich,
.auth-side-card,
.auth-demo-block {
  display: grid;
  gap: 18px;
}

.auth-panel-rich {
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(17, 47, 74, 0.9), rgba(12, 30, 48, 0.95)),
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.18), transparent 36%);
}

.auth-side-card {
  align-content: start;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(14, 24, 38, 0.94), rgba(9, 16, 28, 0.98)),
    radial-gradient(circle at top right, rgba(255, 223, 136, 0.14), transparent 34%);
}

.auth-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.auth-demo-block {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-form {
  gap: 16px;
}

.auth-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-password-field {
  position: relative;
}

.auth-password-field input {
  padding-right: 104px;
}

.auth-password-field button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-password-field button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.password-strength {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.password-strength > span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.password-strength i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: #ff6b6b;
  transition: width 0.18s ease, background 0.18s ease;
}

.password-strength strong {
  font-size: 0.9rem;
}

.password-strength small {
  color: var(--muted);
  line-height: 1.45;
}

.password-strength[data-strength="2"] i {
  background: #f2b84b;
}

.password-strength[data-strength="3"] i,
.password-strength[data-strength="4"] i {
  background: #62e6b5;
}

.auth-rules-check {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.auth-rules-check span {
  display: inline-block !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-rules-check a {
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}

.auth-center-layout {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  max-width: 980px;
}

.auth-id-card {
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 90, 31, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(31, 31, 31, 0.98), rgba(11, 11, 11, 0.99));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.auth-register-card {
  width: min(100%, 680px);
}

.auth-id-plate {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.35), transparent 32%),
    linear-gradient(135deg, #ff5a1f, #ff8a3d 48%, #ffd36b);
  color: #111;
}

.auth-id-plate > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  color: #111;
  background: rgba(255, 255, 255, 0.34);
  font-size: 1.6rem;
  font-weight: 950;
}

.auth-id-plate strong,
.auth-id-plate small {
  display: block;
  color: #111;
}

.auth-id-plate strong {
  font-size: 1.24rem;
  line-height: 1;
}

.auth-id-plate small {
  margin-top: 6px;
  color: rgba(17, 17, 17, 0.68);
  font-weight: 800;
}

.auth-title-block {
  display: grid;
  gap: 8px;
}

.auth-id-card .auth-title-block h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.auth-id-card .section-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
}

.auth-id-card .auth-form label span,
.auth-id-card .auth-rules-check span {
  color: rgba(255, 255, 255, 0.72);
}

.auth-id-card .auth-form input,
.auth-id-card .auth-form select,
.auth-id-card .auth-form textarea {
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
}

.auth-id-card .auth-password-field button {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-id-card .accent-button {
  min-height: 54px;
  border-radius: 14px;
  color: #111;
  background: linear-gradient(135deg, #ff5a1f, #ffb85d);
  box-shadow: 0 16px 34px rgba(255, 90, 31, 0.22);
}

.auth-id-card .ghost-button {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.auth-id-card .auth-quick-row {
  justify-content: center;
}

.auth-id-card .auth-demo-block {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-id-card .password-strength {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.email-verify-card {
  width: min(100%, 580px);
}

.email-code-form input[name="code"] {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.security-emergency-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 99, 99, 0.34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.56), rgba(20, 10, 10, 0.72));
  box-shadow: 0 18px 42px rgba(127, 29, 29, 0.22);
}

.security-emergency-panel h3,
.security-emergency-panel p {
  margin: 0;
}

.security-emergency-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.security-emergency-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #dc2626;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.danger-button:hover {
  background: #b91c1c;
}

.security-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-summary-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.security-summary-grid strong,
.security-summary-grid span {
  display: block;
}

.security-summary-grid strong {
  font-size: 1.6rem;
}

.security-summary-grid span {
  margin-top: 4px;
  color: var(--muted);
}

.security-list {
  display: grid;
  gap: 10px;
}

.security-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.security-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.security-row strong,
.security-row span,
.security-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-row span,
.security-row small {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-shell {
  padding-bottom: 84px;
}

.admin-section-nav {
  position: sticky;
  top: 12px;
  z-index: 24;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(15, 22, 31, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow-x: auto;
}

.admin-section-nav a,
.admin-mobile-tabbar a,
.admin-filter-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.admin-section-nav a.is-active,
.admin-mobile-tabbar a.is-active,
.admin-filter-tabs a.is-active {
  color: #0d1519;
  border-color: rgba(255, 220, 133, 0.55);
  background: linear-gradient(180deg, #ffd876, #ffab33);
}

.admin-page-hero {
  display: grid;
  gap: 18px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-dashboard-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 216, 118, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.03);
  transition: transform 180ms var(--ease-smooth), border-color 180ms ease, background 180ms ease;
}

.admin-dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 216, 199, 0.34);
  background:
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.admin-dashboard-card span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(78, 216, 199, 0.2);
  border-radius: 999px;
  color: #8ff1df;
  background: rgba(78, 216, 199, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-dashboard-card strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  overflow-wrap: anywhere;
}

.admin-dashboard-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-clean-block {
  display: grid;
  gap: 16px;
}

.admin-trustcore-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-trustcore-plan article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-trustcore-plan span {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-kpi-grid strong {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.admin-kpi-grid span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-deal-workspace {
  display: grid;
  gap: 18px;
}

.admin-workspace-panel {
  display: grid;
  gap: 18px;
}

.admin-filter-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
}

.admin-filter-tabs a {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.admin-deal-board {
  display: grid;
  gap: 14px;
}

.admin-entity-board {
  display: grid;
  gap: 14px;
}

.admin-deal-card,
.admin-entity-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(78, 216, 199, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.026);
}

.admin-deal-card-main,
.admin-entity-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-deal-card-head,
.admin-entity-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.admin-deal-card-head > div,
.admin-entity-head > div {
  min-width: 0;
}

.admin-deal-card-head h3,
.admin-entity-head h3 {
  margin: 10px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-entity-head h3:first-child {
  margin-top: 0;
}

.admin-entity-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-deal-card-head > strong,
.admin-entity-head > strong {
  flex: 0 0 auto;
  max-width: 160px;
  text-align: right;
  overflow-wrap: anywhere;
}

.admin-deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-deal-meta span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  overflow-wrap: anywhere;
}

.admin-deal-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(78, 216, 199, 0.06);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-deal-note.is-moderator {
  border-color: rgba(255, 216, 118, 0.28);
  background: rgba(255, 216, 118, 0.08);
}

.admin-deal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-deal-card .admin-deal-resolution-form {
  align-self: start;
  min-width: 0;
  margin: 0;
}

.admin-entity-actions {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.admin-entity-actions .inline-form,
.admin-entity-actions form {
  width: 100%;
}

.admin-entity-actions .ghost-button,
.admin-entity-actions .accent-button {
  width: 100%;
}

.admin-mobile-tabbar {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 22, 31, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.admin-mobile-tabbar a {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 8px;
  font-size: 0.78rem;
}

.admin-overview-grid,
.admin-jump-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-overview-card,
.admin-jump-grid a {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-overview-card strong {
  font-size: 1.45rem;
}

.admin-overview-card span,
.admin-jump-grid a {
  color: var(--muted);
}

.admin-jump-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-jump-grid a:hover {
  color: var(--text);
  border-color: rgba(78, 216, 199, 0.3);
}

.split-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

.admin-table {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-row,
.admin-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-row input,
.admin-row textarea,
.admin-item select,
.inline-form select {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.danger {
  border-color: rgba(255, 104, 119, 0.42);
  color: #ffd0d5;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.side-menu {
  position: sticky;
  top: 20px;
}

.side-menu-inner {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(180deg, #181818 0%, #101010 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 70px rgba(0, 0, 0, 0.34);
}

.side-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 118, 42, 0.34);
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 34px rgba(255, 90, 31, 0.18);
  transition: transform 180ms var(--ease-smooth), box-shadow 180ms var(--ease-smooth), filter 180ms ease;
}

.side-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 42px rgba(255, 90, 31, 0.22);
}

.compose-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.compose-modal[hidden] {
  display: none;
}

.compose-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.72);
  backdrop-filter: blur(8px);
}

.compose-dialog {
  position: relative;
  width: min(980px, calc(100% - 32px));
  margin: 72px auto 0;
  z-index: 1;
}

.market-purchase-modal {
  position: fixed !important;
  inset: 0 !important;
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 10000;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
}

.market-purchase-modal .compose-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.market-purchase-modal .compose-dialog {
  position: relative;
  box-sizing: border-box;
  margin: 0 !important;
  width: min(640px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 36px));
  max-height: min(720px, calc(100dvh - 36px));
  overflow: auto;
  z-index: 10001;
  animation: marketValidationDialogIn 180ms ease-out;
}

.market-purchase-modal .section-head {
  min-width: 0;
}

.market-purchase-modal .section-head h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.market-validation-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.market-validation-status > div:last-child {
  display: grid;
  gap: 5px;
}

.market-validation-status strong {
  color: var(--text);
  font-size: 1rem;
}

.market-validation-status p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.market-validation-status span {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.market-validation-spinner {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: marketValidationSpin 0.9s linear infinite;
}

.market-validation-status.is-valid .market-validation-spinner,
.market-validation-status.is-warning .market-validation-spinner,
.market-validation-status.is-invalid .market-validation-spinner {
  animation: none;
}

.market-validation-status.is-valid .market-validation-spinner {
  border-color: rgba(55, 214, 139, 0.36);
  background: rgba(55, 214, 139, 0.2);
}

.market-validation-status.is-warning .market-validation-spinner {
  border-color: rgba(255, 190, 92, 0.42);
  background: rgba(255, 190, 92, 0.16);
}

.market-validation-status.is-invalid .market-validation-spinner {
  border-color: rgba(255, 116, 116, 0.42);
  background: rgba(255, 116, 116, 0.14);
}

.market-validation-status.is-valid {
  border-color: rgba(55, 214, 139, 0.4);
  background: rgba(55, 214, 139, 0.1);
}

.market-validation-status.is-warning,
.market-validation-status.is-loading {
  border-color: rgba(255, 190, 92, 0.42);
  background: rgba(255, 190, 92, 0.1);
}

.market-validation-status.is-invalid {
  border-color: rgba(255, 116, 116, 0.42);
  background: rgba(255, 116, 116, 0.1);
}

.market-validation-results {
  display: grid;
  gap: 10px;
}

.market-validation-check {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.market-validation-check strong {
  color: var(--text);
}

.market-validation-check span {
  color: var(--muted);
  line-height: 1.45;
}

.market-validation-check.is-pass {
  border-color: rgba(55, 214, 139, 0.34);
}

.market-validation-check.is-warn,
.market-validation-check.is-stub {
  border-color: rgba(255, 190, 92, 0.34);
}

.market-validation-check.is-fail {
  border-color: rgba(255, 116, 116, 0.38);
}

@keyframes marketValidationSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marketValidationDialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.market-lzt-form {
  gap: 0;
}

.listing-grid.market-listing-grid {
  grid-template-columns: minmax(0, 1fr);
}

.market-lzt-title {
  padding: 8px 0 22px;
  font-size: 24px;
  font-weight: 800;
}

.market-lzt-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 26px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.market-lzt-row.is-invalid {
  border-top-color: rgba(255, 104, 119, 0.5);
}

.market-lzt-row.is-invalid .market-lzt-label {
  color: #ffd0d5;
}

.market-lzt-label {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

.market-lzt-control {
  display: grid;
  gap: 14px;
}

.market-lzt-control input,
.market-lzt-control select,
.market-lzt-control textarea {
  width: 100%;
}

.market-lzt-row.is-invalid input,
.market-lzt-row.is-invalid select,
.market-lzt-row.is-invalid textarea,
.market-category-fields label.is-invalid input {
  border-color: rgba(255, 104, 119, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 104, 119, 0.12);
}

.market-lzt-help {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.market-lzt-error {
  margin: 0;
  color: #ffd0d5;
  font-size: 0.94rem;
  line-height: 1.45;
}

.market-lzt-price {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(160px, 1fr);
  gap: 12px;
}

.market-lzt-link {
  color: var(--accent);
  font-weight: 800;
}

.market-lzt-check {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 17px;
}

.market-lzt-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.market-lzt-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.market-lzt-segments label {
  display: inline-flex;
  align-items: center;
}

.market-lzt-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.market-lzt-segments span {
  min-width: 122px;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.market-lzt-segments input:checked + span {
  color: #081417;
  background: linear-gradient(180deg, #4fd7bf, #20b89f);
  border-color: rgba(79, 215, 191, 0.75);
}

.market-lzt-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 22px;
}

.compose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compose-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.compose-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 216, 199, 0.28);
  background: rgba(78, 216, 199, 0.08);
  color: var(--text);
}

.compose-card-link {
  color: #8ff1df;
  font-weight: 700;
}

.compose-note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 18px;
  background: rgba(78, 216, 199, 0.08);
}

.compose-note p {
  margin: 0;
  color: var(--muted);
}

.thread-compose-page {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}

.compose-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.compose-breadcrumbs strong {
  color: var(--text);
}

.compose-rules {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.compose-rules p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.thread-compose-form-page {
  gap: 16px;
}

.thread-compose-form-page .editor-input,
.thread-compose-form-page .editor-surface {
  min-height: 320px;
}

.compose-simple-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.5fr);
  gap: 14px;
}

.compose-title-field {
  min-width: 0;
}

.compose-extra {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.compose-extra summary {
  cursor: pointer;
  font-weight: 700;
}

.compose-extra label {
  margin-top: 14px;
}

.compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.schedule-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(78, 216, 199, 0.24);
  border-radius: 12px;
  background: rgba(31, 67, 98, 0.36);
}

.schedule-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.55fr);
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.check-row input {
  width: auto;
}

.compose-submit,
.compose-back-link {
  width: max-content;
}

.forum-compose-entry {
  display: grid;
  gap: 14px;
}

.forum-compose-entry p {
  margin: 0;
  color: var(--muted);
}

.thread-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thread-view-title .thread-chip-row {
  margin-top: 8px;
}

.thread-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: #c9d8ea;
  background: rgba(255, 255, 255, 0.04);
}

.thread-prefix {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #b5dd53, #e7ff94);
}

.lead-rich > :first-child,
.gated-panel .rich-content > :first-child {
  margin-top: 0;
}

.media-embed {
  margin: 14px 0;
}

.media-embed img,
.media-embed video {
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.spoiler-block {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.spoiler-block summary {
  cursor: pointer;
  font-weight: 700;
}

.side-block {
  margin-top: 18px;
}

.side-title {
  margin: 0 0 10px;
  padding-inline: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8d98a8;
}

.side-link-list {
  display: grid;
  gap: 4px;
}

.side-category {
  display: grid;
  gap: 4px;
}

.side-link-toggle {
  width: 100%;
}

.side-link-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.side-link-caret {
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
  transition: transform 180ms var(--ease-smooth), opacity 180ms ease;
}

.side-category.is-open .side-link-caret {
  transform: rotate(225deg);
  opacity: 1;
}

.side-subcategory-list {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms var(--ease-smooth);
}

.side-subcategory-list[hidden] {
  display: none;
}

.side-category:not(.is-open) .side-subcategory-list {
  opacity: 0;
  transform: translateY(-4px);
}

.side-subcategory-list .side-link {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.92rem;
  background: transparent;
}

.side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #d7d7d7;
  background: transparent;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms var(--ease-smooth),
    box-shadow 180ms var(--ease-smooth);
}

.side-link:hover {
  transform: translateX(1px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.side-link.is-active {
  color: #ffffff;
  border-color: rgba(255, 118, 42, 0.34);
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.2), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(255, 90, 31, 0.08);
}

.side-link.is-active::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #ff5a1f;
  transform: translateY(-50%);
}

.side-link-toggle.is-active {
  border-color: rgba(255, 118, 42, 0.28);
  background: rgba(255, 90, 31, 0.13);
}

.side-link-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d8d8d8;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.045);
}

.side-link-icon.is-image {
  padding: 0;
  border: 0;
  background: transparent;
}

.side-link-icon-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(0.04) brightness(1.06);
}

@media (max-width: 1120px) {
  .app-frame,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .wallet-hero-grid,
  .wallet-deposit-grid,
  .wallet-tab-panel {
    grid-template-columns: 1fr;
  }

  .side-menu {
    position: static;
  }
}

@media (max-width: 860px) {
  .split-form {
    grid-template-columns: 1fr;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }

  .compose-grid {
    grid-template-columns: 1fr;
  }

  .market-lzt-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .market-lzt-label {
    font-size: 16px;
  }

  .market-lzt-price {
    grid-template-columns: 1fr;
  }

  .wallet-hero-stats,
  .wallet-asset-grid,
  .wallet-asset-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-info-grid,
  .profile-detail-grid,
  .profile-contact-grid {
    grid-template-columns: 1fr;
  }

  .trustcore-dashboard-hero,
  .trustcore-dashboard-grid,
  .trustcore-workspace-grid,
  .forum-home-top-grid,
  .forum-home-main-grid,
  .profile-compact-hero,
  .profile-compact-stats,
  .profile-compact-page .profile-detail-grid,
  .profile-compact-page .profile-contact-grid {
    grid-template-columns: 1fr;
  }

  .trustcore-orange-card,
  .trustcore-leader-list article {
    grid-template-columns: 1fr;
  }

  .nickname-editor-grid,
  .nickname-preset-grid,
  .static-sections-grid {
    grid-template-columns: 1fr;
  }

  .status-upgrade-row-head {
    display: grid;
  }

  .status-upgrade-price {
    white-space: normal;
  }

  .nickname-preset-menu {
    position: static;
    width: 100%;
    max-height: 360px;
    margin-top: 10px;
  }

  .wallet-amount-input {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .inline-form,
  .auth-strip,
  .admin-actions {
    width: 100%;
  }

  .admin-section-nav {
    display: none;
  }

  .admin-mobile-tabbar {
    display: flex;
  }

  .admin-kpi-grid,
  .admin-overview-grid,
  .admin-jump-grid,
  .admin-dashboard-grid,
  .admin-trustcore-plan,
  .admin-deal-card,
  .admin-entity-card {
    grid-template-columns: 1fr;
  }

  .admin-page-hero .section-head,
  .admin-deal-card-head,
  .admin-entity-head {
    align-items: stretch;
  }

  .admin-deal-card-head,
  .admin-entity-head {
    flex-direction: column;
  }

  .admin-deal-card-head > strong,
  .admin-entity-head > strong {
    max-width: none;
    text-align: left;
  }

  .admin-deal-card .admin-deal-resolution-form {
    width: 100%;
  }

  .admin-deal-meta span {
    width: 100%;
    border-radius: 14px;
  }

  .admin-row,
  .admin-item,
  .admin-deal-card,
  .admin-deal-card-main,
  .admin-dashboard-card,
  .admin-dashboard-card strong,
  .admin-dashboard-card p,
  .admin-entity-card,
  .admin-entity-main,
  .admin-entity-head,
  .admin-deal-card h3,
  .admin-entity-head h3,
  .admin-entity-head p,
  .admin-deal-note,
  .admin-deal-resolution-form,
  .admin-deal-resolution-form textarea,
  .admin-deal-resolution-form select {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .page-shell {
    width: min(100% - 20px, 1440px);
  }

  .topbar-clean {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    border-radius: 16px;
  }

  .topbar-quick-user {
    justify-content: flex-end;
  }

  .topbar-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .topbar-mobile-menu {
    display: none;
  }

  .topbar-mobile-menu.is-open {
    display: block;
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
  }

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 120;
    width: min(88vw, 420px);
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 22px 20px 28px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, #1b1b1b 0%, #101010 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 80px rgba(0, 0, 0, 0.5);
  }

  .mobile-menu-panel .topbar-tools,
  .mobile-menu-panel .topbar-quick-user {
    display: none;
  }

  .mobile-menu-search,
  .mobile-menu-search input,
  .topbar-search {
    max-width: none;
  }

  .mobile-menu-search input {
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    color: #f5f5f5;
  }

  .mobile-nav-primary,
  .mobile-nav-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-nav-primary,
  .mobile-nav-secondary {
    margin: 0;
  }

  .mobile-nav-primary a,
  .mobile-nav-secondary a {
    white-space: normal;
  }

  .mobile-nav-primary a,
  .mobile-nav-secondary a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #d7d7d7;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .mobile-nav-primary a:hover,
  .mobile-nav-secondary a:hover {
    color: #ffffff;
    transform: translateX(1px);
    border-color: rgba(255, 118, 42, 0.24);
    background: linear-gradient(90deg, rgba(255, 90, 31, 0.18), rgba(255, 255, 255, 0.055));
  }

  .mobile-nav-primary a:last-child,
  .mobile-nav-secondary a:last-child {
    border-bottom: 0;
  }

  .mobile-menu-section {
    display: grid;
    gap: 12px;
  }

  .mobile-menu-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
  }

  .mobile-menu-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
  }

  .topbar-tools,
  .guest-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-tools > a,
  .guest-tools a,
  .topbar-profile {
    justify-content: center;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .topbar-quick-user .topbar-profile {
    width: auto;
    min-width: 0;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .topbar-profile,
  .topbar-auth,
  .topbar-balance,
  .topbar-icon,
  .topbar-admin {
    width: 100%;
  }

  .topbar-quick-user .topbar-profile {
    width: auto;
  }

  .side-menu {
    display: none;
  }

  .thread-page-head h1 {
    font-size: 1.8rem;
  }

  .thread-page-meta,
  .reply-actions,
  .comment-actions {
    flex-direction: column;
  }

  .thread-reply-panel,
  .thread-report-details {
    max-width: none;
  }

  .compose-dialog {
    width: calc(100% - 20px);
    margin-top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .market-purchase-modal .compose-dialog {
    margin: 0 !important;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px !important;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding: 8px;
  }

  .app-frame,
  .layout,
  .hero,
  .content-grid,
  .forum-grid,
  .forum-list,
  .thread-list,
  .article-rail,
  .compact-thread-list,
  .listing-grid,
  .hero-route-grid,
  .home-live-grid,
  .auth-grid,
  .settings-layout,
  .messages-layout,
  .messages-layout-rich,
  .profile-shell,
  .profile-main-grid,
  .search-grid,
  .hero-search,
  .compose-intro-grid,
  .compose-layout,
  .compose-form-grid,
  .guarantee-grid,
  .guarantee-steps,
  .wallet-request-grid,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .layout,
  .app-frame,
  .page-main,
  .main-column,
  .sidebar {
    gap: 12px;
    min-width: 0;
  }

  .panel,
  .hero,
  .ticker,
  .thread-compose-page,
  .auth-panel,
  .auth-panel-rich,
  .auth-side-card,
  .settings-main,
  .settings-sidebar {
    padding: 16px;
    border-radius: 16px;
  }

  .hero h1,
  .section-hero h1,
  .profile-main-head h1,
  .thread-page-head h1,
  .auth-panel-rich h1 {
    font-size: 1.8rem;
    line-height: 1.08;
    max-width: 100%;
  }

  .section-head,
  .panel-header,
  .hero-thread,
  .forum-card-head,
  .forum-row,
  .forum-row-main,
  .forum-row-meta,
  .listing-price-row,
  .listing-top,
  .article-meta-row,
  .post-meta,
  .wallet-row,
  .wallet-row-side,
  .message-thread-head,
  .message-room-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tab-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .tab-button,
  .hero-actions a,
  .search-actions .accent-button,
  .search-actions .ghost-button,
  .compose-submit,
  .compose-back-link,
  .filter-toggle {
    width: 100%;
  }

  .hero-actions,
  .search-actions,
  .wallet-actions,
  .profile-action-row,
  .message-filter-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .search-shell,
  .message-composer-card,
  .wallet-request-card {
    gap: 12px;
  }

  .article-card,
  .article-card.is-featured,
  .comment-card,
  .post-card {
    grid-template-columns: 1fr;
  }

  .article-visual {
    min-height: 160px;
  }

  .article-copy {
    padding: 16px;
  }

  .ticker {
    overflow: hidden;
  }

  .ticker-track {
    width: 100%;
    gap: 12px;
    padding: 0;
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .ticker-track span {
    flex: 0 0 84%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    scroll-snap-align: start;
  }

  .compose-breadcrumbs,
  .profile-breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .message-stream {
    max-height: none;
    padding-right: 0;
  }

  .message-bubble {
    max-width: 100%;
  }

  .forum-meta,
  .listing-meta {
    display: grid;
    gap: 6px;
  }

.profile-photo-card .avatar-giant {
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1 / 1;
  }
}

/* Forum architecture refresh */
.forum-home-layout,
.forum-directory-layout,
.forum-section-layout,
.thread-view-layout {
  display: grid;
  gap: 18px;
}

.forum-home-hero,
.forum-directory-hero,
.forum-section-hero,
.thread-view-header {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.forum-home-compact {
  gap: 16px;
}

.forum-home-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  align-items: end;
  gap: 18px;
  padding: 24px;
}

.forum-home-identity h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.forum-home-identity p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.forum-home-signal {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border: 1px solid var(--ui-border-soft);
  border-radius: var(--ui-radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.forum-home-signal span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.forum-home-signal strong {
  color: var(--text);
  line-height: 1.35;
}

.forum-home-actions-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.forum-home-promo,
.forum-home-hot,
.forum-home-sections {
  padding: 18px;
  border-radius: 22px;
}

.forum-home-promo-list {
  display: grid;
  gap: 10px;
}

.forum-home-promo-item {
  display: block;
  color: var(--accent-2);
  font-weight: 700;
  line-height: 1.45;
}

.forum-home-promo-item:hover {
  color: #9ef5e7;
}

.forum-home-hot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.forum-home-hot-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.forum-directory-hero-compact h1 {
  margin: 0;
  font-size: 1.35rem;
}

.forum-home-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: start;
}

.forum-home-copy,
.forum-home-summary,
.forum-sidebar-stack,
.forum-quick-links,
.community-user-list,
.forum-map-list,
.forum-thread-stream,
.forum-section-headline,
.thread-view-main,
.thread-view-side,
.thread-view-grid,
.thread-article-card,
.thread-article-head,
.thread-article-author,
.forum-home-stats,
.forum-section-stats,
.forum-home-actions,
.forum-focus-card {
  display: grid;
  gap: 14px;
}

.thread-view-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.thread-article-card-apple,
.thread-discussion-panel-apple,
.thread-reply-panel-apple,
.thread-side-panel {
  padding: var(--ui-space-4);
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
}

.thread-article-card-apple {
  gap: 20px;
}

.thread-article-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.thread-article-author {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.thread-article-author-copy {
  display: grid;
  gap: 4px;
}

.thread-article-author-copy strong {
  font-size: 1.05rem;
}

.thread-article-author-side {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.thread-article-author-side small,
.thread-side-author span {
  color: var(--muted);
}

.thread-discussion-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-card-apple {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--ui-border-soft);
  border-radius: 20px;
  background: var(--ui-surface-soft);
}

.comment-avatar-wrap {
  align-self: start;
}

.comment-body {
  display: grid;
  gap: 12px;
}

.thread-side-author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.thread-side-author div {
  display: grid;
  gap: 4px;
}

.forum-home-actions,
.forum-section-actions,
.forum-focus-meta,
.forum-thread-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.forum-home-stats,
.forum-section-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.forum-home-stats article,
.forum-section-stats article {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.forum-home-stats strong,
.forum-section-stats strong {
  font-size: 1.45rem;
  color: var(--accent-2);
}

.forum-home-stats span,
.forum-section-stats span,
.forum-focus-meta span,
.forum-thread-row-meta span,
.community-user-row small,
.thread-article-author span {
  color: var(--muted);
}

.forum-focus-card {
  padding: 18px;
  border: 1px solid rgba(78, 216, 199, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(78, 216, 199, 0.08), rgba(255, 255, 255, 0.02));
}

.forum-focus-card h2,
.forum-thread-row h3,
.thread-view-header h1 {
  margin: 0;
}

.thread-view-header-apple {
  gap: 24px;
  padding: var(--ui-space-5);
  border-radius: var(--ui-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--ui-surface);
}

.thread-view-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.thread-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.thread-hero-stats article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border-soft);
  background: var(--ui-surface-soft);
}

.thread-hero-stats strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.thread-hero-stats span {
  color: var(--muted);
}

.thread-view-divider {
  height: 1px;
  background: var(--ui-border-soft);
}

.thread-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.forum-home-grid,
.forum-directory-grid,
.forum-section-grid {
  align-items: start;
}

.forum-map-list,
.forum-thread-stream,
.community-user-list,
.forum-quick-links {
  grid-template-columns: minmax(0, 1fr);
}

.forum-map-card,
.forum-thread-row {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.forum-map-card {
  display: grid;
  gap: 14px;
}

.forum-map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.forum-thread-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.forum-thread-row-main,
.forum-thread-row-side {
  min-width: 0;
}

.forum-thread-row h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.28;
}

.forum-thread-row-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: right;
}

.forum-thread-row-side small,
.forum-thread-author small {
  color: var(--muted);
}

.forum-thread-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 0.92rem;
  line-height: 1.35;
}

.forum-thread-row-meta span {
  color: var(--muted);
}

.forum-thread-row-meta a {
  color: #f2c94c;
}

.thread-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.thread-meta-item::before {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
}

.thread-meta-comments::before {
  content: "◔";
}

.thread-meta-likes::before {
  content: "♥";
  font-size: 0.76rem;
}

.thread-meta-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e7edf8;
  background: transparent;
}

.thread-meta-category {
  color: var(--accent-2);
}

.thread-meta-label.subtle {
  color: var(--muted);
  font-weight: 600;
}

.forum-thread-author {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
}

.forum-thread-author strong,
.forum-thread-author a {
  color: var(--text);
}

.forum-thread-author a:hover,
.forum-thread-row h3 a:hover {
  color: #ffffff;
}

.forum-thread-stream {
  gap: 0;
}

.forum-thread-stream .forum-thread-row:first-child {
  padding-top: 4px;
}

.forum-thread-stream .forum-thread-row:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.forum-article-rail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.community-user-row span {
  display: grid;
  gap: 2px;
}

.forum-directory-hero .section-head,
.thread-view-header,
.forum-section-headline {
  align-items: start;
}

.forum-section-headline {
  grid-template-columns: minmax(0, 1fr) auto;
}

.forum-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.forum-section-hero-compact {
  gap: 16px;
}

.forum-section-hero-compact .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.forum-section-hero-compact h1 {
  margin: 0;
}

.forum-section-dashboard {
  gap: 24px;
}

.forum-section-dashboard-hero {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 90, 31, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(28, 28, 28, 0.96), rgba(12, 12, 12, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.forum-section-titlebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.forum-section-kicker {
  display: grid;
  gap: 7px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.forum-section-kicker span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  color: #111;
  font-weight: 900;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #ff5a1f, #ffd36b);
  box-shadow: 0 16px 34px rgba(255, 90, 31, 0.26);
}

.forum-section-kicker p,
.forum-section-headline-copy p {
  margin: 0;
}

.forum-section-headline-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.forum-section-headline-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.forum-section-headline-copy p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

.forum-filter-block {
  gap: 12px;
}

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

.forum-filter-summary > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.filter-toggle.forum-filter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.06);
}

.forum-filter-trigger b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #111;
  font-size: 0.78rem;
  background: #ff8a3d;
}

.forum-filter-trigger i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.forum-filter-trigger[aria-expanded="true"] i {
  transform: rotate(225deg) translateY(-2px);
}

.forum-filter-drawer {
  display: none;
  padding: 16px;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.forum-filter-drawer.is-open {
  display: grid;
}

.forum-filter-drawer .search-field input,
.forum-filter-drawer .search-field select {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.thread-view-header {
  padding-bottom: 20px;
}

.thread-view-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  align-items: start;
}

.thread-article-card {
  gap: 18px;
}

.thread-article-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.thread-article-author {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.thread-article-author div {
  display: grid;
  gap: 4px;
}

.thread-view-side {
  align-content: start;
}

.forum-empty-card {
  min-height: auto;
  text-align: left;
}

@media (max-width: 1100px) {
  .forum-home-identity,
  .forum-home-hero,
  .thread-view-grid,
  .forum-section-headline,
  .forum-section-titlebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .wallet-dashboard .wallet-hero-grid,
  .wallet-dashboard .wallet-tab-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .wallet-dashboard .wallet-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-home-stats,
  .forum-section-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-section-actions {
    justify-content: flex-start;
  }

  .forum-section-kicker {
    justify-items: start;
  }

  .forum-filter-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .admin-shell {
    padding-bottom: 92px;
  }

  .admin-page-hero,
  .admin-workspace-panel,
  .admin-deal-workspace,
  .admin-deal-card,
  .admin-entity-card {
    padding-inline: 16px;
  }

  .forum-home-actions-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .forum-home-promo,
  .forum-home-identity,
  .forum-home-hot,
  .forum-home-sections {
    padding: 14px;
    border-radius: 16px;
  }

  .forum-home-identity h1 {
    font-size: clamp(2.3rem, 14vw, 4rem);
  }

  .forum-home-hot-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-home-hero,
  .forum-directory-hero,
  .forum-section-hero,
  .thread-view-header {
    padding: 18px;
  }

  .forum-home-actions,
  .forum-section-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .forum-home-stats,
  .forum-section-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-thread-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .forum-thread-row-side {
    justify-content: flex-start;
    text-align: left;
  }

  .forum-thread-author {
    justify-items: start;
  }

  .thread-article-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 520px) {
  .forum-home-stats,
  .forum-section-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .market-service-stats,
  .about-service-flow,
  .trustcore-service-scoreline,
  .trustcore-service-scale-list article {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .forum-home-layout,
  .forum-directory-layout,
  .forum-section-layout,
  .thread-view-layout {
    gap: 12px;
  }

  .forum-home-hero,
  .forum-directory-hero,
  .forum-section-hero,
  .thread-view-header,
  .thread-article-card,
  .thread-discussion-panel,
  .thread-reply-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .forum-home-grid,
  .forum-directory-grid,
  .forum-section-grid,
  .thread-view-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .forum-sidebar-stack,
  .thread-view-side,
  .thread-view-main,
  .forum-map-list,
  .forum-thread-stream,
  .community-user-list,
  .forum-quick-links {
    gap: 12px;
  }

  .forum-home-copy,
  .forum-home-summary,
  .forum-section-headline {
    gap: 12px;
  }

  .forum-home-copy h1,
  .forum-directory-hero h1,
  .forum-section-hero h1,
  .thread-view-header h1 {
    font-size: 1.65rem;
    line-height: 1.08;
  }

  .forum-thread-row,
  .forum-map-card,
  .forum-focus-card,
  .community-user-row {
    padding: 14px;
    border-radius: 14px;
  }

  .thread-chip-row,
  .forum-map-meta,
  .forum-focus-meta {
    gap: 8px;
  }

  .thread-page-meta,
  .forum-thread-row-meta,
  .forum-focus-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .thread-article-author {
    gap: 10px;
  }

  .thread-article-author .avatar-large,
  .comment-card .avatar-large {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .thread-view-side .panel,
  .forum-sidebar-stack .panel {
    padding: 16px;
  }

  .thread-report-details > summary,
  .profile-breadcrumbs {
    font-size: 0.95rem;
  }

  .profile-breadcrumbs {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .topbar-clean {
    grid-template-columns: auto 1fr auto;
  }

  .topbar-quick-user {
    justify-content: flex-end;
    gap: 8px;
  }

  .topbar-quick-user .topbar-icon {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
  }

  .topbar-glyph {
    width: 17px;
    height: 17px;
  }

  .topbar-quick-user .topbar-profile {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
  }

  .topbar-quick-user .topbar-name {
    display: none;
  }

  .forum-home-actions-bar {
    grid-template-columns: 1fr;
  }

  .forum-home-hot-head h2,
  .forum-home-sections h2 {
    font-size: 1.15rem;
  }

  .forum-directory-hero-compact h1 {
    font-size: 1.15rem;
  }

  .page-shell {
    width: 100%;
    padding: 6px;
  }

  .topbar-clean {
    gap: 10px;
    padding: 10px 12px;
  }

  .brand-compact .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .main-nav-clean {
    grid-template-columns: 1fr;
  }

  .topbar-mobile-menu {
    gap: 8px;
  }

  .topbar-tools,
  .guest-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-profile-wrap {
    grid-column: 1 / -1;
  }

  .topbar-balance {
    grid-column: 1 / -1;
  }

  .topbar-profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 8px 12px;
    border-radius: 14px;
  }

  .profile-hover-card {
    position: static;
    inset: auto;
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border-radius: 16px;
  }

  .profile-hover-card::before {
    display: none;
  }

  .profile-hover-grid {
    grid-template-columns: 1fr;
  }

  .profile-hover-grid a,
  .topbar-logout {
    min-height: 46px;
    border-radius: 14px;
  }

  .forum-home-actions,
  .forum-section-actions,
  .search-actions,
  .reply-actions,
  .comment-actions {
    grid-template-columns: 1fr;
  }

  .forum-home-stats article,
  .forum-section-stats article {
    padding: 14px;
  }

  .forum-home-stats strong,
  .forum-section-stats strong,
  .forum-thread-row-stats strong {
    font-size: 1.3rem;
  }

  .forum-thread-row {
    gap: 12px;
    padding: 12px 0;
  }

  .forum-thread-row-side {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px 12px;
  }

  .forum-thread-author {
    justify-items: start;
    text-align: left;
  }

  .forum-thread-row-meta {
    gap: 8px 12px;
    font-size: 0.9rem;
  }

  .thread-meta-label {
    font-size: 0.84rem;
  }

  .community-user-row {
    align-items: flex-start;
  }

  .feature-list li,
  .pulse-list li {
    gap: 8px;
  }

  .thread-view-header,
  .thread-article-card,
  .thread-discussion-panel,
  .thread-reply-panel,
  .forum-home-hero,
  .forum-directory-hero,
  .forum-section-hero {
    padding: 14px;
  }

  .thread-article-head {
    gap: 12px;
  }

  .post-card.comment-card {
    gap: 10px;
  }

  .post-body.comment-body .rich-content {
    font-size: 0.96rem;
  }
}

@media (max-width: 860px) {
  .auth-layout,
  .settings-layout,
  .messages-layout,
  .messages-layout-rich {
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .auth-panel,
  .auth-side-card,
  .settings-sidebar,
  .settings-main,
  .message-sidebar,
  .message-main,
  .section-hero,
  .listing-card {
    padding: 16px;
    border-radius: 16px;
  }

  .settings-sidebar,
  .message-sidebar {
    position: static;
    top: auto;
  }

  .messages-layout-rich .message-sidebar {
    border-right: 0;
  }

  .message-empty-room {
    min-height: 260px;
  }

  .notifications-popover {
    right: -90px;
  }

  .settings-user-chip {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .settings-user-chip .avatar-giant {
    width: 72px;
    min-width: 72px;
    height: 72px;
    font-size: 1.6rem;
    border-radius: 16px;
  }

  .settings-nav {
    grid-template-columns: 1fr;
  }

  .settings-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .message-sidebar-head,
  .message-room-head,
  .message-member-row,
  .listing-top,
  .listing-price-row {
    gap: 10px;
  }

  .message-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .message-filter-pill {
    width: 100%;
    justify-content: center;
  }

  .message-start-card {
    order: 3;
  }

  .message-thread-list {
    order: 2;
  }

  .message-thread-card {
    padding: 14px;
    border-radius: 14px;
  }

  .message-thread-avatar {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .message-stream {
    max-height: none;
    gap: 12px;
    padding-right: 0;
  }

  .message-bubble {
    max-width: 100%;
    padding: 14px;
    border-radius: 16px;
  }

  .message-composer-card {
    gap: 12px;
  }

  .message-composer-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .deal-trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .listing-card {
    gap: 12px;
  }

  .listing-card .rich-content {
    font-size: 0.96rem;
  }

  .listing-meta,
  .wallet-history,
  .message-thread-list {
    gap: 10px;
  }

  .wallet-row {
    padding: 14px;
    border-radius: 14px;
  }

  .wallet-row-side {
    align-items: flex-start;
  }

  .wallet-request-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel-rich h1,
  .section-hero h1,
  .message-sidebar h1 {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .auth-quick-row,
  .compact-feature-list,
  .feature-list {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .auth-layout,
  .settings-layout,
  .messages-layout,
  .messages-layout-rich,
  .content-grid {
    gap: 10px;
  }

  .auth-panel,
  .auth-side-card,
  .settings-sidebar,
  .settings-main,
  .message-sidebar,
  .message-main,
  .section-hero,
  .listing-card {
    padding: 14px;
  }

  .auth-panel-rich h1,
  .section-hero h1,
  .message-sidebar h1,
  .message-room-head h2 {
    font-size: 1.5rem;
  }

  .auth-side-card {
    order: 2;
  }

  .auth-panel {
    order: 1;
  }

  .settings-user-chip {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .settings-user-chip .avatar-giant {
    width: 60px;
    min-width: 60px;
    height: 60px;
    font-size: 1.3rem;
    border-radius: 14px;
  }

  .settings-nav-link,
  .message-thread-card,
  .wallet-row {
    padding: 12px;
  }

  .message-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .message-room-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .message-room-actions .message-filter-pill {
    min-height: 36px;
    padding: 8px 10px;
  }

  .message-thread-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .message-member-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .message-bubble-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .member-pill {
    width: 100%;
  }

  .member-pill .trust-inline,
  .deal-trust-strip,
  .listing-card .trust-inline {
    display: none;
  }

  .search-grid,
  .search-grid-forum,
  #market-filters,
  #forum-filters {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-field,
  .search-wide,
  .search-actions {
    grid-column: auto;
  }

  .filter-toggle {
    min-height: 42px;
  }

  .listing-top,
  .listing-meta,
  .listing-price-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .listing-price-row strong {
    font-size: 1.35rem;
  }

  .listing-card form.inline-form,
  .listing-card .form-stack {
    gap: 10px;
  }

  .seller-listing-row,
  .seller-listings-empty {
    grid-template-columns: 1fr;
  }

  .seller-listing-side {
    justify-items: start;
  }

  .seller-listing-actions {
    justify-content: stretch;
  }

  .seller-listing-actions .accent-button,
  .seller-listing-actions .ghost-button,
  .seller-listing-locked {
    width: 100%;
  }

  .auth-panel .accent-button,
  .auth-panel .ghost-button,
  .settings-main .accent-button,
  .settings-main .ghost-button,
  .message-main .accent-button,
  .message-sidebar .accent-button,
  .listing-card .ghost-button {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .forum-trust-route-grid,
  .forum-home-main-grid {
    grid-template-columns: 1fr;
  }

  .forum-home-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .forum-trust-route-card {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .forum-home-dashboard-hero {
    gap: 14px;
  }

  .forum-home-hero-actions,
  .status-compact-card {
    grid-template-columns: 1fr;
  }

  .forum-home-hero-actions {
    display: grid;
  }

  .status-compact-card {
    align-items: stretch;
  }
}
