/* ==========================================
   PACE ACADEMY / SHOE SELECTOR
   diagnosis.css（完成系 v2 — 商品写真対応）
   ========================================== */

/* ---------- 1. ページ基底 / テーマ変数 ---------- */
.diagnosis-page {
  /* グローバル変数 → ローカル変数（未定義でもフォールバックで動作） */
  --d-accent:       var(--accent, #1599a6);
  --d-black:        var(--black, #16383b);
  --d-white:        var(--white, #ffffff);
  --d-mono:         var(--mono, "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", monospace);
  --d-display:      var(--display, "Times New Roman", Georgia, serif);
  --d-line:         var(--line, rgba(22, 56, 59, 0.14));
  --d-page-bg:      var(--page-background, #f9f9f9);
  --d-sub-color:    var(--sub-color, #f4feff);
  --d-article-box:  var(--article-box, #ccf6f9);
  --d-text-bg:      var(--text-background, #ffffff);
  --d-text-sub:     #5f8588;
  --d-text-faint:   #6f8b8e;
  --d-progress-off: #91b7bb;
  --d-error:        #cf4e47;

  background: var(--d-page-bg);
  color: var(--d-black);
  min-height: 100vh;
}

/* ---------- 2. ヘッダー ---------- */
.diagnosis-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 26px 34px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.diagnosis-logo {
  color: var(--d-black);
  font-family: var(--d-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.back-link {
  align-items: center;
  color: var(--d-black);
  display: inline-flex;
  font-family: var(--d-mono);
  font-size: 0.65rem;
  gap: 10px;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.back-link span:first-child {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.back-link:hover {
  color: var(--d-accent);
}

.back-link:hover span:first-child {
  transform: translateX(-4px);
}

.back-link:focus-visible,
.restart-button:focus-visible,
.amazon-buy-button:focus-visible,
.quiz-back-button:focus-visible,
.quiz-next-button:focus-visible,
.shoe-recommend-card:focus-visible {
  outline: 2px solid var(--d-accent);
  outline-offset: 3px;
}

/* ---------- 3. ヒーロー ---------- */
.diagnosis-hero {
  background: var(--d-sub-color);
  min-height: 650px;
  overflow: hidden;
  padding: 170px clamp(28px, 8vw, 130px) 90px;
  position: relative;
}

.diagnosis-hero-copy {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.diagnosis-hero-copy .eyebrow {
  margin-top: 2rem;
}

.diagnosis-hero h1 {
  font-family: var(--d-display);
  font-size: clamp(4.1rem, 10vw, 10.2rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.84;
  margin: 2rem 0 2.7rem;
}

.diagnosis-hero-copy > p:last-child {
  font-size: 0.9rem;
  line-height: 2;
}

.diagnosis-hero-shape {
  bottom: -180px;
  height: 520px;
  position: absolute;
  right: -120px;
  transform: rotate(-22deg);
  width: 760px;
}

.diagnosis-hero-shape span {
  border: 1px solid var(--d-line);
  border-radius: 50%;
  inset: 0;
  position: absolute;
}

.diagnosis-hero-shape span:nth-child(2) { inset: 75px; }
.diagnosis-hero-shape span:nth-child(3) { inset: 150px; }

/* ---------- 4. 診断（クイズ） ---------- */
.quiz-section {
  background: var(--d-text-bg);
  padding: clamp(80px, 10vw, 145px) clamp(28px, 8vw, 130px);
}

.quiz-layout {
  display: grid;
  gap: clamp(50px, 10vw, 160px);
  grid-template-columns: minmax(170px, 0.6fr) minmax(0, 2fr);
  margin: 0 auto;
  max-width: 1440px;
}

.quiz-aside {
  border-top: 1px solid var(--d-line);
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}

.quiz-progress {
  align-items: baseline;
  display: flex;
  font-family: var(--d-display);
  font-size: 2.5rem;
  gap: 7px;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 38px;
}

.quiz-progress span:not(.quiz-progress-current) {
  color: var(--d-progress-off);
  font-size: 1.25rem;
}

.quiz-aside-copy {
  color: var(--d-text-sub);
  font-size: 0.72rem;
  line-height: 2;
  margin-top: auto;
  padding-top: 70px;
}

.quiz-step {
  border: 0;
  display: none;
  min-width: 0;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step legend {
  font-family: var(--d-display);
  font-size: clamp(2.3rem, 4.4vw, 4.9rem);
  letter-spacing: -0.06em;
  line-height: 1.07;
  margin-bottom: clamp(35px, 5vw, 66px);
  max-width: 780px;
}

.question-number {
  color: var(--d-accent);
  display: block;
  font-family: var(--d-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 22px;
}

/* ---------- 5. 選択肢カード ---------- */
.choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  background: var(--d-text-bg);
  border: 1px solid var(--d-line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: clamp(19px, 2.2vw, 31px);
  position: relative;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

/* ネイティブのラジオボタンは隠しつつ、キーボード操作は有効のまま */
.choice-card input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.choice-card:hover {
  border-color: var(--d-accent);
  transform: translateY(-5px);
}

.choice-card:focus-within {
  border-color: var(--d-accent);
}

.choice-card:has(input:checked) {
  background: var(--d-article-box);
  border-color: var(--d-accent);
}

.choice-card-index {
  color: var(--d-accent);
  font-family: var(--d-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.choice-card-title {
  font-family: var(--d-display);
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-top: auto;
}

.choice-card-copy {
  color: var(--d-text-sub);
  font-size: 0.69rem;
  line-height: 1.9;
  margin-top: 15px;
}

/* ---------- 6. クイズ操作バー ---------- */
.quiz-controls {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(36px, 5vw, 65px);
}

.quiz-back-button,
.quiz-next-button,
.restart-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--d-mono);
  font-size: 0.68rem;
  gap: 12px;
  letter-spacing: 0.1em;
}

.quiz-back-button { color: var(--d-text-faint); }

.quiz-back-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.quiz-next-button {
  background: var(--d-accent);
  color: var(--d-black);
  justify-content: space-between;
  min-width: 170px;
  padding: 16px 18px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.quiz-next-button:hover {
  background: var(--d-black);
  color: var(--d-white);
}

.quiz-error {
  color: var(--d-error);
  font-size: 0.75rem;
  min-height: 1.5em;
  padding-top: 16px;
}

/* ---------- 7. 結果（おすすめ） ---------- */
.recommend-section {
  background: var(--d-page-bg);
  padding: clamp(90px, 12vw, 170px) clamp(28px, 8vw, 130px);
}

.recommend-heading,
.affiliate-disclosure,
.shoe-recommend-grid,
.recommend-note,
.recommend-actions {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.recommend-heading {
  margin-bottom: clamp(45px, 7vw, 85px);
}

.recommend-heading .eyebrow {
  margin-top: 2rem;
}

.recommend-heading h2 {
  font-family: var(--d-display);
  font-size: clamp(3.8rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.84;
  margin: 2rem 0;
}

.recommend-heading > p:last-child {
  font-size: 0.88rem;
  line-height: 2;
  max-width: 500px;
}

.affiliate-disclosure {
  background: var(--d-article-box);
  font-size: 0.74rem;
  line-height: 1.8;
  margin-bottom: 22px;
  padding: 14px 17px;
}

.shoe-recommend-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- 8. 商品カード（コンパクト型・商品写真つき） ---------- */
.shoe-recommend-card {
  background: var(--d-text-bg);
  border: 1px solid var(--d-line);
  color: var(--d-black);
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.shoe-recommend-card:hover {
  border-color: var(--d-accent);
  transform: translateY(-4px);
}

/* 商品写真スロット（ここに実物写真の img を入れる） */
.shoe-recommend-image {
  aspect-ratio: 1 / 0.66;
  background: var(--d-sub-color);
  display: block;
  overflow: hidden;
}

.shoe-recommend-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: clamp(24px, 4vw, 60px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.shoe-recommend-card:hover .shoe-recommend-image img {
  transform: scale(1.06) rotate(-2deg);
}

.shoe-recommend-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(25px, 3vw, 40px);
}

.shoe-recommend-brand {
  color: var(--d-accent);
  font-family: var(--d-mono);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  margin: 0;
}

.shoe-recommend-name {
  font-family: var(--d-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.shoe-recommend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.shoe-recommend-tags li {
  border: 1px solid var(--d-line);
  border-radius: 999px;
  color: var(--d-text-sub);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  padding: 4px 12px;
}

.shoe-recommend-buy {
  color: var(--d-accent);
  font-family: var(--d-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 18px;
  transition: color 0.25s ease;
}

.shoe-recommend-card:hover .shoe-recommend-buy {
  color: var(--d-black);
}

.recommend-empty {
  color: var(--d-text-sub);
  font-size: 0.8rem;
  grid-column: 1 / -1;
  padding: 30px 0;
}

/* ---------- 9. 注記・再診断 ---------- */
.recommend-note {
  border-top: 1px solid var(--d-line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1.5fr);
  margin-top: clamp(55px, 8vw, 100px);
  padding-top: 18px;
}

.recommend-note > p:last-child {
  font-size: 0.76rem;
  line-height: 2;
  max-width: 560px;
}

.recommend-actions {
  align-items: center;
  display: flex;
  gap: 35px;
  justify-content: space-between;
  margin-top: 70px;
}

.restart-button {
  border-bottom: 1px solid var(--d-black);
  padding-bottom: 10px;
  transition: color 0.2s ease;
}

.restart-button:hover {
  color: var(--d-accent);
}

/* ---------- 10. フッター ---------- */
.diagnosis-footer {
  align-items: flex-end;
  background: var(--d-black);
  color: var(--d-white);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 42px clamp(28px, 5vw, 72px);
}

.diagnosis-footer > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.diagnosis-footer p {
  color: #c3e9ec;
  font-family: var(--d-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.diagnosis-footer > p {
  white-space: nowrap;
}

/* ---------- 11. スクロールリビール ---------- */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 45px, 0);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---------- 12. レスポンシブ ---------- */
@media (max-width: 850px) {
  .quiz-layout {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .quiz-aside-copy {
    margin-top: 0;
    padding-top: 0;
  }

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

  .choice-card {
    min-height: 165px;
  }

  .shoe-recommend-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .diagnosis-header {
    padding: 22px;
  }

  .back-link span:last-child {
    display: none;
  }

  .diagnosis-hero {
    min-height: 560px;
    padding: 145px 28px 70px;
  }

  .diagnosis-hero-shape {
    bottom: -170px;
    right: -330px;
  }

  .quiz-controls {
    gap: 15px;
  }

  .quiz-next-button {
    min-width: 145px;
  }

  .recommend-note {
    grid-template-columns: 1fr;
  }

  .recommend-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .diagnosis-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .diagnosis-footer > p {
    white-space: normal;
  }
}

/* ---------- 13. モーション設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .choice-card,
  .shoe-recommend-card,
  .shoe-recommend-image img,
  .amazon-buy-button,
  .quiz-next-button,
  .back-link span:first-child {
    transition: none;
  }

  .choice-card:hover,
  .choice-card:has(input:checked),
  .shoe-recommend-card:hover,
  .shoe-recommend-card:hover .shoe-recommend-image img {
    transform: none;
  }
}
/* ---------- 修正箇所：文字と改行の最適化 ---------- */

/* 1. 見出しの改行コントロール */
.diagnosis-hero h1,
.quiz-step legend,
.recommend-heading h2,
.shoe-recommend-name {
  word-break: keep-all; /* 単語の途中で改行させない */
  overflow-wrap: break-word; /* どうしても収まらない場合は改行する */
}

/* 2. カードのテキスト調整（改行の乱れを防止） */
.choice-card-title,
.shoe-recommend-name {
  line-height: 1.25; /* 少し詰めると日本語は綺麗に見える */
}

.choice-card-copy,
.shoe-recommend-body p,
.shoe-recommend-body ul {
  line-height: 1.8; /* 文章は少し行間を空けて読みやすく */
}

/* 3. モバイルでの過剰な改行を抑制 */
@media (max-width: 600px) {
  .diagnosis-hero h1 {
    font-size: clamp(3rem, 8vw, 4rem); /* スマホで見出しを少し小さくして改行を調整 */
    line-height: 1.1;
  }
  
  .quiz-step legend {
    font-size: clamp(1.8rem, 6vw, 2.3rem); /* 質問文をスマホで収まりやすく */
  }

  .shoe-recommend-name {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
}

/* 4. アソシエイト注記など、横に広がる文章の読みやすさ */
.affiliate-disclosure,
.recommend-note p {
  word-break: break-all; /* 長いURLや英語が含まれても崩さない */
  text-align: justify; /* 両端揃えで綺麗に見せる */
}

/* 5. 選択肢カードのコピー位置修正 */
.choice-card-copy {
  margin-top: 10px;
  display: block;
}


/* =========================================================
   PACE ACADEMY / SHOE SELECTOR — final visual + UX pass
   ========================================================= */
.diagnosis-header {
  align-items: center;
  position: absolute;
}
.diagnosis-logo img {
  display: block;
  height: auto;
  width: clamp(180px, 18vw, 260px);
}

/* Hero */
.diagnosis-hero {
  background: #eef9ff;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  min-height: min(820px, 100svh);
  padding: 145px clamp(28px, 7vw, 112px) 78px;
}
.diagnosis-hero-copy {
  align-self: center;
  max-width: 680px;
}
.diagnosis-hero h1 {
  color: #086bc7;
  font-family: var(--d-display);
  font-size: clamp(4rem, 7.5vw, 8.6rem);
  line-height: .88;
  margin: 1.5rem 0 2rem;
}
.diagnosis-hero-visual {
  align-self: stretch;
  border-radius: 2px;
  margin: 0 0 0 clamp(24px, 4vw, 72px);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}
.diagnosis-hero-visual::after {
  background: linear-gradient(90deg, rgba(238,249,255,.28), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.diagnosis-hero-visual img {
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  width: 100%;
}
.diagnosis-start {
  align-items: center;
  bottom: 34px;
  color: #086bc7;
  display: inline-flex;
  font-family: var(--d-mono);
  font-size: .68rem;
  gap: 14px;
  left: clamp(28px, 7vw, 112px);
  letter-spacing: .12em;
  position: absolute;
  text-decoration: none;
}
.diagnosis-start span {
  border: 1px solid rgba(8,107,199,.28);
  border-radius: 50%;
  display: grid;
  height: 34px;
  place-items: center;
  width: 34px;
}

/* Quiz */
.quiz-section {
  padding-bottom: clamp(100px, 12vw, 170px);
  padding-top: clamp(90px, 10vw, 145px);
}
.quiz-aside {
  position: sticky;
  top: 34px;
  align-self: start;
}
.choice-card {
  border-radius: 2px;
  min-height: 230px;
  overflow: hidden;
}
.choice-card:has(input:checked) {
  background: #086bc7;
  border-color: #086bc7;
  color: #fff;
  transform: translateY(-3px);
}
.choice-card:has(input:checked) .choice-card-copy,
.choice-card:has(input:checked) .choice-card-index {
  color: rgba(255,255,255,.78);
}
.quiz-next-button {
  background: #086bc7;
  color: #fff;
  min-height: 52px;
  min-width: 190px;
}
.quiz-next-button:hover {
  background: #064f94;
}
.quiz-progress-current {
  color: #086bc7;
}

/* Results */
.recommend-section {
  background: #f4faff;
}
.shoe-recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shoe-recommend-card {
  border-radius: 2px;
  overflow: hidden;
}
.shoe-recommend-card:hover {
  border-color: #086bc7;
  transform: translateY(-5px);
}
.shoe-recommend-image {
  background:
    linear-gradient(135deg, #eef9ff, #fff);
  display: block;
  min-height: 210px;
}
.shoe-recommend-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.shoe-recommend-buy {
  color: #086bc7;
}
.affiliate-disclosure {
  background: #e7f7ff;
  border-left: 3px solid #43bdf0;
}
.restart-button {
  min-height: 44px;
}

/* Mobile */
@media (max-width: 900px) {
  .diagnosis-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 116px 22px 76px;
  }
  .diagnosis-hero-copy {
    order: 1;
  }
  .diagnosis-hero-visual {
    aspect-ratio: 16 / 10;
    margin: 38px 0 0;
    min-height: 0;
    order: 2;
  }
  .diagnosis-start {
    bottom: auto;
    left: auto;
    margin-top: 28px;
    order: 3;
    position: static;
  }
  .quiz-layout {
    gap: 46px;
    grid-template-columns: 1fr;
  }
  .quiz-aside {
    position: static;
  }
  .quiz-aside-copy {
    margin-top: 22px;
    padding-top: 0;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice-card {
    min-height: 0;
    padding: 24px 22px;
  }
  .shoe-recommend-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .diagnosis-header {
    padding: 18px;
  }
  .diagnosis-logo img {
    width: min(210px, 58vw);
  }
  .back-link span:last-child {
    display: none;
  }
  .diagnosis-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }
  .diagnosis-hero-visual {
    aspect-ratio: 4 / 3;
  }
  .quiz-section,
  .recommend-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .quiz-controls {
    align-items: stretch;
    gap: 14px;
  }
  .quiz-next-button {
    flex: 1;
    min-width: 0;
  }
}


/* Shoe data v2 — result metadata */
.shoe-match-score {
  color: #086bc7;
  font-family: var(--d-mono);
  font-size: .7rem;
  letter-spacing: .1em;
}
.shoe-match-reasons {
  border-top: 1px solid var(--d-line);
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
}
.shoe-match-reasons li {
  color: var(--d-text-sub);
  font-size: .72rem;
  line-height: 1.6;
}

/* Expanded shoe database */
.shoe-catalog{max-width:1280px;margin:90px auto 55px;padding-top:45px;border-top:1px solid var(--d-line)}
.shoe-catalog-heading{max-width:760px}
.shoe-catalog-heading h2{font-family:var(--d-display);font-size:clamp(2.6rem,5vw,5.5rem);font-weight:400;letter-spacing:-.06em;line-height:.95;margin:22px 0}
.shoe-catalog-heading>p:last-child{color:var(--d-text-sub);font-size:.82rem;line-height:1.9}
.brand-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.brand-chips span{border:1px solid var(--d-line);background:#fff;padding:10px 13px;font-family:var(--d-mono);font-size:.62rem;letter-spacing:.08em}
.shoe-recommend-card img[src=""],.shoe-recommend-card img:not([src]){display:none}
@media(max-width:600px){.shoe-catalog{margin-top:65px}.brand-chips{gap:6px}.brand-chips span{padding:9px 10px}}

/* Final diagnosis result explanation */
.shoe-match-panel{border-top:1px solid var(--d-line);margin-top:22px;padding-top:20px}
.shoe-match-head{align-items:baseline;display:flex;font-family:var(--d-mono);justify-content:space-between;letter-spacing:.12em}
.shoe-match-head span{color:var(--d-text-sub);font-size:.62rem}
.shoe-match-head strong{color:#086bc7;font-size:1.35rem;font-weight:500;letter-spacing:-.04em}
.shoe-match-bar{background:#e3edf3;height:3px;margin:10px 0 20px;overflow:hidden}
.shoe-match-bar i{background:#086bc7;display:block;height:100%;transition:width .7s ease}
.shoe-match-title{font-size:.72rem;font-weight:600;margin-bottom:10px}
.shoe-match-reasons{border-top:0;margin:0;padding:0}
.shoe-match-reasons li{padding-left:15px;position:relative}
.shoe-match-reasons li::before{color:#43bdf0;content:"•";left:0;position:absolute}

/* MATCH result visibility fix */
.shoe-result-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.shoe-result-rank {
  color: var(--d-text-sub);
  font-family: var(--d-mono);
  font-size: .65rem;
  letter-spacing: .1em;
}
.shoe-match-panel {
  display: block !important;
  margin: 22px 0 20px;
  padding-top: 20px;
}
.shoe-match-head strong {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}
.shoe-match-bar {
  border-radius: 99px;
  height: 5px;
}
.shoe-match-bar i {
  border-radius: inherit;
}
.shoe-match-reasons {
  display: grid !important;
}
