:root {
  --navy: #071a33;
  --navy-2: #102846;
  --blue: #1267e8;
  --cyan: #2bb8d8;
  --mint: #2eb77f;
  --amber: #f5a524;
  --ink: #13233a;
  --muted: #62748d;
  --soft: #f4f8fd;
  --soft-2: #eaf2fb;
  --line: #d9e5f2;
  --card: rgba(255, 255, 255, .86);
  --shadow: 0 18px 48px rgba(7, 26, 51, .12);
  --shadow-soft: 0 10px 30px rgba(7, 26, 51, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 248, 253, .92), rgba(255, 255, 255, 1) 360px),
    #fff;
  font-feature-settings: "kern";
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

main {
  position: relative;
  z-index: 1;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(18, 103, 232, .08), transparent 32%),
    linear-gradient(245deg, rgba(43, 184, 216, .1), transparent 38%),
    linear-gradient(180deg, #ffffff, #f7fbff 42%, #ffffff);
}

.app-navbar {
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255, 255, 255, .84) !important;
  box-shadow: 0 8px 24px rgba(7, 26, 51, .06);
  transition: box-shadow .24s ease, background .24s ease;
}

.app-navbar.is-scrolled {
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 14px 34px rgba(7, 26, 51, .11);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(190px, 20vw, 260px);
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  color: var(--navy);
  letter-spacing: 0;
}

.nav-link {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  padding-inline: 12px !important;
}

.nav-link:hover {
  color: var(--blue);
  background: rgba(18, 103, 232, .08);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0b4fc4);
  border-color: #0e5ed8;
  box-shadow: 0 12px 28px rgba(18, 103, 232, .24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2478f0, #0e58d0);
}

.btn-outline-primary {
  color: var(--blue);
  border-color: rgba(18, 103, 232, .38);
  background: rgba(255, 255, 255, .72);
}

.btn-outline-primary:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 26, 51, .15);
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(18, 103, 232, .62);
  box-shadow: 0 0 0 .24rem rgba(18, 103, 232, .12);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 229, 242, .72);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .92), rgba(239, 247, 255, .92) 52%, rgba(255, 255, 255, .86)),
    linear-gradient(135deg, #f7fbff, #e7f1fe);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .46;
  background-image:
    linear-gradient(rgba(18, 103, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 103, 232, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0, transparent 78%);
  animation: gridFloat 16s linear infinite;
}

.hero-inner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  background: rgba(18, 103, 232, .1);
  border: 1px solid rgba(18, 103, 232, .16);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(46, 183, 127, .14);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: 1;
  color: var(--navy);
  max-width: 860px;
  letter-spacing: 0;
  animation: riseIn .7s ease both;
}

.hero p {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 690px;
  margin-top: 18px;
  animation: riseIn .7s ease .08s both;
}

.hero-search,
.save-search,
.search-row {
  display: flex;
  gap: 10px;
}

.hero-search {
  margin-top: 28px;
  padding: 8px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(217, 229, 242, .78);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  animation: riseIn .7s ease .16s both;
}

.hero-search .form-control {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-showcase {
  position: relative;
  min-height: 420px;
  animation: floatIn .8s ease .14s both;
}

.showcase-card,
.hero-panel,
.filter-panel,
.sticky-panel,
.form-card,
.side-panel {
  border: 1px solid rgba(217, 229, 242, .78);
  border-radius: 8px;
  padding: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.showcase-main {
  position: relative;
  min-height: 285px;
  display: grid;
  align-content: end;
  gap: 14px;
  overflow: hidden;
}

.showcase-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(7, 26, 51, .72)),
    linear-gradient(135deg, rgba(18, 103, 232, .18), rgba(43, 184, 216, .12));
  pointer-events: none;
}

.showcase-main > div {
  position: relative;
  z-index: 1;
}

.showcase-main strong,
.showcase-main span {
  display: block;
  color: #fff;
}

.showcase-main span {
  color: rgba(255, 255, 255, .78);
}

.showcase-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #09213c;
}

.showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.04);
  animation: heroImageDrift 14s ease-in-out infinite alternate;
}

