:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-soft: #f8f8f5;
  --ink: #11110f;
  --muted: #68685f;
  --line: #deded7;
  --line-dark: #b9b9af;
  --mint: #cfeee2;
  --mint-ink: #075a48;
  --amber: #fff0bd;
  --amber-ink: #7a5300;
  --danger: #c20000;
  --hero-image: url("/assets/resale-radar-hero.png");
  --radius: 4px;
  --shadow: 0 8px 24px rgba(17, 17, 15, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Hiragino Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  min-height: 40px;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
article:focus-visible {
  outline: 3px solid rgba(0, 92, 255, 0.24);
  outline-offset: 2px;
}

.skip-link,
.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  background: var(--ink);
  color: #fff;
  height: auto;
  left: 12px;
  padding: 8px 12px;
  top: 12px;
  width: auto;
  clip: auto;
  z-index: 20;
}

.icon-sprite {
  height: 0;
  position: absolute;
  width: 0;
}

.icon {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.microbar {
  align-items: center;
  background: #050505;
  color: #fff;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 30px;
  padding: 0 44px;
}

.microbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.microbar-actions button {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-height: 28px;
}

.microbar-actions button:hover {
  color: var(--mint);
}

.header-main {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 190px minmax(240px, 520px) minmax(320px, 1fr) 96px;
  min-height: 72px;
  padding: 0 44px;
}

.brand-word {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
}

.header-search {
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
}

.header-search input {
  background: transparent;
  border: 0;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.header-search input::placeholder {
  color: #9a9a91;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: end;
}

.nav-tab {
  font-weight: 850;
  position: relative;
}

.nav-tab::after {
  background: transparent;
  bottom: -18px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.nav-tab.is-active::after {
  background: var(--ink);
}

.header-icons {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: end;
}

.category-nav {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(18px, 4vw, 62px);
  min-height: 48px;
  overflow-x: auto;
  padding: 0 44px;
  white-space: nowrap;
}

.category-nav button {
  color: #22221e;
  font-size: 14px;
}

.category-nav .sale-link {
  color: var(--danger);
  font-weight: 900;
}

main {
  margin: 0 auto;
  max-width: 1520px;
  padding: 0 22px 72px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.buy-hero {
  background:
    linear-gradient(90deg, rgba(248, 248, 244, 0.96) 0%, rgba(248, 248, 244, 0.88) 38%, rgba(248, 248, 244, 0.18) 72%),
    var(--hero-image);
  background-color: var(--surface);
  background-position: center right;
  background-size: cover;
  min-height: 430px;
  margin: 0 -22px;
  padding: 92px min(8vw, 104px);
}

.hero-copy {
  max-width: 520px;
}

.verified-kicker,
.verified-label {
  align-items: center;
  color: var(--mint-ink);
  display: inline-flex;
  font-weight: 900;
  gap: 6px;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin-top: 24px;
}

.hero-copy p {
  color: #55554e;
  font-size: 18px;
  margin-top: 24px;
}

.hero-cta,
.black-button,
.primary-link {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.hero-cta {
  margin-top: 22px;
}

.hero-controls {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.ranking-strip {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 86px;
  margin-top: 14px;
  padding: 0 22px;
}

.ranking-strip h2 {
  font-size: 18px;
  line-height: 1.2;
}

.ranking-list {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.ranking-item {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 54px minmax(0, 1fr);
  text-align: left;
}

.ranking-item strong {
  font-size: 28px;
  font-weight: 900;
}

.ranking-image {
  aspect-ratio: 1;
  background: #f2f2ef;
  height: 54px;
  object-fit: contain;
  width: 54px;
}

.ranking-item span,
.ranking-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-item small {
  color: var(--muted);
}

.ranking-empty {
  color: var(--muted);
}

.sensor-strip {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 18px 44px;
}

.sensor-strip span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sensor-strip h2 {
  font-size: 24px;
  line-height: 1.1;
}

.sensor-strip p {
  color: var(--muted);
  margin-top: 4px;
}

.sensor-state {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.sensor-state strong {
  font-size: 14px;
  font-weight: 900;
}

.sensor-state span {
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
}

.sensor-state[data-state="running"] {
  background: var(--amber);
  border-color: #f0d984;
  color: var(--amber-ink);
}

.sensor-state[data-state="done"] {
  background: var(--mint);
  border-color: #bde5d4;
  color: var(--mint-ink);
}

.sensor-state[data-state="check"] {
  background: #fff8de;
  border-color: #f0d984;
  color: var(--amber-ink);
}

.content-band {
  padding-top: 34px;
}

.section-title-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title-row.compact {
  margin: 0 0 14px;
}

.section-title-row h2 {
  font-size: 27px;
  font-weight: 900;
}

.section-title-row p,
.page-head p,
.soft-copy {
  color: var(--muted);
}

.section-title-row a,
.section-title-row .text-button,
.text-button {
  align-items: center;
  color: #30302a;
  display: inline-flex;
  font-weight: 800;
  gap: 4px;
}

.verified-dot {
  align-items: center;
  background: #15966e;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  height: 20px;
  justify-content: center;
  vertical-align: middle;
  width: 20px;
}

.product-grid,
.watch-grid,
.inventory-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.inventory-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.product-card {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow);
}

.product-media,
.inventory-image-wrap {
  aspect-ratio: 1 / 1.12;
  background: #f4f4f2;
  position: relative;
}

.product-image,
.detail-image,
.thumb-image,
.featured-watch-image,
.proof-image,
.sold-thumb,
.run-thumb {
  background: #f4f4f2;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.image-fallback {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(213, 215, 209, 0.65)),
    #eceee9;
  display: flex;
  justify-content: center;
}

.image-fallback span {
  align-items: center;
  border: 2px solid rgba(17, 17, 15, 0.22);
  border-radius: 8px;
  display: flex;
  height: 48px;
  justify-content: center;
  position: relative;
  width: 58px;
}

.image-fallback span::before {
  background: rgba(17, 17, 15, 0.28);
  border-radius: 50%;
  content: "";
  height: 8px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 8px;
}

.image-fallback span::after {
  border-bottom: 2px solid rgba(17, 17, 15, 0.28);
  border-left: 2px solid rgba(17, 17, 15, 0.28);
  content: "";
  height: 16px;
  left: 10px;
  position: absolute;
  top: 22px;
  transform: skewX(-18deg);
  width: 32px;
}

.deal-badge,
.watch-badge,
.proof-chip,
.inventory-state {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.deal-badge {
  background: var(--mint);
  bottom: 12px;
  color: var(--mint-ink);
  left: 12px;
  position: absolute;
}

.watch-badge {
  background: var(--amber);
  bottom: 12px;
  color: var(--amber-ink);
  left: 12px;
  position: absolute;
}

.product-info {
  display: grid;
  gap: 5px;
  padding: 14px 12px 16px;
}

.product-brand {
  font-weight: 850;
}

.product-info h3 {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  min-height: 42px;
  overflow-wrap: anywhere;
}

.product-info p {
  color: var(--muted);
  min-height: 20px;
}

.price-line {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.price-line strong {
  font-size: 20px;
  font-weight: 900;
}

.price-line span {
  color: #a0a097;
  font-size: 13px;
  text-decoration: line-through;
}

.product-card-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.proof-chip {
  background: #e0f5ef;
  border: 1px solid #afe0d1;
  color: var(--mint-ink);
}

.proof-chip.muted {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}

.heart-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 36px;
  width: 36px;
}

.buy-empty {
  display: grid;
  gap: 34px;
  grid-column: 1 / -1;
}

.empty-hero {
  background:
    linear-gradient(90deg, rgba(248, 248, 244, 0.98) 0%, rgba(248, 248, 244, 0.88) 38%, rgba(248, 248, 244, 0.12) 78%),
    var(--hero-image);
  background-position: center right;
  background-size: cover;
  min-height: 320px;
  padding: 78px min(8vw, 104px);
}

.empty-hero h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
}

.empty-hero p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 12px;
}

.empty-hero .black-button {
  margin-top: 28px;
}

.empty-search-form {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 520px;
}

.empty-search-form input,
.run-search-form input {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  min-height: 48px;
  min-width: 0;
  padding: 0 18px;
  width: 100%;
}

.empty-search-form .black-button {
  flex: 0 0 auto;
  margin-top: 0;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.suggestion-chips button {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 12px;
}

.suggestion-chips button:hover {
  border-color: var(--line-dark);
  color: var(--ink);
}

.watch-inline-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.page-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 48px 0 24px;
}

.page-head.compact {
  padding-top: 38px;
}

.page-head h1 {
  font-size: 44px;
  font-weight: 900;
}

.outline-button,
.inventory-tabs button,
.watch-tabs button,
.date-strip button,
.inventory-actions button,
.proof-actions button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  padding: 0 14px;
}

.watch-tabs,
.inventory-tabs,
.date-strip {
  align-items: center;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.watch-tabs button,
.inventory-tabs button,
.date-strip button {
  border-color: transparent;
  white-space: nowrap;
}

.watch-tabs .is-active,
.inventory-tabs .is-active,
.date-strip .is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: 0 22px;
}

.watch-featured {
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 0 0 16px;
  padding: 20px;
}

.watch-section {
  margin-top: 28px;
}

.watch-featured h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.watch-featured-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-watch-item {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 120px minmax(0, 1fr);
  min-width: 0;
  text-align: left;
}

.featured-watch-item:last-child {
  border-right: 0;
}

.featured-watch-image {
  aspect-ratio: 1;
  height: 120px;
}

.featured-watch-item span {
  display: grid;
  gap: 5px;
}

.featured-watch-item small {
  color: var(--muted);
}

.featured-watch-item em,
.latest-run-time em,
.run-row em {
  background: var(--amber);
  border: 1px solid #e8c65b;
  border-radius: 999px;
  color: var(--amber-ink);
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  justify-content: center;
  padding: 6px 11px;
}

.detail-topbar {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 14px;
  padding: 24px 0;
}

.product-detail {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

.detail-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: 88px minmax(0, 1fr);
}

.thumb-column {
  display: grid;
  gap: 12px;
}

.thumb-column button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  overflow: hidden;
}

.thumb-column button.is-active {
  border-color: var(--ink);
}

.detail-main-image {
  aspect-ratio: 1.15;
  background: #f5f5f2;
  border: 1px solid var(--line);
  min-height: 540px;
}

.detail-panel {
  align-content: start;
  display: grid;
  gap: 14px;
}

.detail-brand {
  font-size: 20px;
  font-weight: 900;
}

.detail-panel h1 {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.05;
}

.detail-size {
  font-size: 22px;
}

.detail-price-box {
  border: 1px solid var(--line);
  display: grid;
  margin-top: 10px;
}

.detail-price-box > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 22px 28px;
}

.detail-price-box > div:last-child {
  border-bottom: 0;
}

.detail-price-box span {
  color: var(--muted);
}

.detail-price-box strong {
  font-size: 30px;
  font-weight: 900;
}

.deal-score strong {
  color: var(--mint-ink);
  font-size: 56px;
}

.detail-actions,
.detail-lifecycle,
.proof-actions,
.inventory-actions {
  display: flex;
  gap: 10px;
}

.detail-actions .primary-link {
  flex: 1;
}

.detail-actions button,
.detail-lifecycle button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 58px;
  padding: 0 16px;
}

.detail-lifecycle {
  margin-top: 8px;
}

.proof-section {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 28px;
}

.proof-section h2 small {
  color: var(--muted);
  font-size: 18px;
  margin-left: 12px;
}

.proof-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 14px;
}

.proof-image {
  aspect-ratio: 1;
  height: 140px;
}

.proof-card h3 {
  font-size: 16px;
  line-height: 1.25;
}

.proof-card p {
  font-size: 20px;
  font-weight: 900;
  margin-top: 12px;
}

.proof-card small {
  color: var(--muted);
}

.proof-actions {
  flex-wrap: wrap;
  margin-top: 12px;
}

.proof-actions button {
  font-size: 12px;
  min-height: 34px;
}

.inventory-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.inventory-summary div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 24px;
}

