:root {
  --bg: #070807;
  --bg-soft: #0c0d0b;
  --panel: #101110;
  --panel-2: #171817;
  --panel-3: #1f211e;
  --paper: #f2ede3;
  --paper-line: #d7d0c1;
  --line: #343832;
  --line-soft: #252822;
  --text: #f4f1e8;
  --muted: #b7b1a5;
  --dim: #777167;
  --lime: #b6f000;
  --lime-2: #9fd800;
  --orange: #ff5a22;
  --red: #ff2f1f;
  --cyan: #00d7df;
  --radius: 6px;
  --shadow: 0 20px 80px rgb(0 0 0 / .42);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% -10%, rgb(182 240 0 / .08), transparent 30%),
    linear-gradient(rgb(255 255 255 / .028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 24px 24px, 24px 24px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  width: calc(100% - 32px);
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 36px;
}

.topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1;
}

.brand strong { color: var(--lime); }
.brand small {
  width: 100%;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.nav a {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  color: #e8e6df;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  font-weight: 650;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  border-bottom-color: var(--lime);
}

.archive-panel,
.featured-panel,
.brand-strip,
.tech-band,
.index-tile {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .026) 1px, transparent 1px),
    linear-gradient(145deg, rgb(255 255 255 / .035), transparent 42%),
    var(--panel);
  background-size: 26px 26px, 26px 26px, auto, auto;
  box-shadow: var(--shadow);
}

.home-hero {
  display: grid;
  grid-template-columns: .92fr 1.36fr;
  gap: 20px;
  padding-top: 18px;
}