.scale {
  position: absolute;
  width: 150px;
  height: 110px;
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.78) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 62%, rgba(255,255,255,.48) 0 7px, transparent 8px),
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.18));
  animation: swim 8s ease-in-out infinite;
}

.scale-one {
  top: 42px;
  left: 38px;
}

.scale-two {
  top: 96px;
  right: 34px;
  transform: scale(.82) rotate(18deg);
  animation-delay: -2.4s;
}

.scale-three {
  bottom: 76px;
  left: 120px;
  transform: scale(.7) rotate(-10deg);
  animation-delay: -4s;
}

.hero-panel {
  position: absolute;
  right: 24px;
  bottom: -34px;
  width: min(92%, 390px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  box-shadow: 0 20px 48px rgba(7, 26, 51, .16);
}

.community-highlight {
  position: absolute;
  right: 26px;
  bottom: -75px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(18, 103, 232, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  box-shadow: 0 6px 16px rgba(7, 26, 51, .04);
  font-size: .76rem;
  backdrop-filter: blur(8px);
}

.community-highlight > span:nth-child(2) {
  display: grid;
  line-height: 1.15;
}

.community-highlight small {
  font-size: .64rem;
}

.community-highlight strong {
  color: var(--navy);
  font-size: .8rem;
}

.community-highlight-mark {
  color: var(--blue);
  opacity: .65;
}

.community-highlight-score {
  padding-left: 8px;
  border-left: 1px solid rgba(18, 103, 232, .12);
  white-space: nowrap;
}

.stat,
.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244, 248, 253, .96), rgba(255, 255, 255, .92));
  border: 1px solid rgba(217, 229, 242, .78);
  border-radius: 8px;
  padding: 18px;
}

.stat::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: sheen 5s ease-in-out infinite;
}

.stat span,
.stat-card span {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--blue);
}

.stat small,
.stat-card small {
  color: var(--muted);
  font-weight: 700;
}

.section-title,
.store-header,
.thread-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title h1,
.section-title h2 {
  color: var(--navy);
}

.band,
.footer {
  background:
    linear-gradient(180deg, rgba(244, 248, 253, .92), rgba(255, 255, 255, .96));
}

.grid-cards,
.listing-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.item-card,
.listing-card {
  position: relative;
  border-radius: 8px;
  border-color: rgba(217, 229, 242, .84);
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(7, 26, 51, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.item-card:hover,
.listing-card:hover,
.soft-row:hover,
.thread-row:hover,
.forum-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(7, 26, 51, .12);
  border-color: rgba(18, 103, 232, .26);
}

.item-card {
  padding: 20px;
  color: var(--ink);
}

.item-card > img,
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.article-cover {
  box-shadow: var(--shadow-soft);
}

.item-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .24s ease;
}

.item-card:hover::after {
  transform: scaleX(1);
}

.item-card span,
.soft-row span,
.thread-row span,
.forum-category span {
  color: var(--muted);
}

.listing-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.listing-image img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.listing-card:hover .listing-image img {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.listing-card h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}

.listing-card .card-body {
  padding: 16px;
}

.image-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(18, 103, 232, .13), rgba(46, 183, 127, .12)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.42) 0 8px, rgba(255,255,255,.1) 8px 16px);
  color: var(--navy);
  font-weight: 900;
}

.image-placeholder.tall {
  min-height: 420px;
}

.seller-line,
.flags,
.report-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.verified {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(46, 183, 127, .12);
  color: #116c43;
  border: 1px solid rgba(46, 183, 127, .2);
  font-size: .8rem;
  font-weight: 800;
}

.badge-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.role-badge,
.featured-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: .75rem;
  font-weight: 900;
  border: 1px solid transparent;
}

.badge-verified {
  color: #116c43;
  background: rgba(46, 183, 127, .12);
  border-color: rgba(46, 183, 127, .22);
}

.badge-premium {
  color: #0f5bd8;
  background: rgba(18, 103, 232, .1);
  border-color: rgba(18, 103, 232, .22);
}

.badge-pro {
  color: #6d3a00;
  background: rgba(245, 165, 36, .16);
  border-color: rgba(245, 165, 36, .34);
}

.badge-admin {
  color: #7f1d1d;
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .24);
}