.inventory-summary div:last-child {
  border-right: 0;
}

.inventory-summary span {
  color: var(--muted);
  font-weight: 760;
}

.inventory-summary strong {
  color: var(--mint-ink);
  font-size: 32px;
  font-weight: 900;
}

.inventory-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

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

.inventory-card {
  padding-bottom: 14px;
}

.inventory-body {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.inventory-state {
  background: var(--mint);
  color: var(--mint-ink);
  justify-self: start;
}

.inventory-body h3 {
  min-height: 42px;
}

.inventory-body p {
  color: var(--muted);
}

.profit-copy {
  color: var(--mint-ink) !important;
  font-weight: 900;
}

.inventory-actions {
  margin-top: 10px;
}

.inventory-actions button {
  flex: 1;
}

.recent-sold {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  padding: 22px;
}

.aside-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sold-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 12px 0;
}

.sold-thumb {
  aspect-ratio: 1;
  height: 72px;
}

.sold-row div {
  display: grid;
  gap: 3px;
}

.sold-row span {
  background: var(--mint);
  border-radius: 3px;
  color: var(--mint-ink);
  font-size: 11px;
  font-weight: 900;
  justify-self: start;
  padding: 2px 5px;
}

.sold-row small {
  color: var(--muted);
}

.sold-row em {
  color: var(--mint-ink);
  font-style: normal;
  font-weight: 900;
}

