:root {
  --ink: #17191b;
  --muted: #686a6e;
  --line: #dfded9;
  --paper: #ffffff;
  --canvas: #f5f3ee;
  --yellow: #0f68f4;
  --yellow-dark: #084ebc;
  --green: #17785a;
  --green-soft: #e7f4ed;
  --red: #bd3a32;
  --red-soft: #f9e9e6;
  --blue: #2e5e87;
  --blue-soft: #eaf2f8;
  --shadow: 0 16px 48px rgba(23, 25, 27, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(245, 243, 238, 0.92);
  border-bottom: 1px solid rgba(23, 25, 27, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: auto; height: 42px; display: block; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  padding: 10px 14px;
  color: #55575a;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover { color: var(--ink); background: rgba(23, 25, 27, 0.05); }
.desktop-nav a.active { color: white; background: var(--yellow); }

.account-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.account-button:hover { border-color: #b8b6af; }
.account-button .avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.account-name { font-size: 13px; font-weight: 700; }
.account-button > svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 64px;
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow-dark);
  font: 800 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 3px;
  background: var(--yellow);
  border-radius: 99px;
}

.page-heading h1,
.section-heading h2,
.help-panel h2,
.action-modal h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

.page-heading h1 { font-size: clamp(42px, 5vw, 66px); line-height: 0.98; }
.heading-copy { max-width: 580px; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

.browse-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 19px;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.browse-button:hover { background: #2b2e31; transform: translateY(-2px); }
.browse-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.attention-panel {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border: 1px solid #2d3033;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.attention-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--yellow);
  border-radius: 16px;
}
.attention-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.attention-kicker { margin: 0 0 5px; color: #72a9ff; font: 800 10px/1 "Manrope", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.attention-copy h2 { margin: 0 0 6px; font: 700 23px/1.15 "Manrope", sans-serif; letter-spacing: -0.025em; }
.attention-copy p:last-child { margin: 0; color: #b9babd; font-size: 14px; }
.attention-actions { min-width: 180px; display: flex; flex-direction: column; gap: 8px; }
.action-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: white;
  background: #272a2d;
  border: 1px solid #3d4043;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.action-link:hover { background: #34373a; border-color: #5a5c5e; }
.action-link span { color: var(--yellow); }

.summary-grid {
  margin: 18px 0 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.summary-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.summary-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.summary-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.active-summary .summary-icon { color: #0753c7; background: #e7f0ff; }
.won-summary .summary-icon { color: var(--red); background: var(--red-soft); }
.pickup-summary .summary-icon { color: var(--green); background: var(--green-soft); }
.summary-card > span:nth-child(2) { display: flex; flex-direction: column; }
.summary-card strong { font: 800 23px/1 "Manrope", sans-serif; letter-spacing: -0.04em; }
.summary-card small { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.summary-note { margin-left: auto; padding: 6px 8px; color: #0753c7; background: #e7f0ff; border-radius: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.summary-note.warning { color: #9b332d; background: var(--red-soft); }
.summary-note.success { color: #126149; background: var(--green-soft); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; }
.view-control { display: flex; gap: 4px; padding: 4px; background: #e9e7e0; border-radius: 10px; }
.view-control button { width: 36px; height: 34px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.view-control button.active { background: white; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.view-control svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px;
  overflow-x: auto;
  background: #e9e7e0;
  border-radius: 12px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button {
  flex: 1;
  min-width: max-content;
  height: 42px;
  padding: 0 15px;
  color: #65676a;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.filter-tabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 12px rgba(23,25,27,.08); }
.filter-tabs button span { display: inline-grid; min-width: 21px; height: 21px; margin-left: 6px; place-items: center; color: #777; background: #e9e8e4; border-radius: 99px; font-size: 10px; }
.filter-tabs button.active span { color: white; background: var(--yellow); }

.lot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lot-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(23,25,27,.035);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lot-card:hover { transform: translateY(-3px); border-color: #c9c7c1; box-shadow: var(--shadow); }
.lot-card.is-highlighted { animation: attention-ring 1.2s ease; }
@keyframes attention-ring { 0%, 100% { box-shadow: 0 5px 20px rgba(23,25,27,.035); } 35% { box-shadow: 0 0 0 5px rgba(244,182,27,.35), var(--shadow); } }

.lot-image-wrap { position: relative; height: 246px; overflow: hidden; background: #e8e5dc; }
.lot-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 350ms ease; }
.lot-card:hover .lot-image-wrap img { transform: scale(1.025); }
.lot-number { position: absolute; top: 14px; left: 14px; padding: 7px 9px; color: white; background: rgba(23,25,27,.86); border-radius: 7px; font: 800 10px/1 "Manrope", sans-serif; letter-spacing: .08em; }
.state-badge { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; background: white; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); font-size: 11px; font-weight: 800; }
.state-badge svg { width: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.state-winning .state-badge, .state-ready .state-badge { color: var(--green); }
.state-outbid .state-badge { color: var(--red); }
.state-won .state-badge { color: #a06c00; }

.lot-body { padding: 21px; }
.lot-title-row { min-height: 58px; display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.lot-title-row h3 { margin: 0; font: 800 18px/1.2 "Manrope", sans-serif; letter-spacing: -0.025em; }
.lot-title-row p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.more-button { margin: -5px -5px 0 0; padding: 5px 7px; color: #8a8b8d; background: transparent; border: 0; border-radius: 7px; letter-spacing: 2px; cursor: pointer; }
.more-button:hover { color: var(--ink); background: #f1f0ec; }

.bid-stats { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 14px; margin: 19px 0 18px; padding: 17px 0; border-top: 1px solid #ecebe7; border-bottom: 1px solid #ecebe7; }
.bid-stats div { display: flex; flex-direction: column; }
.bid-stats div + div { padding-left: 14px; border-left: 1px solid #ecebe7; }
.bid-stats small, .won-total small, .pickup-details small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bid-stats strong { margin-top: 5px; font: 800 22px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.bid-stats div:nth-child(2) strong { font-size: 17px; color: #55575a; }
.bid-stats div:nth-child(3) strong { font-size: 17px; }

.countdown-row { display: flex; align-items: center; justify-content: space-between; margin: 0 1px 9px; }
.countdown-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px var(--green-soft); }
.countdown { color: #3f4245; font: 800 13px/1 "Manrope", sans-serif; font-variant-numeric: tabular-nums; }
.countdown.urgent { color: var(--red); }
.timeline { height: 5px; overflow: hidden; background: #edebe6; border-radius: 99px; }
.timeline span { width: var(--progress); height: 100%; display: block; background: var(--green); border-radius: inherit; }
.state-outbid .timeline span { background: var(--red); }

.primary-button {
  width: 100%;
  min-height: 49px;
  margin-top: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: white;
  background: var(--yellow);
  border: 0;
  border-radius: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.primary-button:hover { background: #2b79f5; transform: translateY(-1px); }
.primary-button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.primary-button > svg:last-child { margin-left: auto; }
.winning-button { color: var(--green); background: var(--green-soft); cursor: default; }
.winning-button:hover { background: var(--green-soft); transform: none; }
.pay-button { color: white; background: var(--red); }
.pay-button:hover { background: #a9322b; }
.directions-button { color: white; background: var(--ink); }
.directions-button:hover { background: #2b2e31; }
.card-helper { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 5px; color: #85868a; font-size: 10px; }
.card-helper svg { width: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.won-total { margin: 18px 0 14px; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 18px; padding: 16px; background: #f8f6f1; border-radius: 12px; }
.won-total > div:first-child { display: flex; flex-direction: column; }
.won-total > div:first-child strong { margin-top: 5px; font: 800 24px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.total-breakdown { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; font-size: 11px; }
.total-breakdown span { color: var(--muted); }
.total-breakdown strong { font-size: 14px; }
.deadline-row { height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: var(--red); background: var(--red-soft); border-radius: 8px; font-size: 11px; font-weight: 700; }
.deadline-row span { display: flex; align-items: center; gap: 6px; }
.deadline-row svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.pickup-banner { margin: 18px 0 14px; display: flex; align-items: center; gap: 11px; padding: 13px; background: var(--green-soft); border-radius: 11px; }
.pickup-check { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; }
.pickup-check svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.pickup-banner > span:last-child { display: flex; flex-direction: column; }
.pickup-banner strong { color: var(--green); font-size: 13px; }
.pickup-banner small { margin-top: 3px; color: #54796c; font-size: 10px; }
.pickup-details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.pickup-details > div { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid #ecebe7; border-radius: 10px; }
.pickup-details svg { flex: 0 0 auto; width: 19px; fill: none; stroke: var(--green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.pickup-details span { min-width: 0; display: flex; flex-direction: column; }
.pickup-details strong, .pickup-details time { max-width: 100%; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }

.lot-grid.list-view { grid-template-columns: 1fr; }
.lot-grid.list-view .lot-card { display: grid; grid-template-columns: 240px 1fr; }
.lot-grid.list-view .lot-image-wrap { height: 100%; min-height: 320px; }
.lot-grid.list-view .lot-body { display: flex; flex-direction: column; justify-content: center; }
.lot-card[hidden] { display: none !important; }

.empty-state { padding: 68px 20px; text-align: center; background: white; border: 1px dashed #c9c7c1; border-radius: var(--radius); }
.empty-state > span { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; color: #888; background: #efede8; border-radius: 16px; }
.empty-state svg { width: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.empty-state h3 { margin: 0; font: 800 19px/1.2 "Manrope", sans-serif; }
.empty-state p { margin: 7px 0 0; color: var(--muted); }

.help-panel { margin-top: 64px; padding: 34px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; color: white; background: var(--ink); border-radius: var(--radius); }
.eyebrow.light { color: var(--yellow); }
.help-panel h2 { font-size: 34px; }
.help-panel > div:first-child > p:last-child { max-width: 580px; margin: 13px 0 0; color: #b8babc; font-size: 14px; line-height: 1.6; }
.help-points { display: grid; grid-template-columns: repeat(3, 1fr); }
.help-points div { min-width: 0; display: flex; flex-direction: column; padding: 4px 18px; border-left: 1px solid #3a3d40; }
.help-points strong { color: var(--yellow); font: 800 23px/1 "Manrope", sans-serif; }
.help-points span { margin-top: 7px; color: #abadb0; font-size: 10px; line-height: 1.3; }

.mobile-nav { display: none; }

.toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(370px, calc(100vw - 36px));
  padding: 13px 16px;
  color: white;
  background: var(--ink);
  border: 1px solid #393c3f;
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.action-modal {
  width: min(440px, calc(100% - 28px));
  padding: 0;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.action-modal::backdrop { background: rgba(17,18,19,.68); backdrop-filter: blur(3px); }
.action-modal form { position: relative; padding: 30px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; color: #777; background: #f1f0ec; border: 0; border-radius: 50%; cursor: pointer; }
.modal-close svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.modal-icon { width: 50px; height: 50px; margin-bottom: 22px; display: grid; place-items: center; color: white; background: var(--yellow); border-radius: 14px; }
.modal-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.action-modal h2 { font-size: 27px; }
.modal-copy { margin: 11px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.modal-amount { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: #f3f1eb; border-radius: 10px; }
.modal-amount span { color: var(--muted); font-size: 12px; font-weight: 700; }
.modal-amount strong { font: 800 24px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.action-modal .primary-button { margin-top: 14px; }
.text-button { width: 100%; margin-top: 7px; padding: 10px; color: var(--muted); background: transparent; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.text-button:hover { color: var(--ink); }
.pay-modal .modal-icon { color: white; background: var(--red); }
.pay-modal .primary-button { color: white; background: var(--red); }

@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .attention-panel { grid-template-columns: auto 1fr; }
  .attention-actions { grid-column: 2; min-width: 0; flex-direction: row; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card { min-height: 78px; }
  .lot-image-wrap { height: 215px; }
  .help-panel { grid-template-columns: 1fr; gap: 28px; }
  .help-points div:first-child { border-left: 0; padding-left: 0; }
}

@media (max-width: 700px) {
  body { padding-bottom: 72px; }
  .site-header { position: relative; }
  .header-inner { width: calc(100% - 30px); height: 66px; }
  .brand img { height: 36px; }
  .account-button { display: none; }
  .page-shell { width: calc(100% - 28px); padding: 38px 0 30px; }
  .page-heading { align-items: start; margin-bottom: 25px; }
  .page-heading h1 { font-size: 44px; }
  .heading-copy { margin-top: 12px; font-size: 14px; }
  .browse-button { display: none; }

  .attention-panel { min-height: 0; grid-template-columns: auto 1fr; gap: 15px; padding: 20px; }
  .attention-icon { width: 44px; height: 44px; border-radius: 12px; }
  .attention-icon svg { width: 23px; }
  .attention-copy h2 { font-size: 18px; }
  .attention-copy p:last-child { font-size: 12px; line-height: 1.45; }
  .attention-actions { grid-column: 1 / -1; flex-direction: row; }
  .action-link { padding: 10px; font-size: 11px; }

  .summary-grid { margin: 12px 0 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .summary-card { min-height: 88px; display: block; padding: 11px; }
  .summary-icon { width: 30px; height: 30px; margin-bottom: 9px; border-radius: 8px; }
  .summary-icon svg { width: 17px; }
  .summary-card strong { font-size: 18px; }
  .summary-card small { margin-top: 2px; font-size: 9px; white-space: nowrap; }
  .summary-note { display: none; }

  .section-heading { align-items: center; margin-bottom: 16px; }
  .section-heading h2 { font-size: 27px; }
  .view-control { display: none; }
  .filter-tabs { margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; background: transparent; border-bottom: 1px solid var(--line); border-radius: 0; }
  .filter-tabs button { flex: 0 0 auto; height: 39px; padding: 0 11px; border-radius: 8px 8px 0 0; }
  .filter-tabs button.active { box-shadow: none; }

  .lot-grid { grid-template-columns: 1fr; gap: 14px; }
  .lot-card, .lot-grid.list-view .lot-card { display: grid; grid-template-columns: 128px 1fr; border-radius: 16px; }
  .lot-image-wrap, .lot-grid.list-view .lot-image-wrap { height: 100%; min-height: 246px; }
  .lot-number { top: 9px; left: 9px; padding: 6px; font-size: 8px; }
  .state-badge { right: auto; bottom: 9px; left: 9px; max-width: calc(100% - 18px); padding: 6px 7px; font-size: 9px; }
  .state-badge svg { width: 11px; }
  .lot-body { min-width: 0; padding: 15px; }
  .lot-title-row { min-height: 48px; }
  .lot-title-row h3 { font-size: 14px; }
  .lot-title-row p { margin-top: 5px; font-size: 9px; }
  .more-button { display: none; }
  .bid-stats { gap: 7px; margin: 12px 0; padding: 11px 0; }
  .bid-stats div + div { padding-left: 7px; }
  .bid-stats small, .won-total small, .pickup-details small { font-size: 8px; }
  .bid-stats strong { font-size: 17px; }
  .bid-stats div:nth-child(2) strong, .bid-stats div:nth-child(3) strong { font-size: 12px; }
  .countdown-label { font-size: 9px; }
  .countdown { font-size: 11px; }
  .primary-button { min-height: 42px; margin-top: 13px; padding: 0 12px; border-radius: 9px; font-size: 12px; }
  .primary-button svg { width: 15px; }
  .card-helper { font-size: 8px; text-align: center; }
  .won-total { margin: 12px 0 9px; grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .won-total > div:first-child { flex-direction: row; align-items: center; justify-content: space-between; }
  .won-total > div:first-child strong { margin: 0; font-size: 17px; }
  .total-breakdown { font-size: 9px; }
  .deadline-row { height: 34px; padding: 0 8px; font-size: 9px; }
  .pickup-banner { margin: 12px 0 9px; padding: 9px; }
  .pickup-check { width: 28px; height: 28px; }
  .pickup-banner strong { font-size: 10px; }
  .pickup-banner small { font-size: 8px; }
  .pickup-details { grid-template-columns: 1fr; gap: 6px; }
  .pickup-details > div { padding: 8px; }
  .pickup-details svg { width: 16px; }
  .pickup-details strong, .pickup-details time { font-size: 9px; }

  .help-panel { margin-top: 42px; padding: 25px 21px; border-radius: 16px; }
  .help-panel h2 { font-size: 27px; }
  .help-points div { padding: 4px 9px; }
  .help-points strong { font-size: 18px; }
  .help-points span { font-size: 8px; }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 7px 14px env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,.96);
    border-top: 1px solid #dddcd7;
    backdrop-filter: blur(14px);
  }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #76777a; background: transparent; border: 0; font-size: 9px; font-weight: 700; text-decoration: none; }
  .mobile-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .mobile-nav .active { color: var(--yellow-dark); }
  .toast { right: 14px; bottom: 76px; }
  .action-modal form { padding: 25px; }
}

@media (max-width: 410px) {
  .lot-card, .lot-grid.list-view .lot-card { grid-template-columns: 112px 1fr; }
  .lot-image-wrap, .lot-grid.list-view .lot-image-wrap { min-height: 252px; }
  .summary-card { padding: 9px; }
}

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