.hero-search {
  padding: clamp(22px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  min-height: 424px;
}

.eyeline,
.tag {
  margin: 0 0 8px;
  color: var(--lime);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 7px 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.hero-search h1,
.page-hero h1 {
  max-width: 720px;
  margin-bottom: 12px;
  color: #fffdf6;
  font-size: clamp(35px, 2.75vw, 40px);
  line-height: .98;
  letter-spacing: 0;
}

.lead {
  color: #ddd8ce;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.35;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 116px;
  margin: 14px 0 16px;
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  overflow: hidden;
  background: #060706;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: #080908;
  color: var(--text);
  padding: 13px 18px;
  font: 500 16px/1.2 inherit;
  outline: none;
}

.search-box input::placeholder { color: #8c877d; }

.search-box button {
  border: 0;
  background: linear-gradient(180deg, var(--lime), #94cb00);
  color: #091006;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}

.search-panel {
  margin: 14px 0 18px;
}

.search-panel .search-box {
  margin: 0 0 12px;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.filter-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.filter-field span {
  color: var(--muted);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080908;
  color: var(--text);
  padding: 0 12px;
  font: 650 14px/1.2 inherit;
  outline: none;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgb(182 240 0 / .18);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-actions .button {
  min-height: 42px;
}

.empty-state {
  max-width: 620px;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #0b0c0a;
}

.empty-state h2 {
  margin: 0 0 8px;
  color: #fffdf6;
  font-size: 24px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px 4px;
}

.pagination a,
.pagination span,
.pagination strong {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0c0a;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.pagination a {
  color: var(--lime);
}

.pagination a:hover {
  border-color: var(--lime);
  color: #fffdf6;
}

.pagination strong {
  color: var(--text);
}

.quick-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: auto;
}

.quick-filters a,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1a1c19, #111210);
  color: #eeeae0;
  text-decoration: none;
  font-weight: 650;
}

.quick-filters a:hover,
.button:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.button-orange {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 17px -30px -30px;
  border-top: 1px solid var(--line);
}

.stat-row div {
  padding: 11px 18px;
  border-right: 1px solid var(--line);
}

.stat-row div:last-child { border-right: 0; }
.stat-row strong {
  display: block;
  color: var(--lime);
  font: 850 20px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.stat-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.featured-panel {
  position: relative;
  min-height: 424px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 270px 1fr;
  isolation: isolate;
}

.featured-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 5 5 / .9) 0 33%, transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.featured-copy {
  position: relative;
  z-index: 2;
  padding: 28px 0 28px 24px;
}

.featured-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.08;
}

.feature-meta {
  color: var(--muted);
  font-size: 16px;
}

.featured-copy > p:not(.tag):not(.feature-meta) {
  color: #e6e1d5;
  line-height: 1.45;
  max-width: 245px;
}

.featured-image {
  position: absolute;
  inset: 0;
  display: block;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.04);
}

.brand-strip {
  min-height: 72px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 180px repeat(8, minmax(108px, 1fr));
  align-items: stretch;
}

.strip-label {
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  align-content: center;
}

.strip-label strong,
.panel-head h2,
.tech-band h2 {
  color: var(--lime);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.strip-label a,
.panel-head a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.brand-strip > a {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px;
  color: #14140f;
  text-align: center;
  text-decoration: none;
  border-left: 1px solid var(--paper-line);
  background: linear-gradient(180deg, #fbf8ef, var(--paper));
}

.brand-strip > a strong { font-size: 17px; }
.brand-strip > a span { font-size: 12px; }

.home-auctions-panel {
  margin-top: 18px;
  overflow: hidden;
}

.home-auctions-panel .panel-head {
  align-items: end;
}

.home-auctions-panel .panel-head > div {
  display: grid;
  gap: 4px;
}

.home-auctions-panel .panel-head .button {
  min-width: 112px;
}

.home-auctions-disclosure {
  margin: 0;
  padding: 11px 16px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-auction-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 330px);
  gap: 14px;
  padding: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.auction-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 91 31 / .08), transparent 38%),
    #0b0c0a;
  scroll-snap-align: start;
}

.auction-card:hover {
  border-color: rgb(182 240 0 / .58);
}

.auction-card--all {
  grid-template-rows: 1fr;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 18%, rgb(182 240 0 / .16), transparent 42%),
    linear-gradient(180deg, rgb(255 255 255 / .04), transparent 36%),
    #0b0c0a;
}

.auction-card__all-body {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.auction-card__all-body h3 {
  min-height: 0;
  max-width: 230px;
  font-size: 24px;
  line-height: 1;
}

.auction-card__all-body p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.auction-card__all-body .button {
  min-width: 128px;
  border-color: var(--lime);
  color: #091006;
  background: linear-gradient(180deg, var(--lime), #94cb00);
}

.auction-card__image {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgb(255 255 255 / .026) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .026) 1px, transparent 1px),
    #060706;
  background-size: 18px 18px;
}

.auction-card__image img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 10px;
  filter: drop-shadow(0 16px 18px rgb(0 0 0 / .44));
}

.auction-card__image span {
  color: var(--lime);
  font: 900 18px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.auction-card__body {
  display: grid;
  gap: 11px;
  align-content: start;
  padding: 14px;
}

.auction-card__label {
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid rgb(255 91 31 / .55);
  border-radius: var(--radius);
  color: var(--orange);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.auction-card h3 {
  min-height: 40px;
  margin: 0;
  color: #fffdf6;
  font-size: 16px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.auction-card__price {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgb(182 240 0 / .2);
  border-radius: var(--radius);
  background: rgb(182 240 0 / .07);
}

.auction-card__price span,
.auction-card__stats dt,
.auction-row__stats dt {
  color: var(--dim);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auction-card__price strong {
  color: var(--lime);
  font-size: 22px;
  line-height: 1;
}

.auction-card__stats,
.auction-row__stats {
  display: grid;
  gap: 8px;
  margin: 0;
}

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

.auction-card__stats dd,
.auction-row__stats dd {
  margin: 4px 0 0;
  color: #fffdf6;
  font-weight: 850;
}

.market-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(182 240 0 / .26);
  background:
    radial-gradient(circle at 80% 10%, rgb(255 91 31 / .15), transparent 34%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .026) 1px, transparent 1px),
    var(--panel);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.affiliate-note {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.auction-list-panel {
  margin-top: 16px;
  overflow: hidden;
}

.auction-ranking {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auction-ranking li + li {
  border-top: 1px solid var(--line-soft);
}

.auction-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 148px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
}

.auction-row__image {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050605;
}

.auction-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.auction-row__main {
  min-width: 0;
}

.auction-row__main h2 {
  margin: 0 0 12px;
  color: #fffdf6;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.12;
}

.auction-row__stats {
  grid-template-columns: repeat(6, minmax(86px, 1fr));
}

.auction-row__stats div {
  min-width: 0;
}

.auction-row__stats dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-row__cta {
  width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: .8fr 1.7fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.panel-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
}

.panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.panel-head-sort {
  align-items: center;
}

.panel-head-sort > div {
  display: grid;
  gap: 4px;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.sort-control label {
  color: var(--muted);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sort-control select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080908;
  color: var(--text);
  padding: 0 34px 0 12px;
  font: 750 13px/1.2 inherit;
  outline: none;
}

.sort-control select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgb(182 240 0 / .18);
}

.panel-head-with-search {
  align-items: center;
}

.brand-search {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: 1fr 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #080908;
}

.brand-search input[type="search"] {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 11px 13px;
  font: 650 14px/1.2 inherit;
  outline: none;
}

.brand-search input::placeholder {
  color: #898276;
}

.brand-search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, var(--lime), #94cb00);
  color: #091006;
  font: 850 12px/1 inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.series-list a {
  min-height: 64px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.series-list img {
  width: 64px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #050505;
}

.series-list span {
  display: grid;
  gap: 5px;
}

.series-list small,
.product-card p,
.product-card__meta,
.timeline-panel p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.product-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.product-card {
  min-width: 0;
}

.product-card__image {
  aspect-ratio: 1.16 / 1;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__meta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.product-card h3 {
  margin: 7px 0 3px;
  font-size: 16px;
  line-height: 1.2;
}

.product-card h3 a,
.product-card p a {
  text-decoration: none;
}

.product-card p {
  margin: 0;
  font-size: 13px;
}

.decades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px;
  border: 1px solid var(--line);
}

.decades span,
.decades strong {
  padding: 12px;
  text-align: center;
  font-weight: 650;
  border-right: 1px solid var(--line);
}

.decades strong {
  color: var(--lime);
}

.decades span:last-child {
  border-right: 0;
}

.bars {
  height: 136px;
  margin: 10px 20px 14px;
  display: flex;
  align-items: end;
  gap: 5px;
  border-bottom: 1px solid var(--line);
}

.bars span {
  flex: 1;
  min-width: 3px;
  background: linear-gradient(180deg, var(--lime), #445700);
}

.timeline-panel p {
  margin: 0 16px 18px;
  text-align: center;
  font-size: 13px;
}

.tech-band {
  min-height: 92px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
}

.tech-band > div {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.tech-band > div:last-child { border-right: 0; }
.tech-band h2 {
  width: 100%;
  margin: 0;
}

.tech-band span {
  color: #e9e4d8;
  font-size: 16px;
}

.tech-band strong {
  margin-left: 8px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.range-dot {
  width: 100%;
  max-width: 240px;
  height: 2px;
  border-top: 2px dotted var(--lime);
  position: relative;
}

.range-dot::after {
  content: "";
  position: absolute;
  left: 58%;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
}

.site-footer .brand {
  font-size: clamp(22px, 2vw, 28px);
}

.footer-notes {
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer-notes p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--lime);
  text-decoration: none;
}

.page-hero {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 36px);
}

.page-hero .stat-row {
  margin: 24px -36px -36px;
}

.listing-panel {
  margin-top: 16px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  padding: 14px;
}

.index-tile {
  min-height: 86px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 5px;
  text-decoration: none;
}

.index-tile strong {
  font-size: 18px;
}

.index-tile small {
  color: var(--lime);
  font-size: 12px;
}

.index-tile span {
  color: var(--muted);
}

.index-tile-media {
  position: relative;
  min-height: 168px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.index-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform .25s ease, filter .25s ease;
  z-index: -2;
}

.index-tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .08), rgb(0 0 0 / .72)),
    linear-gradient(90deg, rgb(0 0 0 / .48), transparent 62%);
  z-index: -1;
}

.index-tile-media:hover img {
  transform: scale(1.08);
  filter: saturate(1.16) contrast(1.1);
}

.index-tile-overlay {
  align-self: end;
  display: grid;
  gap: 5px;
  padding: 16px;
  color: var(--text);
  text-shadow: 0 2px 18px rgb(0 0 0 / .8);
}

.index-tile-media .index-tile-overlay strong {
  color: #fffdf6;
  font-size: 20px;
  line-height: 1.05;
}

.index-tile-media .index-tile-overlay small {
  color: var(--lime);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.index-tile-media .index-tile-overlay em {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: var(--radius);
  background: rgb(0 0 0 / .4);
  color: #eeeae0;
  font-style: normal;
  font-size: 12px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 18px;
}

section.ebay-panel {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border-color: rgb(182 240 0 / .22);
  background:
    radial-gradient(circle at 18% 0, rgb(182 240 0 / .12), transparent 34%),
    radial-gradient(circle at 88% 16%, rgb(255 91 31 / .13), transparent 30%),
    linear-gradient(180deg, #171914 0%, #0a0b09 100%);
}

section.ebay-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgb(255 255 255 / .026) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .026) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

section.ebay-panel .ebay-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .55fr);
  gap: 20px;
  align-items: end;
  padding: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid rgb(255 255 255 / .1);
}

section.ebay-panel .ebay-head h2 {
  margin: 5px 0 0;
  max-width: 720px;
  color: #fffdf6;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: .98;
}

section.ebay-panel .ebay-disclosure {
  margin: 0;
  justify-self: end;
  max-width: 420px;
  padding: 11px 12px;
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: var(--radius);
  background: rgb(0 0 0 / .34);
  color: #dcd7ce;
  font-size: 13px;
  line-height: 1.35;
}

section.ebay-panel .ebay-grid {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)) !important;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
}

section.ebay-panel .ebay-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .045), transparent 38%),
    #0d0f0c;
  color: var(--text);
  box-shadow: 0 22px 54px rgb(0 0 0 / .26);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