.date-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  padding: 12px 16px;
}

.run-actions {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  margin-bottom: 16px;
  padding: 16px;
}

.run-search-form {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.run-search-form .outline-button,
.run-actions > .outline-button,
.run-actions > .black-button {
  min-height: 48px;
  white-space: nowrap;
}

.run-suggestion-chips {
  grid-column: 1 / -1;
  margin-top: 0;
}

.latest-run-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 60px;
  min-height: 210px;
  margin-bottom: 22px;
}

.latest-run-time {
  align-content: center;
  background: #f1f5ef;
  display: grid;
  gap: 8px;
  padding: 28px;
}

.latest-run-time strong {
  font-size: 34px;
  font-weight: 900;
}

.latest-run-time small {
  color: var(--muted);
}

.latest-run-main {
  align-content: center;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.latest-run-main h2 {
  font-size: 22px;
}

.run-counts {
  display: flex;
  gap: 24px;
}

.run-counts span {
  color: var(--muted);
}

.run-counts strong {
  color: var(--ink);
}

.run-thumbs {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.run-thumb {
  aspect-ratio: 1;
  border-right: 1px solid var(--line);
  flex: 0 0 104px;
  height: 104px;
  width: 104px;
}

.run-list {
  background: var(--surface);
  border: 1px solid var(--line);
}

.run-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 110px 76px minmax(220px, 1fr) auto auto auto auto 36px;
  min-height: 64px;
  padding: 0 28px;
}

.run-row:last-child {
  border-bottom: 0;
}

.run-row p,
.run-row span {
  color: var(--muted);
}

.quiet-empty {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 28px;
}

.status-line {
  border: 1px solid var(--line);
  color: var(--muted);
  margin: 12px 0;
  padding: 12px 14px;
}

.status-line:empty {
  display: none;
}

.status-line[data-tone="success"] {
  background: #ecf9f3;
  border-color: #bde5d4;
  color: var(--mint-ink);
}

.status-line[data-tone="warning"],
.status-line[data-tone="info"] {
  background: #fff8de;
  border-color: #f0d984;
  color: var(--amber-ink);
}

.status-line[data-tone="error"] {
  background: #fff1f1;
  border-color: #f3b3b3;
  color: #9c1111;
}

.modal-backdrop {
  align-items: center;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 50;
}

.modal-backdrop[hidden] {
  display: none;
}

.account-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 420px;
  padding: 28px;
  position: relative;
  width: min(100%, 420px);
}

