﻿:root {
  --bg: #07111d;
  --bg-mid: #102238;
  --panel: rgba(243, 239, 230, 0.9);
  --panel-soft: rgba(255, 251, 243, 0.82);
  --border: rgba(201, 170, 109, 0.18);
  --text: #1a2635;
  --muted: #61748b;
  --gold: #d2ad63;
  --gold-strong: #f0d79b;
  --steel: #8fa8c7;
  --emerald: #6eb6a3;
  --violet: #8d7cff;
  --ruby: #df6d6d;
  --cyan: #55d4c9;
  --lime: #84c97d;
  --shadow: 0 28px 90px rgba(2, 9, 18, 0.42);
  --shadow-soft: 0 20px 44px rgba(7, 17, 29, 0.18);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(210, 173, 99, 0.24), transparent 20%),
    radial-gradient(circle at top left, rgba(112, 157, 212, 0.16), transparent 24%),
    radial-gradient(circle at 35% 8%, rgba(85, 212, 201, 0.12), transparent 18%),
    radial-gradient(circle at 64% 12%, rgba(141, 124, 255, 0.11), transparent 18%),
    linear-gradient(180deg, #07111d 0%, #0d1a2c 24%, #102238 55%, #11243b 100%);
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(41, 255, 103, 0.16);
  background:
    linear-gradient(180deg, rgba(5, 2, 14, 0.86), rgba(9, 4, 24, 0.94)),
    radial-gradient(circle at center top, rgba(155, 72, 255, 0.12), transparent 36%);
}

.site-footer-inner {
  padding: 18px 0 22px;
  text-align: center;
}

.site-footer-inner p {
  margin: 0;
  color: rgba(235, 227, 248, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.32), rgba(0,0,0,0));
}
body::after {
  background:
    radial-gradient(circle at 20% 10%, rgba(240, 215, 155, 0.12), transparent 22%),
    radial-gradient(circle at 80% 12%, rgba(110, 182, 163, 0.08), transparent 20%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04), transparent 28%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-shell { width: min(1280px, calc(100% - 28px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: linear-gradient(180deg, rgba(9, 18, 31, 0.88), rgba(11, 25, 41, 0.7)); border-bottom: 1px solid rgba(210, 173, 99, 0.14); box-shadow: 0 18px 40px rgba(2, 9, 18, 0.24); }
.topbar, .topbar-actions, .hero, .stats-grid, .content-grid, .listing-grid, .listing-topline, .listing-badges, .listing-meta, .panel-header { display: flex; }
.topbar, .panel-header, .listing-topline, .listing-meta { justify-content: space-between; align-items: center; }
.topbar {
  padding: 18px 0;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
}
.topbar-actions, .listing-badges { gap: 12px; align-items: center; flex-wrap: wrap; }
.topbar-actions {
  flex: 1 1 100%;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  row-gap: 10px;
}
.topbar-nav-cluster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}
.topbar-account-cluster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.topbar-logout-form {
  margin-left: 6px;
}
.topbar-guest-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.mobile-quickbar {
  display: none;
}
.mobile-shortcuts {
  display: none;
}
.mobile-action-bar,
.mobile-create-hint {
  display: none;
}
.topbar-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(148, 94, 255, 0.28);
  background: rgba(17, 11, 35, 0.78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.topbar-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f6f1ff;
}
.topbar-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(210, 173, 99, 0.12);
}
.topbar-group-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(189, 203, 225, 0.76);
  font-weight: 700;
}
.topbar-submenu {
  position: relative;
  padding: 0;
}
.topbar-submenu-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  color: rgba(245, 236, 221, 0.92);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.topbar-submenu-trigger::-webkit-details-marker {
  display: none;
}
.topbar-submenu-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(245, 236, 221, 0.82);
  border-bottom: 2px solid rgba(245, 236, 221, 0.82);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}
.topbar-submenu[open] .topbar-submenu-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}
.topbar-submenu-title {
  font-size: 0.96rem;
}
.topbar-submenu-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(10, 8, 26, 0.96);
  border: 1px solid rgba(148, 94, 255, 0.2);
  box-shadow: 0 22px 40px rgba(2, 9, 18, 0.34);
  z-index: 25;
}
.topbar-submenu[open] .topbar-submenu-menu {
  display: grid;
  gap: 8px;
}
.topbar-submenu-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(245, 236, 221, 0.92);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.topbar-submenu-menu a:hover {
  background: rgba(128, 189, 255, 0.14);
  color: #ffffff;
}
.topbar-submenu-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(245, 236, 221, 0.92);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.topbar-submenu-button:hover,
.topbar-submenu-button:focus-visible {
  background: rgba(128, 189, 255, 0.14);
  color: #ffffff;
}
.browser-alert-menu-button {
  justify-content: flex-start;
  box-shadow: none !important;
  margin: 0;
}
.topbar-group-utility {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}

.nav-label-compact {
  display: none;
}

.admin-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 17px;
  color: #fff6ea;
  background:
    linear-gradient(135deg, rgba(255, 214, 122, 0.2), rgba(226, 89, 89, 0.16)),
    rgba(28, 13, 25, 0.92);
  border: 1px solid rgba(255, 195, 92, 0.34);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.admin-entry-link .topbar-group-label {
  color: rgba(255, 224, 167, 0.84);
}

.admin-entry-link .topbar-submenu-title {
  color: #fffaf0;
  font-weight: 900;
}

.admin-entry-link:hover,
.admin-entry-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 212, 120, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 223, 138, 0.3), rgba(248, 101, 101, 0.24)),
    rgba(32, 14, 27, 0.98);
  box-shadow: 0 16px 32px rgba(113, 24, 24, 0.22), 0 0 24px rgba(255, 214, 122, 0.12);
}

.admin-entry-link-hot {
  border-color: rgba(255, 126, 126, 0.62);
  box-shadow: 0 0 24px rgba(255, 126, 126, 0.18), 0 16px 34px rgba(0, 0, 0, 0.22);
}

.topbar-admin-anchor {
  flex: 0 0 auto;
}
.topbar-group-visitor {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}
.brand {
  flex: 0 0 auto;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.brand { display: flex; gap: 16px; align-items: center; }
.brand strong { color: #f7f1e4; letter-spacing: 0.04em; }
.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}
.topbar-actions > a { color: rgba(239, 231, 214, 0.82); padding: 10px 14px; border-radius: 999px; transition: 180ms ease; }
.topbar-actions > a:hover { background: rgba(255, 255, 255, 0.06); color: #fff7e8; }
.topbar-actions > a.support-nav-link {
  background: linear-gradient(135deg, rgba(75, 211, 255, 0.22), rgba(67, 120, 255, 0.24));
  border: 1px solid rgba(104, 184, 255, 0.36);
  color: #e8f7ff;
  box-shadow: 0 10px 24px rgba(43, 111, 255, 0.18);
}
.topbar-actions > a.support-nav-link:hover {
  background: linear-gradient(135deg, rgba(75, 211, 255, 0.3), rgba(67, 120, 255, 0.34));
  color: #ffffff;
}
.eyebrow, .panel-label, .muted { color: var(--muted); }
.eyebrow, .panel-label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; margin: 0 0 4px; }
.hero { padding: 32px 0 28px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 26px; align-items: center; }
.hero-copy-main { position: relative; z-index: 1; }
.hero-brandline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.54), rgba(237, 232, 223, 0.72));
  border: 1px solid rgba(210, 173, 99, 0.18);
}
.hero-brand-logo {
  width: 150px;
  max-width: 38%;
  filter: drop-shadow(0 16px 26px rgba(18, 26, 38, 0.12));
}
.hero-brand-copy { display: grid; gap: 4px; }
.hero-brand-copy strong { font-size: 1.28rem; }
.hero-brand-copy span { font-size: 0.95rem; color: #5c6f84; }
.hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 24px; }
.hero-copy, .panel, .stat-card, .listing-card, .mini-card, .auth-panel { border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow-soft); border-radius: 24px; }
.hero-copy {
  width: 100%;
  padding: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 42%),
    radial-gradient(circle at top right, rgba(210, 173, 99, 0.22), transparent 24%),
    radial-gradient(circle at 24% 18%, rgba(85, 212, 201, 0.16), transparent 20%),
    radial-gradient(circle at 56% 0%, rgba(141, 124, 255, 0.14), transparent 20%),
    linear-gradient(160deg, rgba(246, 241, 230, 0.96), rgba(232, 223, 207, 0.9));
  box-shadow: var(--shadow);
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 168, 199, 0.18), transparent 68%);
}
.hero-scene-wrap {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 420px;
}
.hero-scene {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(7, 17, 29, 0.42));
}
.hero-scene-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(12, 22, 36, 0.78);
  border: 1px solid rgba(210, 173, 99, 0.18);
  color: #f7f1e4;
}
.hero-scene-note .muted { color: rgba(229, 220, 203, 0.78); }
.market-pulse-stage {
  isolation: isolate;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 20%, rgba(80, 231, 205, 0.18), transparent 26%),
    radial-gradient(circle at 24% 75%, rgba(143, 87, 255, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(9, 8, 26, 0.72), rgba(13, 25, 38, 0.56));
  border: 1px solid rgba(88, 244, 204, 0.2);
  overflow: hidden;
}
.hero-scene-cast {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: min(50vw, 520px);
  max-width: 94%;
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: center 34%;
  clip-path: inset(18px 0 56px 0 round 24px);
  filter:
    saturate(0.94)
    brightness(0.76)
    contrast(1.08)
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 34px rgba(112, 74, 255, 0.16));
  opacity: 0.9;
  z-index: 0;
  mix-blend-mode: multiply;
}
.market-pulse-stage::before {
  content: "";
  position: absolute;
  inset: 28px 20px 28px auto;
  width: 46%;
  border: 2px solid rgba(86, 239, 205, 0.22);
  border-left: 0;
  transform: skewX(-12deg);
  opacity: 0.75;
}
.market-pulse-orb {
  position: absolute;
  right: 12%;
  top: 16%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 242, 165, 0.9), rgba(255, 68, 203, 0.4) 30%, rgba(117, 57, 255, 0.18) 58%, transparent 72%);
  filter: blur(1px) drop-shadow(0 0 40px rgba(164, 80, 255, 0.42));
  opacity: 0.7;
  z-index: -1;
}
.market-pulse-card,
.market-pulse-note {
  width: min(100%, 360px);
  justify-self: start;
  margin-left: 6px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(6, 11, 24, 0.82);
  border: 1px solid rgba(126, 255, 218, 0.24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 3;
}
.market-pulse-card strong {
  display: block;
  margin-top: 5px;
  color: #fff8e9;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0.04em;
}
.market-pulse-card p,
.market-pulse-note p {
  margin: 10px 0 0;
  color: rgba(233, 241, 255, 0.82);
  line-height: 1.65;
}
.market-pulse-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #07121c;
  background: linear-gradient(135deg, #34ff8c, #69e5ff, #fff0a6);
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.market-pulse-steps {
  width: min(100%, 360px);
  justify-self: end;
  margin-right: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 3;
}
.market-pulse-steps span {
  padding: 12px 14px;
  border-radius: 16px;
  color: #f7f2ff;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.market-pulse-note {
  justify-self: end;
  background: rgba(18, 12, 36, 0.78);
  border-color: rgba(213, 163, 72, 0.24);
}
.market-pulse-note strong {
  color: #ffe6a8;
}
h1, h2, h3, strong { font-family: "Oxanium", "Rajdhani", sans-serif; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; }
h2 { font-size: 1.4rem; }
.hero-text { max-width: 70ch; line-height: 1.75; color: #556a83; }
.stats-grid, .content-grid, .listing-grid { gap: 18px; flex-wrap: wrap; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.nested-panel { background: rgba(251, 247, 240, 0.8); }
.stack-actions { display: grid; gap: 10px; margin-top: 10px; }
.trust-card, .class-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,0.54); border: 1px solid rgba(198, 170, 110, 0.16); }
.hero-badges .trust-card:nth-child(1) { background: linear-gradient(135deg, rgba(233,244,255,0.9), rgba(220,233,247,0.74)); border-color: rgba(143, 168, 199, 0.28); }
.hero-badges .trust-card:nth-child(2) { background: linear-gradient(135deg, rgba(248,243,226,0.92), rgba(240,226,187,0.76)); border-color: rgba(210, 173, 99, 0.28); }
.hero-badges .trust-card:nth-child(3) { background: linear-gradient(135deg, rgba(235,248,243,0.92), rgba(211,238,222,0.78)); border-color: rgba(110, 182, 163, 0.28); }
.trust-card img, .class-card img { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 48px; box-shadow: 0 10px 24px rgba(14, 21, 31, 0.08); }
.class-grid { display: grid; gap: 12px; }
.class-grid .class-card:nth-child(1) { background: linear-gradient(135deg, rgba(255,243,236,0.94), rgba(242,220,206,0.82)); }
.class-grid .class-card:nth-child(2) { background: linear-gradient(135deg, rgba(244,252,241,0.94), rgba(221,238,214,0.84)); }
.class-grid .class-card:nth-child(3) { background: linear-gradient(135deg, rgba(241,246,255,0.94), rgba(218,228,245,0.84)); }
.class-grid .class-card:nth-child(4) { background: linear-gradient(135deg, rgba(247,242,255,0.94), rgba(228,220,247,0.84)); }
.class-grid .class-card:nth-child(5) { background: linear-gradient(135deg, rgba(255,241,240,0.94), rgba(242,220,214,0.84)); }
.chat-layout { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 18px; align-items: start; }
.chat-thread-panel { display: grid; gap: 16px; }
.selected-chat { border-color: rgba(191, 140, 43, 0.95); box-shadow: 0 10px 22px rgba(191, 140, 43, 0.14); background: rgba(255, 249, 236, 0.92); }
.item-chip { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 12px 0; border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(238, 231, 220, 0.78)); border: 1px solid rgba(161, 132, 76, 0.16); }
.item-chip.compact { margin: 8px 0; padding: 8px 10px; }
.item-chip-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  flex: 0 0 54px;
  object-fit: cover;
  object-position: center;
  padding: 3px;
  border: 1px solid rgba(255, 157, 83, 0.3);
  background:
    radial-gradient(circle at 50% 50%, rgba(22, 16, 44, 0.98), rgba(7, 4, 18, 1));
  box-shadow: 0 10px 18px rgba(84, 62, 30, 0.14);
  mix-blend-mode: screen;
}
.class-badge { background: rgba(111, 182, 163, 0.12); border-color: rgba(111, 182, 163, 0.32); }
.server-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #062235;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, rgba(85, 212, 201, 0.95), rgba(240, 215, 155, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 20px rgba(85, 212, 201, 0.18);
}

@media (max-width: 920px) {
  .hero-layout { grid-template-columns: 1fr; }
  .chat-layout { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: 1fr; }
  .hero-scene-wrap { min-height: 280px; }
}
.stat-card, .mini-card { padding: 16px; background: var(--panel-soft); border: 1px solid rgba(193, 160, 101, 0.14); }
.stat-card { flex: 1 1 190px; }
.content-grid { align-items: start; padding-bottom: 40px; }
.main-column { flex: 1.5; min-width: 0; display: grid; gap: 24px; }
.sidebar { flex: 0 0 360px; display: grid; gap: 24px; }
.panel { padding: 24px; background: linear-gradient(180deg, rgba(247, 242, 233, 0.96), rgba(238, 231, 220, 0.92)); }
.listing-grid { margin-top: 18px; }
.listing-card {
  flex: 1 1 300px;
  padding: 18px;
  display: grid;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(210, 173, 99, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(255, 250, 242, 0.82), rgba(238, 230, 218, 0.78));
  position: relative;
  overflow: hidden;
}
.listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}
.listing-card:hover::before { transform: translateX(120%); }
.listing-card.theme-dk {
  background:
    linear-gradient(180deg, rgba(143, 94, 57, 0.22), transparent 24%),
    linear-gradient(160deg, rgba(255, 248, 241, 0.84), rgba(236, 223, 208, 0.82));
}
.listing-card.theme-elf {
  background:
    linear-gradient(180deg, rgba(94, 145, 104, 0.18), transparent 24%),
    linear-gradient(160deg, rgba(249, 252, 245, 0.84), rgba(228, 239, 223, 0.8));
}
.listing-card.theme-dw {
  background:
    linear-gradient(180deg, rgba(111, 143, 219, 0.18), transparent 24%),
    linear-gradient(160deg, rgba(247, 250, 255, 0.84), rgba(225, 232, 245, 0.82));
}
.listing-card.theme-dl {
  background:
    linear-gradient(180deg, rgba(141, 124, 255, 0.18), transparent 24%),
    linear-gradient(160deg, rgba(252, 247, 255, 0.86), rgba(228, 220, 247, 0.82));
}
.listing-card.theme-rf {
  background:
    linear-gradient(180deg, rgba(223, 109, 109, 0.22), transparent 24%),
    linear-gradient(160deg, rgba(255, 244, 244, 0.84), rgba(243, 220, 220, 0.82));
}
.listing-card.theme-universal {
  background:
    linear-gradient(180deg, rgba(85, 212, 201, 0.14), transparent 24%),
    linear-gradient(160deg, rgba(244, 255, 253, 0.82), rgba(227, 239, 237, 0.78));
}
.listing-image, .detail-image { border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; background: linear-gradient(135deg, rgba(11, 24, 39, 0.8), rgba(42, 65, 93, 0.74)); border: 1px solid rgba(255,255,255,0.18); }
.detail-image { margin: 18px 0; }
.detail-icon-stage {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin: 18px 0;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(41, 255, 103, 0.18);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 157, 83, 0.08), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(155, 72, 255, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(8, 4, 24, 0.94), rgba(14, 7, 34, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.detail-icon-showcase {
  width: min(100%, 220px);
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 18px rgba(255, 165, 92, 0.24))
    drop-shadow(0 0 30px rgba(155, 72, 255, 0.2));
  mix-blend-mode: screen;
}
.badge, .status-tag, .primary-button, .secondary-button, .ghost-button, .user-pill {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 0.82rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.08);
  color: #f0e7d3;
  border: 1px solid rgba(210, 173, 99, 0.18);
}
.tab-row {
  gap: 10px;
  flex-wrap: wrap;
}
.tab-row .filter-pill {
  cursor: pointer;
}
.tab-section {
  display: none;
}
.tab-section.is-active {
  display: block;
}
.active-filter {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #0f1621;
  box-shadow: 0 14px 28px rgba(210, 173, 99, 0.18);
}
.badge, .user-pill { background: rgba(122, 147, 183, 0.12); border: 1px solid rgba(122, 147, 183, 0.16); }
.plan-badge { background: rgba(141, 124, 255, 0.16); border-color: rgba(141, 124, 255, 0.32); }
.premium-tier {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 6px 14px 6px 8px;
  border-radius: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 16px 30px rgba(3, 0, 13, 0.2);
}
.premium-tier::before {
  content: "";
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.2));
}
.premium-tier.rich-tier::before {
  display: none;
}
.premium-tier-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  object-fit: contain;
  object-position: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.2), transparent 26%),
    rgba(5, 9, 24, 0.26);
  box-shadow:
    0 12px 24px rgba(3, 0, 13, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.premium-tier.rich-tier {
  min-height: 62px;
  padding: 7px 14px 7px 10px;
}

.premium-tier.rich-tier .premium-tier-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
}

