:root {
  --primary: #2f6b56;
  --dark: #1b4d3e;
  --surface: #f4f4f4;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(26, 26, 26, 0.08);
  --danger: #9b1c1c;
  --review: #c9891a;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  --tab-h: 118px;
  --header-h: 64px;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.icon { display: block; flex-shrink: 0; fill: currentColor; }
.icon--muted { color: var(--muted); }
.icon--primary { color: var(--primary); }
.tick-slot { width: 20px; height: 20px; flex-shrink: 0; }
.desk-only { display: none; }

.app-body {
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 68px) 18px calc(var(--tab-h) + env(safe-area-inset-bottom));
}
.page-lot .app-body { padding: 0 0 calc(96px + env(safe-area-inset-bottom)); }
.no-tabs .app-body { padding-bottom: 24px; }
.page-how .app-body,
.page-legal .app-body,
.page-not-found .app-body { padding-top: calc(env(safe-area-inset-top) + 24px); }
.page-sell .app-body,
.page-profile .app-body { padding-top: calc(env(safe-area-inset-top) + 16px); }

.brand-chrome {
  position: absolute;
  top: env(safe-area-inset-top);
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
  text-align: center;
  padding: 8px 18px 12px;
}
.brand-chrome span {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--primary);
}

.site-header { display: none; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--primary);
}
.wordmark__mark {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.tabbar__row { display: flex; gap: 10px; pointer-events: auto; }
.tabbar__box {
  flex: 1;
  height: 58px;
  border-radius: 29px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  box-shadow: 0 8px 16px rgba(47, 107, 86, 0.28);
}
.tabbar__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.45;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}
.tabbar__btn:active { transform: scale(0.97); }
.tabbar__btn.is-on { opacity: 1; }
.tabbar__search {
  width: 58px;
  height: 58px;
  border-radius: 29px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(47, 107, 86, 0.28);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}
.tabbar__search:active { transform: scale(0.97); }
.tabbar__search.is-on { background: var(--dark); }
.tabbar__sell { position: relative; width: 32px; height: 30px; margin-top: 6px; color: #fff; }
.tabbar__plus {
  position: absolute;
  right: -6px;
  top: -2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 16px;
  width: 100%;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, background-color 180ms ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:disabled,
.btn.is-off { opacity: 0.45; }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--sm { min-height: 40px; width: auto; border-radius: 12px; padding: 10px 14px; font-size: 13px; }
.btn:active { transform: scale(0.97); }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--dark);
}
.text-link {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  padding: 8px;
}
.legal-note { color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.45; margin-top: 16px; }
.error { color: var(--danger); font-weight: 700; margin-top: 12px; }
.ok { color: var(--primary); font-weight: 600; margin-top: 8px; }
.muted { color: var(--muted); font-weight: 600; }
.empty, .home-msg { text-align: center; color: var(--muted); margin: 40px 0; font-weight: 600; }
.lead { color: var(--muted); text-align: center; line-height: 22px; margin-top: 28px; font-size: 16px; }
.hint { color: var(--muted); font-weight: 600; line-height: 20px; }
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--surface);
  border-top-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lot-grid { display: flex; flex-direction: column; }