.modal-close {
  font-size: 28px;
  min-height: 32px;
  position: absolute;
  right: 16px;
  top: 12px;
  width: 32px;
}

#account-modal-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-modal h2 {
  font-size: 34px;
  margin-top: 8px;
}

.account-modal p {
  color: var(--muted);
  margin-top: 8px;
}

.account-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.account-form label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-form input {
  border: 1px solid var(--line-dark);
  min-height: 44px;
  padding: 0 12px;
}

.account-support {
  border: 1px solid var(--line);
  margin-top: 20px;
  padding: 16px;
}

.account-support a {
  color: var(--mint-ink);
  display: inline-block;
  font-weight: 900;
  margin-top: 10px;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1100px) {
  .header-main {
    gap: 14px;
    grid-template-columns: 150px minmax(180px, 1fr) auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .header-icons {
    display: none;
  }

  .sensor-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sensor-strip .outline-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-grid,
  .watch-grid,
  .inventory-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail,
  .inventory-layout {
    grid-template-columns: 1fr;
  }

  .detail-main-image {
    min-height: 420px;
  }

  .recent-sold {
    display: none;
  }

  .run-row {
    grid-template-columns: 90px 70px minmax(180px, 1fr) auto;
  }

  .run-actions {
    grid-template-columns: 1fr;
  }

  .run-row span:nth-of-type(n + 2),
  .run-row em {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    background: #fff;
    padding-bottom: 72px;
  }

  .microbar {
    align-items: start;
    display: grid;
    font-size: 11px;
    gap: 6px;
    grid-template-columns: 1fr;
    min-height: 32px;
    padding: 8px 20px;
  }

  .microbar > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .microbar-actions {
    gap: 8px;
  }

  .header-main {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 20px;
  }

  .brand-word {
    font-size: 34px;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .primary-nav {
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-nav .nav-tab:nth-child(4) {
    display: none;
  }

  .category-nav {
    display: none;
  }

  main {
    padding: 0 0 32px;
  }

  .buy-hero {
    background-position: 64% center;
    margin: 0;
    min-height: 378px;
    padding: 44px 24px;
  }

  .hero-copy {
    max-width: 270px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .ranking-strip {
    border-left: 0;
    border-right: 0;
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 18px 20px;
  }

  .sensor-strip {
    border-left: 0;
    border-right: 0;
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }

  .sensor-strip h2 {
    font-size: 21px;
  }

  .sensor-state {
    justify-content: space-between;
    width: 100%;
  }

  .ranking-list {
    gap: 14px;
    grid-auto-flow: column;
    grid-template-columns: unset;
    overflow-x: auto;
    padding-top: 12px;
  }

  .ranking-item {
    grid-template-columns: 32px 70px;
    min-width: 116px;
  }

  .ranking-item span,
  .ranking-item small {
    grid-column: 1 / -1;
  }

  .content-band,
  .page-head,
  .page-head.compact,
  .detail-topbar,
  .proof-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title-row {
    align-items: start;
  }

  .product-grid,
  .watch-grid,
  .inventory-grid,
  .proof-grid,
  .watch-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    border-left: 0;
    border-right: 0;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .watch-featured {
    border-left: 0;
    border-right: 0;
  }

  .watch-featured-row {
    grid-template-columns: 1fr;
  }

  .featured-watch-item {
    border-right: 0;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .featured-watch-image {
    height: 96px;
  }

  .product-detail {
    gap: 22px;
    padding: 0 20px;
  }

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

  .thumb-column {
    display: flex;
    order: 2;
    overflow-x: auto;
  }

  .thumb-column button {
    flex: 0 0 72px;
  }

  .detail-main-image {
    min-height: 320px;
  }

  .detail-panel h1 {
    font-size: 34px;
  }

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

  .inventory-summary {
    border-left: 0;
    border-right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-summary div:nth-child(2) {
    border-right: 0;
  }

  .inventory-layout,
  .inventory-tabs,
  .run-actions,
  .date-strip,
  .latest-run-card,
  .run-list {
    margin-left: 20px;
    margin-right: 20px;
  }

  .latest-run-card {
    grid-template-columns: 1fr;
  }

  .latest-run-card > .text-button {
    display: none;
  }

  .run-row {
    grid-template-columns: 1fr auto;
    padding: 14px;
  }

  .run-row p {
    grid-column: 1 / -1;
  }

  .empty-search-form,
  .run-search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    left: 0;
    min-height: 64px;
    position: fixed;
    right: 0;
    z-index: 12;
    backdrop-filter: blur(14px);
  }

  .mobile-nav button {
    align-items: center;
    display: grid;
    font-size: 12px;
    gap: 3px;
    justify-items: center;
    min-height: 60px;
  }

  .mobile-nav button.is-active {
    color: #000;
    font-weight: 900;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .watch-grid,
  .inventory-grid,
  .watch-inline-grid {
    gap: 10px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .price-line strong {
    font-size: 18px;
  }
}