.premium-tier.rich-tier.gold .premium-tier-icon {
  background:
    radial-gradient(circle at 45% 18%, rgba(255, 237, 170, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(74, 42, 8, 0.18), rgba(255, 183, 54, 0.12));
  border-color: rgba(255, 220, 120, 0.34);
  filter: drop-shadow(0 0 16px rgba(255, 185, 54, 0.2));
}

.premium-tier.rich-tier.platinum .premium-tier-icon {
  background:
    radial-gradient(circle at 45% 18%, rgba(172, 242, 255, 0.25), transparent 28%),
    linear-gradient(145deg, rgba(44, 33, 104, 0.18), rgba(146, 91, 255, 0.14));
  border-color: rgba(157, 236, 255, 0.34);
  filter: drop-shadow(0 0 16px rgba(140, 104, 255, 0.22));
}
.premium-tier-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.premium-tier-copy strong {
  line-height: 1;
}
.premium-tier-copy small {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  opacity: 0.78;
}
.premium-stars {
  display: none;
}
.premium-tier.bronze {
  background:
    linear-gradient(135deg, rgba(255, 225, 197, 0.16), rgba(145, 82, 43, 0.24)),
    rgba(184, 115, 51, 0.16);
  border-color: rgba(214, 145, 94, 0.4);
  color: #ffd5bb;
}
.premium-tier.gold {
  background:
    linear-gradient(135deg, rgba(255, 248, 194, 0.16), rgba(210, 146, 36, 0.26)),
    rgba(210, 173, 99, 0.18);
  border-color: rgba(255, 217, 124, 0.48);
  color: #fff3c6;
}
.premium-tier.platinum {
  background:
    linear-gradient(135deg, rgba(220, 255, 255, 0.14), rgba(124, 98, 255, 0.24)),
    rgba(185, 238, 255, 0.18);
  border-color: rgba(140, 239, 255, 0.5);
  color: #effcff;
}
.trusted-badge { background: rgba(85, 212, 201, 0.18); border-color: rgba(85, 212, 201, 0.34); }
.boost-badge { background: rgba(223, 109, 109, 0.18); border-color: rgba(223, 109, 109, 0.34); }
.trade-money-badge { background: rgba(210, 173, 99, 0.18); border-color: rgba(210, 173, 99, 0.36); }
.trade-normal-badge { background: rgba(110, 182, 163, 0.18); border-color: rgba(110, 182, 163, 0.34); }
.listing-card:has(.trusted-badge) { box-shadow: 0 24px 56px rgba(85, 212, 201, 0.16); }
.listing-card:has(.boost-badge) { outline: 2px solid rgba(223, 109, 109, 0.22); }
.status-tag.active { background: rgba(110, 182, 163, 0.18); }
.status-tag.pendingpayment { background: rgba(210, 173, 99, 0.2); }
.status-tag.sold { background: rgba(194, 109, 109, 0.18); }
.status-tag.withdrawn { background: rgba(148, 94, 255, 0.18); border-color: rgba(148, 94, 255, 0.32); }
.owner-action-form { margin-top: 18px; }
.primary-button, .secondary-button, .ghost-button {
  border: none; cursor: pointer; font-family: inherit; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(12, 18, 28, 0.12); }
.primary-button { color: #0f1621; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); }
.secondary-button { color: var(--text); background: rgba(143, 168, 199, 0.16); border: 1px solid rgba(143, 168, 199, 0.24); }
.ghost-button { color: var(--text); background: rgba(255,255,255,0.18); border: 1px solid rgba(143, 168, 199, 0.22); }
.full-width { width: 100%; }
.listing-meta { gap: 12px; }
.single-panel { padding: 36px 0; }

.listing-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.listing-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(105, 236, 178, 0.18);
  background: linear-gradient(135deg, rgba(10, 18, 40, 0.86), rgba(34, 28, 65, 0.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.listing-view-button {
  border: 0;
  min-width: 104px;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(231, 238, 255, 0.78);
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.listing-view-button:hover,
.listing-view-button:focus-visible {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  outline: none;
}

.listing-view-button.is-active {
  color: #091420;
  background: linear-gradient(135deg, rgba(41, 255, 103, 0.92), rgba(134, 236, 255, 0.92), rgba(255, 230, 162, 0.92));
  box-shadow: 0 8px 18px rgba(41, 255, 103, 0.18);
}

.premium-refresh-button {
  color: #ecfbff;
  background: linear-gradient(135deg, rgba(50, 220, 255, 0.18), rgba(41, 255, 103, 0.16));
  border-color: rgba(50, 220, 255, 0.45);
  box-shadow: 0 10px 24px rgba(50, 220, 255, 0.12);
}
.monthly-reward-panel {
  background:
    radial-gradient(circle at 18% 16%, rgba(80, 231, 205, 0.16), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(255, 197, 82, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(12, 9, 31, 0.96), rgba(12, 24, 38, 0.9)) !important;
}
.monthly-reward-panel h2,
.monthly-reward-panel strong {
  color: #fff8e9;
}
.monthly-reward-panel .muted {
  color: rgba(232, 240, 255, 0.8);
}
.monthly-reward-grid {
  align-items: stretch;
}
.monthly-rank-card {
  border-color: rgba(91, 244, 210, 0.18);
  background:
    radial-gradient(circle at 8% 12%, rgba(92, 236, 209, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(14, 18, 36, 0.92), rgba(34, 18, 58, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 34px rgba(2, 4, 14, 0.16);
}
.monthly-rank-card .badge {
  width: max-content;
  background: linear-gradient(135deg, rgba(52, 255, 140, 0.26), rgba(105, 229, 255, 0.2));
  border-color: rgba(91, 244, 210, 0.34);
}
.monthly-rank-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.monthly-rank-number {
  color: #f6fffb;
  font-weight: 900;
  text-shadow: 0 1px 10px rgba(69, 255, 201, 0.24);
}
.monthly-rank-name {
  color: #f8fbff !important;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 0 18px rgba(105, 229, 255, 0.18);
}
.buyer-side-card .monthly-rank-name {
  color: #d9f5ff !important;
}
.seller-side-card .monthly-rank-name {
  color: #ffe7bd !important;
}
.annual-price-line {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(54, 255, 140, 0.09);
  border: 1px solid rgba(91, 244, 210, 0.22);
}
.annual-price-line strong {
  color: #eafff3;
  font-size: 1rem;
}
.annual-price-line .plan-old-price {
  margin: 0;
  font-size: 0.82rem;
}
.auth-panel { max-width: 700px; margin: 0 auto; padding: 24px; background: linear-gradient(180deg, rgba(247, 243, 235, 0.98), rgba(235, 228, 215, 0.94)); }
.auth-panel-rich {
  background:
    radial-gradient(circle at top left, rgba(85, 212, 201, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(141, 124, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(247, 243, 235, 0.98), rgba(235, 228, 215, 0.94));
}
.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}
.auth-visual {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(210, 173, 99, 0.16);
  box-shadow: var(--shadow-soft);
  background: rgba(8, 18, 31, 0.54);
}
.auth-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.login-flow-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 206, 92, 0.24), transparent 18%),
    radial-gradient(circle at 16% 20%, rgba(66, 244, 207, 0.18), transparent 22%),
    radial-gradient(circle at 78% 78%, rgba(148, 94, 255, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(9, 6, 25, 0.96), rgba(10, 25, 39, 0.92));
}
.login-flow-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(93, 247, 211, 0.2);
  box-shadow: inset 0 0 50px rgba(93, 247, 211, 0.05);
  pointer-events: none;
}
.login-flow-glow {
  position: absolute;
  right: -55px;
  top: 62px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 238, 139, 0.74), rgba(255, 60, 204, 0.36) 30%, rgba(123, 72, 255, 0.17) 58%, transparent 72%);
  filter: blur(2px) drop-shadow(0 0 42px rgba(157, 78, 255, 0.34));
  opacity: 0.68;
}
.login-flow-header,
.login-flow-steps,
.login-flow-note {
  position: relative;
  z-index: 1;
}
.login-flow-header {
  display: grid;
  gap: 10px;
}
.login-flow-header h2 {
  color: #fff8e9;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0.05em;
}
.login-flow-header p {
  margin: 0;
  color: rgba(232, 241, 255, 0.78);
  line-height: 1.55;
}
.login-flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.login-flow-steps article {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.16);
}
.login-flow-steps article span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #08131d;
  background: linear-gradient(135deg, #36ff8c, #64e8ff, #fff0a6);
  font-size: 0.72rem;
  font-weight: 950;
}
.login-flow-steps article strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}
.login-flow-steps article p {
  margin: 8px 0 0;
  color: rgba(226, 235, 251, 0.74);
  line-height: 1.48;
}
.login-flow-note {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 225, 145, 0.09);
  border: 1px solid rgba(255, 215, 126, 0.22);
}
.login-flow-note strong {
  color: #ffe9ad;
}
.login-flow-note span {
  color: rgba(244, 237, 218, 0.8);
  line-height: 1.5;
}
.auth-guide-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  align-content: start;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at top right, rgba(50, 220, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(155, 72, 255, 0.2), transparent 28%),
    rgba(9, 4, 24, 0.92);
}
.auth-guide-copy h2 {
  margin-top: 2px;
}
.auth-guide-copy .muted {
  color: rgba(226, 227, 241, 0.82);
}
.auth-guide-grid {
  display: grid;
  gap: 14px;
}
.auth-guide-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 94, 255, 0.28);
  background: rgba(12, 7, 29, 0.62);
  display: grid;
  gap: 12px;
}
.buyer-guide-card {
  box-shadow: inset 0 0 0 1px rgba(50, 220, 255, 0.08);
}
.seller-guide-card {
  box-shadow: inset 0 0 0 1px rgba(210, 173, 99, 0.1);
}
.auth-guide-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(244, 240, 255, 0.92);
}
.auth-guide-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(85, 212, 201, 0.18);
}
.auth-guide-note strong {
  color: #f6f1ff;
}
.auth-guide-note .muted {
  margin-top: 6px;
  color: rgba(226, 227, 241, 0.78);
}
.seller-safety-panel {
  gap: 18px;
}
.seller-safety-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seller-safety-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  filter: drop-shadow(0 0 18px rgba(104, 244, 214, 0.18));
}
.auth-visual .seller-safety-icon {
  width: 52px;
  height: 52px;
  min-height: 0;
  object-fit: contain;
}
.seller-safety-copy h2 {
  margin: 4px 0 0;
}
.seller-safety-note {
  border-color: rgba(142, 99, 255, 0.22);
}
.seller-safety-page {
  max-width: 1100px;
  margin: 0 auto;
}
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 8px; }
input, select, textarea {
  width: 100%; border: 1px solid rgba(166, 150, 117, 0.2); border-radius: 14px; padding: 14px 15px; background: rgba(255, 251, 244, 0.96); color: var(--text); font: inherit;
}
.choice-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 251, 244, 0.78);
  border: 1px solid rgba(143, 168, 199, 0.22);
}
.checkbox-row,
.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.checkbox-row input,
.radio-row input {
  width: auto;
}
.topbar-actions .primary-button { color: #0f1621; }
.user-pill { color: #fff3da; background: rgba(210, 173, 99, 0.16); border-color: rgba(210, 173, 99, 0.28); }
.user-summary {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.user-summary-menu {
  padding: 0;
}
.user-summary-trigger {
  list-style: none;
  cursor: pointer;
}
.user-summary-trigger::-webkit-details-marker {
  display: none;
}
.user-summary-trigger .user-pill {
  min-height: 36px;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-summary-trigger .user-pill::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid rgba(255, 243, 218, 0.82);
  border-bottom: 2px solid rgba(255, 243, 218, 0.82);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}
.user-summary-menu[open] .user-summary-trigger .user-pill::after {
  transform: rotate(-135deg) translateY(-1px);
}
.user-summary-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 8, 26, 0.96);
  border: 1px solid rgba(148, 94, 255, 0.2);
  box-shadow: 0 22px 40px rgba(2, 9, 18, 0.34);
  z-index: 25;
}
.user-summary-menu[open] .user-summary-panel {
  display: grid;
  gap: 10px;
}
.user-summary-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff7e8;
  background: rgba(255, 255, 255, 0.05);
}
.user-summary-profile-link:hover {
  background: rgba(128, 189, 255, 0.14);
  color: #ffffff;
}
.user-summary-section {
  display: grid;
  gap: 6px;
}
.user-summary-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(189, 203, 225, 0.78);
  font-weight: 700;
}
.header-premium-badge {
  font-size: 0.72rem;
  padding: 7px 11px;
  border-color: rgba(132, 234, 255, 0.32);
  background: linear-gradient(135deg, rgba(120, 98, 255, 0.22), rgba(72, 225, 255, 0.18));
  color: #eefcff;
}
.header-premium-wrap {
  display: inline-flex;
  align-items: center;
}

.header-premium-wrap .premium-tier {
  min-height: 36px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.header-premium-wrap .premium-tier-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
}

.header-premium-wrap .premium-tier-copy {
  gap: 1px;
}

.header-premium-wrap .premium-tier-copy strong {
  font-size: 0.72rem;
}

.header-premium-wrap .premium-tier-copy small {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  opacity: 0.74;
}

.buyer-plan-card .premium-tier.rich-tier,
.seller-plan-card .premium-tier.rich-tier {
  justify-content: center;
  width: 100%;
  min-height: 112px;
  padding: 14px 18px;
  border-radius: 24px;
  gap: 0;
}

.buyer-plan-card .premium-tier.rich-tier .premium-tier-copy,
.seller-plan-card .premium-tier.rich-tier .premium-tier-copy {
  display: none;
}

.buyer-plan-card .premium-tier.rich-tier .premium-tier-icon,
.seller-plan-card .premium-tier.rich-tier .premium-tier-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 24px;
  box-shadow:
    0 18px 34px rgba(3, 0, 13, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.premium-plan-emblem {
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  margin: 4px auto 8px;
  padding: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 0 -18px 24px rgba(0,0,0,0.18),
    0 18px 34px rgba(5, 9, 24, 0.24);
}

.premium-plan-emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.24), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(0,0,0,0.24), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.01));
  pointer-events: none;
}

.premium-plan-emblem img {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  filter: drop-shadow(0 10px 16px rgba(3, 0, 14, 0.28));
}

.premium-plan-emblem.gold {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 236, 170, 0.35), transparent 30%),
    radial-gradient(circle at 74% 84%, rgba(255, 129, 32, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 217, 105, 0.22), rgba(78, 45, 6, 0.18));
  border-color: rgba(255, 218, 126, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -18px 24px rgba(90, 44, 0, 0.2),
    0 0 28px rgba(255, 183, 54, 0.15),
    0 18px 34px rgba(5, 9, 24, 0.24);
}

.premium-plan-emblem.platinum {
  background:
    radial-gradient(circle at 30% 20%, rgba(189, 244, 255, 0.34), transparent 30%),
    radial-gradient(circle at 78% 82%, rgba(167, 86, 255, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(179, 232, 255, 0.18), rgba(83, 69, 166, 0.2));
  border-color: rgba(150, 238, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -18px 24px rgba(47, 33, 120, 0.24),
    0 0 30px rgba(124, 231, 255, 0.14),
    0 18px 34px rgba(5, 9, 24, 0.24);
}

.buyer-plan-card h2,
.seller-plan-card h2 {
  margin-top: 2px;
}

.buyer-plan-card .premium-price-wrap,
.seller-plan-card .premium-price-wrap {
  margin-top: -2px;
}
.header-credits-badge {
  font-size: 0.72rem;
  padding: 7px 11px;
  border-color: rgba(255, 205, 116, 0.34);
  background: linear-gradient(135deg, rgba(255, 210, 102, 0.22), rgba(255, 132, 84, 0.16));
  color: #fff1c9;
}

.header-time-badge {
  font-size: 0.72rem;
  padding: 7px 11px;
  border-color: rgba(93, 245, 201, 0.34);
  background: linear-gradient(135deg, rgba(66, 239, 181, 0.18), rgba(75, 196, 255, 0.18));
  color: #dcfff4;
}
.stack-list { display: grid; gap: 14px; }
.compact-side-list .mini-card { padding: 14px; }
.compact-trade-panel {
  padding: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(78, 168, 255, 0.1), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(120, 255, 190, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(250, 245, 235, 0.98), rgba(241, 234, 222, 0.95));
  border-color: rgba(112, 150, 214, 0.18);
}
.compact-trade-panel h2 { margin-bottom: 6px; }
.compact-trade-list { display: grid; gap: 10px; }
.trade-quick-panel { padding: 16px 18px; }
.trade-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.trade-seller-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}
.trade-seller-stat {
  padding: 14px 16px;
}
.trade-seller-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trade-seller-stat strong {
  font-size: 1.2rem;
}
.trade-review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.trade-review-card {
  padding: 14px 16px;
}
.trade-review-card strong {
  display: block;
  margin-bottom: 6px;
}
.trade-review-card p {
  margin: 0;
}
.trade-quick-grid .primary-button,
.trade-quick-grid .secondary-button {
  min-width: 140px;
}
.compact-trade-card,
.compact-offer-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(239, 246, 255, 0.74));
  border: 1px solid rgba(113, 147, 207, 0.18);
  box-shadow: 0 12px 26px rgba(10, 20, 36, 0.08);
}
.offers-grid > .panel {
  background:
    linear-gradient(135deg, rgba(91, 129, 210, 0.08), rgba(124, 76, 191, 0.14)),
    rgba(22, 17, 44, 0.92);
  border-color: rgba(141, 105, 245, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.offers-grid > .panel .panel-label {
  color: rgba(157, 187, 255, 0.86);
}
.offers-grid > .panel h2 {
  color: #f4f1ff;
  text-shadow: 0 1px 16px rgba(115, 96, 255, 0.18);
}
.offers-summary-note,
.offers-grid > .panel > .history-list > .offers-empty-copy {
  color: rgba(223, 232, 255, 0.82);
}
.offer-entry {
  border: 1px solid rgba(130, 107, 224, 0.44);
  background:
    linear-gradient(135deg, rgba(33, 49, 88, 0.2), rgba(96, 54, 145, 0.18)),
    rgba(34, 28, 58, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.offer-entry strong {
  color: #fcfbff;
}
.offer-entry .history-meta {
  color: rgba(204, 216, 255, 0.92);
}
.offer-entry .history-meta span {
  border-color: rgba(97, 126, 235, 0.34);
  background: rgba(26, 43, 91, 0.46);
  color: rgba(212, 224, 255, 0.94);
}
.offer-entry .seller-identity-secondary {
  color: rgba(214, 224, 255, 0.84);
}
.offers-message-copy {
  margin: 2px 0 0;
  color: rgba(233, 239, 255, 0.9);
  font-weight: 600;
  line-height: 1.65;
}
.offers-message-copy strong {
  color: #ffffff;
}
.trade-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.compact-action-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.seller-focus-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(110, 219, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(72, 225, 255, 0.1), rgba(122, 87, 255, 0.12));
}
.listing-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.listing-upgrade-grid .compact-action-form {
  margin-top: 0;
  padding: 12px;
  border: 1px solid rgba(132, 234, 255, 0.18);
  border-radius: 16px;
  background: rgba(10, 18, 40, 0.5);
}
.micro-copy {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.45;
  color: rgba(226, 236, 255, 0.74);
}
.hidden {
  display: none !important;
}
.browser-alert-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.browser-alert-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(211, 220, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.browser-alert-button[data-alert-state="default"] {
  border-color: rgba(118, 170, 255, 0.3);
  background: linear-gradient(135deg, rgba(84, 124, 255, 0.14), rgba(117, 84, 255, 0.12));
  color: #edf4ff;
}

.browser-alert-button[data-alert-state="default"] .browser-alert-dot {
  background: #9ec8ff;
  box-shadow: 0 0 12px rgba(98, 167, 255, 0.26);
}

.browser-alert-button[data-alert-state="inactive"] {
  border-color: rgba(158, 177, 214, 0.26);
  background: linear-gradient(135deg, rgba(139, 154, 184, 0.14), rgba(95, 107, 144, 0.12));
  color: #e3eaf7;
  opacity: 1;
}

.browser-alert-button[data-alert-state="inactive"] .browser-alert-dot {
  background: #b8c8de;
  box-shadow: 0 0 12px rgba(184, 200, 222, 0.18);
}

.browser-alert-button[data-alert-state="active"] {
  border-color: rgba(74, 255, 184, 0.62);
  background: linear-gradient(135deg, rgba(37, 255, 160, 0.28), rgba(62, 205, 255, 0.2));
  color: #f2fff8;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(74, 255, 184, 0.18), 0 12px 28px rgba(37, 255, 160, 0.18);
}

.browser-alert-button[data-alert-state="active"] .browser-alert-dot {
  background: #5effb4;
  box-shadow: 0 0 0 4px rgba(94, 255, 180, 0.14), 0 0 16px rgba(94, 255, 180, 0.52);
}

.browser-alert-button[data-alert-state="blocked"] {
  border-color: rgba(255, 128, 128, 0.28);
  background: linear-gradient(135deg, rgba(255, 90, 124, 0.16), rgba(255, 153, 83, 0.12));
  color: #ffd7d7;
  opacity: 1;
}

.browser-alert-button[data-alert-state="blocked"] .browser-alert-dot {
  background: #ff8b8b;
  box-shadow: 0 0 14px rgba(255, 139, 139, 0.32);
}
.seller-tools-panel {
  padding-top: 18px;
}
.seller-tools-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.seller-tools-summary::-webkit-details-marker {
  display: none;
}
.seller-tools-summary strong {
  color: #fff7e8;
  font-size: 1rem;
}
.seller-tools-body {
  margin-top: 14px;
}
.trade-chat-ready {
  margin-bottom: 14px;
}

.browser-alert-button:disabled {
  cursor: default;
  transform: none;
}
.live-message-list {
  max-height: 480px;
  overflow-y: auto;
}
.referral-share-card code {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7, 14, 32, 0.8);
  color: #9ee8ff;
  word-break: break-all;
}
.history-positive {
  color: #77ffb4;
}
.compact-buyer-form { gap: 12px; }
.compact-buyer-form textarea { min-height: 98px; }
.compact-choice-panel {
  gap: 8px;
  padding: 12px;
}
.compact-trade-summary {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 14px;
  border: 1px solid rgba(41, 255, 103, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(41, 255, 103, 0.12), rgba(155, 72, 255, 0.08));
}
.trade-flow-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.trade-flow-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(229, 237, 255, 0.48));
  border: 1px solid rgba(136, 165, 255, 0.18);
}
.trade-flow-step span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6f7cff, #b14dff);
  box-shadow: 0 8px 18px rgba(101, 80, 220, 0.28);
}
.trade-flow-step strong {
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 900px) {
  .trade-flow-bar {
    grid-template-columns: 1fr;
  }
  .trade-seller-summary,
  .trade-review-strip {
    grid-template-columns: 1fr;
  }
}
.notification-center .panel-header { margin-bottom: 16px; }
.notification-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
}
.notification-card-priority {
  padding: 18px;
  border-width: 2px;
  box-shadow: 0 18px 34px rgba(8, 18, 42, 0.26);
}
.notification-card-secondary {
  opacity: 0.98;
}
.notification-card strong {
  color: #f3f6ff;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notification-card p:not(.muted) {
  color: rgba(233, 239, 255, 0.9);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notification-card-request strong {
  color: #fff2bf;
}
.notification-card-confirm strong {
  color: #ffd0d0;
}
.notification-card-complete strong {
  color: #caffdd;
}
.notification-card-review strong {
  color: #bfeaff;
}
.notification-card-chat strong {
  color: #cfe0ff;
}
.notification-card-rejected strong {
  color: #ffd0d0;
}
.notification-card-info strong {
  color: #e6d7ff;
}
.notification-groups {
  display: grid;
  gap: 16px;
}
.notification-card.is-unread {
  border-color: rgba(41, 255, 103, 0.44);
  box-shadow: 0 0 28px rgba(41, 255, 103, 0.12);
}
.notification-card.notification-offer {
  border-color: rgba(255, 196, 93, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 196, 93, 0.14), rgba(255, 196, 93, 0.04)),
    var(--panel-soft);
}
.notification-card.notification-trade {
  border-color: rgba(90, 225, 160, 0.48);
  background:
    linear-gradient(180deg, rgba(90, 225, 160, 0.14), rgba(90, 225, 160, 0.04)),
    var(--panel-soft);
}
.notification-card.notification-chat {
  border-color: rgba(101, 175, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(101, 175, 255, 0.14), rgba(101, 175, 255, 0.04)),
    var(--panel-soft);
}
.notification-card.notification-other {
  border-color: rgba(167, 125, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(167, 125, 255, 0.12), rgba(167, 125, 255, 0.04)),
    var(--panel-soft);
}