.lot-card {
  margin-bottom: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: screen-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  cursor: pointer;
}
.lot-card:nth-child(1) { animation-delay: 0ms; }
.lot-card:nth-child(2) { animation-delay: 40ms; }
.lot-card:nth-child(3) { animation-delay: 80ms; }
.lot-card:nth-child(4) { animation-delay: 120ms; }
.lot-card:nth-child(5) { animation-delay: 160ms; }
.lot-card:nth-child(6) { animation-delay: 200ms; }
.lot-card__media { position: relative; height: 220px; background: var(--surface); }
.lot-card__rail, .lot-card__ph {
  height: 220px;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: pointer;
}
.lot-card__rail.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.lot-card__rail::-webkit-scrollbar { display: none; }
.lot-card__rail img,
.lot-card__rail .rail-slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 220px;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--surface);
}
.lot-card__shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}
.lot-card__wash {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.22);
  z-index: 4;
  pointer-events: none;
}
.lot-card__top {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.lot-card__dots { flex: 1; display: flex; justify-content: center; gap: 6px; min-width: 0; }
.dot {
  width: 6px; height: 6px; border-radius: 3px; background: #fff; opacity: 0.45;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}
.dot.is-on { width: 16px; opacity: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 26, 26, 0.45);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  max-width: 38%;
  flex-shrink: 1;
}
.badge.is-sold, .badge.is-urgent { background: var(--primary); }
.badge.is-expired { background: #7a7a7a; }
.lot-card__title {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 6;
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.lot-card__below { display: block; padding: 12px; color: inherit; }
.lot-card__prices {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 4px;
}
.lot-card__price { flex: 1; text-align: center; min-width: 0; padding: 0 8px; }
.lot-card__price span { display: block; color: var(--muted); font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.lot-card__price strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.4px; }
.lot-card__price .is-buy { color: var(--primary); }
.lot-card__rule { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }
.lot-card__outcome {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 12px;
  gap: 12px;
}
.lot-card__outcome-label, .lot-card__outcome-price { font-size: 22px; font-weight: 800; }
.lot-card__outcome .is-sold { color: var(--primary); }
.lot-card__meta { display: flex; gap: 8px; margin-top: 8px; }
.lot-card__col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fact-chip {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-chip__inner {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.fact-chip .icon { color: var(--primary); }

.filter-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 14px;
  max-width: 100%;
  align-self: flex-start;
}
.filter-chip__text {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-chip__x { color: var(--muted); display: grid; place-items: center; }
.home-more { text-align: center; padding: 16px 0 8px; min-height: 24px; overflow-anchor: none; }

.lot-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--primary);
  color: #fff;
  padding: calc(env(safe-area-inset-top) + 2px) 8px 4px;
}
.lot-chrome__inner {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.lot-chrome__home {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  color: inherit;
  cursor: pointer;
}
.lot-chrome h1 {
  flex: 1;
  margin: 0 8px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lot-chrome__back {
  color: inherit;
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lot-hero { position: relative; height: 280px; background: var(--surface); }
.lot-hero__rail {
  display: flex;
  height: 280px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.lot-hero__rail.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.lot-hero__rail::-webkit-scrollbar { display: none; }
.lot-hero__slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 280px;
  padding: 0;
  scroll-snap-align: start;
}
.lot-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.lot-hero__ph { background: var(--surface); }
.lot-hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.lot-hero__place { position: absolute; top: 14px; left: 14px; z-index: 6; max-width: 50%; }
.lot-hero__time { position: absolute; top: 14px; right: 14px; z-index: 6; max-width: none; flex-shrink: 0; }
.rail-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  place-items: center;
  pointer-events: auto;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}
.rail-nav:active { transform: scale(0.97); }
.rail-nav:disabled { opacity: 0.35; }
.rail-nav--prev { left: 12px; }
.rail-nav--next { right: 12px; }
.lot-sheet { padding: 16px 20px 24px; }
.price-card { background: var(--surface); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.price-card__row {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px 10px 16px 16px;
  text-align: left;
  color: var(--muted);
}
.price-card__outcome {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.price-card__outcome span, .price-card__outcome strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.price-card__outcome .is-sold { color: var(--primary); }
.price-col { flex: 1; min-width: 0; }
.price-col.is-main { flex: 1.2; }
.price-col span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.price-col strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -0.4px; color: var(--text); }
.price-col .is-primary { color: var(--primary); font-size: 20px; letter-spacing: -0.7px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.fact {
  width: calc(50% - 6px);
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
}
.fact span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.fact strong { display: block; margin-top: 4px; }
.condition {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  margin: 0 0 16px;
}
.condition h2 { color: var(--text); font-size: inherit; font-weight: 700; margin: 0 0 8px; }
.condition p { color: var(--muted); line-height: 22px; margin: 0; white-space: pre-wrap; }
.condition--aside { display: none; }

.bid-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  background: var(--primary);
  border-radius: 24px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 16px rgba(27, 77, 62, 0.28);
}
.bid-bar__current { flex: 1; min-width: 0; padding: 0 10px; color: #fff; }
.bid-bar__current span { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.75); }
.bid-bar__current strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.4px; }
.bid-bar__buy {
  height: 46px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 800;
}
.bid-bar__bid {
  height: 46px;
  padding: 0 22px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
}
.contact-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  height: 56px;
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 16px rgba(27, 77, 62, 0.28);
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.6px;
  margin: 0 0 18px;
}
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-title-row h1 { margin: 0; font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: -0.6px; }
.reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #c44536;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.reset-btn:active { background: #8b2e22; }

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 14px;
  min-height: 56px;
  margin-bottom: 10px;
  text-align: left;
  color: var(--muted);
  transition: opacity 160ms ease;
}
.filter-row:active { opacity: 0.7; }
.filter-row__title { font-size: 16px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.filter-row__icon { width: 28px; display: grid; place-items: center; color: var(--dark); }
.filter-row__chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow: hidden; }
.filter-row input, .filter-row textarea {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  min-width: 0;
}
.filter-row textarea { resize: vertical; }
.filter-row--top { align-items: flex-start; }
.filter-row__suffix { color: var(--muted); font-weight: 600; }
.chip {
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.photo-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -18px 18px;
  padding: 0 18px;
  scrollbar-width: none;
}
.photo-rail::-webkit-scrollbar { display: none; }
.upload-drop {
  min-width: calc(100vw - 36px);
  height: 340px;
  border: 1.5px dashed var(--primary);
  border-radius: 18px;
  background: rgba(47, 107, 86, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
}
.upload-drop strong { color: var(--dark); font-size: 16px; }
.upload-drop em { color: var(--primary); font-style: normal; font-weight: 700; font-size: 12px; }
.upload-drop.is-compact { min-width: 340px; height: 340px; }
.upload-drop__icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 28px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.upload-drop__plus {
  position: absolute;
  right: 2px; bottom: 2px;
  width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
}
.photo-card {
  position: relative;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__x {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid;
  place-items: center;
}

.price-board {
  display: flex;
  align-items: center;
  background: var(--dark);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 8px;
  color: #fff;
}
.price-board__rule { width: 1px; align-self: stretch; background: rgba(255,255,255,0.14); margin: 0 12px; }
.money-cell { flex: 1; min-width: 0; }
.money-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.money-row { display: flex; align-items: baseline; gap: 4px; }
.money-row__euro { font-size: 22px; font-weight: 800; line-height: 1; flex: none; }
.money-cell input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  padding: 0;
}
.money-cell .is-accent { color: #e8f3ee; }
.money-cell input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  font-weight: 800;
}
.price-help {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 0 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
}
.price-help .icon { color: var(--muted); margin-top: 1px; }
.price-help strong { color: var(--dark); }

.identity { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 32px;
  background: var(--surface);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  flex-shrink: 0;
}
.avatar--xl { width: 112px; height: 112px; border-radius: 56px; margin: 0 auto 28px; }
.hello { font-size: 20px; font-weight: 800; display: block; }
.staff { margin-top: 4px; color: var(--primary); font-weight: 800; font-size: 12px; }
.profile-section { margin-bottom: 18px; }
.profile-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.profile-section h2 { margin: 0; font-size: 18px; font-weight: 800; }
.see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.lot-row { background: var(--surface); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.lot-row .btn { margin-top: 10px; }
.lot-row__top { display: flex; gap: 12px; align-items: center; color: inherit; }
.lot-row__thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #fff; flex-shrink: 0; }
.lot-row__title { display: block; font-size: 15px; font-weight: 800; }
.lot-row__meta { margin: 3px 0 0; color: var(--muted); font-weight: 600; font-size: 13px; }
.lot-row__meta.is-live { color: var(--primary); font-weight: 800; }
.lot-row__meta.is-review { color: var(--review); }
.lot-row__when { margin: 3px 0 0; color: var(--muted); font-weight: 600; font-size: 13px; }
.lot-row__bid { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.lot-row__bid strong { color: var(--text); font-weight: 800; }
.lot-row__price { margin: 4px 0 0; font-weight: 800; font-size: 15px; }
.is-lead, .lot-row__price.is-sold, .lot-row__bid .is-lead { color: var(--primary); }
.list-sub { color: var(--muted); font-weight: 700; margin: 4px 0 8px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; font-weight: 700; }
.auth { padding-top: 48px; }
.auth__form { position: relative; padding-top: 8px; }
.auth__back { position: absolute; top: -44px; left: -8px; }
.auth__form input {
  width: 100%;
  background: var(--surface);
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  height: 54px;
  font-size: 17px;
  margin-bottom: 14px;
  outline: none;
}

.sheets {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 26, 26, 0);
  transition: background 280ms ease;
}
.sheets.is-open { background: rgba(26, 26, 26, 0.4); }
.sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transform: translateY(110%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sheet.is-on { transform: translateY(0); }
.sheet__head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  min-height: 52px;
  padding: calc(env(safe-area-inset-top) + 4px) 12px 0 10px;
}
.sheet:not(.sheet--page) .sheet__head {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.sheet--page .sheet__head { grid-template-columns: 1fr 40px; padding-top: calc(env(safe-area-inset-top) + 24px); }
.sheet__title {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
}
.sheet:not(.sheet--page) .sheet__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
}
.sheet:not(.sheet--page) .sheet__head > :not(.sheet__title) {
  position: relative;
  z-index: 2;
}
.sheet--page .sheet__title { text-align: left; font-size: 22px; color: var(--text); letter-spacing: -0.3px; padding-left: 4px; }
.sheet__text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.sheet__text-btn.is-off { opacity: 0.35; }
.sheet__search { padding: 0 16px 8px; }
.sheet__search input {
  width: 100%;
  background: var(--surface);
  border: 0;
  border-radius: 16px;
  height: 48px;
  padding: 0 14px;
  outline: none;
}
.sheet__body { flex: 1; overflow: auto; padding: 8px 16px 24px; overscroll-behavior: contain; }
.sheet__pad { padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet__foot {
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.pick-row {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 16px;
  min-height: 56px;
  padding: 0 14px;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: left;
}
.pick-row span { flex: 1; }
.pick-row.is-other span { color: var(--primary); }
.sheet__entry {
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sheet__entry[hidden] { display: none !important; }
.sheet__entry input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  outline: none;
}
.range-field {
  margin: 0 0 10px;
  background: var(--surface);
  border-radius: 16px;
  min-height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.range-field__hint {
  width: 52px;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.range-field__affix {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.range-field__suffix {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}
.range-field__text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.range-field__text.is-ph { color: var(--muted); font-weight: 400; }
.range-field input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.range-field input::placeholder { color: var(--muted); opacity: 1; }
.soft-box {
  display: block;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.soft-box__label { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.soft-box__value { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }
.soft-box__value.is-primary { color: var(--primary); }
.soft-box .money-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.soft-box .money-row__euro {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  flex: none;
  width: auto;
  line-height: 1;
}
.soft-box .money-row input {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  border: 0;
  background: transparent;
  outline: none;
  flex: none;
  width: 8ch;
  max-width: calc(100% - 2ch);
  min-width: 0;
  padding: 0;
  text-align: left;
}
.checkout-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.checkout-card__amount { display: block; color: var(--primary); font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-top: 6px; }

.bid-timeline { border-top: 1px solid var(--line); padding: 14px 14px 6px; }
.bid-timeline__count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bid-row { display: flex; min-height: 60px; }
.bid-rail { width: 40px; display: flex; flex-direction: column; align-items: center; }
.bid-avatar {
  width: 36px; height: 36px; border-radius: 18px;
  background: #fff; color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
}
.bid-avatar.is-current { width: 40px; height: 40px; border-radius: 20px; background: var(--primary); color: #fff; }
.bid-line { flex: 1; width: 2px; background: rgba(47, 107, 86, 0.22); margin: 4px 0; }
.bid-body { flex: 1; padding: 0 0 16px 12px; }
.bid-top { display: flex; gap: 8px; align-items: baseline; }
.bid-top strong:last-child { margin-left: auto; font-size: 16px; font-weight: 800; }
.bid-top strong.is-lead { color: var(--primary); font-size: 20px; letter-spacing: -0.4px; }

.contact-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin: 8px 0 20px;
}
.contact-card .avatar { margin: 0 auto 12px; }
.contact-actions .btn { margin-bottom: 10px; gap: 8px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 220ms ease;
}
.lightbox.is-on { opacity: 1; }
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 52px) 12px calc(env(safe-area-inset-bottom) + 12px);
  box-sizing: border-box;
}
.lightbox__stage img {
  min-width: 0;
  min-height: 0;
  max-width: min(100%, calc(100vw - 24px));
  max-height: min(100%, calc(100dvh - 72px));
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.lightbox__close {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 8px);
  right: 8px;
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 180ms ease, background-color 180ms ease;
}
.lightbox__nav .icon {
  display: block;
  width: 22px;
  height: 22px;
}
.lightbox__nav--prev .icon { transform: translateX(-1px); }
.lightbox__nav--next .icon { transform: translateX(1px); }
.lightbox__nav:hover { background: rgba(255,255,255,0.24); }
.lightbox__nav:active { transform: translateY(-50%) scale(0.97); }
.lightbox__nav:disabled { opacity: 0.3; }
.lightbox__nav--prev { left: max(10px, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(10px, env(safe-area-inset-right)); }

.prose { max-width: 720px; }
.how-page { max-width: 1080px; }
.prose h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; color: var(--primary); }
.prose h2 { font-size: 18px; margin-top: 28px; }
.prose p, .prose li { color: var(--text); line-height: 1.55; }
.prose .lead { text-align: left; margin: 0 0 24px; }
.how-grid section { margin-bottom: 8px; }
.site-footer {
  display: block;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.78);
  padding: 0;
}
.site-footer.desk-only { display: none; }
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px calc(24px + var(--tab-h));
}
.no-tabs .site-footer__inner { padding-bottom: 32px; }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer .wordmark { color: #fff; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
}
.site-footer nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}
.site-footer nav a:hover { color: #fff; }
.site-footer__note {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 980px) {
  :root { --header-h: 72px; }
  .desk-only { display: block; }
  .brand-chrome, .tabbar { display: none; }
  body { background: #f7f6f2; }
  .wordmark__mark { display: block; }
  .site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.05);
  }
  .site-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin: 0;
    background: rgba(244, 244, 244, 0.9);
    border-radius: 999px;
  }
  .site-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }
  .site-nav a:hover { color: var(--primary); }
  .site-nav a.is-on {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  }
  .site-header__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .site-header__filter,
  .site-header__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    background: #fff;
    color: var(--dark);
    border: 1px solid rgba(26, 26, 26, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }
  .site-header__filter {
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
  }
  .site-header__profile {
    width: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .site-header__filter:hover,
  .site-header__profile:hover {
    color: var(--primary);
    border-color: rgba(47, 107, 86, 0.35);
    box-shadow: 0 4px 14px rgba(47, 107, 86, 0.12);
  }
  .site-header__profile.is-on {
    color: var(--primary);
    background: rgba(47, 107, 86, 0.08);
    border-color: rgba(47, 107, 86, 0.28);
  }
  .site-header__filter:active,
  .site-header__profile:active { transform: scale(0.97); }
  .app-body {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 64px;
    min-height: calc(100dvh - var(--header-h) - 160px);
  }
  .page-lot .app-body { max-width: none; padding: 0; background: #fff; }
  .page-lot .lot-chrome { top: var(--header-h); }
  .lot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .lot-card { margin: 0; }
  .lot-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
  }
  .lot-chrome {
    background: #fff;
    color: var(--dark);
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .lot-chrome__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 56px;
  }
  .lot-chrome h1 { text-align: left; color: var(--dark); }
  .lot-chrome__back { color: var(--dark); }
  .lot-hero { height: 420px; border-radius: 24px; overflow: hidden; }
  .lot-hero__rail, .lot-hero__slide { height: 420px; }
  .lot-card__rail,
  .lot-hero__rail {
    overflow-x: hidden;
  }
  .lot-card__rail {
    cursor: pointer;
  }
  .lot-hero__rail {
    cursor: default;
  }
  .rail-nav { display: grid; }
  .lot-sheet { padding: 20px 0 0; }
  .lot-aside { position: sticky; top: 88px; }
  .lot-aside__card {
    background: var(--surface);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 16px;
  }
  .lot-aside__status { margin: 0; color: var(--muted); font-weight: 700; }
  .lot-aside__price { margin: 6px 0 8px; font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--primary); }
  .lot-aside__meta { margin: 0 0 20px; color: var(--muted); font-weight: 600; }
  .lot-aside__actions { display: flex; gap: 10px; }
  .lot-aside__actions .btn { width: auto; flex: 1; }
  .bid-bar, .contact-bar { display: none !important; }
  .condition--main { display: none; }
  .condition--aside {
    display: block;
    padding: 20px 24px;
    background: var(--surface);
    border-radius: 24px;
  }
  .condition--aside h2 { margin-top: 0; }
  .page-sell .app-body, .page-profile .app-body {
    max-width: 720px;
    background: #fff;
    border-radius: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
    padding: 32px;
    min-height: 0;
  }
  .how-page { max-width: none; }
  .how-grid ol, .how-grid ul { padding-left: 1.2em; }
  .how-grid li { margin-bottom: 10px; }
  .photo-rail { margin: 0 0 18px; padding: 0; }
  .upload-drop { min-width: 100%; }
  .upload-drop.is-compact { min-width: 280px; width: 280px; }
  .how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
  }
  .how-grid section {
    background: #fff;
    border-radius: 20px;
    padding: 20px 22px;
  }
  .site-footer.desk-only { display: block; }
  .site-footer__inner { padding: 28px 24px 36px; }
  .sheets {
    background: rgba(26, 26, 26, 0);
    display: grid;
    place-items: center;
  }
  .lightbox {
    justify-self: stretch;
    align-self: stretch;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .lightbox__stage {
    padding: 64px 88px 32px;
  }
  .lightbox__stage img {
    max-width: min(100%, calc(100vw - 176px));
    max-height: min(100%, calc(100dvh - 96px));
  }
  .sheets.is-open { background: rgba(26, 26, 26, 0.4); }
  .sheet {
    position: relative;
    width: min(520px, 100%);
    height: min(760px, 92dvh);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
  }
  .sheet.is-on {
    transform: none;
    opacity: 1;
  }
  .sheet__head { padding-top: 8px; }
  .sheet--page .sheet__head { padding-top: 16px; }
  .sheet__foot { padding-bottom: 16px; }
}

@media (min-width: 1280px) {
  .lot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@keyframes screen-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes soft-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.sell-page,
.profile-page,
.how-page,
.prose,
.lot-layout {
  animation: screen-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.soft-in { animation: soft-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.pick-row { transition: opacity 160ms ease; }
.pick-row:active { opacity: 0.7; }
.icon-btn { transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.icon-btn:active { transform: scale(0.97); }
.lot-card__below { transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.lot-card__below:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