.badge-moderator {
  color: #4c1d95;
  background: rgba(139, 92, 246, .12);
  border-color: rgba(139, 92, 246, .24);
}

.featured-badge {
  color: #392300;
  background: linear-gradient(135deg, #ffd27a, var(--amber));
  border-color: rgba(245, 165, 36, .34);
}

.listing-actions-mini {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.icon-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 850;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filters span {
  border: 1px solid rgba(18, 103, 232, .2);
  border-radius: 999px;
  background: rgba(18, 103, 232, .08);
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  padding: 6px 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gallery img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}

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

.listing-gallery img,
.listing-gallery .image-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 420px;
  border: 1px solid rgba(217, 229, 242, .84);
  background-color: #fff;
}

.content-panel {
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(7, 26, 51, .05);
  padding: 22px;
}

.listing-summary {
  padding: 22px;
  overflow: hidden;
}

.listing-summary::before {
  content: "";
  display: block;
  height: 4px;
  margin: -22px -22px 18px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
}

.summary-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-active {
  color: #0f5bd8;
  background: rgba(18, 103, 232, .12);
  border: 1px solid rgba(18, 103, 232, .22);
}

.status-reserved {
  color: #946200;
  background: rgba(245, 165, 36, .14);
  border: 1px solid rgba(245, 165, 36, .26);
}

.status-sold,
.status-rejected {
  color: #9f1239;
  background: rgba(225, 29, 72, .1);
  border: 1px solid rgba(225, 29, 72, .2);
}

.status-pending {
  color: #475569;
  background: rgba(100, 116, 139, .12);
  border: 1px solid rgba(100, 116, 139, .22);
}

.summary-code {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.listing-summary h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 8px;
}

.summary-meta {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}

.price-block {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(18, 103, 232, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 103, 232, .09), rgba(43, 184, 216, .08)),
    #fff;
  padding: 16px;
  margin-bottom: 18px;
}

.price-block span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-block strong {
  color: var(--blue);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1;
  font-weight: 950;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  margin: 12px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.detail-grid dt {
  color: var(--muted);
}

.modern-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.detail-item {
  min-width: 0;
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(248, 251, 255, .72);
  padding: 12px;
}

.detail-item dt {
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-item dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.seller-box,
.soft-row,
.thread-row,
.forum-category,
.forum-post,
.post-body {
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(7, 26, 51, .05);
}

.seller-card-modern {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 103, 232, .14), rgba(46, 183, 127, .14));
  color: var(--blue);
  font-weight: 900;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

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

.seller-info > span:not(.verified) {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.report-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.soft-row,
.thread-row,
.forum-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.filter-panel,
.sticky-panel {
  position: sticky;
  top: 86px;
}

.store-cover {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(7, 26, 51, .76), rgba(18, 103, 232, .35)),
    linear-gradient(120deg, #dcecff, #f8fbff);
  background-size: cover;
  background-position: center;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(244, 248, 253, .92);
  color: var(--navy);
  font-weight: 700;
  border: 1px solid transparent;
}

.side-nav a:hover {
  background: #fff;
  border-color: rgba(18, 103, 232, .18);
  transform: translateX(3px);
}

.chat-box {
  display: grid;
  gap: 10px;
}

.message {
  max-width: 80%;
  border-radius: 8px;
  background: var(--soft);
  padding: 12px;
  box-shadow: 0 8px 18px rgba(7, 26, 51, .05);
}

.message.mine {
  justify-self: end;
  background: linear-gradient(135deg, #e8f1ff, #f2fbff);
}

.message-photo {
  display: block;
  width: min(100%, 420px);
  max-height: 420px;
  margin: 8px 0;
  border-radius: 8px;
  object-fit: cover;
}

.side-panel {
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.side-panel h2 {
  font-size: 1.05rem;
}

.side-panel a,
.side-panel span {
  display: block;
  padding: 7px 0;
}

.trust-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--navy), #123d68 62%, #0d614f);
  color: #fff;
  padding: 34px 0;
}

.trust-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .3;
  animation: gridFloat 20s linear infinite;
}

.trust-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.narrow {
  max-width: 760px;
}

.wide {
  max-width: 1120px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

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

.fade {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s ease, transform .4s ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gridFloat {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 44px 44px;
  }
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.04) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.5%, -1%, 0);
  }
}

