/* SpecGrid design system — ported from the original React client (client/src/index.css), minus Tailwind. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap");

:root,
.dark {
  --background: #121816;
  --foreground: #eef2ef;
  --card: #19201c;
  --primary: #39ff88;
  --border: #303a34;
  --muted-foreground: #89978e;
  --popover: #19201c;
  --popover-foreground: #eef2ef;
  --ring: #39ff88;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
  border-color: var(--border);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "IBM Plex Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select,
textarea {
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
::selection {
  color: #121816;
  background: #39ff88;
}
.page-wrap {
  width: min(1280px, calc(100% - 88px));
  margin-inline: auto;
}
.green {
  color: #39ff88;
}
.muted {
  color: #8c9b91;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 500;
  color: #92a599;
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #39ff88;
  flex-shrink: 0;
}
.btn {
  border: 1px solid #39ff88;
  border-radius: 5px;
  padding: 11px 18px;
  background: #39ff88;
  color: #101d15;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:hover {
  background: #70ffa5;
  border-color: #70ffa5;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: #e6eee9;
  border-color: #4e5b52;
}
.btn-secondary:hover {
  background: #27362c;
  color: #39ff88;
  border-color: #39ff88;
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #c3cec7;
  width: 32px;
  height: 36px;
}
.icon-button:hover {
  color: #39ff88;
}
.announcement {
  background: #1e2b23;
  border-bottom: 1px solid #2d3d31;
  color: #c0cdc3;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 44px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.announcement-right {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: #82968a;
  margin-left: auto;
  letter-spacing: 1.1px;
}
.header {
  border-bottom: 1px solid #303a34;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 35px;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.6px;
  line-height: 1.1;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 2.1px;
  color: #98aa9e;
  font-weight: 400;
  margin-top: 5px;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 3px;
  transform: skewY(-8deg);
}
.brand-mark i {
  background: #39ff88;
  display: block;
}
.brand-mark i:nth-child(2) {
  opacity: 0.55;
}
.brand-mark i:nth-child(3) {
  opacity: 0.35;
}
.header-search {
  height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #36423a;
  background: #1c2420;
  border-radius: 5px;
  gap: 12px;
  padding: 0 14px;
  color: #8d9c93;
  flex: 1;
  max-width: 485px;
  margin-left: 30px;
}
.header-search:focus-within {
  border-color: #39ff88;
}
.header-search input {
  width: 100%;
  border: 0;
  background: none;
  color: #f0f5f1;
  font-size: 12px;
}
.header-search input::placeholder {
  color: #788b7e;
}
.header-search kbd {
  border: 1px solid #39453d;
  padding: 0 4px;
  font-size: 11px;
  border-radius: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.user-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #bac7bf;
  font-size: 12px;
  max-width: 130px;
}
.user-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sell-button {
  padding: 10px 14px;
  font-size: 12px;
  gap: 6px;
}
.mobile-menu {
  display: none;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}
.nav-links {
  display: flex;
  height: 100%;
  gap: 32px;
}
.nav-links > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9caba1;
  border-bottom: 2px solid transparent;
}
.nav-links > a.active {
  color: #39ff88;
  border-color: #39ff88;
  font-weight: 600;
}
.nav-links > a:hover {
  color: #39ff88;
}
.tiny-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.5px;
  color: #39ff88;
  border: 1px solid #385d45;
  padding: 0 3px;
  border-radius: 2px;
  line-height: 12px;
}
.nav-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #85958b;
}
.home {
  padding-top: 26px;
}
.hero {
  display: flex;
  position: relative;
  overflow: hidden;
  border: 1px solid #344639;
  border-radius: 8px;
  height: 335px;
  background: #17231b;
}
.hero-copy {
  width: 56%;
  position: relative;
  z-index: 2;
  padding: 32px 36px;
}
.hero h1 {
  font-size: 37px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -1.6px;
  margin: 15px 0 13px;
}
.hero p {
  font-size: 12px;
  color: #a2b0a7;
  line-height: 1.8;
  margin: 0 0 22px;
}
.hero .btn {
  padding: 10px 16px;
  font-size: 12px;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  overflow: hidden;
  background: #152219;
}
.hero-visual:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  width: 32%;
  background: linear-gradient(90deg, #17231b, transparent);
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-label {
  position: absolute;
  bottom: 25px;
  right: 27px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  color: #b2c9b9;
  letter-spacing: 1.3px;
  z-index: 2;
}
.visual-cross {
  position: absolute;
  right: 23px;
  top: 14px;
  color: #87ba96;
  font-family: monospace;
  font-size: 20px;
  z-index: 2;
}
.hero-pager {
  position: absolute;
  bottom: 19px;
  left: 36px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  color: #799380;
}
.hero-pager i {
  width: 35px;
  height: 2px;
  background: #39ff88;
  margin-left: 7px;
}
.value-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 14px 20px;
  gap: 15px;
  border-bottom: 1px solid #303a34;
  margin-bottom: 34px;
}
.value-strip > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.value-strip svg {
  color: #39ff88;
}
.value-strip b {
  font-size: 11px;
  font-weight: 500;
}
.value-strip small {
  color: #7e9184;
  font-size: 10px;
  padding-left: 3px;
}
.market-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 23px;
}
.market-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #7a9483;
}
.market-heading h2 {
  margin: 7px 0 0;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.heading-note {
  font-size: 11px;
  color: #829488;
  padding-bottom: 3px;
}
.category-tabs {
  display: flex;
  padding: 0 0 19px;
  gap: 10px;
  border-bottom: 1px solid #303a34;
  margin-bottom: 24px;
}
.category-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid #303b33;
  border-radius: 5px;
  color: #a9b8af;
  font-size: 11px;
  background: #19201c;
  padding: 10px;
  white-space: nowrap;
}
.category-tabs button:hover {
  border-color: #607967;
}
.category-tabs button.active {
  background: #1d3525;
  border-color: #39ff88;
  color: #39ff88;
  font-weight: 500;
}
.category-tabs button:first-child {
  flex: 0.75;
}
.market-layout {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.filters {
  border: 1px solid #303b34;
  border-radius: 6px;
  padding: 17px 16px;
  background: #171f1a;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.filter-title h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.filter-title h3 svg {
  color: #39ff88;
}
.filter-title button {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #7d9082;
  background: none;
  border: 0;
  font-size: 9px;
  padding: 0;
}
.filter-title button:hover {
  color: #39ff88;
}
.filter-caption {
  color: #71897a;
  font-size: 9px;
  margin: 10px 0 20px;
}
.filter-group {
  padding: 17px 0;
  border-top: 1px solid #2e3831;
}
.filter-group h4 {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
}
.filter-group h4 span {
  font:
    9px "IBM Plex Mono",
    monospace;
  color: #708778;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #a3b1a8;
  margin: 8px 0;
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #4a584e;
  border-radius: 2px;
  background: transparent;
  flex-shrink: 0;
}
.checkbox input:checked {
  background: #39ff88;
  border-color: #39ff88;
}
.checkbox input:checked:after {
  content: "✓";
  display: block;
  color: #14251a;
  font: 10px sans-serif;
  text-align: center;
  font-weight: 700;
  line-height: 11px;
}
.filter-select {
  width: 100%;
  background: #1e2821;
  border: 1px solid #36463b;
  color: #9db3a4;
  font-size: 10px;
  padding: 9px 8px;
  border-radius: 4px;
  margin: 0 0 6px;
}
.filter-select:last-child {
  margin: 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.filter-pills button {
  background: #1e2721;
  color: #90a596;
  border: 1px solid #36453b;
  border-radius: 3px;
  font:
    9px "IBM Plex Mono",
    monospace;
  padding: 6px 7px;
}
.filter-pills button.active {
  color: #39ff88;
  border-color: #39ff88;
  background: #1b3524;
}
.filter-group input[type="range"] {
  accent-color: #39ff88;
  width: 100%;
  height: 4px;
}
.price-range {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #96ab9d;
  margin-top: 11px;
}
.filter-tip {
  background: #202e24;
  border: 1px solid #334d3a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  margin-top: 10px;
}
.filter-tip svg {
  color: #39ff88;
  flex-shrink: 0;
}
.filter-tip span {
  font-size: 8px;
  color: #b0c1b6;
  line-height: 1.9;
}
.filter-tip b {
  color: #819d8b;
  font-weight: 400;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
  height: 29px;
  font-size: 11px;
}
.result-count {
  font-size: 11px;
}
.result-count b {
  margin: 0 3px;
  font:
    500 13px "IBM Plex Mono",
    monospace;
}
.results-demo {
  font-size: 8px;
  color: #6e8377;
  border-left: 1px solid #37443b;
  padding-left: 10px;
  margin-left: 10px;
}
.toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.toolbar-right select {
  border: 0;
  color: #acbcb1;
  background: transparent;
  font-size: 10px;
  appearance: none;
  cursor: pointer;
}
.toolbar-right option {
  background: #19201c;
}
.toolbar-right > svg {
  color: #81958a;
}
.filter-mobile-btn {
  display: none;
}
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}
.selected-filters button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #366647;
  border-radius: 3px;
  color: #39ff88;
  background: #1c2e22;
  padding: 4px 8px;
  font-size: 10px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px 18px;
}
.product-card {
  min-width: 0;
  border: 1px solid #303d34;
  border-radius: 6px;
  overflow: hidden;
  background: #19221c;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.product-card:hover {
  border-color: #647c6c;
  transform: translateY(-3px);
}
.product-image {
  position: relative;
  height: 183px;
  overflow: hidden;
  background: #f3f4f2;
}
.product-image > a {
  display: block;
  height: 100%;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.4s;
  mix-blend-mode: multiply;
}
.product-card:hover img {
  transform: scale(1.06);
}
.card-badges {
  display: flex;
  gap: 4px;
  position: absolute;
  top: 11px;
  left: 10px;
  pointer-events: none;
}
.hot-badge {
  background: #39ff88;
  color: #122117;
  font:
    600 8px "IBM Plex Mono",
    monospace;
  display: inline-flex;
  gap: 2px;
  align-items: center;
  padding: 3px 5px;
  border-radius: 2px;
  line-height: 13px;
}
.condition-badge {
  background: #1b231e;
  color: #eef1ee;
  font-size: 8px;
  padding: 3px 5px;
  border-radius: 2px;
  line-height: 13px;
}
.condition-badge.mint {
  background: #d4ebdb;
  color: #267541;
}
.card-heart {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e4de;
  border-radius: 50%;
  color: #6a766d;
}
.card-heart.saved {
  color: #2da65a;
}
.card-heart:hover {
  background: #ddf7e6;
  color: #259c50;
}
.reserved-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px;
  background: #12241ed9;
  color: #eee;
  text-align: center;
  font-size: 10px;
}
.product-info {
  display: block;
  padding: 14px 13px 0;
}
.card-category {
  font-size: 8px;
  color: #809b89;
  display: flex;
  justify-content: space-between;
}
.card-category > span {
  font:
    8px "IBM Plex Mono",
    monospace;
  color: #5f7d6a;
}
.product-info h3 {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: #e7eeea;
  margin: 5px 0 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spec-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 21px;
}
.spec-tag {
  display: inline-flex;
  padding: 2px 5px;
  border: 1px solid #34493b;
  background: #203127;
  border-radius: 2px;
  font:
    8px "IBM Plex Mono",
    monospace;
  color: #b5c8bc;
  line-height: 14px;
}
.card-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 13px 0;
}
.card-price strong {
  font:
    600 20px "IBM Plex Mono",
    monospace;
  letter-spacing: -1px;
}
.card-price small {
  font:
    11px "IBM Plex Sans KR",
    sans-serif;
  letter-spacing: 0;
  margin-left: 3px;
}
.card-price > span {
  font:
    500 11px "IBM Plex Mono",
    monospace;
}
.card-meta {
  padding: 10px 0;
  border-top: 1px solid #2e4034;
  font-size: 8px;
  color: #7d9787;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.meta-status {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 8px;
  color: #9db8a7;
  white-space: nowrap;
}
.meta-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #39ff88;
}
.results-end {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
}
.results-end span {
  width: 25px;
  height: 1px;
  background: #36523f;
}
.results-end p {
  font-size: 9px;
  color: #758f7f;
  text-align: center;
}
.seller-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #3a5442;
  border-radius: 6px;
  background: #1c2c21;
  margin: 38px 0 48px;
  padding: 28px 32px;
}
.seller-banner .eyebrow {
  font-size: 8px;
  color: #809e8a;
}
.seller-banner h2 {
  margin: 9px 0 7px;
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.seller-banner p {
  font-size: 11px;
  color: #829b8b;
  margin: 0;
}
.seller-banner .btn {
  position: relative;
  z-index: 1;
  border-color: #6d8a77;
  background: #1c2c21;
  font-size: 11px;
}
.seller-circuit {
  position: absolute;
  right: 180px;
  top: 10px;
  opacity: 0.075;
  color: #39ff88;
  transform: rotate(-15deg);
}
.footer {
  border-top: 1px solid #334037;
  padding-top: 26px;
  padding-bottom: 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 35px;
}
.footer-brand {
  font-size: 22px;
}
.footer-brand .brand-mark {
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 2px;
}
.footer-top p {
  color: #7b9484;
  font-size: 10px;
  line-height: 1.8;
}
.footer-top > a:last-child {
  margin-left: auto;
  color: #a4bbad;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #5f7a69;
  font-size: 8px;
  margin-top: 22px;
}
.footer-bottom > a {
  display: flex;
  gap: 5px;
  align-items: center;
}
.workspace {
  padding-top: 38px;
  padding-bottom: 58px;
  min-height: 65vh;
}
.page-title {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 9px 0 15px;
}
.panel {
  border: 1px solid #34443a;
  border-radius: 7px;
  background: #19231c;
  padding: 24px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #c1d0c6;
  font-size: 12px;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #3b5142;
  background: #131d17;
  color: #e7eee9;
  border-radius: 4px;
  padding: 11px 12px;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #688371;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.badge {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  padding: 4px 9px;
  border: 1px solid #3b5845;
  border-radius: 3px;
  color: #a8c8b4;
  background: #203328;
}
.price {
  font:
    600 32px "IBM Plex Mono",
    monospace;
  letter-spacing: -1px;
}
.product-plate {
  background: #f3f4f2;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
}
.product-plate img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  padding: 30px;
  mix-blend-mode: multiply;
}
.empty-state,
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  padding: 70px 22px;
  min-height: 250px;
  color: #809a89;
}
.empty-state svg {
  color: #39ff88;
  opacity: 0.7;
}
.empty-state h3 {
  color: #d0ded5;
  font-size: 17px;
  margin: 4px 0 0;
}
.empty-state p {
  margin: 0 0 12px;
  font-size: 12px;
}
.empty-state .btn {
  margin-top: 5px;
}
.loading-state {
  font-size: 12px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #354c3e;
  margin-bottom: 25px;
  padding-bottom: 14px;
}
.tabs button,
.tabs a {
  padding: 7px 12px;
  background: transparent;
  color: #9eb5a7;
  border: 1px solid #344b3c;
  border-radius: 4px;
  font-size: 12px;
}
.tabs .active {
  color: #39ff88;
  background: #213c2a;
  border-color: #39ff88;
}
.workspace-split {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 480px;
  border: 1px solid #354c3d;
  border-radius: 7px;
  overflow: hidden;
}
.workspace-split > *:first-child {
  border-right: 1px solid #354c3d;
}
.list-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #2c4032;
  text-align: left;
  background: transparent;
  width: 100%;
  color: #bccdc1;
}
.list-row:hover,
.list-row.active {
  background: #243d2d;
}
.list-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
.list-row small {
  color: #739381;
}
.message {
  background: #263c2d;
  color: #d7e5dc;
  padding: 11px 14px;
  border-radius: 8px 8px 8px 0;
  max-width: 80%;
  margin: 12px 0;
  font-size: 13px;
  width: fit-content;
  word-break: break-word;
}
.message.mine {
  margin-left: auto;
  border-radius: 8px 8px 0 8px;
  background: #284c34;
  color: #e3f9e9;
}
.message small {
  display: block;
  color: #89a795;
  font-size: 9px;
  margin-top: 5px;
}
.trade-row {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 19px;
  border: 1px solid #344a3b;
  border-radius: 6px;
  background: #19281e;
}
.trade-row img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #f1f4ef;
  border-radius: 5px;
}
.trade-row h3 {
  font-size: 14px;
  margin: 3px 0 6px;
}
.trade-row .price {
  font-size: 18px;
}
.trade-row .btn {
  font-size: 11px;
  padding: 8px 12px;
}
.trade-row > div:last-child {
  margin-left: auto;
}
@media (min-width: 1450px) {
  .hero {
    height: 365px;
  }
  .hero-copy {
    padding: 38px 40px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-pager {
    left: 40px;
  }
  .product-image {
    height: 220px;
  }
  .product-info h3 {
    font-size: 13px;
  }
  .category-tabs button {
    min-height: 53px;
  }
}
@media (max-width: 1100px) {
  .page-wrap {
    width: calc(100% - 48px);
  }
  .announcement {
    padding-inline: 24px;
  }
  .header-main {
    gap: 20px;
  }
  .header-search {
    margin-left: 0;
  }
  .header-actions {
    gap: 11px;
  }
  .brand {
    font-size: 24px;
  }
  .nav-note {
    display: none;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-copy {
    padding-inline: 28px;
  }
  .hero-pager {
    left: 28px;
  }
  .value-strip small {
    display: none;
  }
  .category-tabs {
    gap: 6px;
  }
  .category-tabs button {
    gap: 6px;
    padding: 10px 6px;
    font-size: 10px;
  }
  .market-layout {
    grid-template-columns: 183px minmax(0, 1fr);
    gap: 20px;
  }
  .filters {
    padding: 15px 12px;
  }
  .product-grid {
    gap: 16px 12px;
  }
  .product-image {
    height: 158px;
  }
  .product-info {
    padding-inline: 10px;
  }
  .card-price strong {
    font-size: 18px;
  }
  .card-meta {
    font-size: 7px;
  }
  .spec-tag {
    font-size: 7px;
  }
  .results-demo {
    display: none;
  }
}
@media (max-width: 850px) {
  .user-button span {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .header-search {
    max-width: 350px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-copy {
    width: 62%;
  }
  .hero-visual {
    width: 55%;
  }
  .hero {
    height: 325px;
  }
  .hero-visual:before {
    width: 48%;
  }
  .market-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 17px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-image {
    height: 185px;
  }
  .card-meta {
    font-size: 8px;
  }
  .spec-tag {
    font-size: 8px;
  }
  .category-tabs {
    overflow-x: auto;
    padding-bottom: 15px;
  }
  .category-tabs button {
    flex: none;
    padding: 10px 14px;
  }
  .category-tabs button:first-child {
    flex: none;
  }
  .seller-banner h2 {
    font-size: 17px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 8px;
  }
  .form-grid {
    gap: 15px;
  }
}
@media (max-width: 640px) {
  .page-wrap {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 9px;
    padding-inline: 16px;
  }
  .announcement-right {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .header-main {
    height: 68px;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand-mark {
    grid-template-columns: repeat(2, 8px);
    grid-template-rows: repeat(2, 8px);
    gap: 2px;
  }
  .brand small {
    font-size: 6px;
  }
  .header-actions {
    margin-left: auto;
    gap: 10px;
  }
  .header-actions > .icon-button:first-child {
    display: none;
  }
  .header-actions > .user-button {
    display: none;
  }
  .sell-button {
    font-size: 10px;
    padding: 8px 9px;
    gap: 4px;
  }
  .sell-button svg {
    width: 14px;
  }
  .mobile-menu {
    display: flex;
    width: 24px;
  }
  .header-search {
    order: 4;
    height: 37px;
    max-width: unset;
    flex-basis: 100%;
    margin: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 0 12px;
  }
  .header-search input {
    font-size: 11px;
  }
  .nav {
    height: 44px;
    margin-top: 46px;
  }
  .nav-links {
    width: 100%;
    gap: 24px;
  }
  .nav-links > a {
    font-size: 11px;
  }
  .nav.open .nav-links {
    gap: 19px;
  }
  .home {
    padding-top: 17px;
  }
  .hero {
    height: 365px;
  }
  .hero-copy {
    width: 100%;
    padding: 24px;
  }
  .hero h1 {
    font-size: 29px;
    margin-top: 12px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
  }
  .hero p {
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 17px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero .btn {
    padding: 10px 13px;
    font-size: 10px;
  }
  .hero-visual {
    width: 75%;
    top: 85px;
    left: auto;
    right: -33px;
    opacity: 0.58;
  }
  .hero-visual:before {
    width: 65%;
  }
  .hero-visual:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(#17231b, transparent);
  }
  .hero-pager {
    bottom: 18px;
    left: 24px;
  }
  .visual-label {
    font-size: 6px;
    right: 46px;
    bottom: 20px;
  }
  .visual-cross {
    display: none;
  }
  .value-strip {
    padding: 15px 2px 17px;
    margin-bottom: 25px;
    gap: 7px;
  }
  .value-strip > span {
    gap: 5px;
  }
  .value-strip svg {
    width: 12px;
    height: 12px;
  }
  .value-strip b {
    font-size: 8px;
  }
  .market-heading {
    margin-bottom: 18px;
  }
  .market-heading h2 {
    font-size: 21px;
  }
  .market-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .heading-note {
    display: none;
  }
  .category-tabs {
    margin-bottom: 16px;
    gap: 7px;
  }
  .category-tabs button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 10px;
    gap: 7px;
  }
  .category-tabs svg {
    width: 16px;
  }
  .market-layout {
    display: block;
  }
  .filters {
    display: none;
    margin-bottom: 20px;
  }
  .filters.shown {
    display: block;
  }
  .filter-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #3a4b40;
    border-radius: 3px;
    color: #aec5b6;
    padding: 5px 7px;
    background: #1c2b21;
    font-size: 9px;
  }
  .results-toolbar {
    margin-bottom: 14px;
  }
  .product-grid {
    gap: 15px 11px;
  }
  .product-image {
    height: 153px;
  }
  .product-image img {
    padding: 10px;
  }
  .card-badges {
    left: 7px;
    top: 8px;
    gap: 2px;
    flex-direction: column;
    align-items: flex-start;
  }
  .condition-badge,
  .hot-badge {
    font-size: 7px;
    line-height: 10px;
    padding: 3px 4px;
  }
  .card-heart {
    width: 24px;
    height: 24px;
    top: 8px;
    right: 7px;
  }
  .card-heart svg {
    width: 14px;
  }
  .product-info {
    padding: 11px 9px 0;
  }
  .card-category {
    font-size: 7px;
  }
  .product-info h3 {
    font-size: 10px;
    line-height: 1.6;
    margin: 5px 0 8px;
  }
  .spec-tags {
    gap: 3px;
    min-height: 38px;
    align-content: flex-start;
  }
  .spec-tag {
    font-size: 6px;
    padding: 1px 4px;
    line-height: 12px;
  }
  .card-price {
    margin: 8px 0 10px;
  }
  .card-price strong {
    font-size: 15px;
    letter-spacing: -0.6px;
  }
  .card-price small {
    font-size: 9px;
    margin-left: 2px;
  }
  .card-price > span {
    font-size: 8px;
  }
  .card-meta {
    font-size: 6px;
    gap: 2px;
    padding: 8px 0;
  }
  .meta-status {
    font-size: 6px;
    gap: 3px;
  }
  .meta-status i {
    width: 3px;
    height: 3px;
  }
  .results-end {
    gap: 8px;
    margin: 24px 0;
  }
  .results-end p {
    font-size: 8px;
  }
  .seller-banner {
    margin: 25px 0 32px;
    padding: 23px;
    display: block;
  }
  .seller-banner h2 {
    font-size: 16px;
    margin-top: 10px;
  }
  .seller-banner p {
    font-size: 9px;
    max-width: 245px;
  }
  .seller-banner .btn {
    margin-top: 20px;
    font-size: 10px;
    padding: 9px 12px;
  }
  .seller-banner .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .seller-circuit {
    right: 0;
    top: 25px;
  }
  .footer {
    padding-top: 18px;
  }
  .footer-top {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-top p {
    margin: 0;
    font-size: 8px;
  }
  .footer-top > a:last-child {
    font-size: 8px;
    margin-left: 0;
    width: 100%;
    margin-top: 9px;
  }
  .footer-bottom {
    margin-top: 16px;
    gap: 8px;
    line-height: 1.8;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .workspace {
    padding-top: 26px;
    padding-bottom: 40px;
  }
  .page-title {
    font-size: 25px;
  }
  .panel {
    padding: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .workspace-split {
    grid-template-columns: 1fr;
  }
  .workspace-split > *:first-child {
    border-right: 0;
    border-bottom: 1px solid #354c3d;
    max-height: 230px;
    overflow: auto;
  }
  .trade-row {
    padding: 13px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .trade-row img {
    width: 60px;
    height: 60px;
  }
  .trade-row h3 {
    font-size: 12px;
  }
  .trade-row .btn {
    font-size: 10px;
  }
  .trade-row > div:last-child {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .product-plate {
    min-height: 260px;
  }
  .product-plate img {
    padding: 20px;
  }
  .price {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .field {
    font-size: 11px;
  }
  .message {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