.notification-request-state {
  background: rgba(255, 187, 76, 0.44);
  border-color: rgba(255, 187, 76, 0.82);
  color: #fff7da;
  box-shadow: 0 0 0 1px rgba(255, 187, 76, 0.28), 0 0 22px rgba(255, 187, 76, 0.24);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.notification-confirm-state {
  background: rgba(255, 82, 82, 0.44);
  border-color: rgba(255, 82, 82, 0.84);
  color: #fff1f1;
  box-shadow: 0 0 0 1px rgba(255, 82, 82, 0.28), 0 0 22px rgba(255, 82, 82, 0.24);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.notification-complete-state {
  background: rgba(80, 255, 146, 0.42);
  border-color: rgba(80, 255, 146, 0.8);
  color: #effff4;
  box-shadow: 0 0 0 1px rgba(80, 255, 146, 0.26), 0 0 22px rgba(80, 255, 146, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.notification-review-state {
  background: rgba(78, 168, 255, 0.44);
  border-color: rgba(78, 168, 255, 0.84);
  color: #f2f8ff;
  box-shadow: 0 0 0 1px rgba(78, 168, 255, 0.26), 0 0 22px rgba(78, 168, 255, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.notification-chat-state {
  background: rgba(101, 175, 255, 0.42);
  border-color: rgba(101, 175, 255, 0.8);
  color: #eff4ff;
  box-shadow: 0 0 0 1px rgba(101, 175, 255, 0.26), 0 0 22px rgba(101, 175, 255, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.notification-rejected-state {
  background: rgba(255, 98, 98, 0.42);
  border-color: rgba(255, 98, 98, 0.78);
  color: #fff0f0;
  box-shadow: 0 0 0 1px rgba(255, 98, 98, 0.26), 0 0 22px rgba(255, 98, 98, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.notification-info-state {
  background: rgba(167, 125, 255, 0.42);
  border-color: rgba(167, 125, 255, 0.74);
  color: #f7f2ff;
  box-shadow: 0 0 0 1px rgba(167, 125, 255, 0.24), 0 0 22px rgba(167, 125, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}
.notification-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.notification-card-header > div {
  min-width: 0;
  flex: 1 1 18rem;
}

.notification-action-button {
  width: fit-content;
  min-width: 160px;
  justify-content: center;
  font-weight: 800;
  border-width: 1px;
  box-shadow: none;
  white-space: normal;
  text-align: center;
}
.notification-action-button:hover {
  box-shadow: 0 10px 22px rgba(8, 18, 42, 0.24);
}
.notification-action-request {
  background: rgba(255, 187, 76, 0.18);
  border: 1px solid rgba(255, 187, 76, 0.46);
  color: #fff2c4;
}
.notification-action-confirm {
  background: rgba(255, 82, 82, 0.18);
  border: 1px solid rgba(255, 82, 82, 0.5);
  color: #fff1f1;
}
.notification-action-complete {
  background: rgba(80, 255, 146, 0.18);
  border: 1px solid rgba(80, 255, 146, 0.46);
  color: #dcffe9;
}
.notification-action-review {
  background: rgba(78, 168, 255, 0.18);
  border: 1px solid rgba(78, 168, 255, 0.5);
  color: #eef6ff;
}
.notification-action-chat {
  background: rgba(101, 175, 255, 0.18);
  border: 1px solid rgba(101, 175, 255, 0.46);
  color: #e2ecff;
}
.notification-action-rejected {
  background: rgba(255, 98, 98, 0.18);
  border: 1px solid rgba(255, 98, 98, 0.44);
  color: #ffe0e0;
}
.notification-action-info {
  background: rgba(167, 125, 255, 0.18);
  border: 1px solid rgba(167, 125, 255, 0.42);
  color: #f0e7ff;
}
.listing-seller-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.seller-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}
.seller-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.seller-status-online {
  border-color: rgba(41, 255, 103, 0.42);
  background: rgba(41, 255, 103, 0.12);
}
.seller-status-online span {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(41, 255, 103, 0.72);
}
.seller-status-away {
  border-color: rgba(255, 202, 87, 0.48);
  background: rgba(255, 202, 87, 0.12);
}
.seller-status-away span {
  background: #ffca57;
  box-shadow: 0 0 14px rgba(255, 202, 87, 0.62);
}
.seller-status-offline {
  border-color: rgba(255, 92, 92, 0.44);
  background: rgba(255, 92, 92, 0.11);
}
.seller-status-offline span {
  background: #ff5c5c;
  box-shadow: 0 0 14px rgba(255, 92, 92, 0.62);
}
.seller-status-premium {
  border-color: rgba(124, 216, 255, 0.45);
  background: rgba(86, 145, 255, 0.12);
  color: #dff7ff;
}
.seller-status-premium span {
  background: #6fdcff;
  box-shadow: 0 0 14px rgba(111, 220, 255, 0.68);
}
.vendor-directory-panel { display: grid; gap: 18px; }
.vendor-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.vendor-card {
  display: grid;
  gap: 14px;
}
.vendor-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.vendor-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vendor-metrics span {
  padding: 10px;
  border: 1px solid rgba(148, 94, 255, 0.22);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}
.vendor-metrics strong {
  display: block;
  color: var(--text);
  margin-top: 4px;
}

/* MuDream-style condensed typography and cleaner item cards. */
body,
input,
select,
textarea,
button {
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-weight: 600;
}

h1,
h2,
h3,
.brand strong,
.hero-brand-copy strong,
.stat-card strong,
.listing-card h3,
.primary-button,
.secondary-button,
.ghost-button,
.badge,
.status-tag,
.panel-label,
.eyebrow {
  font-family: "Oxanium", "Rajdhani", sans-serif;
  letter-spacing: 0.035em;
}

h1,
h2,
h3,
.panel-label,
.eyebrow {
  text-transform: uppercase;
}

p,
li,
.muted {
  font-size: 1.02rem;
  line-height: 1.48;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.listing-card {
  min-height: 100%;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
  isolation: isolate;
}

.listing-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(41, 255, 103, 0.12), transparent 24%);
  z-index: -1;
}

.listing-card .listing-topline {
  align-items: flex-start;
  gap: 10px;
}

.listing-card .listing-badges {
  gap: 7px;
}

.listing-card .badge,
.listing-card .status-tag {
  padding: 6px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.listing-art-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 190px;
  border: 1px solid rgba(148, 94, 255, 0.32);
  background:
    radial-gradient(circle at center, rgba(41, 255, 103, 0.18), transparent 34%),
    radial-gradient(circle at 80% 8%, rgba(155, 72, 255, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(11, 5, 31, 0.96), rgba(4, 2, 13, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 38px rgba(4, 0, 16, 0.28);
}

.listing-art-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,0.12) 36.5%, transparent 37%),
    radial-gradient(circle at 18% 12%, rgba(50, 220, 255, 0.16), transparent 24%);
  pointer-events: none;
  z-index: 1;
}

.listing-art-frame .listing-image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.listing-card:hover .listing-image {
  transform: scale(1.06);
  filter: saturate(1.18) contrast(1.05);
}

.listing-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
}

.listing-image-placeholder img {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 0 24px rgba(41, 255, 103, 0.32));
}

.listing-image-placeholder-icon {
  min-height: 190px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(41, 255, 103, 0.12), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(155, 72, 255, 0.2), transparent 26%),
    linear-gradient(145deg, rgba(8, 4, 24, 0.92), rgba(14, 7, 34, 0.96));
}

.listing-image-placeholder-icon img {
  width: min(88%, 188px);
  height: min(88%, 188px);
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 196, 97, 0.18);
  box-shadow:
    0 18px 34px rgba(6, 0, 18, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.06);
  filter:
    drop-shadow(0 0 18px rgba(255, 165, 92, 0.24))
    drop-shadow(0 0 30px rgba(155, 72, 255, 0.2));
  mix-blend-mode: screen;
}

.listing-view-host[data-listing-view="list"] .listing-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.listing-view-host[data-listing-view="list"] .listing-card {
  grid-template-columns: 172px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "topline topline"
    "art copy"
    "art meta"
    "action action";
  align-items: start;
  gap: 12px 16px;
  padding: 14px;
}

.listing-view-host[data-listing-view="list"] .listing-topline {
  grid-area: topline;
}

.listing-view-host[data-listing-view="list"] .listing-art-frame {
  grid-area: art;
  min-height: 172px;
  border-radius: 20px;
}

.listing-view-host[data-listing-view="list"] .listing-image-placeholder,
.listing-view-host[data-listing-view="list"] .listing-image-placeholder-icon,
.listing-view-host[data-listing-view="list"] .listing-art-frame .listing-image {
  min-height: 172px;
}

.listing-view-host[data-listing-view="list"] .listing-card .item-chip {
  display: none;
}

.listing-view-host[data-listing-view="list"] .listing-card-copy {
  grid-area: copy;
  gap: 8px;
}

.listing-view-host[data-listing-view="list"] .listing-card-copy h3 {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
}

.listing-view-host[data-listing-view="list"] .listing-seller-line {
  gap: 6px;
}

.listing-view-host[data-listing-view="list"] .listing-card-stats {
  gap: 6px;
}

.listing-view-host[data-listing-view="list"] .listing-stat-chip {
  padding: 6px 9px;
  font-size: 0.78rem;
}

.listing-view-host[data-listing-view="list"] .listing-stat-chip strong {
  font-size: 0.66rem;
}

.listing-view-host[data-listing-view="list"] .listing-description {
  min-height: 0;
  padding: 12px 13px;
  font-size: 0.95rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.listing-view-host[data-listing-view="list"] .listing-card-meta {
  grid-area: meta;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.listing-view-host[data-listing-view="list"] .listing-card-meta > div {
  padding: 10px;
  border-radius: 14px;
}

.listing-view-host[data-listing-view="list"] .listing-card-meta span {
  font-size: 0.72rem;
}

.listing-view-host[data-listing-view="list"] .listing-card-meta strong {
  font-size: 0.92rem;
}

.listing-view-host[data-listing-view="list"] .primary-button.full-width {
  grid-area: action;
  min-height: 44px;
}

@media (max-width: 920px) {
  .listing-view-host[data-listing-view="list"] .listing-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "topline"
      "art"
      "copy"
      "meta"
      "action";
  }
}

@media (max-width: 860px) {
  .listing-view-switcher {
    width: 100%;
    justify-content: stretch;
  }

  .listing-view-button {
    flex: 1 1 0;
    min-width: 0;
  }
}

.listing-card .item-chip {
  margin: -30px 12px 2px;
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 24px);
  border-color: rgba(41, 255, 103, 0.28);
  background: rgba(8, 4, 22, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(4, 0, 16, 0.28);
}

.listing-card-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.listing-card-copy h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

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

.listing-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(105, 236, 178, 0.16);
  background:
    linear-gradient(135deg, rgba(18, 27, 47, 0.92), rgba(42, 36, 74, 0.78));
  color: rgba(232, 240, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.listing-stat-chip strong {
  color: rgba(127, 244, 196, 0.95);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-description {
  display: -webkit-box;
  min-height: 4.4em;
  margin: 2px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(143, 111, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(18, 24, 41, 0.9), rgba(36, 34, 63, 0.72));
  color: rgba(239, 243, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 32px rgba(7, 9, 20, 0.18);
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.listing-detail-stats {
  margin: 4px 0 0;
}

.listing-detail-description {
  margin-top: 10px;
  min-height: 0;
  -webkit-line-clamp: unset;
}

.featured-seller-badge {
  border-color: rgba(255, 210, 106, 0.42);
  background: linear-gradient(135deg, rgba(92, 58, 16, 0.88), rgba(161, 106, 28, 0.58));
  color: #ffe9b5;
}

.reply-speed-badge {
  border-color: rgba(115, 243, 210, 0.32);
  background: linear-gradient(135deg, rgba(18, 68, 70, 0.9), rgba(36, 106, 120, 0.6));
  color: #dffef4;
}

.listing-seller-signal {
  margin: 0;
  color: rgba(162, 255, 231, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
}

.listing-detail-signal,
.vendor-seller-signal {
  margin-top: 10px;
}

.history-trade-window {
  margin: 0;
  color: rgba(255, 221, 159, 0.96);
  font-size: 0.92rem;
  font-weight: 700;
}

.listing-admin-note {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 196, 97, 0.2);
  background: linear-gradient(145deg, rgba(62, 40, 14, 0.34), rgba(41, 25, 14, 0.2));
  color: rgba(255, 231, 190, 0.94);
  font-size: 0.95rem;
}

.listing-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.listing-card-meta > div {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 94, 255, 0.22);
  background: rgba(255,255,255,0.055);
}

.listing-card-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.listing-card-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.class-showcase-section {
  padding: 0 0 28px;
}

.class-showcase-panel {
  overflow: hidden;
}

.character-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.character-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 330px;
  padding: 0;
  border-radius: 28px;
  isolation: isolate;
  border: 1px solid rgba(148, 94, 255, 0.28);
  background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,0.12), transparent 22%),
    rgba(8, 4, 22, 0.84);
  box-shadow: 0 22px 56px rgba(3, 0, 13, 0.34), inset 0 1px 0 rgba(255,255,255,0.1);
}

.character-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
      linear-gradient(180deg, rgba(255,255,255,0.02), transparent 24%, rgba(3, 0, 12, 0.36) 100%),
      radial-gradient(circle at 50% 12%, rgba(41, 255, 103, 0.14), transparent 34%);
}

.character-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 280ms ease, filter 280ms ease;
}

.character-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.08);
}

.flame-card {
  border-color: rgba(255, 91, 51, 0.46);
  box-shadow: 0 22px 56px rgba(255, 91, 51, 0.13);
}
.frost-card {
  border-color: rgba(70, 144, 255, 0.5);
  box-shadow: 0 22px 56px rgba(70, 144, 255, 0.16);
}
.gold-card {
  border-color: rgba(255, 204, 91, 0.54);
  box-shadow: 0 22px 56px rgba(255, 204, 91, 0.16);
}
.emerald-card {
  border-color: rgba(57, 255, 136, 0.48);
  box-shadow: 0 22px 56px rgba(57, 255, 136, 0.14);
}
.void-card {
  border-color: rgba(178, 69, 255, 0.5);
  box-shadow: 0 22px 56px rgba(178, 69, 255, 0.16);
}
.azure-card {
  border-color: rgba(83, 164, 255, 0.52);
  box-shadow: 0 22px 56px rgba(83, 164, 255, 0.16);
}

@media (max-width: 720px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .listing-card-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .character-showcase-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 720px) {
  .character-showcase-grid {
    grid-template-columns: 1fr;
  }

  .character-card {
    min-height: 390px;
  }
}
.feature-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.category-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.category-check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 94, 255, 0.24);
  background: rgba(16, 11, 36, 0.72);
  color: var(--text);
  font-weight: 600;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.premium-hero .hero-copy {
  background:
    radial-gradient(circle at 15% 18%, rgba(85, 212, 201, 0.22), transparent 26%),
    radial-gradient(circle at 68% 4%, rgba(141, 124, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 70%, rgba(223, 109, 109, 0.14), transparent 24%),
    linear-gradient(145deg, rgba(246, 241, 230, 0.97), rgba(229, 221, 210, 0.92));
}
.premium-hero .hero-copy,
.premium-hero .hero-copy-main {
  color: #1a2232;
}

.premium-hero .hero-copy h1 {
  color: #152033;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.premium-hero .hero-copy .eyebrow {
  color: #7f5cb7;
}

.premium-hero .hero-copy .hero-text,
.premium-hero .hero-copy p:not(.notice),
.premium-hero .hero-copy .muted {
  color: #495d74;
}

.premium-hero .hero-copy strong {
  color: #172338;
}

.premium-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.premium-countdown-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 194, 94, 0.4);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 222, 126, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(38, 24, 12, 0.92), rgba(88, 42, 16, 0.88));
  box-shadow: 0 24px 52px rgba(117, 55, 15, 0.24);
}

.premium-countdown-banner strong,
.premium-countdown-banner .muted {
  color: #fff6db !important;
}

.launch-offer-badge,
.plan-offer-label {
  color: #111827;
  border-color: rgba(255, 255, 255, 0.44);
  background: linear-gradient(135deg, #fff2a3, #ffd05f);
  box-shadow: 0 10px 24px rgba(255, 192, 80, 0.26);
}

.premium-countdown-clock {
  min-width: 104px;
  display: grid;
  justify-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(5, 12, 22, 0.72);
  border: 1px solid rgba(255, 224, 143, 0.28);
}

.premium-countdown-clock span {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  color: #fff0a8;
}

.premium-countdown-clock small {
  color: rgba(255, 250, 226, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 900;
}

.premium-countdown-banner.offer-ended .premium-countdown-clock span {
  color: #ffb6a8;
}

.premium-signal-card {
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(14, 29, 47, 0.96), rgba(49, 58, 94, 0.92)),
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(210, 173, 99, 0.18), transparent 36%);
  color: #f9efd9;
  border: 1px solid rgba(140, 239, 255, 0.26);
  box-shadow: var(--shadow);
}

.premium-signal-card h2 {
  color: #fffaf0;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(105, 229, 255, 0.16);
}

.premium-status-pills {
  display: grid;
  gap: 10px;
}

.premium-status-pills .badge {
  justify-content: center;
  min-height: 36px;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(140, 239, 255, 0.24);
}

.premium-status-pills .trusted-badge {
  color: #092216;
  background: linear-gradient(135deg, rgba(41, 255, 103, 0.9), rgba(105, 229, 255, 0.72));
  border-color: rgba(41, 255, 103, 0.48);
}

.premium-status-list {
  display: grid;
  gap: 10px;
}

.premium-status-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055)),
    rgba(5, 10, 24, 0.28);
  border: 1px solid rgba(215, 230, 255, 0.14);
}

.premium-status-row span {
  color: rgba(224, 237, 255, 0.86);
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.premium-status-row strong {
  color: #fffaf0;
  font-size: 1.05rem;
  letter-spacing: 0.035em;
  text-align: right;
}

.premium-status-row.warning {
  border-color: rgba(255, 207, 119, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 207, 119, 0.15), rgba(255, 255, 255, 0.06)),
    rgba(44, 31, 18, 0.32);
}

.premium-status-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
  color: #061423;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9), transparent 20%),
    linear-gradient(135deg, rgba(105, 229, 255, 0.96), rgba(177, 255, 202, 0.9), rgba(255, 236, 160, 0.92));
  border: 1px solid rgba(177, 255, 202, 0.58);
  box-shadow: 0 0 22px rgba(105, 229, 255, 0.26);
  line-height: 1.5;
  font-weight: 900;
  text-shadow: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.pricing-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(143, 168, 199, 0.22);
  background:
    radial-gradient(circle at top right, rgba(143, 168, 199, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(247, 242, 233, 0.96), rgba(238, 231, 220, 0.92));
  box-shadow: var(--shadow-soft);
  color: #1a2435;
}
.pricing-card h2,
.pricing-card strong {
  color: #162235;
}

.pricing-card .muted,
.pricing-card li,
.pricing-card .panel-label,
.pricing-card p {
  color: #485b73;
}

.pricing-card .plan-price {
  color: #162235;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(85, 212, 201, 0.9), rgba(141, 124, 255, 0.86), rgba(210, 173, 99, 0.9));
}
.pricing-card.pro-plan {
  transform: translateY(-8px);
  border-color: rgba(210, 173, 99, 0.42);
  box-shadow: 0 28px 70px rgba(210, 173, 99, 0.18);
}
.pricing-card.seller-plan {
  background:
    radial-gradient(circle at top right, rgba(141, 124, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(85, 212, 201, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(246, 240, 255, 0.96), rgba(227, 220, 246, 0.92));
}
.pricing-card.platinum-plan {
  border-color: rgba(85, 212, 201, 0.42);
  background:
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.44), transparent 30%),
    linear-gradient(180deg, rgba(239, 253, 255, 0.98), rgba(220, 240, 246, 0.94));
  box-shadow: 0 28px 70px rgba(85, 212, 201, 0.18);
}
.pricing-card.free-plan {
  opacity: 0.88;
}
.plan-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 25, 40, 0.08);
  border: 1px solid rgba(12, 25, 40, 0.08);
}

.premium-price-wrap {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.plan-old-price {
  color: rgba(232, 240, 255, 0.62);
  font-weight: 900;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 104, 104, 0.86);
}

.plan-offer-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.premium-track-panel {
  position: relative;
  overflow: hidden;
}

.premium-track-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}

.premium-track-panel .panel-header h2,
.premium-track-panel h2,
.premium-track-panel strong {
  color: #f8f6ff;
}

.premium-track-panel .panel-label {
  color: rgba(232, 236, 255, 0.72);
}

.premium-track-panel .muted,
.premium-track-panel li,
.premium-track-panel p {
  color: rgba(231, 234, 252, 0.84);
}

.compare-track-panel {
  background:
    radial-gradient(circle at 18% 12%, rgba(41, 255, 103, 0.12), transparent 24%),
    radial-gradient(circle at 84% 0%, rgba(155, 72, 255, 0.2), transparent 28%),
    linear-gradient(150deg, rgba(12, 8, 30, 0.94), rgba(19, 13, 39, 0.92));
  border-color: rgba(120, 130, 255, 0.24);
}

.buyer-track-panel {
  background:
    radial-gradient(circle at 16% 10%, rgba(50, 220, 255, 0.22), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(122, 163, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(8, 30, 56, 0.96), rgba(13, 43, 79, 0.94));
  border-color: rgba(90, 196, 255, 0.34);
  box-shadow: 0 24px 68px rgba(12, 64, 120, 0.24);
}

.seller-track-panel {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 201, 88, 0.2), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(255, 111, 71, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(55, 24, 10, 0.96), rgba(79, 36, 18, 0.94));
  border-color: rgba(255, 193, 96, 0.34);
  box-shadow: 0 24px 68px rgba(121, 62, 12, 0.24);
}