@keyframes swim {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes sheen {
  0%,
  70% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 991px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .save-search,
  .search-row,
  .section-title,
  .store-header,
  .thread-head,
  .trust-band .container {
    flex-direction: column;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 72px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .community-highlight {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .filter-panel,
  .sticky-panel {
    position: static;
  }
}

@media (max-width: 575px) {
  .hero-search {
    display: grid;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .soft-row,
  .thread-row,
  .forum-category {
    align-items: flex-start;
    flex-direction: column;
  }

  .message {
    max-width: 94%;
  }

  .modern-detail-grid {
    grid-template-columns: 1fr;
  }

  .seller-card-modern {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .seller-card-modern .btn {
    grid-column: 1 / -1;
  }

  .report-box {
    grid-template-columns: 1fr;
  }

  .listing-gallery img,
  .listing-gallery .image-placeholder {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Site-wide modern polish */
body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.container {
  --bs-gutter-x: 1.25rem;
}

.app-navbar {
  border-bottom-color: rgba(217, 229, 242, .72) !important;
}

.app-navbar .container {
  min-height: 64px;
}

.navbar-nav {
  gap: 4px;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.navbar-toggler {
  border-radius: 8px;
  border-color: rgba(217, 229, 242, .9);
}

.dropdown-menu {
  border: 1px solid rgba(217, 229, 242, .9);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 26, 51, .13);
  padding: 8px;
}

.dropdown-item {
  border-radius: 8px;
  font-weight: 700;
  color: var(--ink);
}

.dropdown-item:hover {
  color: var(--blue);
  background: rgba(18, 103, 232, .08);
}

.alert {
  border: 1px solid rgba(217, 229, 242, .9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.section-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 229, 242, .72);
}

.section-title h1,
.section-title h2,
.thread-head h1,
.store-header h1 {
  letter-spacing: 0;
  font-weight: 900;
}

.section-title span,
.store-header span,
.thread-head p {
  color: var(--muted);
  font-weight: 700;
}

.search-row,
.save-search {
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(7, 26, 51, .06);
  backdrop-filter: blur(16px);
}

.search-row .form-control,
.search-row .form-select,
.save-search .form-control {
  min-height: 44px;
}

.filter-panel {
  padding: 18px;
}

.filter-panel .form-label {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 900;
}

.filter-panel .form-check {
  min-height: 28px;
  padding-left: 1.65rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 650;
}

.filter-panel .form-check-input {
  margin-top: .25rem;
  border-color: rgba(98, 116, 141, .34);
}

.filter-panel .form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.listing-grid {
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

.listing-card {
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(217, 229, 242, .86);
  color: var(--ink);
}

.listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(18, 103, 232, .1), transparent 36%),
    linear-gradient(315deg, rgba(46, 183, 127, .1), transparent 36%);
  opacity: 0;
  transition: opacity .22s ease;
}

.listing-card:hover::before {
  opacity: 1;
}

.listing-image {
  position: relative;
}

.listing-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 51, .32));
  pointer-events: none;
}

.listing-image .status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(7, 26, 51, .12);
}

.listing-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.listing-card-topline,
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
}

.listing-card-topline span,
.listing-card-meta span {
  min-width: 0;
}

.listing-card-topline span + span::before,
.listing-card-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px 2px 0;
  border-radius: 50%;
  background: rgba(98, 116, 141, .55);
}

.listing-card h3 {
  font-size: 1.08rem;
  font-weight: 900;
}

.listing-card h3 a {
  color: var(--navy);
}

.listing-card h3 a:hover {
  color: var(--blue);
}

.listing-card-price {
  color: var(--blue);
  font-size: 1.34rem;
  line-height: 1;
  font-weight: 950;
}

.listing-card .seller-line {
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 229, 242, .72);
  color: var(--ink);
  font-weight: 800;
}

.status-pill {
  backdrop-filter: blur(10px);
}

.status-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b54c8);
  border-color: rgba(255, 255, 255, .38);
}

