@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  color-scheme: light;
  --surface-2: #f7f7f6;
  --surface-3: #eeeeec;
  --text: #121212;
  --muted: #727272;
  --muted-2: #aaaaaa;
  --line: #e9e9e6;
  --line-strong: #d8d8d2;
  --green: #111111;
  --blue: #5f5f5f;
  --red: #9a9a9a;
  --ink: #0b0b0b;
  --shadow: none;
  --shadow-soft: none;
  --radius: 8px;
  --radius-sm: 6px;
  --control-height: 38px;
  --focus-ring: 0 0 0 3px rgba(17, 17, 17, 0.12);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 600;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-regular);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

/* 2026-06 app frame pass: one header, one period rail, no duplicate view tabs. */

.topbar__brand {
  justify-content: start;
}

.topbar__brand h1 {
  min-width: 0;
}

@media (max-width: 760px) {

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  backdrop-filter: blur(16px);
}

body[data-route="picker"] {
  min-height: 100dvh;
}

body[data-route="picker"] .app-shell {
  width: min(1560px, calc(100vw - 32px));
  padding: 18px 0 42px;
}

.topbar__inner,
.app-shell,
.footer {
  width: min(1560px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 14px 0;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 23px;
  font-weight: var(--fw-bold);
  line-height: 1.18;
}

.source-link,
.back-link,
.chip,
select {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}

.source-link,
.back-link {
  flex: 0 0 auto;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: var(--fw-medium);
}

.source-link {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
}

.app-shell {
  padding: 18px 0 42px;
}

.chip {
  flex: 0 0 auto;
  min-height: 32px;
  max-width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.chip.is-active {
  border-color: var(--ink);
  font-weight: var(--fw-semibold);
}

.picker-view {
  padding-top: 0;
}

.picker-shell {
  display: grid;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.picker-axis-block,
.picker-detail-card {
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.picker-axis-block {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.picker-axis-block--brand {
  background: transparent;
}

.picker-axis {
  position: relative;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.picker-axis::-webkit-scrollbar {
  display: none;
}

.picker-axis--horizontal {
  display: flex;
  gap: 10px;
  min-height: 62px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 12px;
  scroll-padding-inline: 0;
  scroll-snap-type: none;
}

.picker-axis--horizontal .picker-axis-item {
  flex-basis: 112px;
  height: 48px;
  padding: 0 10px;
}

.picker-axis-block--brand::after {
  display: none;
}

.picker-axis-block--brand::after {
  left: 50%;
  bottom: 10px;
  width: 114px;
  height: 48px;
  transform: translateX(-50%);
}

.picker-axis-item {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 112px;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: #737373;
  font-size: 13px;
  font-weight: var(--fw-medium);
  line-height: 1.15;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.38;
  transform: none;
  scroll-snap-align: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.brand-logo {
  --brand-logo-height: 31px;
  --brand-logo-scale: 0.94;
  --brand-logo-width: 98px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
}

.brand-logo__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.36;
  transform: scale(var(--brand-logo-scale));
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.brand-logo__fallback {
  display: none;
  color: currentColor;
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: 0;
}

.brand-logo.is-missing .brand-logo__fallback {
  display: block;
}

.picker-axis-item.is-selected .brand-logo__image {
  filter: grayscale(1) brightness(0);
  opacity: 1;
}

.brand-logo--nike {
  --brand-logo-scale: 1.78;
}

.brand-logo--adidas {
  --brand-logo-scale: 0.96;
}

.brand-logo--asics {
  --brand-logo-scale: 0.96;
}

.brand-logo--newbalance {
  --brand-logo-scale: 1.08;
}

.brand-logo--saucony {
  --brand-logo-scale: 0.98;
}

.brand-logo--puma {
  --brand-logo-scale: 1.34;
}

.brand-logo--hoka {
  --brand-logo-scale: 0.98;
}

.brand-logo--brooks {
  --brand-logo-scale: 1;
}

.brand-logo--mizuno {
  --brand-logo-scale: 1.06;
}

.brand-logo--on {
  --brand-logo-scale: 1.12;
}

.picker-axis-item.is-selected {
  background: transparent;
  color: #111111;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.picker-axis--horizontal .picker-axis-item.is-selected {
  color: #ffffff;
}

.picker-axis--horizontal .picker-axis-item.is-selected .brand-logo__image {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 1;
}

.picker-axis--horizontal .picker-axis-item.is-selected::after {
  display: none;
}

.picker-axis:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.picker-main {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
}

.picker-detail-zone {
  position: relative;
  display: grid;
  align-items: start;
  min-width: 0;
  min-height: min(60vh, 560px);
}

.picker-detail-zone::before,
.picker-detail-zone::after {
  display: none;
}

.picker-detail-zone::before {
  top: 50%;
  right: 0;
  left: -12px;
  height: 1px;
}

.picker-detail-zone::after {
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
}

.picker-detail-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  min-width: 0;
  min-height: 420px;
  background: transparent;
}

.picker-product-list {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 42px;
  max-height: none;
  overflow: visible;
  padding-right: 2px;
}

.picker-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
}

.picker-product-card:focus-visible,
.picker-product-card:hover {
  background: transparent;
  box-shadow: none;
  outline: 2px solid #111111;
  outline-offset: 5px;
}

.picker-product-card__body {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  padding-inline: 0;
}

.picker-product-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0;
  font-size: clamp(21px, 5.2vw, 28px);
  font-weight: var(--fw-semibold);
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.picker-empty-cell {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 170px;
  border: 0;
  background: #f4f4f1;
  color: var(--muted);
  text-align: center;
}

.picker-empty-cell strong {
  color: var(--text);
  font-size: 17px;
}

select {
  min-height: 40px;
  padding: 0 36px 0 12px;
  background: var(--surface);
  font-weight: var(--fw-medium);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.shoe-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  background: #f6f6f3;
  isolation: isolate;
}

.shoe-image--matrix {
  height: 86px;
  border-radius: 0;
}

 {
  height: clamp(62px, calc(76px * var(--map-zoom)), 112px);
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.shoe-image--picker {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 1px;
  background: #f5f5f2;
}

.shoe-image--picker .shoe-image__placeholder {
  display: none;
}

.shoe-image--picker.is-failed .shoe-image__placeholder {
  display: grid;
  opacity: 1;
}

.picker-detail-card--filled .shoe-image--picker {
  box-shadow: none;
}

.picker-detail-card--filled .picker-product-card__body {
  color: #4a4a4a;
}

.picker-detail-card--filled .picker-product-card__body strong {
  color: #111111;
}

 {
  aspect-ratio: 8 / 5;
  border-bottom: 0;
}

.shoe-image--detail {
  min-height: 380px;
  aspect-ratio: 8 / 5;
}

.shoe-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(var(--shoe-scale, 1));
  transform-origin: center;
}

.shoe-image--picker img {
  transform: scale(calc(var(--shoe-scale, 1) * 0.9));
}

 {
  transform: scale(calc(var(--shoe-scale, 1) * 0.9));
}

.shoe-image__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px;
  color: #66747b;
  text-align: center;
}

.shoe-image__placeholder strong {
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.shoe-image__placeholder span {
  font-size: 13px;
  font-weight: var(--fw-medium);
  word-break: keep-all;
}

.shoe-image.is-loaded .shoe-image__placeholder {
  opacity: 0;
}

.shoe-image.is-failed img {
  display: none;
}

@media (min-width: 760px) {
  .picker-product-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px 22px;
  }

  .shoe-image--picker {
    height: auto;
  }

  .picker-product-card__body strong {
    font-size: 21px;
  }
}

.detail-view {
  padding-top: 4px;
}

.detail-card {
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 54px);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.detail-card__media {
  border-radius: 0;
  background: #f4f4f1;
}

.detail-card__content {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.detail-card h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: var(--fw-semibold);
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.empty-state {
  padding: 56px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.footer {
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--fw-regular);
}

@media (max-width: 980px) {

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

  select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar__inner,
  .app-shell,
  .footer {
    width: min(1560px, calc(100vw - 20px));
  }

  .topbar__inner {
    align-items: center;
    flex-direction: row;
    min-height: 70px;
    padding: 12px 0;
  }

  .topbar h1 {
    font-size: 24px;
    line-height: 1.12;
  }

  .source-link {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #555555;
    font-size: 13px;
  }

  body[data-route="picker"] .app-shell {
    width: min(1560px, calc(100% - 20px));
    padding-top: 12px;
    padding-bottom: 18px;
  }

  body[data-route="picker"] .footer {
    display: none;
  }

  .detail-card,
  .picker-axis-block,
  .picker-detail-card {
    padding: 14px;
  }

  .picker-axis-block {
    padding: 0;
  }

  .picker-axis--horizontal {
    min-height: 60px;
    padding-block: 4px;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .picker-axis-item {
    flex-basis: 106px;
    height: 42px;
    padding: 0 7px;
  }

  .picker-axis--horizontal .picker-axis-item {
    flex-basis: 112px;
    height: 48px;
  }

  .picker-axis-block--brand::after {
    width: 108px;
    height: 46px;
  }

  .picker-main {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .picker-detail-card {
    min-height: 430px;
    padding: 0;
  }

  .picker-detail-zone {
    min-height: min(64vh, 520px);
  }

  .picker-product-list {
    grid-template-columns: 1fr;
    gap: 40px;
    max-height: none;
  }

  .picker-product-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .shoe-image--picker {
    height: auto;
  }

  .shoe-image--detail {
    min-height: 310px;
  }
}

/* Cohesive app polish pass: one neutral system shared by list, map, and picker. */
body {
  background: var(--bg);
  letter-spacing: 0;
}

.topbar {
  z-index: 40;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.topbar__inner {
  min-height: 62px;
}

.topbar h1 {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.12;
}

.source-link {
  color: #555555;
  padding-inline: 0;
}

.chip.is-active {
  background: var(--ink);
}

select {
  min-height: 44px;
  border-color: var(--line);
  border-radius: var(--radius);
  background: #fafafa;
  color: var(--text);
}

.chip,
.back-link {
  min-height: var(--control-height);
  border-color: var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.chip {
  padding: 7px 12px;
  color: #2c2c2c;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.picker-axis:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.tag {
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: #f2f2f0;
  color: #5a5a5a;
}

.picker-axis--horizontal {
  min-height: 58px;
  padding-bottom: 8px;
}

.picker-axis--horizontal .picker-axis-item {
  height: 46px;
  border-radius: var(--radius);
  background: #ffffff;
}

.brand-logo {
  --brand-logo-height: 29px;
}

.brand-logo--nike {
  --brand-logo-scale: 1.92;
}

.brand-logo--puma {
  --brand-logo-scale: 1.42;
}

.picker-main {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
}

.picker-product-list {
  gap: 32px;
}

.picker-product-card {
  gap: 9px;
}

.picker-product-card:hover,
.picker-product-card:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.picker-product-card__body strong {
  font-size: clamp(20px, 5vw, 27px);
}

.picker-empty-cell {
  border-radius: var(--radius);
  background: #f7f7f5;
}

.shoe-image {
  background: #fafafa;
}

.shoe-image--picker,
.shoe-image--detail,
.detail-card__media {
  border-radius: var(--radius);
  background: #fafafa;
}

 {
  aspect-ratio: 4 / 3;
}

.shoe-image--picker img,
.shoe-image--detail img {
  transform: scale(calc(var(--shoe-scale, 1) * 0.96));
}

 {
  transform: scale(calc(var(--shoe-scale, 1) * 0.94));
}

.detail-card {
  gap: clamp(22px, 4vw, 48px);
}

.empty-state {
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .topbar__inner,
  .app-shell,
  .footer {
    width: calc(100vw - 24px);
  }

  .topbar__inner {
    min-height: 58px;
  }

  .topbar h1 {
    font-size: 23px;
  }

  .picker-axis-block,
  .picker-detail-card {
    padding-right: 0;
    padding-left: 0;
  }

  .tag {
    font-size: 11px;
  }

  .picker-main {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .picker-axis--horizontal .picker-axis-item {
    flex-basis: 104px;
  }

  .picker-product-list {
    gap: 30px;
  }
}

/* Map view rescue: on mobile the matrix must appear before secondary controls dominate. */
@media (max-width: 640px) {

   {
    height: 78px;
  }
}

.price-panel {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 4vw, 40px);
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.price-panel__head h3 {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
}

/* 2026-06 unified product pass: one quiet system for list, map, picker, and detail. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --surface-3: #f1f1f1;
  --text: #111111;
  --muted: #6d6d6d;
  --muted-2: #adadad;
  --line: #ececec;
  --line-strong: #d7d7d7;
  --ink: #101010;
  --radius: 10px;
  --radius-sm: 7px;
  --control-height: 40px;
  --focus-ring: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

body {
  background: #ffffff;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
}

.topbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.88);
}

.topbar__inner,
.app-shell,
.footer {
  width: min(1240px, calc(100vw - 32px));
}

body[data-route="picker"] .app-shell,
body[data-route="detail"] .app-shell {
  width: min(1120px, calc(100vw - 32px));
}

.topbar__inner {
  min-height: 60px;
  padding: 10px 0;
}

.topbar h1,
.detail-card__content h2 {
  font-weight: 600;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(21px, 2.2vw, 28px);
}

.source-link {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 500;
}

select {
  border: 0;
  border-radius: 12px;
  background: #f5f5f5;
  color: #111111;
  font-size: 14px;
}

.chip,
.back-link {
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.chip,
.back-link {
  background: #f4f4f4;
  color: #505050;
}

.chip.is-active {
  background: #111111;
  color: #ffffff;
}

.tag {
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #666666;
  font-size: 11px;
}

.shoe-image,
.shoe-image--picker,
.shoe-image--detail,
.detail-card__media {
  border-radius: 0;
  background: #fafafa;
}

.shoe-image img {
  object-fit: var(--shoe-fit, contain);
  object-position: var(--shoe-position, center);
}

 {
  aspect-ratio: 16 / 10;
}

 {
  transform: scale(calc(var(--shoe-scale, 1) * 0.98));
}

.shoe-image--detail {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.shoe-image--detail img {
  transform: scale(calc(var(--shoe-scale, 1) * 0.92));
}

.shoe-image--picker {
  aspect-ratio: 16 / 10;
}

.shoe-image--picker img {
  transform: scale(calc(var(--shoe-scale, 1) * 1));
}

.brand-logo {
  --brand-logo-height: 28px;
  --brand-logo-width: 92px;
  --brand-logo-scale: 1;
}

.brand-logo__image {
  filter: grayscale(1) brightness(0);
  opacity: 0.52;
}

.brand-logo--nike {
  --brand-logo-scale: 2.04;
}

.brand-logo--puma {
  --brand-logo-scale: 1.5;
}

.brand-logo--newbalance {
  --brand-logo-scale: 1.12;
}

.brand-logo--hoka,
.brand-logo--brooks,
.brand-logo--mizuno,
.brand-logo--on {
  --brand-logo-scale: 1.04;
}

 {
  height: clamp(78px, calc(96px * var(--map-zoom)), 130px);
  background: #fafafa;
}

 {
  transform: scale(calc(var(--shoe-scale, 1) * 0.98));
}

.picker-shell {
  max-width: 1040px;
  gap: 18px;
}

.picker-axis--horizontal {
  gap: 8px;
}

.picker-axis--horizontal .picker-axis-item {
  flex-basis: 104px;
  height: 44px;
  border-radius: 999px;
  background: #f3f3f3;
}

.picker-axis--horizontal .picker-axis-item.is-selected {
  background: #111111;
}

.picker-main {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
}

.picker-detail-card {
  min-height: 0;
  padding: 0;
}

.picker-product-list {
  gap: 28px;
}

.picker-product-card {
  gap: 10px;
}

.picker-product-card__body strong {
  font-size: clamp(20px, 4.8vw, 28px);
  font-weight: 600;
}

.picker-empty-cell {
  border-radius: 0;
  background: #f6f6f6;
}

.detail-view {
  padding-top: 18px;
}

.detail-view > .back-link {
  margin-bottom: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-card__media {
  width: 100%;
  overflow: hidden;
}

.detail-card__content {
  gap: 14px;
}

.detail-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #7a7a7a;
  font-size: 12px;
}

.detail-brand-line .brand-logo {
  width: 96px;
  height: 26px;
}

.detail-brand-line .brand-logo__image {
  opacity: 0.72;
}

.detail-card__content h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  word-break: keep-all;
}

.detail-actions {
  gap: 8px;
}

.price-panel {
  border-color: var(--line);
}

.price-panel__head h3 {
  font-weight: 600;
}

@media (max-width: 760px) {
  .topbar__inner,
  .app-shell,
  .footer,
  body[data-route="picker"] .app-shell,
  body[data-route="detail"] .app-shell {
    width: calc(100vw - 24px);
  }

  .topbar__inner {
    min-height: 56px;
  }

  .topbar h1 {
    font-size: 21px;
  }

  .source-link {
    font-size: 12px;
  }

  .tag {
    font-size: 10px;
  }

   {
    height: 82px;
  }

  .picker-main {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .picker-axis--horizontal .picker-axis-item {
    flex-basis: 100px;
  }

  .picker-product-list {
    gap: 26px;
  }

  .detail-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-card__content h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .shoe-image--detail {
    aspect-ratio: 16 / 10;
  }

  .shoe-image--detail img {
    transform: scale(calc(var(--shoe-scale, 1) * 0.78));
  }

  .detail-actions {
    align-items: stretch;
  }

  .price-panel {
    margin-top: 28px;
  }
}

/* 2026-06 lineup history pass. */

/* 2026-06 period comparison pass. */

.picker-product-card--static {
  cursor: default;
}

.history-panel {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 42px);
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.history-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.history-panel__head h3 {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
}

.history-timeline {
  display: grid;
  margin: 2px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.history-period {
  display: grid;
  grid-template-columns: 76px 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #9a9a9a;
}

.history-period.is-matched {
  color: var(--text);
}

.history-period__date {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}

.history-period__models {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-width: 0;
  color: currentColor;
  font-size: 13px;
  line-height: 1.45;
}

.history-period__models span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.history-period.is-matched .history-period__models span:first-child {
  font-weight: var(--fw-semibold);
}

.history-period__empty {
  color: #b9b9b9;
}

@media (max-width: 760px) {
  .history-panel {
    margin-top: 28px;
  }

  .history-panel__head {
    display: grid;
    gap: 10px;
  }

  .history-period {
    grid-template-columns: 64px 72px minmax(0, 1fr);
    gap: 8px;
  }

  .history-period__models {
    font-size: 12px;
  }
}

/* 2026-06 mobile launch pass: make focused picker the primary product experience. */
body[data-route="picker"] {
  background: #ffffff;
}

body[data-route="picker"] .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
}

body[data-route="picker"] .topbar__inner {
  min-height: 54px;
  padding-block: 9px;
}

body[data-route="picker"] .topbar h1 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.12;
}

body[data-route="picker"] .source-link {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777777;
  font-size: 12px;
}

body[data-route="picker"] .picker-shell {
  gap: 12px;
}

body[data-route="picker"] .picker-axis-block {
  padding: 0;
}

body[data-route="picker"] .picker-axis--horizontal {
  gap: 6px;
  min-height: 46px;
  padding: 2px 0 8px;
}

body[data-route="picker"] .picker-axis--horizontal .picker-axis-item {
  flex: 0 0 86px;
  height: 38px;
  padding: 0 9px;
  border-radius: 0;
  background: transparent;
  opacity: 1;
}

body[data-route="picker"] .picker-axis--horizontal .picker-axis-item.is-selected {
  background: #111111;
}

body[data-route="picker"] .picker-axis--horizontal .brand-logo {
  width: 70px;
  height: 24px;
}

body[data-route="picker"] .picker-axis--horizontal .brand-logo__image {
  opacity: 0.32;
}

body[data-route="picker"] .picker-axis--horizontal .picker-axis-item.is-selected .brand-logo__image {
  opacity: 1;
}

body[data-route="picker"] .picker-main {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body[data-route="picker"] .picker-detail-zone {
  min-height: 0;
}

body[data-route="picker"] .picker-detail-card {
  gap: 18px;
  min-height: 0;
  padding: 0;
}

.picker-stage {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-bottom: 14px;
}

.picker-stage__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.picker-stage__stats span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: #f5f5f5;
  color: #555555;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
}

body[data-route="picker"] .picker-product-list {
  gap: 0;
  padding: 0 0 20px;
}

body[data-route="picker"] .picker-product-card {
  display: grid;
  gap: 10px;
  padding: 0 0 28px;
  border-bottom: 1px solid #eeeeee;
  background: transparent;
}

body[data-route="picker"] .picker-product-card + .picker-product-card {
  padding-top: 28px;
}

.picker-product-card__media {
  display: block;
  min-width: 0;
}

body[data-route="picker"] .shoe-image--picker {
  min-height: 0;
  aspect-ratio: 16 / 9.5;
  background: #ffffff;
}

body[data-route="picker"] .shoe-image--picker img {
  object-fit: contain;
  transform: scale(calc(var(--shoe-scale, 1) * 1.08));
}

body[data-route="picker"] .picker-product-card__body {
  display: grid;
  gap: 7px;
}

body[data-route="picker"] .picker-product-card__name {
  display: block;
  overflow: visible;
  color: #111111;
  font-size: clamp(24px, 6.5vw, 34px);
  font-weight: 600;
  line-height: 1.06;
  -webkit-line-clamp: initial;
}

.picker-product-card__sub {
  overflow: hidden;
  color: #666666;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="picker"] .picker-axis-item:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

body[data-route="picker"] .picker-empty-cell {
  min-height: 280px;
  padding: 36px 12px;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

@media (max-width: 430px) {
  body[data-route="picker"] .topbar__inner,
  body[data-route="picker"] .app-shell,
  body[data-route="picker"] .footer {
    width: calc(100vw - 20px);
  }

  body[data-route="picker"] .picker-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  body[data-route="picker"] .picker-axis--horizontal .picker-axis-item {
    flex-basis: 82px;
  }
}

/* 2026-06 view cohesion pass: list, map, picker, and detail share one mobile language. */
body[data-route] .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

body[data-route] .topbar__inner {
  min-height: 54px;
  padding-block: 9px;
}

body[data-route] .topbar h1 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.12;
}

body[data-route] .source-link {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777777;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 760px) {
  body[data-route] .topbar__inner,
  body[data-route] .app-shell,
  body[data-route] .footer,
  body[data-route="picker"] .app-shell,
  body[data-route="detail"] .app-shell {
    width: calc(100vw - 20px);
  }

  body[data-route="detail"] .detail-view {
    padding-top: 6px;
  }

  body[data-route="detail"] .detail-view > .back-link {
    min-height: 36px;
    margin-bottom: 14px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #777777;
  }

  body[data-route="detail"] .detail-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 26px;
    border-bottom: 1px solid #eeeeee;
  }

  body[data-route="detail"] .detail-card__media,
  body[data-route="detail"] .shoe-image--detail {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    background: #ffffff;
  }

  body[data-route="detail"] .shoe-image--detail img {
    object-fit: contain;
    transform: scale(calc(var(--shoe-scale, 1) * 0.94));
  }

  body[data-route="detail"] .detail-brand-line {
    gap: 8px;
  }

  body[data-route="detail"] .detail-brand-line .brand-logo {
    width: 78px;
    height: 24px;
  }

  body[data-route="detail"] .detail-card__content h2 {
    font-size: clamp(32px, 10vw, 44px);
    font-weight: 600;
    line-height: 1.02;
  }

  body[data-route="detail"] .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-route="detail"] .history-panel,
  body[data-route="detail"] .price-panel {
    margin-top: 24px;
    padding-block: 20px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
  }
}

[hidden] {
  display: none !important;
}

/* Final app-frame override: keep every view visually owned by the same shell. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eeeeee;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px 0;
}

.topbar__brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  align-items: start;
  min-width: 0;
}

.topbar__brand h1 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topbar__brand .source-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777777;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.topbar__brand .source-link::before {
  content: "(";
}

.topbar__brand .source-link::after {
  content: ")";
}

.app-shell {
  padding-top: 10px;
}

@media (max-width: 760px) {
  .topbar__inner,
  .app-shell,
  .footer,
  body[data-route="picker"] .app-shell,
  body[data-route="detail"] .app-shell {
    width: calc(100vw - 20px);
  }

  .topbar__brand h1 {
    font-size: clamp(13px, 3.8vw, 15px);
  }
}

body[data-route] .topbar {
  z-index: 50;
  border-bottom: 1px solid #eeeeee !important;
}

body[data-route] .topbar__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 8px 0 !important;
}

body[data-route] .topbar__brand {
  display: grid !important;
  gap: 3px !important;
  min-width: 0;
}

body[data-route] .topbar__brand h1 {
  margin: 0 !important;
  color: #111111;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body[data-route] .topbar__brand .source-link {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #777777 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

/* 2026-06 focus rail pass: category chips + circular brand logos. */
body[data-route="picker"] .picker-shell {
  gap: 14px !important;
  max-width: none !important;
}

body[data-route="picker"] .picker-choice-rail {
  display: grid;
  min-width: 0;
  padding: 0 0 10px;
}

body[data-route="picker"] .picker-axis-block {
  position: static !important;
  min-width: 0;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body[data-route="picker"] .picker-axis {
  scrollbar-width: none;
}

body[data-route="picker"] .picker-axis::-webkit-scrollbar {
  display: none;
}

body[data-route="picker"] .picker-axis--horizontal {
  display: flex !important;
  min-height: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 0 2px !important;
  scroll-padding-inline: 0;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch;
}

body[data-route="picker"] .picker-axis--brand {
  gap: 18px !important;
  padding-bottom: 4px !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item {
  flex: 0 0 74px !important;
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  height: 104px !important;
  min-height: 104px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #777777 !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.picker-brand-token {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  width: 74px;
}

.picker-brand-token__mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #eeeeee inset;
  overflow: hidden;
}

.picker-brand-token__mark .brand-logo {
  --brand-logo-width: 52px;
  --brand-logo-height: 30px;
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
}

.picker-brand-token__mark .brand-logo__image {
  opacity: 1 !important;
  filter: grayscale(1) brightness(0) !important;
}

.picker-brand-token__mark .brand-logo--nike {
  --brand-logo-scale: 1.1;
}

.picker-brand-token__mark .brand-logo--adidas,
.picker-brand-token__mark .brand-logo--asics,
.picker-brand-token__mark .brand-logo--saucony,
.picker-brand-token__mark .brand-logo--hoka,
.picker-brand-token__mark .brand-logo--brooks,
.picker-brand-token__mark .brand-logo--mizuno,
.picker-brand-token__mark .brand-logo--on {
  --brand-logo-scale: 0.92;
}

.picker-brand-token__mark .brand-logo--newbalance {
  --brand-logo-scale: 0.82;
}

.picker-brand-token__mark .brand-logo--puma {
  --brand-logo-scale: 0.94;
}

.picker-brand-token__label {
  display: -webkit-box;
  overflow: hidden;
  min-height: 31px;
  color: currentColor;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected {
  background: transparent !important;
  color: #111111 !important;
  font-weight: 700 !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .picker-brand-token__mark {
  background: #111111;
}

body[data-route="picker"] .picker-axis-item:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item:focus-visible {
  outline: 0 !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item:focus-visible .picker-brand-token__mark {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

body[data-route="picker"] .picker-main {
  margin-top: 6px;
}

body[data-route="picker"] .picker-detail-zone {
  min-height: 0 !important;
}

body[data-route="picker"] .picker-detail-card {
  gap: 18px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body[data-route="picker"] .picker-stage {
  gap: 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eeeeee;
}

.picker-stage__title {
  display: block;
  overflow: hidden;
  color: #111111;
  font-size: clamp(20px, 5.4vw, 28px);
  font-weight: 650;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="picker"] .picker-stage__stats {
  gap: 6px;
}

body[data-route="picker"] .picker-stage__stats span {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #777777;
}

@media (max-width: 430px) {

  body[data-route="picker"] .picker-axis--brand {
    gap: 16px !important;
  }

  body[data-route="picker"] .picker-axis--brand .picker-axis-item,
  .picker-brand-token {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
  }

  .picker-brand-token__mark {
    width: 64px;
    height: 64px;
  }
}

/* 2026-06 desktop polish: make the focus view credible outside mobile. */
body[data-route="picker"] .app-shell {
  width: min(1180px, calc(100vw - 48px)) !important;
}

body[data-route="picker"] .picker-choice-rail {
  gap: 16px;
  padding: 2px 0 18px;
  border-bottom: 1px solid #eeeeee;
}

body[data-route="picker"] .picker-axis--brand {
  gap: 20px !important;
}

body[data-route="picker"] .picker-main {
  margin-top: 14px !important;
}

body[data-route="picker"] .picker-stage {
  margin-bottom: 20px;
  padding-bottom: 16px;
}

body[data-route="picker"] .picker-stage__title {
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 650;
  letter-spacing: 0;
}

body[data-route="picker"] .picker-stage__stats span {
  color: #7a7a7a;
  font-size: 12px;
}

body[data-route="picker"] .picker-product-list {
  grid-template-columns: 1fr;
  gap: 0 !important;
}

body[data-route="picker"] .picker-product-card {
  gap: 12px !important;
  padding: 0 0 30px !important;
  border-bottom: 1px solid #eeeeee !important;
  background: transparent !important;
  overflow: hidden;
}

body[data-route="picker"] .picker-product-card + .picker-product-card {
  padding-top: 30px !important;
}

body[data-route="picker"] .picker-product-card__media,
body[data-route="picker"] .picker-product-card__body {
  min-width: 0;
}

body[data-route="picker"] .shoe-image--picker {
  aspect-ratio: 16 / 9.8 !important;
  background: #fafafa !important;
}

body[data-route="picker"] .shoe-image--picker img {
  transform: scale(calc(var(--shoe-scale, 1) * 1.02)) !important;
}

body[data-route="picker"] .picker-product-card__body {
  gap: 7px !important;
}

body[data-route="picker"] .picker-product-card__name {
  min-width: 0;
  color: #111111 !important;
  font-size: clamp(22px, 6vw, 30px) !important;
  font-weight: 650 !important;
  line-height: 1.08 !important;
  -webkit-line-clamp: 3;
}

body[data-route="picker"] .picker-product-card__sub {
  min-width: 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 760px) {
  body[data-route="picker"] .picker-choice-rail {
    padding-bottom: 22px;
  }

  body[data-route="picker"] .picker-product-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 38px 24px !important;
  }

  body[data-route="picker"] .picker-product-card {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px !important;
    padding: 0 0 24px !important;
    overflow: hidden;
  }

  body[data-route="picker"] .picker-product-card + .picker-product-card {
    padding-top: 0 !important;
  }

  body[data-route="picker"] .shoe-image--picker {
    aspect-ratio: 16 / 10 !important;
  }

  body[data-route="picker"] .picker-product-card__body {
    align-content: start;
    gap: 8px !important;
  }

  body[data-route="picker"] .picker-product-card__name {
    min-height: 54px;
    font-size: clamp(20px, 2vw, 24px) !important;
    line-height: 1.12 !important;
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 1200px) {
  body[data-route="picker"] .picker-product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  body[data-route="picker"] .app-shell {
    width: calc(100vw - 20px) !important;
  }

  body[data-route="picker"] .picker-choice-rail {
    margin-inline: -1px;
  }
}

/* 2026-06 no-list polish: two-mode nav, calmer mobile margins, centered brand marks. */

@media (max-width: 759px) {
  .topbar__inner,
  .app-shell,
  .footer,
  body[data-route] .topbar__inner,
  body[data-route] .app-shell,
  body[data-route="picker"] .app-shell,
  body[data-route="detail"] .app-shell {
    width: calc(100% - 36px) !important;
  }

  body[data-route="picker"] .picker-axis--brand {
    gap: 14px !important;
  }

  body[data-route="picker"] .picker-axis--brand .picker-axis-item,
  .picker-brand-token {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
  }

  .picker-brand-token__mark {
    width: 62px !important;
    height: 62px !important;
  }

  .picker-brand-token__mark .brand-logo {
    --brand-logo-width: 42px;
    --brand-logo-height: 24px;
    display: grid !important;
    place-items: center !important;
    width: var(--brand-logo-width) !important;
    height: var(--brand-logo-height) !important;
    max-width: 42px !important;
    max-height: 24px !important;
  }

  .picker-brand-token__mark .brand-logo__image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transform: translateX(var(--brand-logo-shift-x, 0)) scale(var(--brand-logo-scale, 0.78)) !important;
  }

  .picker-brand-token__mark .brand-logo--nike {
    --brand-logo-scale: 0.84;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--adidas {
    --brand-logo-scale: 0.8;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--asics {
    --brand-logo-scale: 0.8;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--newbalance {
    --brand-logo-scale: 0.72;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--saucony {
    --brand-logo-scale: 0.74;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--puma {
    --brand-logo-scale: 0.78;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--hoka {
    --brand-logo-scale: 0.74;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--brooks {
    --brand-logo-scale: 0.72;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--mizuno {
    --brand-logo-scale: 0.76;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__mark .brand-logo--on {
    --brand-logo-scale: 0.74;
    --brand-logo-shift-x: 0;
  }

  .picker-brand-token__label {
    font-size: 12px;
  }
}

/* 2026-06 focus feed polish: Toss-like two-column default, stable image frames. */
body[data-route="picker"] {
  background: #f7f8fa;
}

body[data-route="picker"] .topbar {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

body[data-route="picker"] .topbar__inner {
  min-height: 62px;
}

body[data-route="picker"] .topbar__brand {
  gap: 2px;
}

body[data-route="picker"] .topbar__brand h1 {
  font-size: clamp(20px, 4.9vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
}

body[data-route="picker"] .source-link {
  color: #8b95a1;
  font-size: 13px;
  font-weight: 500;
}

body[data-route="picker"] .app-shell {
  width: min(1040px, calc(100% - 56px)) !important;
}

body[data-route="picker"] .picker-shell {
  max-width: none;
  gap: 18px;
}

body[data-route="picker"] .picker-choice-rail {
  gap: 14px;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 0;
}

body[data-route="picker"] .picker-axis--brand {
  gap: 12px !important;
  padding: 2px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000000 26px, #000000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000000 26px, #000000 calc(100% - 26px), transparent 100%);
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item,
body[data-route="picker"] .picker-brand-token {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
}

body[data-route="picker"] .picker-brand-token {
  gap: 8px;
}

body[data-route="picker"] .picker-brand-token__mark {
  width: 62px !important;
  height: 62px !important;
  border: 0;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #edf0f3;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .picker-brand-token__mark {
  background: #191f28;
  box-shadow: none;
}

body[data-route="picker"] .picker-brand-token__label {
  color: #6b7684;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.18;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .picker-brand-token__label {
  color: #191f28;
  font-weight: 700;
}

body[data-route="picker"] .picker-main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-top: 2px !important;
  overflow-x: clip;
}

body[data-route="picker"] .picker-detail-card {
  gap: 14px !important;
}

body[data-route="picker"] .picker-stage {
  margin: 0;
  padding: 2px 0 8px;
  border-bottom: 0;
}

body[data-route="picker"] .picker-detail-zone,
body[data-route="picker"] .picker-product-list,
body[data-route="picker"] .picker-product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body[data-route="picker"] .picker-product-list {
  overflow-x: clip;
}

@media (max-width: 759px) {
  html,
  body[data-route="picker"] {
    max-width: 100%;
    overflow-x: hidden;
  }
}

body[data-route="picker"] .picker-stage__title {
  color: #191f28;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.18;
}

body[data-route="picker"] .picker-stage__stats {
  gap: 5px;
}

body[data-route="picker"] .picker-stage__stats span {
  color: #6b7684 !important;
  font-size: 13px !important;
  font-weight: 500;
}

body[data-route="picker"] .picker-product-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 0 0 40px !important;
}

body[data-route="picker"] .picker-product-card {
  display: grid !important;
  grid-template-rows: auto 1fr;
  gap: 10px !important;
  min-width: 0;
  padding: 8px 8px 12px !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}

body[data-route="picker"] .picker-product-card + .picker-product-card {
  padding-top: 8px !important;
}

body[data-route="picker"] .picker-product-card:hover,
body[data-route="picker"] .picker-product-card:focus-visible {
  outline: 0;
  background: #ffffff !important;
  transform: translateY(-1px);
}

body[data-route="picker"] .picker-product-card__media {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f4f6;
}

body[data-route="picker"] .shoe-image--picker {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #f2f4f6 !important;
}

body[data-route="picker"] .shoe-image--picker img {
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(calc(var(--shoe-scale, 1) * 0.82)) !important;
}

body[data-route="picker"] .picker-product-card__body {
  gap: 6px !important;
  min-width: 0;
  padding: 0 2px;
}

body[data-route="picker"] .picker-product-card__name {
  display: -webkit-box !important;
  min-height: 40px;
  overflow: hidden !important;
  color: #191f28 !important;
  font-size: clamp(15px, 3.55vw, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-route="picker"] .picker-product-card__sub {
  overflow: hidden;
  color: #6b7684;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="picker"] .picker-empty-cell {
  border-radius: 22px;
  background: #ffffff;
}

@media (min-width: 760px) {
  body[data-route="picker"] .picker-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body[data-route="picker"] .picker-product-card {
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 16px !important;
    padding: 12px !important;
  }

  body[data-route="picker"] .picker-product-card + .picker-product-card {
    padding-top: 12px !important;
  }

  body[data-route="picker"] .shoe-image--picker {
    aspect-ratio: 1 / 1 !important;
  }

  body[data-route="picker"] .picker-product-card__name {
    min-height: 0;
    font-size: clamp(18px, 1.8vw, 23px) !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 1200px) {
  body[data-route="picker"] .picker-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 759px) {
  body[data-route="picker"] .topbar__inner,
  body[data-route="picker"] .app-shell {
    width: calc(100% - 28px) !important;
  }

  body[data-route="picker"] .topbar__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
    min-height: 72px;
    padding-block: 10px;
  }

  body[data-route="picker"] .picker-choice-rail {
    margin-inline: 0 !important;
  }
}

@media (max-width: 359px) {
  body[data-route="picker"] .picker-product-list {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-06 menu affordance + image surface cleanup. */

body[data-route="picker"] .picker-axis--brand {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.shoe-image,
.shoe-image--detail,
.detail-card__media {
  background: #ffffff !important;
}

body[data-route="picker"] .picker-product-card {
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.03) !important;
}

body[data-route="picker"] .picker-product-card__media,
body[data-route="picker"] .shoe-image--picker {
  background: transparent !important;
}

@media (max-width: 759px) {

  body[data-route="picker"] .picker-product-card {
    padding: 8px 8px 11px !important;
  }
}

/* 2026-06 compact picker controls: no arrow buttons above brand logos. */

body[data-route="picker"] .picker-choice-rail {
  gap: 12px !important;
  padding-top: 4px !important;
}

.picker-filter-dock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.picker-filter-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 8px 13px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: #191f28;
  text-align: left;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.04);
}

.picker-filter-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid #8b95a1;
  border-bottom: 1.6px solid #8b95a1;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 140ms ease;
}

.picker-filter-trigger.is-open::after {
  transform: rotate(225deg) translateY(-1px);
}

.picker-filter-trigger span,
.picker-filter-trigger strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-filter-trigger span {
  grid-column: 1;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.picker-filter-trigger strong {
  grid-column: 1;
  color: #191f28;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.picker-filter-panel {
  margin-top: -2px;
  padding: 10px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 31, 40, 0.08);
}

/* Keep an opened menu in the document flow above the brand rail. */
body[data-route="picker"] .picker-filter-dock {
  grid-column: 1;
  grid-row: 1;
}

body[data-route="picker"] .picker-choice-rail > .picker-filter-panel:not([hidden]) {
  display: block !important;
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 2;
}

body[data-route="picker"] .picker-axis-block--brand {
  grid-column: 1;
  grid-row: 3;
}

.picker-filter-panel__grid {
  display: grid;
  gap: 8px;
}

.picker-filter-panel__grid--period {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.picker-filter-panel__grid--period [data-picker-period-id="__all_periods__"] {
  grid-column: 1 / -1;
}

.picker-filter-panel__grid--category {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.picker-category-panel {
  display: grid;
  gap: 18px;
}

.picker-category-panel__all .picker-filter-option {
  width: 100%;
  min-height: 44px;
}

.picker-category-groups {
  display: grid;
  gap: 16px;
}

.picker-category-group {
  display: grid;
  gap: 8px;
}

.picker-category-group h3 {
  margin: 0;
  color: #6b7684;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.picker-category-group .picker-filter-panel__grid--category {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.picker-filter-option {
  display: grid;
  gap: 3px;
  align-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 8px 9px;
  border: 0;
  border-radius: 14px;
  background: #f5f6f8;
  color: #4e5968;
  text-align: left;
}

.picker-filter-option span,
.picker-filter-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-filter-option span {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.picker-filter-option small {
  color: #8b95a1;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.picker-filter-option.is-active {
  background: #191f28;
  color: #ffffff;
}

.picker-filter-option.is-active small {
  color: rgba(255, 255, 255, 0.7);
}

body[data-route="picker"] .picker-axis--brand {
  gap: 14px !important;
  padding: 2px 0 4px !important;
}

@media (max-width: 759px) {
  body[data-route="picker"] .picker-choice-rail {
    gap: 11px !important;
  }

  .picker-filter-dock {
    gap: 7px;
  }

  .picker-filter-trigger {
    min-height: 46px;
    padding-inline: 12px;
    border-radius: 15px;
  }

  .picker-filter-panel {
    padding: 8px;
    border-radius: 18px;
  }

  .picker-filter-panel__grid--period {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .picker-filter-panel__grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .picker-category-panel {
    gap: 16px;
  }

  .picker-category-groups {
    gap: 14px;
  }

  .picker-category-group .picker-filter-panel__grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-06 Safari-safe brand logo normalization. */
body[data-route="picker"] .picker-axis--brand .picker-axis-item,
body[data-route="picker"] .picker-brand-token {
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
}

body[data-route="picker"] .picker-brand-token {
  align-content: start;
  gap: 9px !important;
}

body[data-route="picker"] .picker-brand-token__mark {
  display: grid !important;
  place-items: center !important;
  width: 70px !important;
  height: 70px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px #e9edf1 !important;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo {
  display: grid !important;
  place-items: center !important;
  width: var(--picker-logo-frame-width, 50px) !important;
  height: var(--picker-logo-frame-height, 30px) !important;
  max-width: var(--picker-logo-frame-width, 50px) !important;
  max-height: var(--picker-logo-frame-height, 30px) !important;
  overflow: visible !important;
  transform: none !important;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  transform: translateZ(0) scale(var(--picker-logo-scale, 1)) !important;
  transform-origin: center center !important;
  filter: grayscale(1) brightness(0) !important;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--nike {
  --picker-logo-frame-width: 33px;
  --picker-logo-frame-height: 33px;
  --picker-logo-scale: 1.42;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--adidas {
  --picker-logo-frame-width: 48px;
  --picker-logo-frame-height: 28px;
  --picker-logo-scale: 0.9;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--asics {
  --picker-logo-frame-width: 51px;
  --picker-logo-frame-height: 28px;
  --picker-logo-scale: 0.92;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--newbalance {
  --picker-logo-frame-width: 42px;
  --picker-logo-frame-height: 32px;
  --picker-logo-scale: 0.86;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--saucony {
  --picker-logo-frame-width: 52px;
  --picker-logo-frame-height: 24px;
  --picker-logo-scale: 0.82;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--puma {
  --picker-logo-frame-width: 34px;
  --picker-logo-frame-height: 34px;
  --picker-logo-scale: 1.02;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--hoka {
  --picker-logo-frame-width: 50px;
  --picker-logo-frame-height: 27px;
  --picker-logo-scale: 0.9;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--brooks {
  --picker-logo-frame-width: 51px;
  --picker-logo-frame-height: 24px;
  --picker-logo-scale: 0.82;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--mizuno {
  --picker-logo-frame-width: 43px;
  --picker-logo-frame-height: 31px;
  --picker-logo-scale: 0.86;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--on {
  --picker-logo-frame-width: 26px;
  --picker-logo-frame-height: 34px;
  --picker-logo-scale: 0.92;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--all {
  --picker-logo-frame-width: 40px;
  --picker-logo-frame-height: 28px;
  color: #191f28;
}

body[data-route="picker"] .picker-brand-token__mark .brand-logo--all .brand-logo__fallback {
  display: block !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .picker-brand-token__mark {
  background: #191f28 !important;
  box-shadow: none !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .brand-logo__image {
  filter: grayscale(1) brightness(0) invert(1) !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .brand-logo--all {
  color: #ffffff;
}

body[data-route="picker"] .picker-brand-token__label {
  color: #6b7684 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body[data-route="picker"] .picker-axis--brand .picker-axis-item.is-selected .picker-brand-token__label {
  color: #191f28 !important;
  font-weight: 700 !important;
}

@media (max-width: 759px) {
  body[data-route="picker"] .picker-axis--brand .picker-axis-item,
  body[data-route="picker"] .picker-brand-token {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
  }

  body[data-route="picker"] .picker-axis--brand {
    gap: 11px !important;
  }

  body[data-route="picker"] .picker-brand-token__mark {
    width: 62px !important;
    height: 62px !important;
  }

  body[data-route="picker"] .picker-brand-token__mark .brand-logo {
    width: calc(var(--picker-logo-frame-width, 50px) * 0.9) !important;
    height: calc(var(--picker-logo-frame-height, 30px) * 0.9) !important;
    max-width: calc(var(--picker-logo-frame-width, 50px) * 0.9) !important;
    max-height: calc(var(--picker-logo-frame-height, 30px) * 0.9) !important;
  }

  body[data-route="picker"] .picker-brand-token__label {
    font-size: 12px !important;
  }
}

/* 2026-06 explicit source credit. */
.footer {
  display: grid;
  gap: 6px;
}

.footer__source {
  color: #4e5968;
  font-weight: 600;
}

.footer__source a {
  color: #191f28;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body[data-route] .topbar__brand .source-link {
  color: #4e5968 !important;
  font-weight: 600 !important;
}

body[data-route] .topbar__brand .source-link::before,
body[data-route] .topbar__brand .source-link::after {
  content: "" !important;
}

@media (max-width: 759px) {
  body[data-route] .topbar__brand .source-link {
    max-width: min(70vw, 260px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* 2026-06 focus-only app: remove view switching from the product surface. */

/* 2026-06 focus layout alignment: header, content, and footer share one rail. */
body[data-route="picker"] {
  --focus-content-max: 1040px;
  --focus-content-gutter: 56px;
}

body[data-route="picker"] .topbar__inner,
body[data-route="picker"] .app-shell,
body[data-route="picker"] .footer {
  width: min(var(--focus-content-max), calc(100vw - var(--focus-content-gutter))) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 759px) {
  body[data-route="picker"] {
    --focus-content-gutter: 28px;
  }

  body[data-route="picker"] .topbar__inner,
  body[data-route="picker"] .app-shell,
  body[data-route="picker"] .footer {
    width: calc(100% - var(--focus-content-gutter)) !important;
  }

  body[data-route="picker"] .topbar__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    align-items: start !important;
    min-height: 72px !important;
    padding-block: 10px !important;
  }

}

/* 2026-06 detail UX v2: judgment-first product detail. */
body[data-route="detail"] {
  background: #f7f8fa;
  --focus-content-max: 1040px;
  --focus-content-gutter: 56px;
}

body[data-route="detail"] .topbar__inner,
body[data-route="detail"] .app-shell,
body[data-route="detail"] .footer {
  width: min(var(--focus-content-max), calc(100vw - var(--focus-content-gutter))) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body[data-route="detail"] .detail-view {
  display: grid;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 64px;
}

body[data-route="detail"] .detail-view > .back-link {
  justify-self: start;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7684;
  font-size: 14px;
  font-weight: 600;
}

body[data-route="detail"] .detail-card--v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(24px, 4.4vw, 48px);
  align-items: center;
  padding: 24px;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.03);
}

body[data-route="detail"] .detail-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff !important;
}

body[data-route="detail"] .detail-card__media .shoe-image--detail {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 24px;
  background: #ffffff !important;
}

body[data-route="detail"] .detail-card__media .shoe-image--detail img {
  object-fit: contain;
  object-position: center;
  transform: scale(calc(var(--shoe-scale, 1) * 0.96));
}

body[data-route="detail"] .detail-card__content {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

body[data-route="detail"] .detail-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #8b95a1;
  font-size: 13px;
  font-weight: 600;
}

body[data-route="detail"] .detail-brand-line .brand-logo {
  width: 74px !important;
  height: 24px !important;
}

body[data-route="detail"] .detail-brand-line .brand-logo__image {
  filter: grayscale(1) brightness(0);
  opacity: 0.88;
}

body[data-route="detail"] .detail-card__content h2 {
  margin: 2px 0 0;
  color: #191f28;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body[data-route="detail"] .detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
  padding-top: 8px;
}

body[data-route="detail"] .detail-action {
  display: grid;
  gap: 3px;
  align-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
}

body[data-route="detail"] .detail-action span,
body[data-route="detail"] .detail-action strong,
body[data-route="detail"] .detail-action small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="detail"] .detail-action span {
  font-size: 12px;
  font-weight: 700;
}

body[data-route="detail"] .detail-action strong {
  font-size: 17px;
  font-weight: 700;
}

body[data-route="detail"] .detail-action small {
  font-size: 11px;
  font-weight: 600;
}

body[data-route="detail"] .detail-action--secondary {
  background: #f2f4f6;
  color: #4e5968;
}

body[data-route="detail"] .detail-action--secondary strong {
  color: #191f28;
}

body[data-route="detail"] .price-panel--v2,
body[data-route="detail"] .history-panel--v2 {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.03);
}

body[data-route="detail"] .price-panel__head,
body[data-route="detail"] .history-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

body[data-route="detail"] .price-panel__head h3,
body[data-route="detail"] .history-panel__head h3 {
  margin: 0;
  color: #191f28;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

body[data-route="detail"] .price-panel__head p,
body[data-route="detail"] .history-panel__head p {
  margin: 5px 0 0;
  color: #6b7684;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
}

body[data-route="detail"] .price-panel__caution {
  color: #6b7684;
  font-size: 13px;
  font-weight: 500;
}

body[data-route="detail"] .price-panel__caution {
  margin: 0;
  line-height: 1.5;
}

body[data-route="detail"] .history-timeline-disclosure {
  border-top: 1px solid #edf0f3;
}

body[data-route="detail"] .history-timeline-disclosure summary {
  min-height: 48px;
  padding: 14px 0 0;
  color: #191f28;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

body[data-route="detail"] .history-timeline {
  display: grid;
  margin: 6px 0 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}

body[data-route="detail"] .history-period {
  display: grid;
  grid-template-columns: 72px 90px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f3;
  color: #8b95a1;
}

body[data-route="detail"] .history-period.is-matched {
  color: #191f28;
}

body[data-route="detail"] .history-period__date {
  font-size: 12px;
  font-weight: 700;
}

body[data-route="detail"] .history-period__models {
  gap: 4px 8px;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 759px) {
  body[data-route="detail"] {
    --focus-content-gutter: 28px;
  }

  body[data-route="detail"] .topbar__inner,
  body[data-route="detail"] .app-shell,
  body[data-route="detail"] .footer {
    width: calc(100% - var(--focus-content-gutter)) !important;
  }

  body[data-route="detail"] .detail-view {
    gap: 14px;
    padding-top: 10px;
  }

  body[data-route="detail"] .detail-card--v2 {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-route="detail"] .detail-card__media,
  body[data-route="detail"] .detail-card__media .shoe-image--detail {
    border-radius: 0;
    aspect-ratio: 16 / 9.5;
  }

  body[data-route="detail"] .detail-card__content {
    gap: 10px;
  }

  body[data-route="detail"] .detail-card__content h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  body[data-route="detail"] .detail-actions {
    grid-template-columns: 1fr;
  }

  body[data-route="detail"] .detail-action {
    min-height: 56px;
    border-radius: 16px;
  }

  body[data-route="detail"] .price-panel--v2,
  body[data-route="detail"] .history-panel--v2 {
    padding: 18px;
    border-radius: 22px;
  }

  body[data-route="detail"] .price-panel__head,
  body[data-route="detail"] .history-panel__head {
    display: grid;
    gap: 10px;
  }

  body[data-route="detail"] .history-period {
    grid-template-columns: 64px 74px minmax(0, 1fr);
    gap: 8px;
  }
}

/* 2026-06 commerce trust model: platform search only, no selected seller or lowest-price claim. */
.platform-search-link {
  display: grid;
  align-content: center;
  min-width: 0;
  border: 1px solid #edf0f3;
  background: #f7f8fa;
  color: #191f28;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
}

.platform-search-link span,
.platform-search-link small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-search-link span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.platform-search-link small {
  margin-top: 3px;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

.platform-search-link:hover,
.platform-search-link:focus-visible {
  background: #ffffff;
  border-color: #d9dee5;
  outline: none;
}

body[data-route="detail"] .detail-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-route="detail"] .detail-action--secondary {
  background: #f7f8fa !important;
  color: #191f28 !important;
  border: 1px solid #edf0f3;
}

body[data-route="detail"] .detail-action--secondary small {
  color: #8b95a1 !important;
}

body[data-route="detail"] .platform-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-route="detail"] .platform-search-link--panel {
  min-height: 64px;
  padding: 13px 14px;
  border-radius: 16px;
}

@media (max-width: 720px) {
  body[data-route="detail"] .detail-actions {
    grid-template-columns: 1fr;
  }

  body[data-route="detail"] .detail-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 16px;
  }

  body[data-route="detail"] .detail-action span {
    display: none;
  }

  body[data-route="detail"] .detail-action strong {
    font-size: 15px;
  }

  body[data-route="detail"] .detail-action small {
    text-align: right;
  }

  body[data-route="detail"] .platform-search-grid {
    grid-template-columns: 1fr;
  }

  body[data-route="detail"] .platform-search-link--panel {
    min-height: 54px;
  }
}

/* Picker cards expose lightweight feature badges instead of shopping actions. */
body[data-route="picker"] .picker-product-card__evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-top: 2px;
}

body[data-route="picker"] .lineup-feature-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  min-width: 0;
  overflow: hidden;
  padding: 0 8px;
  border-radius: 999px;
  background: #f2f4f6;
  color: #4e5968;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Picker cards are fully clickable; keep the affordance quiet and let content set the rhythm. */
body[data-route="picker"] .picker-product-card {
  position: relative;
  align-items: stretch !important;
  grid-template-rows: auto auto !important;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(25, 31, 40, 0.06);
  transition: background-color 160ms ease, transform 160ms ease;
}

body[data-route="picker"] .picker-product-card__body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 6px 8px !important;
  height: auto;
}

body[data-route="picker"] .picker-product-card__evidence {
  grid-column: 1 / -1;
  min-height: 0;
  align-content: flex-start;
}

body[data-route="picker"] .picker-product-card__name,
body[data-route="picker"] .picker-product-card__sub {
  grid-column: 1 / -1;
}

body[data-route="picker"] .picker-card-affordance {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 999px !important;
  background: #f2f4f6 !important;
  box-shadow: none !important;
  color: #6b7684;
}

body[data-route="picker"] .picker-card-affordance svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

body[data-route="picker"] .picker-product-card:hover .picker-card-affordance,
body[data-route="picker"] .picker-product-card:focus-visible .picker-card-affordance {
  background: #e5e8eb !important;
  color: #191f28 !important;
}

@media (min-width: 760px) {
  body[data-route="picker"] .picker-product-card {
    align-items: stretch !important;
  }
}

/* Detail page v3: match list badges, remove repeated explanatory blocks, keep actions compact. */
body[data-route="detail"] .detail-card__content {
  gap: 10px !important;
}

body[data-route="detail"] .detail-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

body[data-route="detail"] .detail-feature-badges .lineup-feature-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f2f4f6;
  color: #4e5968;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

body[data-route="detail"] .detail-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  padding-top: 4px !important;
}

body[data-route="detail"] .detail-review-date {
  align-self: center;
  font-size: 12px;
  font-weight: 400;
  color: #6b7684;
}

body[data-route="detail"] .detail-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid #e5e8eb !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #191f28 !important;
}

body[data-route="detail"] .detail-action strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body[data-route="detail"] .price-panel--v2,
body[data-route="detail"] .history-panel--v2 {
  gap: 12px !important;
  padding: 18px !important;
}

body[data-route="detail"] .price-panel__head,
body[data-route="detail"] .history-panel__head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between;
  gap: 10px !important;
}

body[data-route="detail"] .price-panel__head h3,
body[data-route="detail"] .history-panel__head h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
}

body[data-route="detail"] .history-panel__head p {
  margin: 0 !important;
  color: #6b7684 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body[data-route="detail"] .platform-search-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

body[data-route="detail"] .platform-search-link--panel {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
}

body[data-route="detail"] .platform-search-link--panel span {
  font-size: 13px !important;
}

body[data-route="detail"] .platform-search-link--panel small {
  display: none !important;
}

body[data-route="detail"] .price-panel__caution {
  margin: 0 !important;
  color: #8b95a1 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body[data-route="detail"] .history-period-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-route="detail"] .history-period-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f4f6;
  color: #8b95a1;
  font-size: 12px;
  font-weight: 700;
}

body[data-route="detail"] .history-period-chips span.is-active {
  background: #191f28;
  color: #ffffff;
}

/* User-facing polish: keep the two-column picker cards optically aligned. */
body[data-route="picker"] .picker-product-card__media {
  display: grid;
  align-items: center;
  min-height: 0;
}

body[data-route="picker"] .picker-product-card__media > .shoe-image--picker {
  align-self: center;
}

body[data-route="picker"] .picker-product-card {
  align-content: start !important;
}

body[data-route="picker"] .picker-product-card__body {
  padding-bottom: 34px !important;
}

@media (min-width: 760px) {
  body[data-route="picker"] .picker-product-card__body {
    align-content: center !important;
  }
}

body[data-route="detail"] .history-timeline-disclosure {
  border-top: 0 !important;
}

body[data-route="detail"] .history-timeline-disclosure summary {
  min-height: 34px !important;
  padding: 4px 0 0 !important;
  color: #6b7684 !important;
  font-size: 13px !important;
}

body[data-route="detail"] .history-period {
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px 0 !important;
}

body[data-route="detail"] .history-period__models {
  display: flex;
  flex-wrap: wrap;
}

.picker-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-bottom: 0;
  padding: 0 4px 0 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #6b7684;
}

.picker-search:focus-within {
  outline: 2px solid #6b7684;
  outline-offset: 2px;
}

.picker-search svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.picker-search input {
  flex: 1;
  width: 0;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: none;
  box-shadow: none !important;
  background: transparent;
  color: #191f28;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
}

.picker-search input::placeholder { color: #6b7684; }
.picker-search input::-webkit-search-cancel-button { display: none; }

.picker-search button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7684;
}

.picker-search button[hidden] { display: none; }
.picker-empty-clear {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #edf0f3;
  color: #4e5968;
  font: inherit;
  font-weight: 500;
}

/* Official product photography keeps its native white studio field. */
body[data-route="picker"] .picker-product-card__media,
body[data-route="picker"] .shoe-image--picker,
body[data-route="detail"] .detail-card__media .shoe-image--detail {
  background: #ffffff !important;
}

body[data-route="picker"] .shoe-image--picker img {
  transform: scale(calc(var(--shoe-scale, 1) * 1.04)) !important;
}

body[data-route="detail"] .detail-card__media .shoe-image--detail img {
  transform: scale(calc(var(--shoe-scale, 1) * 1)) !important;
}

@media (max-width: 720px) {
  body[data-route="detail"] .detail-actions {
    display: flex !important;
  }

  body[data-route="detail"] .detail-action {
    min-height: 38px !important;
  }

  body[data-route="detail"] .platform-search-grid {
    display: flex !important;
  }

  body[data-route="detail"] .platform-search-link--panel {
    min-height: 38px !important;
  }
}

body[data-route="picker"] .picker-choice-rail {
  padding-bottom: 8px !important;
}

body[data-route="picker"] .picker-product-card__sub {
  font-size: 13px !important;
}

@media (min-width: 760px) {
  body[data-route="picker"] .picker-stage__title { font-size: 28px !important; }
}

@media (min-width: 1100px) {
  body[data-route="picker"] .picker-axis--brand {
    gap: 8px !important;
    justify-content: space-between;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.detail-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.detail-feature-badges { flex: 1; }

.evidence-help,
.evidence-dialog__head button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7684;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}

.history-scope { display: flex; gap: 12px; }
.history-scope button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7684;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.history-scope button[aria-pressed="true"] {
  border-bottom-color: #191f28;
  color: #191f28;
  font-weight: 600;
}
.evidence-help:focus-visible,
.history-scope button:focus-visible,
.evidence-dialog__head button:focus-visible {
  outline: 2px solid #6b7684;
  outline-offset: 2px;
}

.evidence-dialog {
  width: min(360px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #191f28;
}
.evidence-dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
.evidence-dialog__head { display: flex; align-items: center; justify-content: space-between; }
.evidence-dialog__head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.evidence-dialog__content p { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: #4e5968; }