.buyer-track-panel::before {
  background:
    linear-gradient(90deg, rgba(125, 224, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
}

.seller-track-panel::before {
  background:
    linear-gradient(90deg, rgba(255, 216, 119, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
}

.current-track-badge {
  color: #08111f;
  background: linear-gradient(135deg, #84ffd1, #63d7ff);
  border-color: rgba(99, 215, 255, 0.4);
  box-shadow: 0 12px 30px rgba(99, 215, 255, 0.2);
}

.starter-plan-badge {
  color: #071528;
  background: linear-gradient(135deg, #b9f7ff, #7fe3ff);
  border-color: rgba(127, 227, 255, 0.48);
  box-shadow: 0 10px 24px rgba(127, 227, 255, 0.2);
}

.buyer-plan-card,
.seller-plan-card {
  color: #f9fbff;
  border-color: rgba(255, 255, 255, 0.16);
}

.buyer-plan-card h2,
.seller-plan-card h2,
.buyer-plan-card strong,
.seller-plan-card strong {
  color: #ffffff;
}

.buyer-plan-card .muted,
.seller-plan-card .muted,
.buyer-plan-card li,
.seller-plan-card li,
.buyer-plan-card .panel-label,
.seller-plan-card .panel-label {
  color: rgba(235, 241, 255, 0.82);
}

.buyer-plan-card {
  background:
    radial-gradient(circle at top right, rgba(90, 196, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(102, 141, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(14, 45, 82, 0.97), rgba(10, 31, 58, 0.94));
  box-shadow: 0 24px 58px rgba(19, 85, 156, 0.22);
}

.seller-plan-card {
  background:
    radial-gradient(circle at top right, rgba(255, 197, 98, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 111, 71, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(88, 43, 17, 0.97), rgba(58, 27, 11, 0.94));
  box-shadow: 0 24px 58px rgba(140, 69, 20, 0.22);
}

.buyer-plan-card .plan-price {
  background: rgba(111, 220, 255, 0.14);
  border-color: rgba(111, 220, 255, 0.24);
  color: #9fefff;
}

.buyer-track-panel .pricing-card:has(.starter-plan-badge) {
  border-color: rgba(132, 243, 255, 0.36);
  box-shadow: 0 24px 58px rgba(39, 156, 208, 0.28);
}

.seller-plan-card .plan-price {
  background: rgba(255, 220, 152, 0.14);
  border-color: rgba(255, 220, 152, 0.24);
  color: #ffe2a6;
}

.buyer-track-panel .secondary-button,
.compare-track-panel .secondary-button {
  background: rgba(115, 188, 255, 0.14);
  border-color: rgba(115, 188, 255, 0.28);
  color: #eefaff;
}

.seller-track-panel .secondary-button {
  background: rgba(255, 201, 88, 0.14);
  border-color: rgba(255, 201, 88, 0.26);
  color: #fff2cf;
}

.buyer-track-panel .pricing-card,
.buyer-track-panel .pricing-card.pro-plan,
.buyer-track-panel .pricing-card.seller-plan,
.buyer-track-panel .pricing-card.platinum-plan {
  background:
    radial-gradient(circle at top right, rgba(90, 196, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(102, 141, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(14, 45, 82, 0.97), rgba(10, 31, 58, 0.94));
  border-color: rgba(144, 213, 255, 0.24);
  box-shadow: 0 24px 58px rgba(19, 85, 156, 0.22);
}

.seller-track-panel .pricing-card,
.seller-track-panel .pricing-card.pro-plan,
.seller-track-panel .pricing-card.seller-plan,
.seller-track-panel .pricing-card.platinum-plan {
  background:
    radial-gradient(circle at top right, rgba(255, 197, 98, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 111, 71, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(88, 43, 17, 0.97), rgba(58, 27, 11, 0.94));
  border-color: rgba(255, 214, 145, 0.24);
  box-shadow: 0 24px 58px rgba(140, 69, 20, 0.22);
}

.buyer-track-panel .pricing-card::before {
  background: linear-gradient(90deg, rgba(125, 224, 255, 0.94), rgba(118, 156, 255, 0.92), rgba(90, 196, 255, 0.88));
}

.seller-track-panel .pricing-card::before {
  background: linear-gradient(90deg, rgba(255, 217, 124, 0.94), rgba(255, 167, 90, 0.92), rgba(255, 111, 71, 0.86));
}
.protection-panel {
  background:
    radial-gradient(circle at 12% 20%, rgba(85, 212, 201, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(223, 109, 109, 0.14), transparent 26%),
    radial-gradient(circle at 54% 100%, rgba(141, 124, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(247, 242, 233, 0.96), rgba(231, 224, 214, 0.92));
  color: #1a2435;
}

.protection-panel h2,
.protection-panel strong {
  color: #162235;
}

.protection-panel .muted,
.protection-panel .panel-label,
.protection-panel li,
.protection-panel p {
  color: #495d74;
}

.nested-panel {
  color: #1a2435;
}

.nested-panel h2,
.nested-panel h3,
.nested-panel strong {
  color: #162235;
}

.nested-panel .muted,
.nested-panel .panel-label,
.nested-panel p,
.nested-panel li,
.nested-panel span {
  color: #52657d;
}

.vendor-hero .muted,
.vendor-hero p,
.vendor-hero .panel-label,
.profile-hero .panel-label,
.profile-hero .muted,
.profile-hero p {
  color: #526882 !important;
}

.auth-panel {
  color: #182338;
}

.auth-panel h1,
.auth-panel h2,
.auth-panel h3,
.auth-panel strong,
.auth-panel label {
  color: #152033;
}

.auth-panel .muted,
.auth-panel .panel-label,
.auth-panel p,
.auth-panel li,
.auth-panel span {
  color: #51657c;
}
.protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.compact-protection-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.protection-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 252, 246, 0.84), rgba(235, 229, 219, 0.78)),
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.16), transparent 36%);
  border: 1px solid rgba(143, 168, 199, 0.22);
  box-shadow: 0 14px 34px rgba(12, 20, 32, 0.08);
  color: #1a2435;
}

.protection-card strong,
.protection-card h2,
.protection-card h3 {
  color: #162235;
}

.protection-card .muted,
.protection-card p {
  color: #5c6f84;
}
.protection-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(85, 212, 201, 0.92), rgba(141, 124, 255, 0.84), rgba(223, 109, 109, 0.78));
}
.vendor-hero {
  background:
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(210, 173, 99, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(247, 242, 233, 0.96), rgba(235, 228, 216, 0.92));
  color: #1a2435;
}

.vendor-hero h1,
.vendor-hero h2,
.vendor-hero h3,
.vendor-hero strong {
  color: #162235;
}

.vendor-hero .muted,
.vendor-hero p,
.vendor-hero .panel-label {
  color: #5c6f84;
}

.profile-hero {
  background:
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(210, 173, 99, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(244, 238, 228, 0.95));
  color: #102033;
}

.profile-hero-name {
  color: #0f1b2c !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.52);
}

.profile-hero-email {
  color: #445a73 !important;
  font-size: 1rem;
  font-weight: 700;
}

.profile-hero .panel-label,
.profile-hero .muted,
.profile-hero p {
  color: #5a7089 !important;
}

.profile-hero .vendor-score strong {
  color: #102033 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

.profile-hero .vendor-score .muted {
  color: #5a7089 !important;
}

.profile-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247, 242, 234, 0.94)) !important;
  border: 1px solid rgba(143, 168, 199, 0.22) !important;
  box-shadow: 0 12px 28px rgba(12, 20, 32, 0.08);
}

.profile-hero .profile-stat-card span {
  color: #60758f !important;
  font-weight: 700;
}

.profile-hero .profile-stat-card strong {
  color: #0f1f32 !important;
  font-size: 1.7rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.vendor-score {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.vendor-score strong {
  font-size: 2rem;
}
.notice {
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}
.success-notice {
  background: rgba(110, 182, 163, 0.16);
  border: 1px solid rgba(110, 182, 163, 0.34);
}
.error-notice {
  background: rgba(223, 109, 109, 0.16);
  border: 1px solid rgba(223, 109, 109, 0.34);
}
.danger-panel {
  border-color: rgba(255, 107, 107, 0.28);
  background: linear-gradient(180deg, rgba(56, 20, 26, 0.88), rgba(34, 14, 21, 0.9));
}

.danger-panel h3,
.danger-panel strong {
  color: #fff2f2;
}

.danger-panel .muted,
.danger-panel label {
  color: rgba(255, 223, 223, 0.82);
}

.danger-button {
  border: 1px solid rgba(255, 124, 124, 0.34);
  background: linear-gradient(135deg, rgba(255, 93, 123, 0.2), rgba(255, 142, 83, 0.18));
  color: #ffe4e4;
}
.notification-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(155, 72, 255, 0.12)),
    radial-gradient(circle at top right, rgba(41, 255, 103, 0.2), transparent 48%);
  border: 1px solid rgba(148, 94, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 30px rgba(5, 0, 18, 0.22);
}
.notification-pill.has-notifications {
  border-color: rgba(41, 255, 103, 0.68);
  box-shadow: 0 0 28px rgba(41, 255, 103, 0.18), 0 14px 34px rgba(155, 72, 255, 0.18);
}
.notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--lime);
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(41, 255, 103, 0.68));
}
.notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #05020d;
  background: linear-gradient(135deg, #29ff67, #32dcff);
  font-weight: 900;
  box-shadow: 0 0 18px rgba(41, 255, 103, 0.38);
}
.notification-detail {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: max-content;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(8, 4, 22, 0.96);
  border: 1px solid rgba(41, 255, 103, 0.32);
  box-shadow: 0 20px 44px rgba(4, 0, 16, 0.52), 0 0 24px rgba(155, 72, 255, 0.18);
  z-index: 30;
}
.notification-pill:hover .notification-detail {
  display: block;
}
.validation { color: #ff9b9b; }

.seller-terms-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(220, 228, 245, 0.74);
}

.seller-terms-status.is-ready {
  color: #87ffb7;
  text-shadow: 0 0 14px rgba(135, 255, 183, 0.22);
}

.topbar {
  padding: 10px 0;
  gap: 12px;
}

.topbar-actions {
  gap: 8px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.language-switcher-label {
  font-size: 0.78rem;
  color: rgba(239, 231, 214, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-switcher-select {
  width: auto;
  min-width: 108px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6efff;
  border: 1px solid rgba(210, 173, 99, 0.18);
}

.topbar-actions > a {
  padding: 8px 10px;
  font-size: 0.93rem;
}

.topbar-actions .ghost-button,
.topbar-actions .primary-button {
  padding: 8px 10px;
  min-height: 38px;
}

.brand {
  gap: 12px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.brand .eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.brand strong {
  font-size: 1.1rem;
}

.hero-brand-copy span {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.hero-impact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.9rem 0 1.2rem;
}

.hero-impact-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(210, 173, 99, 0.18);
  color: #f4ecdd;
  font-size: 0.88rem;
  font-weight: 700;
}

.notification-pill {
  min-height: 38px;
  padding: 8px 11px;
}
@media (max-width: 980px) {
  .content-grid, .topbar { flex-direction: column; }
  .topbar-menu-toggle {
    display: inline-flex;
    align-self: flex-end;
  }
  .topbar-guest-auth {
    width: 100%;
    justify-content: flex-end;
  }
  .topbar-actions {
    display: none;
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(10, 8, 26, 0.92);
    border: 1px solid rgba(148, 94, 255, 0.2);
    box-shadow: 0 24px 40px rgba(2, 9, 18, 0.24);
  }
  .topbar-actions.is-open {
    display: flex;
  }
  .topbar-nav-cluster {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .topbar-group {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 18px;
  }
  .topbar-group-label {
    display: none;
  }
  .topbar-submenu {
    display: block;
    width: 100%;
    padding: 0;
  }
  .topbar-submenu-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .topbar-submenu-title {
    font-size: 1rem;
  }
  .topbar-submenu-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 10px;
    border-radius: 16px;
    box-shadow: none;
  }
  .topbar-group a,
  .topbar-group-visitor a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .sidebar { flex: 1 1 auto; width: 100%; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-visual img { min-height: 280px; }
  .login-flow-panel {
    min-height: auto;
    padding: 20px;
  }
  .login-flow-steps {
    grid-template-columns: 1fr;
  }
  .login-flow-glow {
    width: 150px;
    height: 150px;
    right: -42px;
    top: 28px;
    opacity: 0.48;
  }
  .pricing-card.pro-plan { transform: none; }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }
  .mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 12px;
  }
  .mobile-shortcut-card {
    min-height: 74px;
    padding: 12px 14px;
    border-radius: 18px;
    text-decoration: none;
    color: #f9f2e4;
    background: linear-gradient(135deg, rgba(26, 18, 46, 0.94), rgba(16, 26, 44, 0.92));
    border: 1px solid rgba(148, 94, 255, 0.18);
    box-shadow: 0 14px 26px rgba(2, 9, 18, 0.2);
    display: grid;
    gap: 4px;
    align-content: center;
  }
  .mobile-shortcut-card strong {
    font-size: 0.92rem;
    line-height: 1.2;
    color: #fff8ea;
  }
  .mobile-shortcut-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(189, 203, 225, 0.78);
    font-weight: 700;
  }
  .mobile-shortcut-primary {
    background: linear-gradient(135deg, rgba(34, 97, 255, 0.24), rgba(74, 211, 255, 0.18));
    border-color: rgba(91, 164, 255, 0.32);
  }
  .mobile-shortcut-accent {
    background: linear-gradient(135deg, rgba(47, 255, 162, 0.18), rgba(146, 255, 98, 0.16));
    border-color: rgba(74, 255, 184, 0.28);
  }
  .mobile-shortcut-live {
    background: linear-gradient(135deg, rgba(255, 109, 157, 0.22), rgba(255, 163, 87, 0.18));
    border-color: rgba(255, 147, 98, 0.3);
  }
  .hero-copy {
    padding: 16px 16px 14px;
  }
  .hero-brandline {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }
  .hero-brand-logo {
    width: 74px;
    max-width: none;
  }
  .hero-brand-copy strong {
    font-size: 1.05rem;
  }
  .hero-brand-copy span {
    font-size: 0.86rem;
    line-height: 1.2;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-copy h1 {
    font-size: 1.8rem;
    line-height: 1.02;
  }
  .hero-text {
    font-size: 0.95rem;
  }
  .hero-badges.compact-hero-badges,
  .stats-grid {
    gap: 10px;
  }
  .hero-scene-wrap,
  .sidebar,
  .class-showcase-section,
  .vip-home-promo-panel .panel-header .primary-button {
    display: none;
  }
  #market-listings {
    margin-top: 0;
  }
  .panel-header {
    align-items: flex-start;
    gap: 10px;
  }
  .panel-header .primary-button,
  .panel-header .secondary-button {
    width: 100%;
    justify-content: center;
  }
  .listing-header-actions {
    width: 100%;
  }
  .filter-row {
    position: sticky;
    top: 82px;
    z-index: 8;
    padding: 10px 0 8px;
    background: linear-gradient(180deg, rgba(8, 6, 22, 0.98), rgba(8, 6, 22, 0.8));
    margin: 10px 0 2px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .filter-pill {
    flex: 0 0 auto;
  }
  .listing-card {
    padding: 14px;
    border-radius: 18px;
  }
  .listing-topline {
    align-items: flex-start;
    gap: 8px;
  }
  .listing-badges {
    gap: 6px;
  }
  .listing-art-frame {
    margin-top: 8px;
  }
  .listing-image,
  .detail-image {
    margin: 10px 0;
  }
  .listing-card-copy h3,
  .panel h1,
  .panel h2 {
    line-height: 1.05;
  }
  .trade-quick-panel {
    padding: 14px;
  }
  .trade-quick-grid {
    display: none;
  }
  .trade-seller-summary {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .trade-review-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .chat-layout.trade-desk-chat {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .live-message-list {
    max-height: 240px;
  }
  .compact-buyer-form textarea,
  [data-live-chat-input] {
    min-height: 88px;
  }
  .mobile-action-bar {
    position: sticky;
    bottom: 76px;
    z-index: 9;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 8, 26, 0.94);
    border: 1px solid rgba(148, 94, 255, 0.18);
    box-shadow: 0 18px 30px rgba(2, 9, 18, 0.24);
  }
  .mobile-action-bar .primary-button,
  .mobile-action-bar .secondary-button {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
  .mobile-create-hint {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148, 94, 255, 0.16);
  }
  .mobile-create-hint p {
    margin: 6px 0 0;
  }
  .mobile-sticky-submit {
    position: sticky;
    bottom: 76px;
    z-index: 9;
    box-shadow: 0 18px 30px rgba(2, 9, 18, 0.24);
  }
  .topbar {
    padding: 8px 0;
    gap: 10px;
  }
  .brand {
    width: 100%;
  }
  .brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
  .brand .eyebrow {
    font-size: 0.58rem;
  }
  .brand strong {
    font-size: 1rem;
  }
  .topbar-menu-toggle {
    position: absolute;
    right: 16px;
    top: 16px;
  }
  .topbar-guest-auth {
    width: 100%;
    justify-content: stretch;
  }
  .topbar-guest-auth a,
  .topbar-guest-auth .primary-button {
    flex: 1 1 0;
    text-align: center;
  }
  .topbar-actions {
    padding: 12px;
  }
  .topbar-group,
  .topbar-group-visitor {
    gap: 8px;
  }
  .topbar-submenu-menu {
    grid-template-columns: 1fr 1fr;
  }
  .topbar-submenu-menu a {
    width: 100%;
    justify-content: center;
  }
  .topbar-group a,
  .topbar-group-visitor a {
    width: calc(50% - 4px);
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
  }
  .topbar-group .support-nav-link,
  .topbar-group-visitor .support-nav-link {
    width: 100%;
  }
  .user-summary,
  .notification-pill,
  .browser-alert-button,
  .topbar-actions form,
  .topbar-account-cluster {
    width: 100%;
  }
  .topbar-account-cluster {
    margin-left: 0;
    justify-content: stretch;
    gap: 10px;
  }
  .user-summary-menu {
    width: 100%;
  }
  .user-summary-trigger {
    width: 100%;
  }
  .user-summary-trigger .user-pill {
    width: 100%;
  }
  .user-summary-panel {
    position: static;
    min-width: 0;
    margin-top: 10px;
    box-shadow: none;
  }
  .notification-pill,
  .browser-alert-button,
  .topbar-actions form .ghost-button {
    width: 100%;
    justify-content: center;
  }
  .topbar-logout-form {
    margin-left: 0;
  }
  .mobile-quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(8, 6, 22, 0.94), rgba(10, 12, 26, 0.98));
    border-top: 1px solid rgba(148, 94, 255, 0.22);
    box-shadow: 0 -12px 28px rgba(2, 9, 18, 0.34);
  }
  .mobile-quickbar-link {
    display: grid;
    gap: 4px;
    justify-items: center;
    align-content: center;
    padding: 6px 2px;
    color: #f4ecdd;
    font-size: 0.72rem;
    text-align: center;
    position: relative;
  }
  .mobile-quickbar-icon {
    font-size: 1.05rem;
    line-height: 1;
  }
  .mobile-quickbar-link-attention.has-mobile-badge {
    color: #ffffff;
  }
  .mobile-quickbar-badge {
    position: absolute;
    top: 5px;
    right: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff7f50, #ff3c9a);
    box-shadow: 0 0 0 2px rgba(18, 8, 31, 0.9), 0 10px 20px rgba(255, 60, 154, 0.28);
  }
  }

/* Cosmic crystal identity inspired by the TedMarket wing logo. */
:root {
  --bg: #05020d;
  --bg-mid: #130827;
  --panel: rgba(18, 15, 37, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.07);
  --border: rgba(148, 94, 255, 0.28);
  --text: #f6efff;
  --muted: #b9aeda;
  --gold: #e7c56f;
  --gold-strong: #fff0a6;
  --steel: #aab8ff;
  --emerald: #39ff88;
  --violet: #9b48ff;
  --ruby: #ff5f9f;
  --cyan: #32dcff;
  --lime: #29ff67;
  --shadow: 0 32px 110px rgba(5, 0, 18, 0.66);
  --shadow-soft: 0 24px 54px rgba(6, 0, 18, 0.36);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 75% 4%, rgba(41, 255, 103, 0.18), transparent 16%),
    radial-gradient(circle at 18% 10%, rgba(179, 46, 255, 0.28), transparent 24%),
    radial-gradient(circle at 50% 8%, rgba(50, 220, 255, 0.16), transparent 18%),
    radial-gradient(circle at 60% 64%, rgba(255, 79, 194, 0.14), transparent 26%),
    linear-gradient(180deg, #030108 0%, #0b0418 34%, #120828 68%, #06030d 100%);
}

body::before {
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(41, 255, 103, 0.16) 34.2%, transparent 34.6% 61%, rgba(50, 220, 255, 0.11) 61.3%, transparent 61.8%),
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(155, 72, 255, 0.22) 1px, transparent 2px);
  background-size: 100% 100%, 90px 90px, 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.84), rgba(0,0,0,0.22));
}

body::after {
  background:
    radial-gradient(circle at 52% 4%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at 50% 30%, rgba(115, 33, 255, 0.18), transparent 34%),
    linear-gradient(90deg, transparent, rgba(41, 255, 103, 0.06), transparent);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(5, 2, 14, 0.92), rgba(14, 5, 32, 0.78)),
    radial-gradient(circle at 20% 0%, rgba(155, 72, 255, 0.2), transparent 28%);
  border-bottom: 1px solid rgba(41, 255, 103, 0.24);
  box-shadow: 0 18px 48px rgba(2, 0, 10, 0.52), 0 0 38px rgba(155, 72, 255, 0.12);
}

.hero-brand-logo,
.cosmic-emblem {
  object-fit: cover;
  object-position: 50% 74%;
  border: 1px solid rgba(41, 255, 103, 0.38);
  background: #05020d;
}

.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  object-position: center center;
  border-radius: 22px;
  border: 1px solid rgba(155, 72, 255, 0.24);
  background: rgba(9, 4, 20, 0.96);
  box-shadow: 0 0 0 4px rgba(155, 72, 255, 0.08), 0 0 24px rgba(155, 72, 255, 0.2), 0 16px 32px rgba(0, 0, 0, 0.4);
  clip-path: none;
  padding: 4px;
}

.hero-brandline {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(155, 72, 255, 0.13)),
    radial-gradient(circle at right, rgba(41, 255, 103, 0.13), transparent 34%);
  border-color: rgba(41, 255, 103, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 22px 52px rgba(9, 1, 28, 0.28);
}

.hero-brand-logo {
  width: 220px;
  height: 132px;
  max-width: 42%;
  object-fit: contain;
  object-position: center center;
  border-radius: 28px;
  box-shadow: 0 0 44px rgba(155, 72, 255, 0.24), 0 0 32px rgba(41, 255, 103, 0.16);
  clip-path: none;
  padding: 8px 10px;
}

.hero-brand-copy span,
.hero-text,
.muted,
.eyebrow,
.panel-label {
  color: var(--muted);
}

.hero-copy,
.panel,
.listing-card,
.mini-card,
.stat-card,
.auth-panel {
  color: var(--text);
  border-color: rgba(148, 94, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at top right, rgba(155, 72, 255, 0.18), transparent 36%),
    radial-gradient(circle at bottom left, rgba(41, 255, 103, 0.08), transparent 34%),
    rgba(14, 8, 31, 0.84);
  box-shadow: 0 24px 64px rgba(3, 0, 13, 0.42), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-copy {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
    radial-gradient(circle at 72% 6%, rgba(41, 255, 103, 0.2), transparent 18%),
    radial-gradient(circle at 32% 15%, rgba(155, 72, 255, 0.34), transparent 32%),
    radial-gradient(circle at 70% 70%, rgba(50, 220, 255, 0.16), transparent 32%),
    rgba(9, 4, 24, 0.9);
}

.hero-copy::after {
  background:
    conic-gradient(from 140deg, transparent, rgba(41, 255, 103, 0.22), transparent, rgba(155, 72, 255, 0.26), transparent);
  filter: blur(8px);
}

.cosmic-emblem-stage {
  min-height: 500px;
  place-items: center;
}

.cosmic-emblem-stage::before,
.cosmic-emblem-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.cosmic-emblem-stage::before {
  width: min(520px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(41, 255, 103, 0.18), transparent 56%),
    conic-gradient(from 220deg, rgba(155, 72, 255, 0), rgba(155, 72, 255, 0.48), rgba(50, 220, 255, 0.28), rgba(41, 255, 103, 0.4), rgba(155, 72, 255, 0));
  filter: blur(18px);
  opacity: 0.72;
}

.cosmic-emblem-stage::after {
  inset: 10% 5% auto auto;
  width: 180px;
  height: 180px;
  border-right: 2px solid rgba(41, 255, 103, 0.6);
  border-top: 2px solid rgba(50, 220, 255, 0.38);
  transform: rotate(45deg);
  opacity: 0.55;
}

.cosmic-emblem {
  position: relative;
  z-index: 1;
  width: min(460px, 88%);
  height: min(460px, 88%);
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  border-radius: 32px;
  box-shadow: 0 0 90px rgba(155, 72, 255, 0.42), 0 0 34px rgba(41, 255, 103, 0.28), 0 34px 80px rgba(0, 0, 0, 0.56);
  clip-path: none;
}

.hero-scene-note {
  z-index: 2;
  background: rgba(5, 2, 14, 0.82);
  border-color: rgba(41, 255, 103, 0.28);
  color: var(--text);
  box-shadow: 0 0 26px rgba(41, 255, 103, 0.12);
}

.trust-card,
.class-card,
.item-chip,
.choice-panel {
  background: rgba(255,255,255,0.07);
  border-color: rgba(148, 94, 255, 0.24);
}

.auth-panel {
  color: #edf3ff;
}

.auth-panel h1,
.auth-panel h2,
.auth-panel h3,
.auth-panel strong,
.auth-panel label {
  color: #f5f8ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.auth-panel .panel-label,
.auth-panel .muted,
.auth-panel p,
.auth-panel li,
.auth-panel span {
  color: rgba(224, 234, 255, 0.86);
}

.auth-panel .choice-panel {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(148, 94, 255, 0.28);
}

.hero-badges .trust-card:nth-child(1),
.hero-badges .trust-card:nth-child(2),
.hero-badges .trust-card:nth-child(3),
.class-grid .class-card:nth-child(1),
.class-grid .class-card:nth-child(2),
.class-grid .class-card:nth-child(3),
.class-grid .class-card:nth-child(4),
.class-grid .class-card:nth-child(5) {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    radial-gradient(circle at top right, rgba(155, 72, 255, 0.18), transparent 36%);
  border-color: rgba(41, 255, 103, 0.2);
}

.listing-card.theme-dk,
.listing-card.theme-elf,
.listing-card.theme-dw,
.listing-card.theme-dl,
.listing-card.theme-rf,
.listing-card.theme-universal {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at 18% 0%, rgba(155, 72, 255, 0.2), transparent 34%),
    radial-gradient(circle at 95% 20%, rgba(41, 255, 103, 0.12), transparent 26%),
    rgba(14, 8, 31, 0.86);
}

.listing-image,
.detail-image {
  border-color: rgba(41, 255, 103, 0.22);
  box-shadow: 0 0 30px rgba(155, 72, 255, 0.14);
}

.primary-button,
.active-filter {
  color: #05020d;
  background: linear-gradient(135deg, #29ff67, #32dcff 48%, #f0d79b);
  box-shadow: 0 12px 30px rgba(41, 255, 103, 0.22);
}

.secondary-button,
.ghost-button {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(148, 94, 255, 0.3);
}

input,
select,
textarea {
  background: rgba(4, 2, 12, 0.78);
  color: var(--text);
  border-color: rgba(148, 94, 255, 0.32);
}

input::placeholder,
textarea::placeholder {
  color: rgba(236, 228, 255, 0.5);
}

.badge,
.user-pill {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border-color: rgba(148, 94, 255, 0.28);
}

.trusted-badge,
.trade-normal-badge,
.premium-tier.platinum {
  border-color: rgba(41, 255, 103, 0.4);
  box-shadow: 0 0 22px rgba(41, 255, 103, 0.12);
}

@media (max-width: 920px) {
  .hero-brand-logo {
    width: 150px;
    height: 110px;
    max-width: 46%;
  }
  .cosmic-emblem-stage {
    min-height: 340px;
  }
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(100%, 36rem);
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: start;
}

.history-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.history-entry {
  display: grid;
  gap: 0.8rem;
}

.history-row-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(229, 234, 255, 0.78);
}

.history-meta span {
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 24, 56, 0.78);
  border: 1px solid rgba(115, 141, 255, 0.18);
}

.history-status {
  white-space: nowrap;
}

.history-status.history-pending {
  background: rgba(255, 187, 76, 0.16);
  border-color: rgba(255, 187, 76, 0.34);
  color: #ffd17a;
}

