/* 1. home (look 07) */

  :root {
    --bg: #FFFFFF;
    --ink: #17181C;
    --muted: #525663;
    --line: #E2E4EA;
    --blue: #1F56E0;
    --blue-dark: #1641B0;
    --yellow: #FFC83D;
    --font-sans: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --max: 1320px;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

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

  body {
    margin: 0;
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }

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

  a:focus-visible,
  button:focus-visible,
  input:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
  }

  .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Header: slim market awning stripe on top */
  .site-header {
    border-top: 6px solid var(--blue);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 24px;
  }

  .brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    min-height: 44px;
    align-items: center;
  }

  .brand-sub {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
  }

  .nav-links a:hover {
    color: var(--blue);
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    background: var(--blue);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
  }

  .btn:hover {
    background: var(--blue-dark);
  }

  /* Section 1: Before & After Hero */
  .hero {
    padding: 36px 0 64px;
    border-bottom: 1px solid var(--line);
  }

  .hero-head {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 24px;
  }

  .hero-pitch {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
  }

  .hero-title {
    margin: 0;
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 900;
    line-height: 1.12;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    justify-self: end;
    max-width: 460px;
  }

  .hero-how {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.55;
  }

  .compare-box {
    --pos: 46%;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #EAECEF;
    user-select: none;
    border: 1px solid var(--line);
  }

  .compare-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  .compare-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  }

  .compare-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    background: var(--blue);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
  }

  .compare-handle {
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    border: 4px solid var(--yellow);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
  }

  .compare-handle svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
  }

  .compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
  }

  .compare-range:focus-visible ~ .compare-handle {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
  }

  .corner-tag {
    position: absolute;
    bottom: 14px;
    z-index: 2;
    background: var(--blue);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    line-height: 1.2;
    pointer-events: none;
  }

  .corner-tag.before {
    left: 14px;
    background: var(--ink);
  }

  .corner-tag.after {
    right: 14px;
  }

  /* Section headings */
  .section {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }

  .section-title {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.15;
  }

  .section-sub {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
  }

  /* Section 2: Three stages / Kits */
  .stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stage-col {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
  }

  .stage-col + .stage-col {
    border-left: 1px solid var(--line);
  }

  .stage-col:first-child {
    padding-left: 0;
  }

  .stage-col:last-child {
    padding-right: 0;
  }

  .stage-photo {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #F3F4F6;
    margin-bottom: 20px;
  }

  .stage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .stage-when {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
  }

  .stage-name {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .stage-name span {
    font-weight: 500;
    font-size: 16px;
    color: var(--muted);
    margin-left: 6px;
  }

  .stage-items {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--muted);
  }

  .stage-foot {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .stage-price {
    font-size: 22px;
    font-weight: 700;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
  }

  .text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /* Section 3: Five single products (stall price-board strip) */
  .products-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .prod-col {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
  }

  .prod-col + .prod-col {
    border-left: 1px solid var(--line);
  }

  .prod-col:first-child {
    padding-left: 0;
  }

  .prod-col:last-child {
    padding-right: 0;
  }

  .prod-photo {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #F3F4F6;
    margin-bottom: 14px;
  }

  .prod-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .prod-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
  }

  .prod-zh {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
  }

  .prod-desc {
    margin: 6px 0 14px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
  }

  .prod-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .prod-price {
    font-size: 17px;
    font-weight: 700;
  }

  /* Section 4: Six markets (3x2 block, 4px gaps, square corners, lower-left solid strip) */
  .markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .market-tile {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #EAECEF;
    border-radius: 0;
    display: block;
  }

  .market-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .market-strip {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--blue);
    color: #FFFFFF;
    padding: 8px 14px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.2;
  }

  .market-en {
    font-size: 16px;
    font-weight: 700;
  }

  .market-zh {
    font-size: 13px;
    font-weight: 500;
  }

  .market-tile:hover .market-strip {
    background: var(--ink);
  }

  /* Section 5: Three steps */
  .steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-top: 2px solid var(--ink);
  }

  .step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: 17px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .step-text {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 48px;
    font-size: 14px;
    color: var(--muted);
  }

  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-brand {
    font-weight: 700;
    color: var(--ink);
  }

  /* Responsive */
  @media (max-width: 980px) {
    .hero-head {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .hero-side {
      justify-self: start;
      max-width: 100%;
    }
    .stages-grid {
      grid-template-columns: 1fr;
    }
    .stage-col,
    .stage-col:first-child,
    .stage-col:last-child {
      padding: 24px 0;
    }
    .stage-col + .stage-col {
      border-left: none;
      border-top: 1px solid var(--line);
    }
    .products-strip {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      border: none;
    }
    .prod-col,
    .prod-col:first-child,
    .prod-col:last-child {
      padding: 16px 0;
      border-left: none !important;
      border-top: 1px solid var(--line);
    }
    .markets-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .steps-list {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  }

  @media (max-width: 640px) {
    .wrap {
      padding: 0 16px;
    }
    .nav-links,
    .brand-sub {
      display: none;
    }
    .hero {
      padding: 24px 0 44px;
    }
    .section {
      padding: 44px 0;
    }
    .markets-grid {
      grid-template-columns: 1fr;
    }
    .products-strip {
      grid-template-columns: 1fr;
    }
    .corner-tag {
      font-size: 12px;
      bottom: 10px;
    }
    .corner-tag.before {
      left: 10px;
    }
    .corner-tag.after {
      right: 10px;
    }
  }

  /* numbered booth + price board (from look 01), drawn in this look */
  .booth-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
  .booth-photo { min-width: 0; }
  .pin { position: absolute; z-index: 4; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; line-height: 1; pointer-events: none; background: var(--blue); color: #FFFFFF; border: 3px solid var(--yellow); transition: transform .15s ease; }
  .pin.is-off { background: #FFFFFF; color: var(--blue); border: 2px dashed var(--blue); }
  .pin.is-hot { transform: scale(1.3); }
  .pin-1 { left: 48%; top: 12%; } .pin-2 { left: 66%; top: 47%; } .pin-3 { left: 62%; top: 88%; } .pin-4 { left: 21%; top: 37%; } .pin-5 { left: 92%; top: 30%; }
  .compare-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
  .board { border: 1px solid var(--line); border-radius: 6px; padding: 24px 24px 22px; }
  .board-title { margin: 0; padding-bottom: 14px; font-size: 22px; font-weight: 900; line-height: 1.2; border-bottom: 2px solid var(--ink); }
  .board-rows { list-style: none; margin: 0; padding: 0; }
  .board-row a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .board-no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
  .board-name { font-weight: 700; font-size: 17px; white-space: nowrap; }
  .board-name .zh { margin-left: 6px; font-weight: 500; font-size: 13px; color: var(--muted); }
  .board-dots { flex: 1; min-width: 14px; height: 0; border-bottom: 2px dotted #B4B9C6; }
  .board-price { font-weight: 700; font-size: 17px; color: var(--blue); white-space: nowrap; }
  .board-row a:hover .board-name, .board-row a:focus-visible .board-name { color: var(--blue); }
  .board-row a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .board-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 16px; font-weight: 900; font-size: 20px; }
  .board-total .board-price { font-size: 24px; }
  .board .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
  @media (max-width: 980px) { .booth-grid { grid-template-columns: 1fr; gap: 20px; } .pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 14px; } }
  @media (prefers-reduced-motion: reduce) { .pin { transition: none; } }

  /* the market map from look 04: six stalls in six awning colours */
  .stall-map { --rule: #141413; --font-display: "Big Shoulders Display", system-ui, -apple-system, "Segoe UI", sans-serif;
    display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--rule); }
  .stall { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2.2vw, 32px); border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule); text-decoration: none; }
  .stall:nth-child(3n) { border-right: none; }
  .stall:nth-child(n+4) { border-bottom: none; }
  .stall--farmers { background: #C8562C; color: #110906; }
  .stall--craft { background: #9B8BC2; color: #12101B; }
  .stall--food { background: #1B1B1B; color: #FAF8F3; }
  .stall--flea { background: #E0A91B; color: #141106; }
  .stall--art { background: #0E6A6B; color: #FAF8F3; }
  .stall--popup { background: #1F4FC4; color: #FAF8F3; }
  .stall:focus-visible { outline: 4px solid currentColor; outline-offset: -8px; }
  .stall-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: clamp(16px, 1.8vw, 26px); }
  .stall-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 6vw, 100px); line-height: 0.84; letter-spacing: -0.02em; }
  .stall-arrow { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 3.2vw, 48px); line-height: 0.9; transition: transform 0.18s ease; }
  .stall:hover .stall-arrow { transform: translate(4px, -4px); }
  .stall-title-wrap { margin-bottom: 16px; }
  .stall-en { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 2.9vw, 44px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; }
  .stall-zh { display: block; margin-top: 6px; font-weight: 900; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.2; }
  .stall-photo { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #141413; border: 2px solid currentColor; }
  .stall-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
  .stall:hover .stall-photo img { transform: scale(1.025); }
  @media (max-width: 1024px) {
    .stall-map { grid-template-columns: repeat(2, 1fr); }
    .stall:nth-child(3n) { border-right: 2px solid var(--rule); }
    .stall:nth-child(2n) { border-right: none; }
    .stall:nth-child(n+4) { border-bottom: 2px solid var(--rule); }
    .stall:nth-child(n+5) { border-bottom: none; }
  }
  @media (max-width: 680px) {
    .stall-map { grid-template-columns: 1fr; }
    .stall, .stall:nth-child(n) { border-right: none; border-bottom: 2px solid var(--rule); }
    .stall:last-child { border-bottom: none; }
  }
  @media (prefers-reduced-motion: reduce) { .stall-arrow, .stall-photo img { transition: none; } }

/* 2. inner pages (look 03) */
/* Weekend Booths (inner.css) */

/* 6-link navigation fit & focus helpers */
.x-inner .nav-links a {
  padding: 0 12px;
  white-space: nowrap;
}

.x-page a:focus-visible,
.x-page button:focus-visible,
.x-page input:focus-visible,
.x-page select:focus-visible,
.x-page textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Page wrapper: matches home page .wrap */
.x-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* Shared typographic tokens */
.x-gloss {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.68em;
  margin-left: 0.25em;
}

.x-from {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

/* Breadcrumbs */
.x-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.x-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
}

.x-crumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.x-crumbs .x-sep {
  color: var(--line);
  user-select: none;
}

/* Lead / Hero blocks */
.x-lead {
  padding: 28px 0 64px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.x-lead-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.x-kind {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.x-title {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.x-title .x-gloss {
  font-size: 0.58em;
  font-weight: 700;
}

.x-sub {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
}

.x-lead-text .btn {
  margin-top: 4px;
}

.x-lead-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #EAECEF;
  border: 1px solid var(--line);
}

.x-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product lead variant: 1:1 photo beside text + big price + size boxes */
.x-lead.x-lead-product {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.x-lead-product .x-lead-photo {
  aspect-ratio: 1 / 1;
}

.x-price-big {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
}

.x-price-big .x-from {
  font-size: 16px;
}

.x-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.x-sizes li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
}

/* Index & Order lead variant (no photo) */
.x-lead.x-lead-index {
  grid-template-columns: 1fr;
  padding: 28px 0 44px;
}

.x-lead-index .x-sub {
  margin-bottom: 0;
}

/* Guide lead variant */
.x-lead.x-lead-guide {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.x-lead-guide .x-sub {
  margin-bottom: 0;
}

/* Section blocks (.x-block) */
.x-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.x-h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
}

.x-block > .x-h2 + .x-note {
  margin-top: -18px;
  margin-bottom: 28px;
}

.x-note {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* Three Kits (.x-kits): 3 columns divided by hairlines */
.x-kits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.x-kit {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}

.x-kit + .x-kit {
  border-left: 1px solid var(--line);
}

.x-kit:first-child {
  padding-left: 0;
}

.x-kit:last-child {
  padding-right: 0;
}

.x-kit > .x-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.x-kit-photo {
  margin: 0 0 20px;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #F3F4F6;
}

.x-kit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-kit-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.x-kit-for {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
   order: -1;
}

.x-kit > .x-no {
  order: -3;
}

.x-kit-photo {
  order: -2;
}

.x-kit-items {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.x-kit .x-price {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.x-kit .x-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.x-kit .x-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Single Pieces strip (.x-pieces): columns divided by hairlines */
.x-pieces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.x-piece {
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
}

.x-piece + .x-piece {
  border-left: 1px solid var(--line);
}

.x-piece:first-child {
  padding-left: 0;
}

.x-piece:last-child {
  padding-right: 0;
}

.x-piece > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 44px;
}

.x-piece-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #F3F4F6;
  margin-bottom: 14px;
}

.x-piece-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-piece .x-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.x-piece-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}

.x-piece-name .x-gloss {
  display: block;
  margin-left: 0;
  margin-top: 2px;
  font-size: 13px;
}

.x-leader {
  flex: 1 1 auto;
}

.x-piece .x-price {
  display: block;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.x-piece > a:hover .x-piece-name {
  color: var(--blue);
}

.x-piece > a:hover .x-price {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Market / Category Tiles (.x-tiles): 4:3 photo + solid blue lower-left name strip */
.x-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.x-tiles.x-tiles-many {
  grid-template-columns: repeat(3, 1fr);
}

.x-tile {
  margin: 0;
  padding: 0;
}

.x-tile > a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EAECEF;
  border-radius: 0;
}

.x-tile .x-no {
  display: none;
}

.x-tile-photo {
  display: block;
  width: 100%;
  height: 100%;
}

.x-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-tile-name {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: calc(100% - 12px);
  background: var(--blue);
  color: #FFFFFF;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.x-tile-name .x-gloss {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  margin-left: 0;
}

.x-tile > a:hover .x-tile-name {
  background: var(--ink);
}

/* Three Steps (.x-steps): sunflower yellow square number + strong top rule */
.x-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.x-steps > li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.x-steps .x-no {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Product Facts (.x-facts): 3 columns divided by hairlines */
.x-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.x-facts > div {
  padding: 28px;
}

.x-facts > div + div {
  border-left: 1px solid var(--line);
}

.x-facts > div:first-child {
  padding-left: 0;
}

.x-facts > div:last-child {
  padding-right: 0;
}

.x-facts dt {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.x-facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Guide Prose (article.x-prose) */
.x-prose {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.x-prose > * {
  max-width: 68ch;
}

.x-prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
}

.x-prose > h2:first-child {
  margin-top: 0;
}

.x-prose p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.x-prose ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.x-prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* Guide Table (.x-table) */
.x-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin: 0 0 36px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.x-table th,
.x-table td {
  padding: 16px 20px 16px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.x-table th {
  width: 140px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.x-table td {
  color: var(--muted);
}

/* Guide Figures (.x-figure, .x-diagram, .x-pair) */
.x-figure {
  margin: 36px 0;
  max-width: 880px;
}

.x-figure .x-diagram {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  background: var(--bg);
}

.x-figure.x-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.x-figure.x-pair img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #EAECEF;
}

.x-figure figcaption {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Order Form (form.x-form) */
.x-form {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.x-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.x-field > span {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.x-field input[type="text"],
.x-field input[type="email"],
.x-field select,
.x-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 4px;
  appearance: none;
}

.x-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.x-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.x-field input[type="file"] {
  min-height: 48px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed var(--muted);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
}

.x-form .btn {
  align-self: flex-start;
  min-height: 48px;
  padding: 0 28px;
  font-size: 16px;
}

.x-form .x-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Research Keywords note for owner only (aside.x-kw) */
.x-kw {
  margin-top: 48px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.x-kw p {
  margin: 0 0 8px;
  font-weight: 500;
}

.x-kw ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.x-kw li::before {
  content: "· ";
}

/* Responsive: Tablet & small laptop (<= 980px) */
@media (max-width: 980px) {
  .x-inner .brand-sub {
    display: none;
  }

  .x-lead,
  .x-lead.x-lead-product,
  .x-lead.x-lead-guide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 0 48px;
  }

  .x-kits {
    grid-template-columns: 1fr;
  }

  .x-kit,
  .x-kit:first-child,
  .x-kit:last-child {
    padding: 24px 0;
  }

  .x-kit + .x-kit {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .x-pieces {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border: none;
  }

  .x-piece,
  .x-piece:first-child,
  .x-piece:last-child {
    padding: 16px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .x-tiles,
  .x-tiles.x-tiles-many {
    grid-template-columns: repeat(2, 1fr);
  }

  .x-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .x-facts {
    grid-template-columns: 1fr;
  }

  .x-facts > div,
  .x-facts > div:first-child,
  .x-facts > div:last-child {
    padding: 20px 0;
  }

  .x-facts > div + div {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

/* Responsive: Phones (<= 640px) */
@media (max-width: 640px) {
  .x-page {
    padding: 0 16px 48px;
  }

  .x-lead,
  .x-lead.x-lead-index {
    padding: 20px 0 36px;
  }

  .x-block,
  .x-prose {
    padding: 44px 0;
  }

  .x-tiles {
    grid-template-columns: 1fr;
  }

  .x-tiles.x-tiles-many {
    grid-template-columns: repeat(2, 1fr);
  }

  .x-tiles.x-tiles-many .x-tile-name {
    font-size: 13px;
    padding: 6px 10px;
  }

  .x-tiles.x-tiles-many .x-tile-name .x-gloss {
    font-size: 11px;
  }

  .x-figure.x-pair {
    grid-template-columns: 1fr;
  }

  .x-table th {
    width: 96px;
    padding-right: 12px;
  }
}

/* 3. final site additions */
/* Weekend Booths final site: parts added on top of look 07 (home) and the look 03 inner styles.
   Same tokens, same rules: white page, one blue, hairline columns, yellow only for step numbers, corners 6px at most. */

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* header: six links on one line, a menu below 1100px */
.site-header { position: relative; }
.nav-links a { padding: 0 12px; white-space: nowrap; }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-more { display: none; }
.nav-more summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-left: 6px; border: 1px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: 15px; cursor: pointer; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more ul { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin: 0; padding: 8px 24px 16px; list-style: none; background: var(--bg); border-bottom: 2px solid var(--ink); }
.nav-more li + li { border-top: 1px solid var(--line); }
.nav-more li a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 700; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-more { display: block; }
}
@media (max-width: 640px) {
  .main-nav .btn { padding: 0 14px; }
  .nav-more ul { padding: 8px 16px 16px; }
}
@media (max-width: 420px) { .main-nav .btn { display: none; } }

/* home: English sub-line on the stalls, link columns, short answers */
.stall-zh { font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.35; }
.section-head .text-link { margin-left: auto; }
.home-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.home-col { padding: 24px 28px 8px; }
.home-col + .home-col { border-left: 1px solid var(--line); }
.home-col:first-child { padding-left: 0; }
.home-col:last-child { padding-right: 0; }
.home-col h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.home-col p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.home-col ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.home-col li { break-inside: avoid; }
.home-col li a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; font-weight: 500; }
.home-col li a:hover, .home-col .text-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .home-cols { grid-template-columns: 1fr; }
  .home-col, .home-col:first-child, .home-col:last-child { padding: 20px 0 8px; }
  .home-col + .home-col { border-left: none; border-top: 1px solid var(--line); }
}

/* footer */
.site-footer { border-top: 2px solid var(--ink); padding: 40px 0 44px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-bottom: 28px; }
.footer-cols h2 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.footer-cols ul { margin: 0; padding: 0; list-style: none; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--muted); }
.footer-cols a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 20px; }
.footer-inner a { color: var(--ink); font-weight: 500; }
@media (max-width: 980px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* price before the amount */
.x-from.x-pre { margin: 0 6px 0 0; }

/* the direct answer: question on the left, answer on the right */
.x-answer { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.x-answer .x-h2 { margin: 0; }
.x-answer-text { margin: 0; font-size: 19px; line-height: 1.6; max-width: 62ch; }
.x-answer-meta { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .x-answer { grid-template-columns: 1fr; gap: 16px; } .x-answer-text { font-size: 17px; } }

/* what to print: numbered rows joined to their price, like the board on the home page */
.x-picks { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.x-pick { display: grid; grid-template-columns: 44px minmax(180px, 0.9fr) 2fr 84px; gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.x-pick .x-no { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.x-pick-name { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.x-pick-name a:hover { color: var(--blue); }
.x-pick-size { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.x-pick-why { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.x-pick-more { display: inline-flex; align-items: center; min-height: 36px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--blue); }
.x-pick-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.x-pick .x-price { font-size: 19px; font-weight: 700; white-space: nowrap; text-align: right; }
@media (max-width: 760px) {
  .x-pick { grid-template-columns: 40px 1fr 84px; gap: 6px 14px; }
  .x-pick-why { grid-column: 2 / -1; grid-row: 2; font-size: 15px; }
  .x-pick .x-price { grid-column: 3; grid-row: 1; }
}

/* sample wording, set like small printed strips */
.x-words { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.x-words li { background: var(--blue); color: #fff; padding: 10px 16px; font-size: 17px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; }
.x-words li:nth-child(2) { background: var(--ink); }
.x-words li:nth-child(3) { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* plain link lists in hairline columns */
.x-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.x-links li { border-bottom: 1px solid var(--line); }
.x-links a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.x-links a span { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.x-links a:hover { color: var(--blue); }
@media (max-width: 980px) { .x-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .x-links { grid-template-columns: 1fr; } }

/* tips: three columns with a hairline between */
.x-tips { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-reset: tip; }
.x-tips li { padding: 24px 28px; font-size: 16px; line-height: 1.6; }
.x-tips li + li { border-left: 1px solid var(--line); }
.x-tips li:first-child { padding-left: 0; }
.x-tips li:last-child { padding-right: 0; }
@media (max-width: 980px) {
  .x-tips { grid-template-columns: 1fr; }
  .x-tips li, .x-tips li:first-child, .x-tips li:last-child { padding: 16px 0; }
  .x-tips li + li { border-left: none; border-top: 1px solid var(--line); }
}

/* what ships */
.x-box { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.x-box li { padding: 18px 20px 18px 0; font-size: 16px; font-weight: 700; line-height: 1.35; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .x-box { grid-template-columns: repeat(2, 1fr); } }

/* tables with a header row */
.x-table-cols { max-width: none; }
.x-table-cols thead th { width: auto; font-size: 13px; color: var(--muted); font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.x-table-cols tbody th { width: auto; white-space: normal; }
.x-table-cols td.x-num, .x-table-cols th.x-num { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 700; padding-right: 0; }
.x-table-cols a { color: var(--blue); font-weight: 700; }
.x-table-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.x-table-cols tr.is-pick th, .x-table-cols tr.is-pick td { background: #F3F6FE; }
.x-table-cols tr.is-pick th { padding-left: 12px; }
.x-table-cols tr.is-pick td.x-num { padding-right: 12px; }
.x-table-cols tfoot td, .x-table-cols tfoot th { font-weight: 700; color: var(--ink); border-top: 2px solid var(--ink); border-bottom: none; }
.x-tablewrap { overflow-x: auto; }
.x-block > .x-tablewrap > .x-table { margin-bottom: 0; }
.x-block > .x-tablewrap + .x-note { margin: 16px 0 0; }

/* questions */
.x-faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 2px solid var(--ink); }
.x-qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.x-qa h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.x-qa p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 980px) { .x-faq-list { grid-template-columns: 1fr; } }

/* plain text sections */
.x-text p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; max-width: 68ch; }
.x-text p:last-child { margin-bottom: 0; }
.x-text a, .x-prose a, .x-qa a, .x-note a { color: var(--blue); font-weight: 700; }
.x-text a:hover, .x-prose a:hover, .x-qa a:hover, .x-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* kits: the suggested one, and long steps */
.x-kit.is-pick { box-shadow: inset 0 3px 0 var(--blue); }
.x-kit-name a:hover { color: var(--blue); }
.x-steps.x-steps-long { grid-template-columns: repeat(4, 1fr); }
.x-steps-long > li { align-items: flex-start; flex-direction: column; gap: 10px; font-weight: 500; font-size: 15px; line-height: 1.55; color: var(--muted); }
.x-steps-long > li strong { display: block; font-size: 18px; color: var(--ink); line-height: 1.3; }
@media (max-width: 980px) { .x-steps.x-steps-long { grid-template-columns: 1fr; } }

/* tiles: four in a row where a block asks for it, plain captions without the gloss */
.x-tiles.x-tiles-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .x-tiles.x-tiles-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .x-tiles.x-tiles-4 { grid-template-columns: repeat(2, 1fr); } .x-tiles.x-tiles-4 .x-tile-name { font-size: 13px; padding: 6px 10px; } }

/* order form extras, 404 */
.x-form .x-form-msg { margin: 0; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 4px; font-size: 15px; }
.x-lead-text .x-sub + .x-sub { margin-top: -12px; }
.x-prose .x-tablewrap { max-width: 880px; }
.x-prose .x-links { max-width: 880px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
.x-updated { margin: 32px 0 0; font-size: 13px; color: var(--muted); }

/* equal columns: the hairline sits in the gap, so every photo in a row is the same size */
@media (min-width: 981px) {
  .x-kits, .stages-grid { column-gap: 56px; }
  .x-kit, .x-kit:first-child, .x-kit:last-child, .stage-col, .stage-col:first-child, .stage-col:last-child { padding-left: 0; padding-right: 0; position: relative; }
  .x-kit + .x-kit, .stage-col + .stage-col { border-left: none; }
  .x-kit + .x-kit::before, .stage-col + .stage-col::before { content: ""; position: absolute; left: -28px; top: 0; bottom: 0; width: 1px; background: var(--line); }
  .x-kit.is-pick { box-shadow: none; }
  .x-kit.is-pick::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--blue); }
  .x-pieces { column-gap: 36px; }
  .x-piece, .x-piece:first-child, .x-piece:last-child { padding-left: 0; padding-right: 0; position: relative; }
  .x-piece + .x-piece { border-left: none; }
  .x-piece + .x-piece::before { content: ""; position: absolute; left: -18px; top: 0; bottom: 0; width: 1px; background: var(--line); }
  /* six pieces stay on one row */
  .x-pieces:has(> .x-piece:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 28px; }
  .x-pieces:has(> .x-piece:nth-child(6)) .x-piece + .x-piece::before { left: -14px; }
  /* seven pieces: four and three, no lone piece on its own row */
  .x-pieces:has(> .x-piece:nth-child(7)) { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; }
  .x-pieces:has(> .x-piece:nth-child(7)) .x-piece + .x-piece::before { left: -18px; }
  .x-pieces:has(> .x-piece:nth-child(7)) .x-piece:nth-child(4n+1)::before { display: none; }
  .x-pieces:has(> .x-piece:nth-child(7)) .x-piece:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .x-pieces:has(> .x-piece:nth-child(7)) { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 28px; }
  .x-pieces:has(> .x-piece:nth-child(7)) .x-piece + .x-piece::before { left: -14px; display: block; }
  .x-pieces:has(> .x-piece:nth-child(7)) .x-piece:nth-child(n+5) { border-top: none; }
}
.board-name .zh { display: inline; }