.status-reserved {
  color: #392300;
  background: linear-gradient(135deg, #ffd27a, var(--amber));
}

.status-sold,
.status-rejected {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #9f1239);
}

.status-pending {
  color: #0f172a;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.active-filters span {
  box-shadow: 0 8px 18px rgba(18, 103, 232, .08);
}

.item-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.item-card strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.soft-row,
.thread-row,
.forum-category,
.forum-post,
.post-body,
.content-panel {
  backdrop-filter: blur(14px);
}

.thread-row,
.forum-category {
  position: relative;
  overflow: hidden;
}

.thread-row::before,
.forum-category::before {
  content: "";
  width: 4px;
  align-self: stretch;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--blue), var(--mint));
}

.forum-category > div,
.thread-row > div {
  flex: 1;
  min-width: 0;
}

.forum-category strong,
.thread-row strong,
.soft-row strong {
  color: var(--navy);
  font-weight: 900;
}

.side-panel {
  padding: 18px;
}

.side-panel h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 900;
}

.side-panel a {
  color: var(--ink);
  font-weight: 750;
  border-bottom: 1px solid rgba(217, 229, 242, .6);
}

.side-panel a:hover {
  color: var(--blue);
}

.thread-head,
.store-header {
  padding: 20px;
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.thread-head .badge {
  border: 1px solid rgba(217, 229, 242, .84);
  background: rgba(244, 248, 253, .92) !important;
  color: var(--blue) !important;
}

.post-body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.forum-post {
  display: grid;
  gap: 10px;
}

.forum-post > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 229, 242, .72);
}

.forum-post small {
  color: var(--muted);
  font-weight: 700;
}

.store-cover {
  position: relative;
  margin-bottom: -52px;
  min-height: 310px;
}

.store-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 51, .08), rgba(7, 26, 51, .42)),
    linear-gradient(90deg, rgba(18, 103, 232, .24), rgba(46, 183, 127, .18));
}

.store-cover + .container {
  position: relative;
}

.store-header {
  margin-bottom: 30px;
}

.store-header h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dashboard-layout > div,
.dashboard-layout > main,
.dashboard-layout > section {
  min-width: 0;
}

.side-nav {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 10px;
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.side-nav a {
  background: transparent;
}

.side-nav a:hover {
  background: rgba(18, 103, 232, .08);
}

.stat-card {
  min-height: 128px;
}

.form-card {
  display: block;
}

.form-card label {
  color: var(--navy);
  font-weight: 850;
}

.table {
  overflow: hidden;
  border: 1px solid rgba(217, 229, 242, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.table th {
  color: var(--navy);
  background: rgba(244, 248, 253, .92);
  font-size: .82rem;
  text-transform: uppercase;
}

.table td,
.table th {
  padding: 14px;
  vertical-align: middle;
}

.pagination {
  gap: 6px;
}

.page-link {
  border-radius: 8px !important;
  border-color: rgba(217, 229, 242, .9);
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(7, 26, 51, .04);
}

.page-item.active .page-link {
  background: var(--blue);
  border-color: var(--blue);
}

.footer {
  position: relative;
  z-index: 1;
  border-top-color: rgba(217, 229, 242, .8) !important;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
}

.footer a:hover {
  color: var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 950;
}

.footer-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.active-users-corner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  width: min(290px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(217, 229, 242, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(7, 26, 51, .16);
  backdrop-filter: blur(16px);
  transition: opacity .25s ease, transform .25s ease;
}

.active-users-corner.is-dismissing {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.active-users-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.active-users-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(46, 183, 127, .14);
}

.active-users-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.active-users-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.active-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.active-user-name {
  overflow: hidden;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-user-score {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .brand-logo {
    width: 190px;
    height: 58px;
  }

  .search-row,
  .save-search {
    align-items: stretch;
  }

  .store-cover {
    margin-bottom: -32px;
    min-height: 230px;
  }

  .side-nav {
    position: static;
  }

  .nav-actions,
  .footer-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .active-users-corner {
    right: 12px;
    bottom: 12px;
    width: min(270px, calc(100vw - 24px));
  }

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

  .listing-card-body {
    padding: 14px;
  }

  .thread-head,
  .store-header {
    padding: 16px;
  }

  .forum-post > div:first-child {
    display: grid;
  }
}