.history-status.history-accepted {
  background: rgba(84, 228, 255, 0.16);
  border-color: rgba(84, 228, 255, 0.32);
  color: #9ff4ff;
}

.history-status.history-completed {
  background: rgba(80, 255, 146, 0.24);
  border-color: rgba(80, 255, 146, 0.48);
  color: #c7ffde;
  box-shadow: 0 0 0 1px rgba(80, 255, 146, 0.16), 0 0 18px rgba(80, 255, 146, 0.16);
}

.history-status.history-rejected {
  background: rgba(255, 98, 98, 0.16);
  border-color: rgba(255, 98, 98, 0.32);
  color: #ffb0b0;
}

.my-list-card {
  position: relative;
}

.my-list-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  opacity: 0.95;
}

.my-list-card-active::before {
  background: linear-gradient(180deg, #57f0a4, #1fbf71);
}

.my-list-card-active {
  background:
    linear-gradient(180deg, rgba(87, 240, 164, 0.08), rgba(31, 191, 113, 0.03)),
    var(--panel-soft);
  border-color: rgba(87, 240, 164, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(87, 240, 164, 0.06),
    0 12px 26px rgba(8, 18, 42, 0.28);
}

.my-list-card-sold::before {
  background: linear-gradient(180deg, #7fe9ff, #3fa8d4);
}

.my-list-card-withdrawn::before {
  background: linear-gradient(180deg, #ff9a9a, #d45b5b);
}

.my-list-card-pending::before {
  background: linear-gradient(180deg, #ffd580, #d29a2d);
}

.why-page-hero {
    background:
      linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
      radial-gradient(circle at 15% 10%, rgba(50, 220, 255, 0.18), transparent 20%),
    radial-gradient(circle at 75% 18%, rgba(255, 201, 88, 0.18), transparent 22%),
    radial-gradient(circle at 62% 72%, rgba(155, 72, 255, 0.2), transparent 32%),
    rgba(9, 4, 24, 0.9);
}

/* Homepage compression pass so listings appear faster above the fold. */
.hero {
  padding: 16px 0 12px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.hero-copy {
  padding: 20px 22px;
}

.hero-brandline {
  margin: 4px 0 12px;
}

.hero-brand-logo {
  width: 170px;
  height: 102px;
  max-width: 34%;
}

.hero-text {
  line-height: 1.5;
  margin-bottom: 0;
}

.compact-hero-badges {
  gap: 10px;
  margin: 12px 0 12px;
}

.compact-hero-badges .trust-card {
  padding: 10px 12px;
  gap: 10px;
}

.compact-hero-badges .trust-card img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.compact-hero-badges .trust-card p {
  font-size: 0.85rem;
  line-height: 1.3;
}

.hero .stats-grid {
  gap: 12px;
}

.hero .stat-card {
  padding: 12px 14px;
}

.hero .stat-card strong {
  font-size: 1.2rem;
}

.hero-scene {
  max-height: 360px;
}

.hero-scene-note {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
}

.content-grid {
  padding-top: 2px;
}

.compact-class-showcase {
  padding-top: 4px;
  padding-bottom: 18px;
}

.compact-class-showcase .class-showcase-panel {
  padding-top: 18px;
}

.compact-class-showcase .character-showcase-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.compact-class-showcase .character-card {
  min-height: 235px;
}

@media (max-width: 920px) {
  .hero-scene-wrap {
    min-height: 240px;
  }

  .hero-brand-logo {
    width: 140px;
    height: 92px;
    max-width: 44%;
  }

  .cosmic-emblem {
    width: min(360px, 92%);
    height: min(360px, 92%);
  }
}

@media (max-width: 1180px) {
  .compact-class-showcase .character-showcase-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 720px) {
  .compact-class-showcase .character-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .auth-guide-panel {
    padding: 18px;
  }
}

.admin-page-shell {
  padding-bottom: 28px;
}

.admin-control-room {
  display: grid;
  gap: 18px;
}

.admin-priority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-priority-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(210, 173, 99, 0.22);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    radial-gradient(circle at top right, rgba(223, 109, 109, 0.16), transparent 22%),
    rgba(16, 10, 35, 0.9);
}

.admin-priority-card,
.admin-folder,
.revenue-panel {
  color: #f5efe3;
}

.admin-priority-label {
  display: block;
  color: rgba(233, 220, 255, 0.74);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-priority-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  color: #fff5d9;
}

.admin-priority-card .muted {
  margin-top: 6px;
  color: rgba(233, 227, 214, 0.78);
}

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

.admin-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 220px auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.admin-focus-panel {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.96), rgba(242, 234, 221, 0.94));
}

.admin-focus-panel,
.admin-focus-panel .admin-queue-copy {
  color: #192334;
}

.admin-focus-panel h2,
.admin-focus-panel h3,
.admin-focus-panel strong {
  color: #152033;
}

.admin-focus-panel .muted,
.admin-focus-panel .panel-label,
.admin-focus-panel p,
.admin-focus-panel li,
.admin-focus-panel span {
  color: #53677f;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-grid .stat-card {
  padding: 14px;
}

.admin-summary-grid .stat-card span {
  color: #6c82a0;
}

.admin-summary-grid .stat-card strong {
  font-size: 1.35rem;
  color: #eef7ff;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-bar-list {
  display: grid;
  gap: 12px;
}

.metric-bar-item {
  display: grid;
  gap: 8px;
}

.metric-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.metric-bar-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.metric-bar-head strong {
  color: #fff5d9;
  font-size: 0.95rem;
}

.metric-bar-track {
  position: relative;
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(210, 173, 99, 0.16);
}

.metric-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.revenue-bar {
  background: linear-gradient(135deg, #32dcff, #8d7cff);
}

.burn-bar {
  background: linear-gradient(135deg, #ff8b6b, #ffcf77);
}

.added-bar {
  background: linear-gradient(135deg, #29ff67, #32dcff);
}

.dual-metric-item .metric-bar-track + .metric-bar-track {
  margin-top: -2px;
}

.admin-queue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: start;
}

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

.admin-folders {
  display: grid;
  gap: 14px;
}

.admin-folder {
  border: 1px solid rgba(148, 94, 255, 0.18);
  border-radius: 22px;
  background: rgba(12, 7, 29, 0.52);
  overflow: hidden;
}

.admin-folder summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-size: 1.04rem;
  color: #f6f1ff;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.admin-folder-body .panel,
.admin-folder-body .nested-panel {
  color: #1a2435;
}

.admin-folder-body .panel h2,
.admin-folder-body .panel h3,
.admin-folder-body .panel strong,
.admin-folder-body .nested-panel h2,
.admin-folder-body .nested-panel h3,
.admin-folder-body .nested-panel strong {
  color: #152033;
}

.admin-folder-body .panel .muted,
.admin-folder-body .panel .panel-label,
.admin-folder-body .panel p,
.admin-folder-body .panel li,
.admin-folder-body .panel span,
.admin-folder-body .nested-panel .muted,
.admin-folder-body .nested-panel .panel-label,
.admin-folder-body .nested-panel p,
.admin-folder-body .nested-panel li,
.admin-folder-body .nested-panel span {
  color: #53677f;
}

.revenue-panel .panel-label,
.revenue-panel .muted,
.revenue-panel p,
.revenue-panel li,
.revenue-panel span {
  color: rgba(235, 228, 214, 0.8);
}

.revenue-panel h2,
.revenue-panel h3,
.revenue-panel strong,
.revenue-live-value {
  color: #fff6e0;
}

.admin-folder summary::-webkit-details-marker {
  display: none;
}

.admin-folder-body {
  padding: 18px;
}

@media (max-width: 1180px) {
  .admin-priority-strip,
  .admin-summary-grid,
  .admin-metrics-grid,
  .admin-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-priority-strip,
  .admin-summary-grid,
  .admin-metrics-grid,
  .admin-action-grid,
  .admin-queue-card {
    grid-template-columns: 1fr;
  }

  .admin-search-form {
    grid-template-columns: 1fr;
  }
}

.why-signal-card {
  background:
    linear-gradient(160deg, rgba(11, 26, 42, 0.94), rgba(37, 27, 64, 0.9)),
    radial-gradient(circle at top right, rgba(255, 201, 88, 0.2), transparent 34%);
}

.why-panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at top right, rgba(155, 72, 255, 0.16), transparent 30%),
    rgba(14, 8, 31, 0.84);
}

.why-card {
  min-height: 220px;
}

.why-card h2,
.why-card h3,
.why-card strong {
  color: #f7f5ff;
  text-shadow: 0 1px 10px rgba(6, 10, 24, 0.28);
}

.why-card .muted,
.why-card p {
  color: rgba(229, 240, 255, 0.9);
}

.vip-home-promo-panel {
  overflow: hidden;
}

.vip-home-promo-grid {
  align-items: stretch;
}

.vip-home-promo-card {
  min-height: 100%;
}

.vip-home-promo-card .feature-list {
  margin-bottom: 0;
}

.premium-flow-badges .trust-card {
  background: rgba(255, 255, 255, 0.56);
}

.premium-flow-badges .trust-card strong {
  color: #152033;
}

.premium-flow-badges .trust-card .muted {
  color: #52657d;
}

.buyer-side-card {
  background:
    radial-gradient(circle at top right, rgba(90, 196, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(14, 45, 82, 0.97), rgba(10, 31, 58, 0.94));
}

.seller-side-card {
  background:
    radial-gradient(circle at top right, rgba(255, 197, 98, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(88, 43, 17, 0.97), rgba(58, 27, 11, 0.94));
}

.seller-side-card .muted,
.seller-side-card p {
  color: rgba(255, 234, 214, 0.88);
}

.final-why-panel .mini-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(9, 16, 30, 0.76);
  border-color: rgba(120, 130, 255, 0.18);
}
.revenue-panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    radial-gradient(circle at top right, rgba(41, 255, 103, 0.12), transparent 30%),
    rgba(10, 8, 26, 0.88);
}
.revenue-simulator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}
.revenue-inputs,
.revenue-results {
  display: grid;
  gap: 16px;
}
.revenue-input-card {
  gap: 14px;
}
.revenue-input-card input[type="range"] {
  width: 100%;
  accent-color: #32dcff;
}
.revenue-live-value {
  font-size: 2rem;
  color: #ffffff;
}
.revenue-result-card {
  min-height: 170px;
}
.revenue-result-card h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.6rem);
}

@media (max-width: 980px) {
  .revenue-simulator-grid {
    grid-template-columns: 1fr;
  }
}

.credit-positive {
  color: #8dffbe;
}

.credit-negative {
  color: #ffd17a;
}

@media (max-width: 980px) {
  .history-grid,
  .history-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
.seller-focus-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-upgrade-grid {
    grid-template-columns: 1fr;
  }
}

.inline-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1rem;
}

.compact-toggle {
  margin: 0;
}

.listing-extra-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.detail-image-secondary {
  min-height: 220px;
  object-fit: contain;
  background: rgba(13, 12, 28, 0.92);
}

.seller-avatar {
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(126, 91, 255, 0.45);
  background: radial-gradient(circle at top, rgba(47, 29, 91, 0.95), rgba(12, 8, 28, 0.98));
  box-shadow: 0 10px 24px rgba(8, 5, 19, 0.32);
}

.seller-avatar-shell {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.seller-avatar-inline-shell {
  vertical-align: middle;
  margin-right: 0.45rem;
}

.seller-avatar-gold {
  border-color: rgba(255, 207, 110, 0.88);
  box-shadow:
    0 0 0 2px rgba(255, 207, 110, 0.18),
    0 10px 24px rgba(8, 5, 19, 0.32),
    0 0 24px rgba(255, 191, 70, 0.18);
  animation: seller-avatar-gold-flame 2.6s ease-in-out infinite;
}

.seller-avatar-platinum {
  border-color: rgba(147, 240, 255, 0.92);
  box-shadow:
    0 0 0 2px rgba(147, 240, 255, 0.24),
    0 10px 24px rgba(8, 5, 19, 0.32),
    0 0 32px rgba(111, 220, 255, 0.28),
    0 0 52px rgba(67, 170, 255, 0.16);
  animation: seller-avatar-platinum-flame 2.6s ease-in-out infinite;
}

.seller-avatar-inline {
  width: 1.9rem;
  height: 1.9rem;
  vertical-align: middle;
  margin-right: 0.45rem;
  border-radius: 999px;
}

.seller-avatar-card {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 1rem;
  flex-shrink: 0;
}

.seller-avatar-large {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.2rem;
  flex-shrink: 0;
}

.seller-avatar-preview {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0.75rem 0;
}

.seller-avatar-marker {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(147, 240, 255, 0.95);
  background: linear-gradient(180deg, rgba(189, 246, 255, 0.98), rgba(92, 214, 255, 0.98));
  color: #04131d;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(92, 214, 255, 0.35);
}

.seller-avatar-marker-inline {
  top: -0.3rem;
  right: -0.3rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  font-size: 0.45rem;
}

@keyframes seller-avatar-gold-flame {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 207, 110, 0.18),
      0 10px 24px rgba(8, 5, 19, 0.32),
      0 0 18px rgba(255, 191, 70, 0.18),
      0 0 34px rgba(255, 163, 44, 0.14);
    filter: saturate(1) brightness(1);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 221, 137, 0.24),
      0 10px 24px rgba(8, 5, 19, 0.32),
      0 0 26px rgba(255, 206, 94, 0.28),
      0 0 46px rgba(255, 160, 37, 0.22);
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes seller-avatar-platinum-flame {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(147, 240, 255, 0.24),
      0 10px 24px rgba(8, 5, 19, 0.32),
      0 0 24px rgba(111, 220, 255, 0.24),
      0 0 38px rgba(67, 170, 255, 0.18),
      0 0 56px rgba(66, 138, 255, 0.12);
    filter: saturate(1.03) brightness(1.01);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(184, 245, 255, 0.28),
      0 10px 24px rgba(8, 5, 19, 0.32),
      0 0 28px rgba(117, 239, 255, 0.3),
      0 0 46px rgba(70, 166, 255, 0.24),
      0 0 68px rgba(76, 122, 255, 0.14);
    filter: saturate(1.08) brightness(1.05);
  }
}

.seller-avatar-strip,
.vendor-card-identity,
.vendor-hero-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.seller-avatar-strip {
  margin-top: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(126, 91, 255, 0.22);
  background: rgba(13, 9, 30, 0.32);
}

.compact-avatar-form {
  margin-top: 0.75rem;
}

.buyer-discount-banner {
  border-color: rgba(93, 201, 255, 0.55);
  background: linear-gradient(135deg, rgba(21, 84, 133, 0.34), rgba(16, 159, 203, 0.18));
  color: #dff6ff;
}

.buyer-discount-note,
.thread-premium-note {
  color: #8adfff;
  font-weight: 700;
}

.thread-premium-note {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
}

.buyer-premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.35rem;
}

.buyer-premium-gold {
  color: #fff8e4;
  border-color: rgba(255, 208, 97, 0.82);
  background: linear-gradient(135deg, rgba(148, 94, 18, 0.95), rgba(255, 190, 77, 0.72));
}

.buyer-premium-platinum {
  color: #eef8ff;
  border-color: rgba(126, 231, 255, 0.9);
  background: linear-gradient(135deg, rgba(48, 94, 163, 0.96), rgba(88, 231, 255, 0.7));
}

.notification-premium-pill {
  margin-left: 0.45rem;
  margin-bottom: 0.35rem;
  vertical-align: middle;
}

.seller-reward-panel {
  margin: 1rem 0 1.15rem;
  border: 1px solid rgba(112, 233, 179, 0.32);
  background:
    radial-gradient(circle at top right, rgba(86, 226, 182, 0.16), transparent 42%),
    rgba(9, 15, 28, 0.8);
}

.seller-reward-panel .panel-label {
  margin-bottom: 0.25rem;
}

/* Final readability polish for message-heavy public panels. */
.site-footer-inner {
  display: grid;
  gap: 8px;
  padding: 22px 0 28px;
}

.site-footer-inner p {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(240, 235, 250, 0.8);
  line-height: 1.58;
}

.site-footer-inner p + p {
  color: rgba(222, 214, 238, 0.72);
  font-size: 0.9rem;
}

.auth-guide-note {
  display: grid;
  gap: 8px;
  line-height: 1.6;
}

.auth-guide-note .muted {
  color: rgba(236, 239, 252, 0.86);
}

.notification-center .panel-header {
  margin-bottom: 20px;
}

.notification-center .panel-header .muted {
  max-width: 68ch;
  color: rgba(229, 235, 252, 0.8);
}

.notification-groups {
  gap: 18px;
}

.notification-card {
  gap: 14px;
  padding: 16px;
}

.notification-card-priority {
  padding: 20px;
}

.notification-card-secondary {
  padding: 15px 16px;
}

.notification-card-header {
  gap: 16px;
}

.notification-card-header > div {
  display: grid;
  gap: 6px;
}

.notification-card .muted {
  color: rgba(214, 223, 245, 0.76);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notification-card p:not(.muted) {
  line-height: 1.58;
}

.notification-card .badge,
.notification-premium-pill,
.notification-card .history-status {
  white-space: normal;
  text-align: center;
}

.notification-action-button {
  min-width: 168px;
  min-height: 40px;
}

.why-card {
  padding: 24px 24px 26px;
  color: #f8fbff;
}

.why-card h2,
.why-card h3,
.why-card strong {
  color: #fbf8ff !important;
  text-shadow: 0 2px 14px rgba(4, 8, 22, 0.34);
}

.why-card .panel-label {
  color: rgba(246, 250, 255, 0.9) !important;
  text-shadow: 0 1px 8px rgba(4, 8, 22, 0.34);
}

.why-card .muted,
.why-card p,
.why-card li,
.buyer-side-card .muted,
.buyer-side-card p,
.buyer-side-card li,
.vip-home-promo-card .muted,
.vip-home-promo-card p,
.vip-home-promo-card li {
  color: rgba(246, 250, 255, 0.96) !important;
  text-shadow: 0 1px 10px rgba(4, 8, 22, 0.38);
}

.buyer-side-card {
  background:
    radial-gradient(circle at top right, rgba(96, 205, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(10, 45, 82, 0.99), rgba(7, 28, 54, 0.98));
}

.seller-side-card .muted,
.seller-side-card p,
.seller-side-card li {
  color: rgba(255, 246, 235, 0.97) !important;
  text-shadow: 0 1px 10px rgba(4, 8, 22, 0.42);
}

.seller-side-card {
  background:
    radial-gradient(circle at top right, rgba(255, 198, 104, 0.3), transparent 34%),
    linear-gradient(180deg, rgba(107, 52, 17, 0.99), rgba(68, 29, 9, 0.98));
}

.buyer-side-card .feature-list li::marker,
.vip-home-promo-card .feature-list li::marker,
.why-card .feature-list li::marker {
  color: #80efff;
}

.seller-side-card .feature-list li::marker {
  color: #ffd37d;
}

@media (max-width: 980px) {
  .site-footer-inner {
    gap: 10px;
    padding: 18px 0 22px;
  }

  .notification-center .panel-header {
    gap: 12px;
  }

  .notification-card,
  .notification-card-priority,
  .notification-card-secondary {
    padding: 16px;
  }

  .notification-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .notification-card-header > div {
    gap: 7px;
  }

  .notification-action-button {
    width: 100%;
    min-width: 0;
  }

  .why-card {
    min-height: auto;
    padding: 20px;
  }
}

/* Final homepage/header clarity pass. */
.topbar {
  align-items: center;
  gap: 12px 16px;
}

.topbar-actions {
  align-items: center;
  row-gap: 12px;
}

.topbar-nav-cluster,
.topbar-account-cluster {
  align-items: center;
}

.topbar-group {
  min-height: 48px;
}

.topbar-submenu-trigger {
  min-height: 48px;
  padding: 11px 14px;
}

.topbar-group-utility a,
.topbar-group-visitor a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.notification-pill,
.browser-alert-button,
.topbar-logout-form .ghost-button,
.user-summary-trigger {
  min-height: 46px;
}

.hero-copy {
  padding: 24px 26px;
}

.hero-layout {
  gap: 18px;
}

.hero-copy h1 {
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.hero-text {
  max-width: 62ch;
  color: rgba(232, 238, 252, 0.9);
  font-size: 1.02rem;
  line-height: 1.62;
}

.hero-brand-copy strong {
  color: #fff8ef;
}

.hero-brand-copy span {
  color: rgba(232, 238, 252, 0.82);
}

.hero-impact-points {
  margin: 14px 0 12px;
}

.hero-impact-points span {
  color: #f6fbff;
}

.compact-hero-badges {
  margin: 14px 0 14px;
}

.compact-hero-badges .trust-card {
  padding: 12px 13px;
}

.compact-hero-badges .trust-card strong {
  color: #fff8ef;
}

.compact-hero-badges .trust-card .muted {
  color: rgba(228, 236, 252, 0.82);
}

.hero .stat-card span {
  color: rgba(225, 232, 248, 0.76);
}

.hero .stat-card strong {
  color: #fff8ef;
}

.hero-scene-note strong {
  color: #fff8ef;
}

.hero-scene-note .muted {
  color: rgba(232, 238, 252, 0.8);
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar-menu-toggle {
    top: 12px;
    right: 12px;
  }

  .topbar-actions {
    padding: 14px;
    gap: 12px;
  }

  .topbar-nav-cluster,
  .topbar-account-cluster {
    gap: 10px;
  }

  .topbar-submenu-menu {
    grid-template-columns: 1fr;
  }

  .topbar-group a,
  .topbar-group-visitor a {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar-group .support-nav-link,
  .topbar-group-visitor .support-nav-link {
    width: 100%;
  }

  .hero-copy {
    padding: 18px 18px 16px;
  }

  .hero-copy h1 {
    font-size: 1.92rem;
    line-height: 1.06;
  }

  .hero-brandline {
    gap: 12px;
    padding: 12px 13px;
    margin-bottom: 10px;
  }

  .hero-brand-logo {
    width: 124px;
    height: 84px;
    max-width: 38%;
  }

  .hero-brand-copy strong {
    font-size: 1.08rem;
  }

  .hero-brand-copy span {
    font-size: 0.86rem;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.54;
  }

  .hero-impact-points {
    gap: 8px;
  }

  .hero-impact-points span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .compact-hero-badges .trust-card {
    padding: 11px 12px;
  }

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

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 1.72rem;
  }

  .hero-brandline {
    align-items: flex-start;
  }

  .hero-impact-points span {
    font-size: 0.82rem;
  }
}

/* Final mobile flow polish for buy/sell/notifications/trade desk. */
.buy-page-panel .panel-header .muted {
  max-width: 64ch;
}

.trade-desk-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.trade-desk-guide span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12, 23, 41, 0.9), rgba(36, 46, 74, 0.82));
  border: 1px solid rgba(85, 212, 201, 0.18);
  color: #edf5ff;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.trade-desk-panel .notice {
  border-radius: 18px;
}

.trade-desk-chat .stack-list > .mini-card,
.live-message-list .mini-card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 225, 255, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(16, 25, 45, 0.94), rgba(39, 25, 61, 0.9));
  border: 1px solid rgba(118, 238, 217, 0.22);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 38px rgba(0, 0, 0, 0.26);
}

.trade-desk-chat .selected-chat {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 211, 115, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(35, 28, 48, 0.98), rgba(18, 28, 52, 0.94));
  border-color: rgba(255, 213, 126, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, 0.12), 0 0 0 1px rgba(255, 213, 126, 0.14), 0 18px 40px rgba(0, 0, 0, 0.3);
}

.trade-desk-chat .mini-card p,
.live-message-list .mini-card p {
  color: rgba(244, 248, 255, 0.9);
}