section.ebay-panel .ebay-card:hover {
  border-color: rgb(182 240 0 / .7);
  box-shadow: 0 28px 70px rgb(0 0 0 / .36);
  transform: translateY(-2px);
}

section.ebay-panel .ebay-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 220px;
  border-bottom: 1px solid rgb(255 255 255 / .1);
  background:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px),
    #060706;
  background-size: 18px 18px;
}

section.ebay-panel .ebay-card__media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 12px;
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / .44));
}

section.ebay-panel .ebay-card__media span {
  color: var(--lime);
  font: 900 18px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}

section.ebay-panel .ebay-card__content {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 15px;
}

section.ebay-panel .ebay-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

section.ebay-panel .ebay-badge {
  width: fit-content;
  max-width: 100%;
  padding: 6px 7px;
  border: 1px solid rgb(182 240 0 / .42);
  border-radius: var(--radius);
  background: rgb(182 240 0 / .08);
  color: var(--lime);
  font: 900 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

section.ebay-panel .ebay-badge--auction {
  border-color: rgb(255 91 31 / .55);
  background: rgb(255 91 31 / .1);
  color: var(--orange);
}

section.ebay-panel .ebay-badge--quiet {
  border-color: rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .05);
  color: #dcd7ce;
}

section.ebay-panel .ebay-card h3 {
  margin: 0;
  color: #fffdf6;
  font-size: 16px;
  line-height: 1.22;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

section.ebay-panel .ebay-price-panel {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgb(182 240 0 / .2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgb(182 240 0 / .1), rgb(255 91 31 / .06)),
    rgb(0 0 0 / .28);
}

section.ebay-panel .ebay-price-panel span,
section.ebay-panel .ebay-stat-grid dt {
  color: var(--dim);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

section.ebay-panel .ebay-price-panel strong {
  color: var(--lime);
  font-size: 25px;
  line-height: 1;
}

section.ebay-panel .ebay-price-panel small {
  color: #dcd7ce;
  font-size: 12px;
}

section.ebay-panel .ebay-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

section.ebay-panel .ebay-stat-grid div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .035);
}