.trade-desk-chat .mini-card .muted,
.live-message-list .mini-card .muted,
.trade-desk-chat .mini-card .seller-identity-secondary,
.live-message-list .mini-card .seller-identity-secondary {
  color: rgba(202, 222, 255, 0.82) !important;
}

.trade-desk-chat .premium-badge,
.live-message-list .premium-badge,
.trade-desk-chat .priority-badge,
.live-message-list .priority-badge {
  color: #eaffff;
}

@media (max-width: 980px) {
  .buy-page-panel .panel-header,
  .notification-center .panel-header {
    gap: 12px;
  }

  .buy-page-panel .panel-header .primary-button,
  .notification-center .panel-header .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .notification-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    top: 74px;
  }

  .notification-filter-row .filter-pill {
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  [data-notification-group] .panel-label {
    margin-bottom: 8px;
  }

  .notification-card .trade-normal-badge {
    display: none;
  }

  .trade-desk-panel {
    padding: 16px;
  }

  .trade-desk-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trade-desk-guide span {
    justify-content: center;
    text-align: center;
  }

  .compact-trade-list {
    gap: 12px;
  }

  .compact-offer-card,
  .compact-trade-card {
    padding: 14px;
  }

  .trade-status-row .badge {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }

  .trade-desk-chat > .stack-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .trade-desk-chat > .stack-list .mini-card {
    min-width: 220px;
    scroll-snap-align: start;
  }

  .chat-thread-panel .panel-header {
    gap: 8px;
  }

  .live-message-list {
    max-height: 220px;
  }

  .compact-action-form .primary-button,
  .compact-action-form .ghost-button {
    min-height: 44px;
  }

  .mobile-action-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 74px;
  }

  .mobile-action-bar:has(a:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-action-bar .primary-button,
  .mobile-action-bar .secondary-button {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .auth-panel .form-grid {
    gap: 14px;
  }

  .auth-panel label {
    gap: 6px;
  }

  .mobile-create-hint {
    background: rgba(255,255,255,0.06);
    border-color: rgba(85, 212, 201, 0.2);
  }

  .mobile-create-hint strong {
    color: #fff8ef;
  }
}

@media (max-width: 640px) {
  .notification-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .notification-groups {
    gap: 14px;
  }

  .notification-card {
    gap: 10px;
  }

  .buy-page-panel .panel-header .muted,
  .trade-desk-panel .muted {
    font-size: 0.95rem;
  }

  .mobile-action-bar {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-action-bar .primary-button,
  .mobile-action-bar .secondary-button {
    padding: 10px 8px;
    font-size: 0.86rem;
  }

  .trade-desk-chat > .stack-list .mini-card {
    min-width: 190px;
  }
}

@media (max-width: 640px) {
  .premium-countdown-banner {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .premium-countdown-clock {
    width: 100%;
  }

  .premium-price-wrap {
    width: 100%;
  }

  .plan-price,
  .plan-offer-label {
    width: 100%;
  }

  .hero-brandline {
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .hero-brand-logo {
    width: 142px;
    height: 98px;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .hero-brandline {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .hero-brand-logo {
    width: 128px;
    height: 92px;
  }
}

/* Vendor profile contrast polish. The global dark panel rules are intentionally
   strong, so vendor profile needs its own final override for readability. */
.vendor-hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(85, 212, 201, 0.18), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(141, 124, 255, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(28, 20, 54, 0.96), rgba(13, 24, 42, 0.94)) !important;
  border-color: rgba(137, 112, 255, 0.44) !important;
  color: #f6f8ff !important;
}

.vendor-hero h1 {
  color: #ffffff !important;
  text-shadow: 0 0 22px rgba(114, 232, 255, 0.28), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.vendor-hero h2,
.vendor-hero h3,
.vendor-hero strong {
  color: #fff8ef !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.vendor-hero .panel-label,
.vendor-hero .muted,
.vendor-hero p {
  color: rgba(225, 236, 255, 0.82) !important;
}

.vendor-hero .vendor-score strong {
  color: #80f0ff !important;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 0 18px rgba(72, 226, 255, 0.5);
}

.vendor-hero .vendor-score .muted {
  color: rgba(217, 229, 255, 0.9) !important;
  font-weight: 800;
}

.vendor-hero .stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(113, 92, 190, 0.14)) !important;
  border-color: rgba(139, 120, 255, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.18);
}

.vendor-hero .stat-card span {
  color: #ffffff !important;
  font-weight: 900;
}

.vendor-hero .stat-card strong {
  color: #6ef0ff !important;
  font-size: 1.35rem;
  text-shadow: 0 0 16px rgba(78, 218, 255, 0.45);
}

/* New TedMarket MU wing crest logo integration. */
.brand-logo {
  object-position: center !important;
  filter: drop-shadow(0 0 14px rgba(255, 196, 75, 0.24)) drop-shadow(0 0 18px rgba(171, 72, 255, 0.22));
}

.hero-brand-logo-wordmark,
.hero-scene.cosmic-emblem {
  object-fit: contain !important;
  object-position: center !important;
}

.hero-brand-logo-wordmark {
  width: clamp(190px, 28vw, 330px) !important;
  height: auto !important;
  max-width: 46% !important;
  border-radius: 18px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 22px rgba(255, 196, 75, 0.18));
}

.hero-scene.cosmic-emblem {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 26px rgba(177, 76, 255, 0.22));
}

@media (max-width: 720px) {
  .hero-brand-logo-wordmark {
    width: 150px !important;
    max-width: 42% !important;
  }
  .market-pulse-stage {
    min-height: auto !important;
    padding: 18px !important;
    gap: 12px;
  }
  .market-pulse-stage::before {
    inset: 16px;
    width: auto;
    border-left: 2px solid rgba(86, 239, 205, 0.16);
    transform: none;
  }
  .market-pulse-orb {
    width: 130px;
    height: 130px;
    right: -10px;
    top: 8px;
    opacity: 0.5;
  }
  .market-pulse-card,
  .market-pulse-note,
  .market-pulse-steps {
    width: 100%;
    justify-self: stretch;
  }
  .market-pulse-steps {
    grid-template-columns: 1fr;
  }
  .market-pulse-card,
  .market-pulse-note {
    padding: 16px;
  }
}

/* Header logo needs a wide frame because the crest has wings. */
.brand {
  gap: 0 !important;
  align-items: center !important;
}

.brand > div {
  display: none !important;
}

.brand-logo {
  width: 250px !important;
  height: 118px !important;
  min-width: 250px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 14px rgba(255, 198, 64, 0.28)) drop-shadow(0 0 18px rgba(172, 75, 255, 0.22)) !important;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 208px !important;
    height: 100px !important;
    min-width: 208px !important;
  }
}

@media (min-width: 981px) {
  .site-header .topbar {
    padding-top: 8px;
    padding-bottom: 10px;
  }
}

/* Final mobile header and hero fit pass. */
@media (max-width: 720px) {
  .site-header {
    overflow: hidden;
  }

  .site-header .topbar {
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 10px !important;
  }

  .site-header .brand {
    width: 100% !important;
    justify-content: center !important;
    min-height: 76px;
  }

  .site-header .brand-logo {
    width: 178px !important;
    height: 86px !important;
    min-width: 178px !important;
  }

  .topbar-guest-auth {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: calc(100vw - 28px) !important;
    gap: 8px !important;
    margin-left: 0 !important;
    overflow: hidden;
  }

  .topbar-guest-auth a,
  .topbar-guest-auth .primary-button {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 12px !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
  }

  .topbar-guest-auth a:not(.primary-button) {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 94, 255, 0.24);
    color: #f8f3ff;
  }

  .hero-brandline {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  .hero-brand-logo-wordmark {
    width: min(236px, 82vw) !important;
    height: auto !important;
    max-width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .hero-brand-copy {
    gap: 2px !important;
  }

  .hero-brand-copy strong {
    font-size: 1rem !important;
    line-height: 1.12 !important;
  }

  .hero-brand-copy span {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.8rem) !important;
  }

  .mobile-shortcuts {
    grid-template-columns: 1fr !important;
  }

  .mobile-shortcut-card {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .site-header .brand-logo {
    width: 160px !important;
    height: 78px !important;
    min-width: 160px !important;
  }

  .topbar-guest-auth a,
  .topbar-guest-auth .primary-button {
    font-size: 0.86rem !important;
  }
}

/* Firefox can expose a strange focus/click ghost beside transparent logo images. */
@-moz-document url-prefix() {
  .site-header {
    backdrop-filter: none !important;
    background:
      linear-gradient(180deg, rgba(9, 7, 24, 0.97), rgba(8, 6, 22, 0.94)),
      radial-gradient(circle at 18% 0%, rgba(148, 94, 255, 0.16), transparent 34%),
      radial-gradient(circle at 78% 0%, rgba(41, 255, 103, 0.08), transparent 30%) !important;
  }

  .site-header .brand {
    outline: none !important;
    -moz-user-focus: ignore;
  }

  .site-header .brand:focus,
  .site-header .brand:focus-visible,
  .site-header .brand-logo:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .site-header .brand > div {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  .topbar-submenu-trigger::marker,
  .user-summary-trigger::marker {
    content: "" !important;
    font-size: 0 !important;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .notification-pill,
  .topbar-submenu-trigger,
  .topbar-group-visitor a,
  .mobile-shortcut-card,
  .mobile-quickbar-link {
    transition:
      background 120ms ease,
      border-color 120ms ease,
      color 120ms ease,
      box-shadow 120ms ease !important;
  }

  .primary-button:hover,
  .secondary-button:hover,
  .ghost-button:hover,
  .notification-pill:hover,
  .topbar-submenu-trigger:hover,
  .topbar-group-visitor a:hover,
  .mobile-shortcut-card:hover,
  .mobile-quickbar-link:hover {
    transform: none !important;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* Final mobile home guard: later desktop compression rules must not squeeze the hero into a tiny column. */
@media (max-width: 720px) {
  .page-shell.hero {
    width: min(100% - 24px, 540px) !important;
    display: block !important;
    padding-top: 14px !important;
  }

  .hero-copy {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 16px 20px !important;
    overflow: visible !important;
  }

  .hero-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .hero-brandline {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 16px !important;
    padding: 14px !important;
  }

  .hero-brandline .hero-brand-logo,
  .hero-brandline .hero-brand-logo-wordmark {
    display: none !important;
  }

  .hero-brand-copy {
    display: block !important;
    width: 100% !important;
  }

  .hero-brand-copy strong,
  .hero-brand-copy span,
  .hero-text,
  .hero-copy h1 {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .hero-brand-copy strong {
    display: block !important;
    font-size: 1.15rem !important;
    line-height: 1.18 !important;
  }

  .hero-brand-copy span {
    display: block !important;
    margin-top: 6px !important;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0.03em !important;
  }

  .hero-text {
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }

  .premium-signal-card {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .premium-status-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  .premium-status-row strong {
    text-align: left !important;
    font-size: 1.08rem !important;
  }
}

/* Admin control room readability pass. */
.admin-control-room {
  gap: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 12% 0%, rgba(83, 164, 255, 0.2), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(41, 255, 103, 0.13), transparent 24%),
    rgba(9, 5, 24, 0.96);
  color: #f8f4ff;
}

.admin-control-room > .panel-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 94, 255, 0.22);
}

.admin-control-room > .panel-header h1,
.admin-section-heading h2,
.admin-verification-panel h2 {
  color: #fffaf0;
  text-shadow: 0 0 22px rgba(155, 72, 255, 0.18);
}

.admin-control-room > .panel-header .muted,
.admin-section-heading .muted,
.admin-verification-panel .muted {
  color: rgba(232, 227, 255, 0.82);
}

.admin-dashboard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(5, 2, 14, 0.62);
  border: 1px solid rgba(148, 94, 255, 0.24);
}

.admin-dashboard-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #f7f1ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(85, 212, 201, 0.18);
  font-weight: 800;
  letter-spacing: 0.03em;
  gap: 8px;
}

.admin-dashboard-nav a:hover {
  color: #07121c;
  background: linear-gradient(135deg, #34ff8c, #69e5ff, #fff0a6);
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-quick-action-card {
  display: grid;
  gap: 0.45rem;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fffaf0;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.admin-quick-action-card strong {
  color: #fffaf0;
  font-size: 1.08rem;
}

.admin-quick-action-card p,
.admin-quick-action-card .panel-label {
  margin: 0;
  color: rgba(236, 241, 255, 0.86);
}

.admin-quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
}

.admin-quick-action-warning {
  background:
    linear-gradient(145deg, rgba(255, 213, 128, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(21, 18, 42, 0.95);
  border-color: rgba(255, 214, 122, 0.3);
}

.admin-quick-action-info {
  background:
    linear-gradient(145deg, rgba(110, 226, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(13, 23, 45, 0.95);
  border-color: rgba(105, 229, 255, 0.28);
}

.admin-quick-action-critical {
  background:
    linear-gradient(145deg, rgba(255, 132, 132, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(28, 13, 31, 0.96);
  border-color: rgba(255, 132, 132, 0.34);
}

.admin-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.admin-nav-badge-critical {
  color: #fff4f4;
  background: rgba(226, 89, 89, 0.9);
}

.admin-nav-badge-warning {
  color: #261400;
  background: rgba(255, 214, 122, 0.92);
}

.admin-nav-badge-info {
  color: #051320;
  background: rgba(105, 229, 255, 0.9);
}

.admin-section-heading {
  display: grid;
  gap: 4px;
  padding: 4px 2px 0;
}

.admin-section-heading h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.admin-collapsible-block {
  margin-top: 8px;
  border: 1px solid rgba(148, 94, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(14, 11, 31, 0.92), rgba(23, 18, 45, 0.84)),
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.08), transparent 32%);
}

.admin-collapsible-block summary {
  min-height: 72px;
  align-items: center;
}

.admin-collapsible-block[open] summary {
  border-bottom-color: rgba(148, 94, 255, 0.18);
}

.admin-collapsible-block .admin-folder-body {
  padding-top: 18px;
}

.admin-support-focus-panel {
  margin-top: 8px;
}

.admin-priority-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-priority-card {
  min-height: 168px;
  border-color: rgba(85, 212, 201, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(50, 220, 255, 0.16), transparent 36%),
    rgba(12, 18, 38, 0.94);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.admin-priority-card-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-priority-card-link:hover,
.admin-priority-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 223, 146, 0.6);
  box-shadow: 0 20px 42px rgba(7, 12, 25, 0.34), 0 0 0 1px rgba(255, 223, 146, 0.18);
}

.admin-priority-card:first-child {
  border-color: rgba(255, 207, 119, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 218, 124, 0.18), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(255, 95, 159, 0.2), transparent 34%),
    rgba(24, 14, 38, 0.96);
}

.admin-priority-warning {
  border-color: rgba(255, 207, 119, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 219, 141, 0.16), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(255, 157, 72, 0.18), transparent 36%),
    rgba(21, 19, 44, 0.94);
}

.admin-priority-info {
  border-color: rgba(105, 229, 255, 0.32);
  background:
    linear-gradient(145deg, rgba(123, 238, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(86, 172, 255, 0.18), transparent 36%),
    rgba(12, 20, 42, 0.94);
}

.admin-priority-critical {
  border-color: rgba(255, 132, 132, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 144, 144, 0.16), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(255, 88, 88, 0.22), transparent 34%),
    rgba(28, 13, 31, 0.96);
}

.admin-priority-label {
  color: rgba(215, 226, 255, 0.88);
}

.admin-priority-card strong {
  color: #fffaf0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-priority-card .muted {
  color: rgba(233, 241, 255, 0.84);
  line-height: 1.45;
}

.admin-focus-panel,
.admin-folder-body .panel,
.admin-folder-body .nested-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(229, 239, 255, 0.94)),
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.15), transparent 34%);
  border-color: rgba(85, 140, 210, 0.34);
  color: #121b2c;
}

.admin-focus-panel .panel-label,
.admin-folder-body .panel .panel-label,
.admin-folder-body .nested-panel .panel-label {
  color: #315173;
}

.admin-focus-panel .muted,
.admin-focus-panel p,
.admin-folder-body .panel .muted,
.admin-folder-body .nested-panel .muted,
.admin-folder-body .panel p,
.admin-folder-body .nested-panel p,
.admin-folder-body .panel li,
.admin-folder-body .nested-panel li {
  color: #31465f;
}

.admin-focus-panel h2,
.admin-focus-panel h3,
.admin-focus-panel strong,
.admin-folder-body .panel h2,
.admin-folder-body .panel h3,
.admin-folder-body .panel strong,
.admin-folder-body .nested-panel h2,
.admin-folder-body .nested-panel h3,
.admin-folder-body .nested-panel strong {
  color: #0d182a;
}

.admin-queue-card {
  border-color: rgba(63, 106, 162, 0.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(238,247,255,0.78)),
    rgba(255,255,255,0.86);
}

.admin-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.admin-queue-card .stack-actions {
  padding: 12px;
  border-radius: 18px;
  background: rgba(9, 20, 38, 0.05);
  border: 1px solid rgba(63, 106, 162, 0.14);
}

.admin-queue-card .stack-actions .panel-label {
  margin-bottom: 0.15rem;
}

.admin-queue-card .ghost-button {
  color: #fff4f4;
  background: linear-gradient(135deg, rgba(176, 53, 53, 0.95), rgba(255, 113, 113, 0.82));
  border-color: rgba(255, 147, 147, 0.58);
}

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

.admin-stat-card {
  min-height: 140px;
  padding: 18px;
  color: #f8f4ff;
  background:
    linear-gradient(145deg, rgba(12, 18, 38, 0.94), rgba(27, 17, 54, 0.88)),
    radial-gradient(circle at top right, rgba(85, 212, 201, 0.14), transparent 30%);
  border-color: rgba(85, 212, 201, 0.24);
}

.admin-summary-grid .admin-stat-card span {
  color: rgba(218, 229, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-summary-grid .admin-stat-card strong {
  margin-top: 8px;
  font-size: 2rem;
  color: #fffaf0;
}

.admin-summary-grid .admin-stat-card .muted {
  margin: 8px 0 0;
  color: rgba(236, 241, 255, 0.8);
}

.admin-verification-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 207, 119, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 207, 119, 0.13), rgba(255,255,255,0.04)),
    rgba(10, 7, 26, 0.74);
}

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

.admin-check-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  color: #eff7ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-check-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #08121d;
  background: linear-gradient(135deg, #34ff8c, #69e5ff, #fff0a6);
  font-weight: 900;
}

.admin-check-card strong {
  color: #fffaf0;
}

.admin-check-card p {
  margin: 0;
  color: rgba(235, 241, 255, 0.8);
  line-height: 1.45;
}

.admin-search-form label {
  color: #102038;
  font-weight: 800;
}

.admin-filter-shortcuts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-search-hint {
  margin: 0;
}

.admin-search-form input,
.admin-search-form select,
.admin-queue-card select {
  border: 1px solid rgba(63, 106, 162, 0.32);
  background: #fffbed;
  color: #101a2b;
  font-weight: 700;
}

.admin-folder {
  background: rgba(5, 2, 14, 0.72);
  border-color: rgba(148, 94, 255, 0.3);
}

.admin-folder summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(85, 212, 201, 0.06)),
    rgba(12, 7, 29, 0.86);
}