section.ebay-panel .ebay-stat-grid dd {
  margin: 5px 0 0;
  overflow: hidden;
  color: #f3eee4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

section.ebay-panel .ebay-cta {
  justify-content: center;
  margin-top: 2px;
  width: 100%;
}

section.ebay-panel .ebay-more {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 clamp(16px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
}

section.ebay-panel .ebay-more .button {
  min-width: min(100%, 330px);
  justify-content: center;
}

.redirect-panel {
  max-width: 760px;
  margin: 40px auto;
  padding: clamp(24px, 4vw, 44px);
}

.redirect-panel h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.redirect-note {
  color: var(--muted);
  line-height: 1.45;
}

.redirect-loader {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border: 1px solid rgb(182 240 0 / .28);
  border-radius: 50%;
  background: rgb(182 240 0 / .06);
}

.redirect-loader span {
  width: 32px;
  height: 32px;
  border: 3px solid rgb(182 240 0 / .22);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.gallery {
  border: 1px solid var(--line);
  background: #0c0d0b;
}

.gallery__main {
  aspect-ratio: 1.2 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px),
    #080907;
  background-size: 24px 24px;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  max-height: 240px;
  overflow: auto;
}

.gallery__thumbs button {
  padding: 0;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #070807;
  cursor: pointer;
}

.gallery__thumbs button.is-active {
  border-color: var(--lime);
}

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

.product-info {
  padding: clamp(22px, 3vw, 34px);
}

.product-info h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.spec-table {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-table dt {
  color: var(--muted);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spec-table dd {
  margin: 0;
}

.not-found {
  min-height: 360px;
  display: grid;
  align-content: center;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }
  .nav {
    overflow-x: auto;
  }
  .home-hero,
  .dashboard-grid,
  .product-page {
    grid-template-columns: 1fr;
  }
  .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strip-label {
    grid-column: 1 / -1;
  }
  .tech-band {
    grid-template-columns: 1fr;
  }
  .tech-band > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: calc(100% - 20px);
  }
  .brand {
    font-size: 24px;
  }
  .nav {
    gap: 2px;
  }
  .nav a {
    padding: 0 12px;
    min-height: 44px;
    font-size: 14px;
  }
  .hero-search h1,
  .page-hero h1,
  .product-info h1 {
    font-size: 31px;
  }
  .search-box {
    grid-template-columns: 1fr;
  }
  .search-box button {
    min-height: 46px;
  }
  .search-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-head-sort {
    align-items: stretch;
    flex-direction: column;
  }
  .sort-control {
    justify-content: space-between;
  }
  .sort-control select {
    flex: 1;
  }
  .panel-head-with-search {
    align-items: stretch;
    flex-direction: column;
  }
  .brand-search {
    width: 100%;
  }
  .quick-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-row,
  .page-hero .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: -22px;
    margin-right: -22px;
    margin-bottom: -22px;
  }
  .featured-panel {
    min-height: 560px;
    grid-template-columns: 1fr;
  }
  .featured-panel::after {
    background: linear-gradient(180deg, rgb(5 5 5 / .94) 0 45%, transparent 76%);
  }
  .featured-copy {
    padding: 22px;
  }
  .brand-strip {
    grid-template-columns: 1fr;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .home-auction-rail {
    grid-auto-columns: minmax(260px, 82vw);
  }
  .auction-row {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .auction-row__image {
    width: 104px;
  }
  .auction-row__cta {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .auction-row__stats {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
  }
  .product-grid,
  .product-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ebay-head {
    grid-template-columns: 1fr;
  }
  section.ebay-panel .ebay-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  section.ebay-panel .ebay-disclosure {
    justify-self: stretch;
    max-width: none;
  }
  .spec-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 460px) {
  .search-filters {
    grid-template-columns: 1fr;
  }
  .filter-actions .button {
    width: 100%;
  }
  .brand-search {
    grid-template-columns: 1fr;
  }
  .brand-search button {
    min-height: 42px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .index-tile-media {
    min-height: 190px;
  }
  .product-grid,
  .product-grid-wide {
    grid-template-columns: 1fr;
  }
  .auction-row {
    grid-template-columns: 1fr;
  }
  .auction-row__image {
    width: 100%;
    aspect-ratio: 1.3 / 1;
  }
  .auction-row__cta {
    grid-column: auto;
    width: 100%;
  }
  .auction-row__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  section.ebay-panel .ebay-grid {
    grid-template-columns: 1fr !important;
  }
  section.ebay-panel .ebay-card {
    grid-template-rows: 200px 1fr;
  }
  section.ebay-panel .ebay-card__media,
  section.ebay-panel .ebay-card__media img {
    min-height: 200px;
    height: 200px;
  }
  section.ebay-panel .ebay-stat-grid {
    grid-template-columns: 1fr;
  }
}