.admin-folder-meta {
  color: rgba(232, 242, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-folder summary::after {
  content: "Open";
  padding: 6px 10px;
  border-radius: 999px;
  color: #08121d;
  background: linear-gradient(135deg, #34ff8c, #69e5ff);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-folder[open] summary::after {
  content: "Close";
}

.admin-empty-state {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  color: #274764;
  background: rgba(85, 212, 201, 0.12);
  border: 1px solid rgba(85, 212, 201, 0.24);
  font-weight: 800;
}

.admin-seller-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.admin-seller-checklist span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.admin-seller-checklist .is-ok {
  color: #06321b;
  background: rgba(41, 255, 103, 0.22);
  border: 1px solid rgba(41, 255, 103, 0.38);
}

.admin-seller-checklist .is-warn {
  color: #3f2a05;
  background: rgba(255, 207, 119, 0.3);
  border: 1px solid rgba(255, 207, 119, 0.5);
}

.admin-seller-checklist .is-risk {
  color: #4c1010;
  background: rgba(255, 113, 113, 0.22);
  border: 1px solid rgba(255, 113, 113, 0.4);
}

.admin-inline-action {
  margin-top: 12px;
}

.admin-log-card {
  border-color: rgba(148, 94, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(244,239,255,0.8)),
    rgba(255,255,255,0.84);
}

.admin-support-card {
  border-width: 1px;
  overflow: hidden;
}

.admin-support-card .admin-card-topline strong {
  flex: 1 1 220px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-support-card p,
.admin-support-card .muted,
.admin-support-card strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-support-card .muted {
  color: #c9d9f6 !important;
}

.admin-support-card .badge {
  white-space: normal;
  text-align: center;
}

/* Final contrast fix for light admin cards and premium status values. */
.admin-focus-panel .admin-queue-card,
.admin-folder-body .admin-queue-card {
  color: #071423 !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.94)),
    #f8fbff !important;
  border-color: rgba(38, 80, 130, 0.28) !important;
}

.admin-focus-panel .admin-queue-card strong,
.admin-folder-body .admin-queue-card strong {
  color: #06111f !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.admin-focus-panel .admin-queue-card p,
.admin-focus-panel .admin-queue-card span,
.admin-folder-body .admin-queue-card p,
.admin-folder-body .admin-queue-card span {
  color: #1c3854 !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}

.admin-focus-panel .admin-queue-card .muted,
.admin-folder-body .admin-queue-card .muted {
  color: #355a7b !important;
}

.admin-queue-card .stack-actions {
  background: rgba(10, 27, 48, 0.08) !important;
  border-color: rgba(38, 80, 130, 0.2) !important;
  border-radius: 18px;
  padding: 12px;
}

.admin-queue-card .stack-actions .secondary-button {
  color: #0b1b2d !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(87, 120, 180, 0.32) !important;
}

.admin-queue-card .stack-actions .secondary-button:disabled {
  color: #607188 !important;
  opacity: 0.72;
}

.premium-status-value {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  justify-self: end;
  color: #07121c !important;
  background: linear-gradient(135deg, #eff8ff, #bdefff);
  border: 1px solid rgba(105, 229, 255, 0.44);
  box-shadow: 0 0 18px rgba(105, 229, 255, 0.15);
}

.premium-status-value.account-type,
.premium-status-value.gold {
  color: #1e1400 !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(135deg, #ffe184, #ffb333 52%, #ff7a1c);
  border-color: rgba(255, 213, 92, 0.64);
  box-shadow: 0 0 20px rgba(255, 181, 51, 0.28);
}

.premium-status-value.bronze {
  color: #2b1200 !important;
  background: linear-gradient(135deg, #f6c08a, #b97035);
  border-color: rgba(255, 187, 122, 0.5);
}

.premium-status-value.date {
  color: #061423 !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(135deg, #f8ffff, #a9ecff 42%, #b7ffd2);
  border-color: rgba(159, 239, 255, 0.62);
  box-shadow:
    0 0 16px rgba(105, 229, 255, 0.36),
    0 0 26px rgba(41, 255, 103, 0.14);
}

.premium-status-value.platinum {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.96), transparent 16%),
    radial-gradient(circle at 78% 82%, rgba(47, 255, 231, 0.7), transparent 28%),
    linear-gradient(135deg, #eaffff 0%, #89f6ff 20%, #7d88ff 48%, #c448ff 72%, #34ff8c 100%);
  border-color: rgba(171, 246, 255, 0.72);
  box-shadow:
    0 0 16px rgba(105, 229, 255, 0.55),
    0 0 30px rgba(196, 72, 255, 0.36),
    0 0 42px rgba(41, 255, 103, 0.2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.46);
}

.premium-status-value.inactive {
  color: #f6d7d7 !important;
  background: linear-gradient(135deg, rgba(89, 38, 52, 0.95), rgba(122, 54, 71, 0.85));
  border-color: rgba(255, 129, 129, 0.28);
  box-shadow: none;
}

/* Final notifications contrast pass: status badges must read instantly. */
.notification-card .history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: none;
  text-shadow: none !important;
}

.notification-review-state {
  color: #061827 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(135deg, #a7f3ff, #53b8ff 52%, #7f8cff) !important;
  border-color: rgba(166, 244, 255, 0.68) !important;
  box-shadow: 0 0 18px rgba(83, 184, 255, 0.34) !important;
}

.notification-confirm-state {
  color: #fff8f0 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(135deg, #ff4f6d, #ff7a3d 56%, #ffd36c) !important;
  border-color: rgba(255, 132, 84, 0.72) !important;
  box-shadow: 0 0 20px rgba(255, 82, 82, 0.36) !important;
}

.notification-complete-state {
  color: #052415 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #29ff67, #69e5ff) !important;
  border-color: rgba(41, 255, 103, 0.64) !important;
  box-shadow: 0 0 18px rgba(41, 255, 103, 0.3) !important;
}

.notification-request-state {
  color: #2a1700 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(135deg, #ffe184, #ffb333) !important;
  border-color: rgba(255, 207, 119, 0.68) !important;
  box-shadow: 0 0 18px rgba(255, 187, 76, 0.28) !important;
}

.notification-card strong {
  color: #071423 !important;
  font-weight: 950;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notification-card p:not(.muted) {
  color: #f8fbff !important;
  font-weight: 750;
}

.notification-action-review,
.notification-action-confirm,
.notification-action-complete,
.notification-action-request {
  font-weight: 950 !important;
  text-shadow: none !important;
}

.notification-action-review {
  color: #061827 !important;
  background: linear-gradient(135deg, #a7f3ff, #53b8ff, #7f8cff) !important;
  border-color: rgba(166, 244, 255, 0.68) !important;
}

.notification-action-confirm {
  color: #fff8f0 !important;
  background: linear-gradient(135deg, #ff4f6d, #ff7a3d) !important;
  border-color: rgba(255, 132, 84, 0.72) !important;
}

.notification-action-complete,
.notification-action-request {
  color: #061423 !important;
  background: linear-gradient(135deg, #29ff67, #69e5ff) !important;
  border-color: rgba(41, 255, 103, 0.58) !important;
}

/* Trade inbox upgrade. */
.inbox-control-panel {
  display: grid;
  gap: 20px;
  color: #f8f4ff;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at 12% 0%, rgba(105, 229, 255, 0.16), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(155, 72, 255, 0.22), transparent 30%),
    rgba(9, 5, 24, 0.94);
  border-color: rgba(105, 229, 255, 0.2);
}

.inbox-header .muted {
  color: rgba(232, 239, 255, 0.82);
}

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

.inbox-stat-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(105, 229, 255, 0.16);
}

.inbox-stat-card span {
  display: block;
  color: rgba(222, 233, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 900;
}

.inbox-stat-card strong {
  display: block;
  margin-top: 8px;
  color: #fffaf0;
  font-size: 2rem;
}

.inbox-stat-card.action {
  border-color: rgba(255, 207, 119, 0.42);
  background: linear-gradient(135deg, rgba(255, 207, 119, 0.16), rgba(255,255,255,0.06));
}

.inbox-stat-card.completed {
  border-color: rgba(41, 255, 103, 0.32);
  background: linear-gradient(135deg, rgba(41, 255, 103, 0.12), rgba(105, 229, 255, 0.07));
}

.inbox-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.inbox-side-panel {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 140px;
}

.inbox-side-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(5, 2, 14, 0.5);
  border: 1px solid rgba(148, 94, 255, 0.2);
}

.inbox-side-card p {
  margin: 0;
  color: rgba(231, 239, 255, 0.78);
  line-height: 1.5;
}

.inbox-filter-pill {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(105, 229, 255, 0.14);
  font-weight: 900;
}

.inbox-thread-list {
  display: grid;
  gap: 14px;
}

.inbox-thread-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 16px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)),
    rgba(12, 18, 38, 0.78);
  border: 1px solid rgba(105, 229, 255, 0.16);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.inbox-thread-card.needs-action {
  border-color: rgba(255, 207, 119, 0.5);
  box-shadow: 0 0 24px rgba(255, 207, 119, 0.12), 0 22px 44px rgba(0, 0, 0, 0.24);
}

.inbox-thread-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.inbox-thread-topline,
.inbox-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inbox-thread-card h2 {
  color: #fffaf0;
  font-size: 1.25rem;
}

.inbox-other-user,
.inbox-preview {
  margin: 0;
  color: rgba(232, 239, 255, 0.82);
}

.inbox-preview {
  padding: 12px 14px;
  border-radius: 16px;
  color: #102038;
  background: rgba(255, 251, 237, 0.92);
  font-weight: 800;
}

.inbox-thread-meta span {
  color: rgba(217, 230, 255, 0.72);
  font-size: 0.9rem;
}

.inbox-role-pill,
.inbox-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inbox-role-pill {
  color: #07121c;
  background: linear-gradient(135deg, #69e5ff, #b1ffca);
}

.inbox-status-pill {
  color: #f8f4ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.chat-status-action {
  color: #301c00;
  background: linear-gradient(135deg, #ffe184, #ffb333);
  border-color: rgba(255, 207, 119, 0.54);
}

.chat-status-completed {
  color: #052817;
  background: linear-gradient(135deg, #29ff67, #69e5ff);
}

.chat-status-waiting {
  color: #fffaf0;
  background: linear-gradient(135deg, rgba(148, 94, 255, 0.42), rgba(105, 229, 255, 0.2));
}

.inbox-thread-actions {
  display: grid;
  gap: 10px;
  align-content: center;
}

.inbox-empty-state {
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: 26px;
  color: #f8f4ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(105, 229, 255, 0.18);
}

.inbox-empty-state p {
  margin: 0;
  color: rgba(232, 239, 255, 0.82);
}

.inbox-simple-panel {
  gap: 18px;
}

.inbox-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.inbox-summary-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(247, 242, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(105, 229, 255, 0.16);
  font-weight: 900;
  font-size: 0.84rem;
}

.inbox-summary-pills .attention {
  color: #2d1d00;
  background: linear-gradient(135deg, #ffe184, #ffb333);
  border-color: rgba(255, 207, 119, 0.5);
}

.inbox-simple-list {
  display: grid;
  gap: 10px;
}

.inbox-simple-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
    rgba(12, 18, 38, 0.72);
  border: 1px solid rgba(105, 229, 255, 0.14);
  overflow: hidden;
}

.inbox-simple-row.needs-action {
  border-color: rgba(255, 207, 119, 0.5);
  box-shadow: 0 0 22px rgba(255, 207, 119, 0.1);
}

.inbox-simple-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.inbox-simple-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #07121c;
  background: linear-gradient(135deg, #69e5ff, #b1ffca, #ffe184);
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(105, 229, 255, 0.22);
}

.inbox-simple-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inbox-simple-titleline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.inbox-simple-titleline strong {
  color: #fffaf0;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inbox-simple-titleline span,
.inbox-simple-copy p,
.inbox-simple-meta {
  color: rgba(232, 241, 255, 0.9);
}

.inbox-simple-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inbox-simple-preview {
  color: rgba(247, 242, 255, 0.9) !important;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 4px;
}

.inbox-simple-meta > span:not(.inbox-role-pill):not(.inbox-status-pill) {
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inbox-simple-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.inbox-simple-actions .primary-button,
.inbox-simple-actions .secondary-button {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .inbox-stat-grid,
  .inbox-layout,
  .inbox-thread-card {
    grid-template-columns: 1fr;
  }

  .inbox-side-panel {
    position: static;
  }

  .inbox-simple-row,
  .inbox-simple-main {
    grid-template-columns: 1fr;
  }

  .inbox-simple-avatar {
    display: none;
  }

  .inbox-simple-titleline {
    align-items: flex-start;
    flex-direction: column;
  }

  .inbox-simple-actions {
    width: 100%;
  }

  .inbox-simple-actions a {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* Desktop header command bar: cleaner marketplace-style navigation. */
@media (min-width: 981px) {
  .site-header {
    background:
      linear-gradient(180deg, rgba(3, 2, 11, 0.96), rgba(8, 5, 22, 0.9)),
      radial-gradient(circle at 18% 0%, rgba(155, 72, 255, 0.18), transparent 24%),
      radial-gradient(circle at 78% 0%, rgba(41, 255, 103, 0.08), transparent 24%) !important;
    border-bottom-color: rgba(85, 212, 201, 0.18) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45) !important;
  }

  .site-header .topbar {
    display: grid !important;
    grid-template-columns: 184px minmax(0, 1fr) !important;
    grid-template-areas:
      "brand account"
      "nav nav" !important;
    align-items: center !important;
    gap: 10px 20px !important;
    padding: 10px 0 14px !important;
  }

  .site-header .brand {
    grid-area: brand;
    flex: 0 0 auto;
    min-width: 156px;
    justify-content: flex-start;
  }

  .site-header .brand-logo {
    width: 142px !important;
    height: 72px !important;
    min-width: 142px !important;
    object-fit: contain !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-header .brand > div {
    display: none;
  }

  .topbar-actions {
    grid-area: nav;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0;
    gap: 14px !important;
    align-items: center !important;
    padding: 0 !important;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .topbar-nav-cluster {
    grid-column: 2;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding: 7px;
    border-radius: 27px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
      rgba(8, 5, 22, 0.72);
    border: 1px solid rgba(148, 94, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 18px 38px rgba(0, 0, 0, 0.2);
  }

  .topbar-account-cluster {
    grid-column: 3;
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-left: 0 !important;
    justify-content: flex-end !important;
  }

  .topbar-admin-anchor {
    grid-column: 1;
    margin-right: 0;
  }

  .topbar-group {
    min-height: 0 !important;
    gap: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .topbar-submenu-trigger {
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 17px;
    color: rgba(249, 243, 255, 0.92) !important;
    background: transparent;
    border: 1px solid transparent;
  }

  .topbar-submenu[open] .topbar-submenu-trigger,
  .topbar-submenu-trigger:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(105, 229, 255, 0.2);
    color: #ffffff !important;
  }

  .topbar-group-label {
    font-size: 0.58rem !important;
    letter-spacing: 0.16em !important;
    color: rgba(180, 195, 225, 0.72) !important;
  }

  .topbar-submenu-title {
    font-size: 0.92rem !important;
    letter-spacing: 0.01em;
  }

  .topbar-submenu-menu {
    top: calc(100% + 12px) !important;
    min-width: 238px !important;
    padding: 10px !important;
    border-radius: 20px !important;
    background:
      linear-gradient(145deg, rgba(18, 12, 38, 0.98), rgba(8, 5, 22, 0.98)) !important;
    border-color: rgba(105, 229, 255, 0.18) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), 0 0 28px rgba(155, 72, 255, 0.16) !important;
  }

  .topbar-submenu-menu a {
    min-height: 38px !important;
    padding: 9px 11px !important;
    border-radius: 14px !important;
  }

  .topbar-group-utility {
    display: inline-flex;
    align-items: center;
    gap: 4px !important;
    padding-left: 6px !important;
  }

  .admin-entry-link {
    flex: 0 0 auto;
    margin-right: 4px;
  }

  .topbar-group-utility a,
  .topbar-group-visitor a {
    min-height: 40px !important;
    padding: 8px 10px !important;
    border-radius: 15px !important;
    color: rgba(249, 243, 255, 0.88) !important;
    font-weight: 800;
    white-space: nowrap;
  }

  .topbar-group-utility a:hover,
  .topbar-group-visitor a:hover {
    background: rgba(255, 255, 255, 0.075);
    color: #ffffff !important;
  }

  .user-summary-trigger .user-pill,
  .notification-pill,
  .browser-alert-button,
  .topbar-logout-form .ghost-button {
    min-height: 40px !important;
    border-radius: 17px !important;
    padding: 8px 12px !important;
    white-space: nowrap;
  }

  .user-pill {
    color: #fffaf0 !important;
    background: rgba(155, 72, 255, 0.14) !important;
    border: 1px solid rgba(155, 72, 255, 0.26) !important;
  }

  .notification-pill {
    color: #fffaf0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(105, 229, 255, 0.2) !important;
  }

  .browser-alert-button {
    color: rgba(249, 243, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .topbar-logout-form {
    margin-left: 0 !important;
  }

  .topbar-logout-form .ghost-button {
    color: #fff4f4 !important;
    background: rgba(255, 110, 110, 0.08) !important;
    border-color: rgba(255, 110, 110, 0.2) !important;
  }
}

@media (min-width: 981px) and (max-width: 2600px) {
  .site-header .topbar {
    grid-template-areas:
      "brand account"
      "nav nav" !important;
    gap: 12px 18px !important;
  }

  .topbar-actions {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
      "admin nav"
      "account account" !important;
    align-items: start !important;
  }

  .topbar-admin-anchor {
    grid-area: admin;
    align-self: start;
  }

  .topbar-nav-cluster {
    grid-area: nav;
    flex-wrap: wrap !important;
    row-gap: 8px !important;
    padding-right: 10px;
  }

  .topbar-account-cluster {
    grid-area: account;
    grid-column: auto !important;
    width: 100%;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    padding-left: 2px;
    row-gap: 8px;
  }

  .topbar-group-utility {
    flex-wrap: wrap;
    gap: 2px !important;
  }

  .topbar-group-utility a {
    padding: 8px 8px !important;
    font-size: 0.92rem;
  }

  .topbar-group-utility .nav-label-full {
    display: none;
  }

  .topbar-group-utility .nav-label-compact {
    display: inline;
  }

  .user-summary,
  .user-summary-trigger {
    min-width: 0;
  }

  .user-summary-trigger .user-pill {
    max-width: 200px;
  }
}

@media (max-width: 1180px) {
  .admin-priority-strip,
  .admin-summary-grid,
  .admin-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-control-room {
    padding: 18px 14px;
  }

  .admin-dashboard-nav,
  .admin-priority-strip,
  .admin-summary-grid,
  .admin-check-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-nav a {
    width: 100%;
    justify-content: center;
  }

  .admin-queue-card {
    grid-template-columns: 1fr;
  }
}

.seller-public-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(102, 240, 255, 0.28);
  background: rgba(18, 28, 52, 0.76);
  color: #9ff8ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.seller-identity-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.seller-identity-link:hover .seller-public-code-primary {
  border-color: rgba(140, 245, 255, 0.46);
  color: #d7fdff;
}

.seller-public-code-primary {
  background: rgba(18, 28, 52, 0.92);
  color: #c6fbff;
}

.seller-identity-secondary {
  color: rgba(238, 243, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.seller-identity-secondary-hero {
  margin-top: 10px;
  font-size: 0.96rem;
}

.seller-directory-code {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(102, 240, 255, 0.28);
  background: rgba(18, 28, 52, 0.84);
  color: #c6fbff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.seller-identity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.hero-offer-banner,
.hero-vote-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(121, 239, 255, 0.18);
  background: linear-gradient(135deg, rgba(16, 25, 48, 0.92), rgba(46, 24, 72, 0.9));
  box-shadow: 0 20px 50px rgba(8, 8, 20, 0.32);
}

.hero-offer-banner {
  border-color: rgba(255, 214, 126, 0.24);
  background: linear-gradient(135deg, rgba(44, 28, 14, 0.92), rgba(62, 26, 60, 0.88));
}

.hero-offer-copy,
.hero-vote-banner > div {
  display: grid;
  gap: 6px;
}

.hero-offer-copy strong,
.hero-vote-banner strong {
  color: #fff6df;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.hero-offer-copy .muted,
.hero-vote-banner .muted {
  margin: 0;
}

.vote-reward-hero .hero-copy {
  background:
    radial-gradient(circle at 14% 16%, rgba(59, 132, 255, 0.2), transparent 24%),
    radial-gradient(circle at 85% 78%, rgba(142, 76, 255, 0.22), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(33, 204, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(2, 5, 14, 0.995), rgba(8, 14, 31, 0.985) 42%, rgba(18, 13, 47, 0.97));
  border-color: rgba(114, 144, 255, 0.38);
  box-shadow:
    0 36px 96px rgba(1, 4, 12, 0.58),
    0 0 0 1px rgba(87, 131, 255, 0.08),
    inset 0 1px 0 rgba(184, 208, 255, 0.08);
}

.vote-reward-hero .hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 22%, rgba(87, 191, 255, 0.08), transparent 20%),
    linear-gradient(122deg, transparent 30%, rgba(139, 109, 255, 0.08) 54%, transparent 72%);
  opacity: 0.92;
}

.vote-reward-hero .hero-copy::after {
  width: 320px;
  height: 320px;
  inset: auto -110px -120px auto;
  background:
    radial-gradient(circle, rgba(114, 88, 255, 0.3) 0%, rgba(60, 205, 255, 0.16) 38%, transparent 72%);
  filter: blur(8px);
}

.vote-reward-hero .hero-copy-main,
.vote-reward-hero .vote-panel-card {
  position: relative;
  z-index: 1;
}

.vote-reward-hero .hero-copy,
.vote-reward-hero .hero-copy-main,
.vote-reward-hero .hero-copy h1,
.vote-reward-hero .hero-copy .hero-text,
.vote-reward-hero .hero-copy p,
.vote-reward-hero .hero-copy strong {
  color: #f3f7ff;
}

.vote-reward-hero .hero-copy .eyebrow {
  color: #9ab7ff;
}

.vote-reward-hero .hero-copy .boost-badge,
.vote-reward-hero .hero-copy .trusted-badge {
  box-shadow: 0 10px 24px rgba(5, 9, 21, 0.24);
}

.vote-reward-hero .hero-text,
.vote-reward-panel .muted,
.vote-rules-panel .feature-list,
.vote-link-card .muted {
  color: rgba(232, 239, 255, 0.88);
}

.vote-panel-card {
  background:
    radial-gradient(circle at 80% 16%, rgba(98, 139, 255, 0.16), transparent 24%),
    radial-gradient(circle at 24% 100%, rgba(56, 214, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(5, 10, 24, 0.98), rgba(12, 19, 40, 0.95) 54%, rgba(26, 17, 56, 0.94));
  border-color: rgba(112, 148, 255, 0.4);
  box-shadow:
    0 28px 64px rgba(2, 6, 15, 0.52),
    0 0 0 1px rgba(88, 126, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vote-panel-card h2 {
  color: #fbfcff;
  text-shadow: 0 1px 16px rgba(96, 117, 255, 0.18);
}

.vote-panel-line {
  color: rgba(223, 232, 255, 0.9);
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(7, 13, 27, 0.32);
}

.vote-panel-line strong {
  color: #ffffff;
  font-weight: 900;
}

.vote-reward-panel {
  background:
    radial-gradient(circle at 88% 88%, rgba(112, 74, 255, 0.14), transparent 24%),
    radial-gradient(circle at 12% 12%, rgba(52, 139, 255, 0.1), transparent 22%),
    linear-gradient(145deg, rgba(5, 9, 21, 0.985), rgba(11, 18, 38, 0.96) 48%, rgba(22, 14, 49, 0.95));
  border-color: rgba(111, 138, 244, 0.34);
  box-shadow:
    0 24px 60px rgba(3, 6, 16, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vote-reward-panel h2,
.vote-reward-panel strong {
  color: #fafcff;
}

.vote-link-card {
  border-color: rgba(114, 148, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.58), rgba(52, 31, 87, 0.36)),
    rgba(7, 13, 29, 0.92);
}

.vote-link-card strong {
  color: #e6f4ff;
}

.vote-action-primary,
.vote-action-secondary {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-inline: 22px;
  box-shadow:
    0 18px 38px rgba(6, 10, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vote-action-primary {
  color: #f6fbff;
  background:
    linear-gradient(135deg, rgba(38, 221, 255, 0.98), rgba(96, 126, 255, 0.96) 48%, rgba(233, 214, 128, 0.94));
  border: 1px solid rgba(180, 225, 255, 0.38);
  text-shadow: 0 1px 10px rgba(24, 45, 106, 0.34);
}

.vote-action-primary:hover {
  box-shadow:
    0 24px 46px rgba(27, 62, 149, 0.34),
    0 0 0 1px rgba(173, 220, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.vote-action-secondary {
  color: #edf6ff;
  background:
    linear-gradient(135deg, rgba(13, 22, 46, 0.98), rgba(30, 22, 64, 0.96));
  border: 1px solid rgba(104, 138, 235, 0.42);
}

.vote-action-secondary:hover {
  box-shadow:
    0 22px 40px rgba(12, 20, 42, 0.32),
    0 0 0 1px rgba(150, 184, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.seller-public-code-hero {
  margin-top: 8px;
  width: fit-content;
  background: rgba(18, 28, 52, 0.88);
  color: #c6fbff;
}

.listing-seller-line .seller-public-code {
  margin-left: 0;
}

.market-lock-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(116, 239, 201, 0.35);
  background: linear-gradient(135deg, rgba(34, 46, 70, 0.92), rgba(57, 55, 93, 0.9));
  box-shadow: 0 20px 45px rgba(5, 8, 20, 0.24);
}

.compact-lock-banner {
  margin-top: 1.25rem;
}

.guest-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(121, 151, 255, 0.35);
  background: rgba(32, 37, 59, 0.82);
  color: rgba(224, 231, 255, 0.94);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.market-locked-panel {
  margin-top: 1rem;
}

.support-reply-panel {
  border-width: 1px;
}

.support-reply-assistant {
  border-color: rgba(95, 210, 180, 0.34);
  box-shadow: 0 20px 45px rgba(24, 104, 90, 0.18);
}

.support-reply-escalated {
  border-color: rgba(236, 121, 121, 0.36);
  box-shadow: 0 20px 45px rgba(122, 36, 36, 0.18);
}

.support-reply-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-history-card {
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
}

.support-history-card strong,
.support-history-card p,
.support-history-card .muted,
.support-history-reply p,
.support-reply-panel p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.support-history-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-history-topline strong {
  flex: 1 1 220px;
  min-width: 0;
  color: #f6f0e4;
}

.support-history-topline .badge,
.support-reply-status-row .badge {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.support-history-reply {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(16, 25, 43, 0.34);
  border: 1px solid rgba(128, 176, 255, 0.16);
}

.support-history-reply .muted,
.support-reply-panel .muted {
  color: rgba(233, 240, 255, 0.84);
}

.support-reply-panel h2,
.support-history-card strong {
  color: #fff4e8;
}

.support-reply-panel .notice {
  margin: 0;
}

.support-status-open {
  background: rgba(255, 210, 122, 0.16);
  border-color: rgba(255, 210, 122, 0.34);
  color: rgba(255, 241, 212, 0.98);
}

.support-status-waiting {
  background: rgba(160, 136, 255, 0.16);
  border-color: rgba(160, 136, 255, 0.34);
  color: rgba(239, 232, 255, 0.98);
}

.support-status-assistant {
  background: rgba(92, 222, 190, 0.16);
  border-color: rgba(92, 222, 190, 0.34);
  color: rgba(229, 255, 246, 0.98);
}

.support-status-escalated {
  background: rgba(243, 116, 116, 0.16);
  border-color: rgba(243, 116, 116, 0.34);
  color: rgba(255, 228, 228, 0.99);
}

.support-status-closed {
  background: rgba(112, 192, 255, 0.16);
  border-color: rgba(112, 192, 255, 0.32);
  color: rgba(232, 245, 255, 0.98);
}

@media (max-width: 720px) {
  .seller-identity-link {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .hero-offer-banner,
  .hero-vote-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-offer-banner .primary-button,
  .hero-vote-banner .secondary-button {
    width: 100%;
  }

  .market-lock-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-history-topline,
  .support-reply-status-row {
    align-items: flex-start;
  }

  .admin-quick-actions {
    grid-template-columns: 1fr;
  }

  .admin-filter-shortcuts {
    justify-content: flex-start;
  }
}

.mission-board-panel {
  display: grid;
  gap: 24px;
}

.mission-locked-panel {
  margin-bottom: 4px;
}

.mission-summary-card {
  gap: 10px;
}

.mission-section-stack {
  display: grid;
  gap: 22px;
}

.mission-section-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(118, 100, 180, 0.38);
  background:
    linear-gradient(145deg, rgba(34, 40, 63, 0.92), rgba(61, 47, 92, 0.88)),
    radial-gradient(circle at top right, rgba(94, 220, 195, 0.18), transparent 50%);
  box-shadow: 0 20px 40px rgba(6, 4, 20, 0.32);
}

.mission-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

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

.mission-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(110, 218, 202, 0.22);
  background: linear-gradient(160deg, rgba(14, 33, 61, 0.9), rgba(44, 49, 83, 0.88));
}

.mission-card-locked {
  border-color: rgba(170, 140, 220, 0.22);
  background: linear-gradient(160deg, rgba(31, 27, 52, 0.88), rgba(44, 40, 70, 0.85));
}

.mission-card h3 {
  margin: 0;
  color: #fff5ea;
}

.mission-card-topline,
.mission-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mission-reward {
  color: #9be7d0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.mission-status-complete {
  color: #031311;
  background: linear-gradient(135deg, #63f3be, #9ef5d9);
  border-color: rgba(99, 243, 190, 0.5);
}

.mission-status-progress {
  color: #fff7ec;
  background: linear-gradient(135deg, rgba(56, 135, 249, 0.92), rgba(112, 212, 255, 0.82));
  border-color: rgba(112, 212, 255, 0.4);
}

.mission-status-idle {
  color: #d8d3f7;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(185, 173, 235, 0.28);
}

.mission-status-locked {
  color: #f3d4ff;
  background: rgba(121, 73, 173, 0.18);
  border-color: rgba(184, 127, 243, 0.3);
}

.mission-progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.mission-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #25f789, #52d4ff 60%, #f4df8c);
  box-shadow: 0 0 16px rgba(82, 212, 255, 0.35);
}

.mission-tip {
  margin: 0;
  color: #d0cbef;
}

.founder-launch-panel,
.trust-proof-panel {
  display: grid;
  gap: 22px;
}

.founder-launch-grid,
.trust-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
}

.founder-launch-copy,
.founder-seller-stack,
.trust-flow-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(112, 96, 180, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top right, rgba(90, 220, 255, 0.12), transparent 34%),
    rgba(15, 11, 33, 0.9);
}

.founder-launch-note {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

.founder-discord-promo {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(127, 224, 214, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.founder-discord-promo strong,
.founder-mini-header h3,
.trust-proof-card h3,
.trust-flow-card h3,
.recent-trade-card strong,
.founder-seller-card strong {
  color: #fff7ee;
}

.founder-mini-header {
  margin: 0;
}

.founder-seller-stack {
  align-content: start;
}

.founder-seller-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(118, 100, 180, 0.28);
  background: linear-gradient(155deg, rgba(16, 30, 56, 0.88), rgba(45, 39, 76, 0.84));
}

.founder-seller-empty {
  align-items: start;
}

.founder-seller-topline,
.founder-seller-meta,
.founder-seller-stats,
.recent-trade-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.founder-seller-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-seller-identity .seller-identity-link {
  gap: 4px;
}

.founder-seller-stats span {
  color: rgba(225, 231, 248, 0.88);
  font-size: 0.94rem;
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-proof-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(114, 101, 184, 0.24);
  background:
    linear-gradient(155deg, rgba(10, 31, 56, 0.88), rgba(50, 41, 82, 0.84)),
    radial-gradient(circle at top right, rgba(81, 250, 212, 0.12), transparent 30%);
}

.trust-proof-card .muted,
.trust-flow-card .muted,
.founder-launch-copy .muted,
.founder-seller-card .muted,
.recent-trade-card .muted {
  color: rgba(226, 231, 248, 0.88);
}

.trust-flow-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(241, 244, 255, 0.92);
  display: grid;
  gap: 10px;
}

.recent-trade-stack {
  display: grid;
  gap: 12px;
}

.recent-trade-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(127, 224, 214, 0.22);
  background: linear-gradient(145deg, rgba(14, 28, 52, 0.9), rgba(37, 47, 76, 0.86));
  color: inherit;
  text-decoration: none;
}

.recent-trade-card:hover,
.recent-trade-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(127, 224, 214, 0.42);
  box-shadow: 0 14px 28px rgba(5, 10, 24, 0.24);
}

.buyer-request-hero .hero-copy {
  background:
    radial-gradient(circle at 12% 18%, rgba(92, 231, 209, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(16, 20, 41, 0.94), rgba(42, 26, 68, 0.92));
}

.buyer-request-page {
  align-items: flex-start;
}

.buyer-request-board-panel,
.buyer-request-create-panel,
.buyer-request-side-panel {
  display: grid;
  gap: 18px;
}

.buyer-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.buyer-request-card {
  display: grid;
  gap: 13px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(113, 228, 210, 0.26);
  background:
    radial-gradient(circle at top right, rgba(74, 213, 255, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(13, 29, 53, 0.94), rgba(48, 36, 77, 0.9));
  box-shadow: 0 18px 36px rgba(5, 8, 20, 0.28);
}

.buyer-request-card h3 {
  margin: 0;
  color: #fff5df;
}

.buyer-request-card p {
  margin: 0;
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.55;
}

.buyer-request-topline,
.buyer-request-meta,
.buyer-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.buyer-request-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 172, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(225, 236, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 800;
}

.buyer-request-actions form {
  margin: 0;
}

.seller-request-offer {
  position: relative;
  flex: 1 1 240px;
}

.seller-request-offer summary {
  list-style: none;
  cursor: pointer;
}

.seller-request-offer summary::-webkit-details-marker {
  display: none;
}

.seller-request-offer-form {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(113, 228, 210, 0.22);
  background: rgba(8, 15, 31, 0.72);
}

.buyer-request-empty {
  color: #fff6e8;
}

.compact-panel-header {
  gap: 12px;
  align-items: flex-start;
}

.home-request-stack {
  display: grid;
  gap: 10px;
}

.home-request-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(113, 228, 210, 0.22);
  background: linear-gradient(145deg, rgba(14, 29, 52, 0.86), rgba(48, 38, 78, 0.82));
  color: inherit;
  text-decoration: none;
}

.home-request-card strong {
  color: #fff5df;
}

.home-request-card .muted {
  color: rgba(230, 237, 255, 0.86);
}

.trade-room-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.trade-room-step {
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(130, 145, 190, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(220, 228, 248, 0.72);
}

.trade-room-step span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(235, 240, 255, 0.86);
  font-weight: 900;
}

.trade-room-step strong {
  color: rgba(242, 244, 255, 0.9);
}

.trade-room-step small {
  color: rgba(220, 231, 255, 0.74);
  line-height: 1.35;
}

.trade-room-step.is-active {
  border-color: rgba(89, 238, 199, 0.42);
  background:
    radial-gradient(circle at top right, rgba(89, 238, 199, 0.15), transparent 42%),
    linear-gradient(145deg, rgba(18, 49, 70, 0.9), rgba(55, 43, 88, 0.84));
  box-shadow: 0 14px 28px rgba(13, 74, 68, 0.16);
}

.trade-room-step.is-active span {
  background: linear-gradient(135deg, #29f3a8, #55d7ff);
  color: #061320;
}

.safe-trade-checklist {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 213, 124, 0.28);
  background:
    radial-gradient(circle at right, rgba(255, 200, 92, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.06);
}

.safe-trade-checklist strong {
  color: #fff4d2;
}

.safe-trade-checklist ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(239, 243, 255, 0.9);
}

@media (max-width: 980px) {
  .trade-room-flow,
  .buyer-request-grid {
    grid-template-columns: 1fr;
  }

  .trade-room-step {
    min-height: auto;
  }
}

/* Final readability pass for missions and admin. */
.mission-hero .premium-signal-card.mission-summary-card {
  color: #fff8ee;
  background:
    linear-gradient(150deg, rgba(15, 27, 52, 0.96), rgba(53, 40, 86, 0.94)),
    radial-gradient(circle at top right, rgba(87, 246, 214, 0.2), transparent 34%);
  border-color: rgba(110, 226, 213, 0.36);
  box-shadow: 0 22px 44px rgba(5, 9, 24, 0.34);
}

.mission-summary-card h2,
.mission-section-card h2 {
  color: #fff9f0;
}

.mission-summary-card .muted {
  color: rgba(238, 241, 255, 0.94) !important;
  font-size: 1rem;
  line-height: 1.52;
}

.mission-summary-card .muted strong {
  color: #fff8d7;
  font-weight: 900;
}

.mission-section-card .panel-label {
  color: rgba(160, 231, 255, 0.9);
}

.mission-section-card .muted,
.mission-card .muted {
  color: rgba(229, 233, 248, 0.9);
}

.mission-card .badge {
  color: #fff7eb;
  border-color: rgba(126, 221, 211, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.mission-progress-meta strong {
  color: #fff8de;
  font-size: 1rem;
}

.mission-progress-meta span {
  color: rgba(209, 241, 255, 0.96);
  font-weight: 800;
}

.mission-tip {
  color: #f3dc9f;
}

.admin-control-room .panel-label,
.admin-control-room .eyebrow {
  color: rgba(182, 233, 255, 0.92);
}

.admin-control-room .muted {
  color: rgba(231, 236, 252, 0.9);
}

.admin-control-room .nested-panel .muted,
.admin-control-room .admin-check-card p,
.admin-control-room .admin-queue-card .muted,
.admin-control-room .admin-support-card .muted,
.admin-control-room .admin-stat-card .muted {
  color: #3a6288 !important;
}

.admin-dashboard-nav a {
  color: #f7f3ea;
  font-weight: 800;
}

.admin-dashboard-nav a:hover,
.admin-dashboard-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(124, 242, 227, 0.34);
}

.admin-approval-grid,
.admin-search-grid {
  position: relative;
  padding-top: 14px;
}

.admin-approval-grid::before,
.admin-search-grid::before {
  position: absolute;
  top: -2px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.admin-approval-grid::before {
  content: "Approval work";
  background: linear-gradient(135deg, rgba(255, 219, 133, 0.94), rgba(255, 157, 83, 0.9));
  color: #1a1d28;
}

.admin-search-grid::before {
  content: "Management and search";
  background: linear-gradient(135deg, rgba(125, 222, 255, 0.94), rgba(129, 255, 198, 0.9));
  color: #081521;
}

.admin-quick-action-card p,
.admin-priority-card .muted {
  color: rgba(240, 244, 255, 0.92);
}

.admin-focus-panel .panel-header h2,
.admin-focus-panel .admin-card-topline strong,
.admin-queue-copy strong,
.admin-verification-panel strong,
.admin-check-card strong {
  color: #051120;
}

.admin-focus-panel .secondary-button,
.admin-focus-panel .primary-button,
.admin-focus-panel .ghost-button {
  font-weight: 800;
}

.admin-folder summary {
  color: #fff8ef;
}

.admin-folder summary .muted,
.admin-folder-meta,
.admin-folder-body .muted {
  color: rgba(232, 237, 251, 0.9);
}

/* Seller storefront, proof feed and share-card polish. */
.vendor-storefront-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin: 22px 0;
}

.vendor-safety-score-card,
.listing-safety-card,
.discord-share-card,
.vendor-safety-signal,
.vendor-proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(118, 238, 217, 0.2);
  background:
    radial-gradient(circle at 18% 12%, rgba(93, 229, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(16, 25, 45, 0.94), rgba(36, 23, 58, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
  color: #f8fbff;
}

.vendor-safety-score-card,
.listing-safety-card,
.discord-share-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border-radius: 24px;
}

.vendor-safety-score-card h2,
.discord-share-card h3,
.listing-safety-card > span {
  margin: 0;
  color: #fff7dd;
  text-shadow: 0 0 18px rgba(255, 207, 110, 0.22);
}

.vendor-safety-score-card .muted,
.listing-safety-card .muted,
.discord-share-card .muted,
.vendor-proof-card .muted {
  color: rgba(226, 237, 255, 0.84) !important;
}

.vendor-safety-score-ring,
.listing-safety-score-ring {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: start;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(15, 22, 38, 0.96) 0 58%, transparent 59%),
    conic-gradient(from -90deg, #32ffc8 var(--score, 70%), rgba(255, 255, 255, 0.1) 0);
  border: 1px solid rgba(118, 238, 217, 0.42);
  box-shadow: 0 0 34px rgba(50, 255, 200, 0.22), inset 0 0 28px rgba(141, 124, 255, 0.16);
}

.listing-safety-score-ring {
  width: 106px;
}

.vendor-safety-score-ring strong,
.listing-safety-score-ring strong {
  color: #ffffff !important;
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(80, 240, 255, 0.46);
}

.listing-safety-score-ring strong {
  font-size: 1.45rem;
}

.vendor-safety-score-ring span,
.listing-safety-score-ring span {
  color: rgba(221, 232, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: -42px;
}

.vendor-safety-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vendor-safety-signal {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
}

.vendor-safety-signal span {
  color: rgba(214, 229, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vendor-safety-signal strong {
  color: #ffffff !important;
  font-size: 1rem;
}

.safety-signal-good {
  border-color: rgba(69, 245, 177, 0.34);
  background:
    radial-gradient(circle at top right, rgba(69, 245, 177, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(9, 35, 33, 0.92), rgba(27, 30, 55, 0.9));
}

.safety-signal-warn {
  border-color: rgba(255, 198, 91, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 198, 91, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(47, 33, 17, 0.92), rgba(30, 25, 48, 0.9));
}

.safety-signal-neutral {
  border-color: rgba(142, 159, 204, 0.26);
}

.listing-trust-share-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.discord-share-card textarea {
  min-height: 142px;
  resize: vertical;
  border: 1px solid rgba(126, 242, 227, 0.28);
  border-radius: 18px;
  background: rgba(4, 9, 20, 0.72);
  color: #eff8ff;
  padding: 14px;
  line-height: 1.55;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.24);
}

.compact-share-card {
  padding: 14px;
}

.compact-share-card textarea {
  min-height: 96px;
}

.listing-share-details {
  position: relative;
  z-index: 3;
}

.listing-share-details summary {
  cursor: pointer;
  list-style: none;
}

.listing-share-details summary::-webkit-details-marker {
  display: none;
}

.listing-share-details .discord-share-card {
  margin-top: 10px;
}

.vendor-proof-feed {
  gap: 12px;
}

.vendor-proof-card {
  display: grid;
  gap: 8px;
  border-radius: 18px;
}

.vendor-proof-card strong {
  color: #fff8ef !important;
}

@media (max-width: 900px) {
  .vendor-storefront-panel,
  .listing-trust-share-grid {
    grid-template-columns: 1fr;
  }

  .vendor-safety-signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-scene-cast {
    right: -10%;
    width: min(62vw, 390px);
    max-width: 88%;
    object-position: center 35%;
    clip-path: inset(14px 0 48px 0 round 22px);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .mission-section-card,
  .mission-card {
    padding: 18px;
  }

  .mission-card-topline,
  .mission-progress-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .market-pulse-stage::before {
    width: 60%;
    opacity: 0.55;
  }

  .hero-scene-cast {
    right: -12%;
    bottom: -1%;
    width: min(82vw, 300px);
    max-width: 92%;
    object-position: center 35%;
    clip-path: inset(12px 0 44px 0 round 18px);
    opacity: 0.68;
  }

  .topbar-admin-anchor {
    width: 100%;
  }

  .admin-entry-link {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 18px;
  }

  .founder-launch-grid,
  .trust-flow-grid,
  .trust-proof-grid {
    grid-template-columns: 1fr;
  }

  .founder-launch-copy,
  .founder-seller-stack,
  .trust-flow-card,
  .trust-proof-card {
    padding: 18px;
    border-radius: 22px;
  }

  .recent-trade-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px 16px;
  }

  .hero .hero-copy {
    padding: 22px 18px;
  }

  .hero .hero-text {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero:not(.premium-hero) .compact-hero-badges,
  .hero:not(.premium-hero) .stats-grid {
    display: none;
  }

  .hero-character-knight,
  .hero-character-guardian {
    display: none;
  }

  .hero-character-mage {
    right: 6%;
    bottom: 6%;
    width: min(58vw, 280px);
    max-width: 62%;
  }

  .hero-character-elf {
    left: 3%;
    top: 6%;
    width: min(26vw, 120px);
  }

  .hero-character-gladiator {
    right: -1%;
    bottom: 1%;
    width: min(28vw, 132px);
  }

  .hero-offer-banner,
  .premium-countdown-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .premium-hero-actions {
    gap: 10px;
  }

  .premium-hero-actions .primary-button,
  .premium-hero-actions .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .home-market-first {
    gap: 14px;
  }

  .home-market-side-panel .feature-list {
    gap: 8px;
  }

  .founder-launch-panel .panel-header .muted,
  .trust-proof-panel .panel-header .muted,
  .vip-home-promo-panel .panel-header .muted {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .premium-flow-badges .trust-card:nth-child(3) {
    display: none;
  }

  .mission-hero .hero-layout {
    gap: 16px;
  }

  .mission-summary-card {
    padding: 18px;
    border-radius: 24px;
  }

  .mission-summary-card .badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .mission-summary-card h2 {
    font-size: 1.35rem;
  }

  .mission-summary-card .muted {
    font-size: 0.98rem;
  }

  .mission-section-card h2 {
    font-size: 1.32rem;
  }

  .mission-card h3 {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .mission-reward,
  .mission-status,
  .mission-card .badge {
    font-size: 0.76rem;
  }

  .admin-control-room {
    gap: 16px;
  }

  .admin-dashboard-nav {
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }

  .admin-dashboard-nav a {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .admin-nav-badge {
    min-width: 24px;
    min-height: 24px;
  }

  .admin-quick-action-card,
  .admin-priority-card,
  .admin-stat-card,
  .admin-check-card,
  .admin-focus-panel,
  .admin-queue-card {
    border-radius: 20px;
  }

  .admin-quick-action-card,
  .admin-priority-card,
  .admin-stat-card,
  .admin-check-card {
    padding: 16px;
  }

  .admin-priority-card strong,
  .admin-summary-grid .admin-stat-card strong {
    font-size: 1.7rem;
  }

  .admin-check-card span {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .admin-queue-copy strong {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .admin-queue-card .stack-actions {
    gap: 10px;
  }

  .admin-focus-panel .secondary-button,
  .admin-focus-panel .primary-button,
  .admin-focus-panel .ghost-button {
    min-height: 44px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .founder-seller-identity {
    align-items: flex-start;
  }

  .founder-seller-topline,
  .founder-seller-meta,
  .founder-seller-stats,
  .recent-trade-meta {
    gap: 8px;
  }

  .mission-summary-card {
    gap: 8px;
    padding: 16px;
  }

  .mission-summary-card h2,
  .mission-section-card h2 {
    font-size: 1.22rem;
  }

  .mission-summary-card .muted,
  .mission-card .muted,
  .mission-tip {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .mission-card-topline {
    gap: 8px;
  }

  .mission-status {
    min-height: 30px;
    padding: 0 10px;
  }

  .mission-progress-track {
    height: 12px;
  }

  .admin-control-room {
    padding: 16px 12px;
  }

  .admin-control-room > .panel-header h1 {
    font-size: 1.6rem;
  }

  .admin-dashboard-nav a {
    font-size: 0.9rem;
  }

  .admin-quick-action-card,
  .admin-priority-card,
  .admin-stat-card,
  .admin-check-card,
  .admin-focus-panel,
  .admin-queue-card {
    padding: 14px;
  }

  .admin-priority-card strong,
  .admin-summary-grid .admin-stat-card strong {
    font-size: 1.5rem;
  }

  .admin-queue-card .stack-actions {
    padding: 10px;
  }

  .admin-focus-panel .secondary-button,
  .admin-focus-panel .primary-button,
  .admin-focus-panel .ghost-button {
    min-height: 42px;
  }
}

/* Launch readiness pass: clearer trust copy, safer trade desk and stronger contrast. */
.launch-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.launch-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(116, 239, 201, 0.3);
  background:
    radial-gradient(circle at 20% 10%, rgba(116, 239, 201, 0.16), transparent 42%),
    rgba(13, 24, 45, 0.82);
  color: #eefcff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.trade-desk-intro {
  max-width: 74ch;
  margin: 8px 0 0;
  color: #eef6ff;
  font-weight: 800;
  line-height: 1.6;
}

.trade-desk-panel .safe-trade-checklist {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 213, 124, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(27, 29, 50, 0.96), rgba(36, 26, 55, 0.94));
  border-color: rgba(255, 218, 136, 0.42);
}

.trade-room-step {
  color: #e8efff;
}

.trade-room-step small,
.safe-trade-checklist li {
  color: rgba(244, 248, 255, 0.92);
}

.compact-offer-card,
.trade-desk-chat .stack-list > .mini-card,
.live-message-list .mini-card,
.offer-entry,
.history-entry {
  color: #f8fbff;
}

.compact-offer-card p:not(.muted),
.trade-desk-chat .mini-card p:not(.muted),
.live-message-list .mini-card p:not(.muted),
.offer-entry p:not(.muted),
.history-entry p:not(.muted) {
  color: #f7fbff;
}

.compact-offer-card .muted,
.trade-desk-chat .mini-card .muted,
.live-message-list .mini-card .muted,
.offer-entry .muted,
.history-entry .muted,
.offers-summary-note,
.offers-empty-copy {
  color: rgba(222, 233, 255, 0.9) !important;
}

.listing-card .listing-description,
.listing-detail-description,
.listing-card .seller-identity-secondary,
.listing-card .muted,
.listing-detail-stats .listing-stat-chip {
  color: rgba(237, 244, 255, 0.9);
}

.listing-card h3,
.listing-card .listing-seller-signal,
.listing-detail-signal {
  color: #fff8ed;
}

.listing-stat-chip {
  border-color: rgba(117, 220, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(17, 31, 55, 0.72), rgba(47, 37, 71, 0.62));
  color: rgba(239, 247, 255, 0.94);
}

.listing-stat-chip strong {
  color: #8cf6ff;
}

.admin-entry-link-hot {
  border-color: rgba(255, 213, 124, 0.48);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 213, 124, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(42, 31, 50, 0.96), rgba(23, 35, 58, 0.94));
  box-shadow: 0 0 0 1px rgba(255, 213, 124, 0.12), 0 18px 36px rgba(0, 0, 0, 0.22);
}

.admin-control-room .nested-panel,
.admin-focus-panel,
.admin-queue-card,
.admin-check-card,
.admin-support-card {
  color: #061321;
}

.admin-control-room .nested-panel .muted,
.admin-control-room .admin-check-card p,
.admin-control-room .admin-queue-card .muted,
.admin-control-room .admin-support-card .muted,
.admin-control-room .admin-stat-card .muted {
  color: #294b70 !important;
}

.admin-dashboard-nav a {
  min-height: 46px;
}

.admin-priority-card-link {
  border-color: rgba(255, 218, 136, 0.5);
}

.support-history-card,
.support-reply-panel {
  color: #f8fbff;
}

.support-history-card .muted,
.support-reply-panel .muted {
  color: rgba(226, 236, 255, 0.9) !important;
}

@media (max-width: 720px) {
  .launch-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trade-desk-intro {
    font-size: 0.95rem;
  }

  .listing-stat-chip {
    width: 100%;
  }
}
