/* ============================================================
   ぴったり趣味診断 v3.0
   配色はマスコット「たっつー」から採取：
   ビールの琥珀 / 泡の白 / ニットのタン / デニムの青 / 線画の焦げ茶
   ========================================================== */

.hd-app,
.hd-mini {
  --hd-paper:      #FBF6EA;
  --hd-card:       #FFFFFF;
  --hd-beer:       #F0D48A;
  --hd-beer-deep:  #E5B854;
  --hd-foam:       #FFFDF7;
  --hd-knit:       #C9A87A;
  --hd-knit-pale:  #EADDC5;
  --hd-ink:        #5A4730;
  --hd-ink-soft:   #97866C;
  --hd-denim:      #6C86A6;
  --hd-denim-deep: #4E6A8C;

  --hd-r-lg: 22px;
  --hd-r-md: 16px;
  --hd-r-sm: 12px;

  font-family: 'Zen Maru Gothic', -apple-system, 'Hiragino Sans', sans-serif;
  color: var(--hd-ink);
  line-height: 1.85;
  box-sizing: border-box;
}
.hd-app *, .hd-mini * { box-sizing: border-box; }

/* テーマ側（Cocoonの本文・ウィジェット領域など）のスタイルに引っ張られないための保険 */
.hd-app, .hd-mini { text-align: left; font-size: 15px; }
.hd-app img, .hd-mini img { max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.hd-app a, .hd-mini a { box-shadow: none; }
.hd-app button, .hd-mini button { -webkit-appearance: none; appearance: none; margin: 0; }
.hd-app p, .hd-mini p { text-indent: 0; }
.hd-app ul, .hd-mini ul { background: none; }

.hd-app {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.25rem;
  background: var(--hd-paper);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 28px;
}

.hd-screen { display: none; }
.hd-screen--active { display: block; }

/* ── 見出しの型 ── */
.hd-display {
  font-family: 'Kiwi Maru', 'Zen Maru Gothic', serif;
  font-weight: 500;
  color: var(--hd-ink);
  letter-spacing: 0.04em;
}
.hd-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--hd-ink-soft);
  margin: 0 0 0.5rem !important;
}

/* ── ボタン ── */
.hd-btn {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--hd-beer);
  color: var(--hd-ink) !important;
  border: 2px solid var(--hd-beer-deep);
  border-bottom-width: 4px;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.12s, background 0.2s;
}
.hd-btn:hover { background: #F5DEA0; }
.hd-btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.hd-btn:focus-visible { outline: 3px solid var(--hd-denim); outline-offset: 2px; }
.hd-btn--link { margin-top: 1.25rem; }

.hd-btn-quiet {
  display: block;
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.75rem;
  background: transparent;
  color: var(--hd-ink-soft);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.hd-btn-quiet:hover { background: #F4EEDF; }

/* ── トップ画面 ── */
.hd-top { text-align: center; }
.hd-top-figure { margin: 0 0 0.5rem; }
.hd-top-figure img { width: 150px; height: auto; display: block; margin: 0 auto; }
.hd-top-title {
  font-family: 'Kiwi Maru', serif;
  font-size: 27px; font-weight: 500;
  letter-spacing: 0.08em; line-height: 1.4;
  color: var(--hd-ink);
  margin: 0 0 0.25rem !important;
}
.hd-top-sub {
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--hd-ink-soft);
  margin: 0 0 1.5rem !important;
}
.hd-speech {
  position: relative;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1.15rem 1.4rem;
  font-size: 14px; line-height: 1.9;
  text-align: left;
  margin: 0 0 1.25rem !important;
}
.hd-speech::after {
  content: '';
  position: absolute; top: -9px; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px;
  background: var(--hd-card);
  border-left: 2px solid var(--hd-knit-pale);
  border-top: 2px solid var(--hd-knit-pale);
  transform: rotate(45deg);
}
.hd-top-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hd-tag {
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  padding: 3px 13px;
  font-size: 12px; color: var(--hd-ink-soft);
}

/* ── 質問画面 ── */
.hd-progress-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.5rem;
}
.hd-progress-bg {
  flex: 1; height: 14px;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.hd-progress-fill {
  position: relative;
  height: 100%; width: 0;
  background: linear-gradient(180deg, var(--hd-beer) 0%, var(--hd-beer-deep) 100%);
  border-radius: 999px 0 0 999px;
  transition: width 0.45s cubic-bezier(.34,1.2,.64,1);
}
.hd-progress-foam {
  position: absolute; top: -1px; right: -3px;
  width: 12px; height: calc(100% + 2px);
  background: var(--hd-foam);
  border-radius: 999px;
  box-shadow: -1px 0 0 rgba(229,184,84,.4);
}
.hd-progress-fill[style*="width: 0"] .hd-progress-foam { opacity: 0; }
.hd-progress-num {
  font-size: 12px; color: var(--hd-ink-soft);
  white-space: nowrap; letter-spacing: 0.06em;
}

.hd-q-row {
  display: flex; align-items: flex-end; gap: 12px;
  margin-bottom: 1rem;
}
.hd-q-figure { flex: 0 0 78px; }
.hd-q-figure img {
  width: 78px; height: auto; display: block;
  transition: opacity 0.3s;
}
.hd-q-bubble {
  flex: 1;
  position: relative;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1rem 1.15rem;
}
.hd-q-bubble::after {
  content: '';
  position: absolute; bottom: 18px; left: -9px;
  width: 14px; height: 14px;
  background: var(--hd-card);
  border-left: 2px solid var(--hd-knit-pale);
  border-bottom: 2px solid var(--hd-knit-pale);
  transform: rotate(45deg);
}
.hd-q-category {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--hd-ink-soft);
  margin: 0 0 0.35rem !important;
}
.hd-q-text {
  font-family: 'Kiwi Maru', serif;
  font-size: 18px; font-weight: 500; line-height: 1.65;
  color: var(--hd-ink);
  margin: 0 !important;
}
.hd-q-hint {
  font-size: 12px; color: var(--hd-ink-soft);
  margin: 0.4rem 0 0 !important;
}

.hd-options { display: flex; flex-direction: column; gap: 9px; }
.hd-option {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-md);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px; color: var(--hd-ink);
  text-align: left; cursor: pointer;
  transition: all 0.16s;
}
.hd-option:hover { border-color: var(--hd-knit); background: #FFFCF4; }
.hd-option:focus-visible { outline: 3px solid var(--hd-denim); outline-offset: 2px; }
.hd-option--selected {
  background: var(--hd-denim);
  border-color: var(--hd-denim-deep);
  color: #fff;
}
.hd-option-icon { font-size: 21px; flex-shrink: 0; }

/* ── ローディング ── */
.hd-loading { text-align: center; padding: 2rem 0 2.5rem; }
.hd-loading img { width: 130px; height: auto; }
.hd-loading-text {
  font-family: 'Kiwi Maru', serif;
  font-size: 16px; color: var(--hd-ink);
  margin: 0.5rem 0 0.25rem !important;
}
.hd-loading-sub { font-size: 12px; color: var(--hd-ink-soft); margin: 0 !important; }
.hd-bubbles { display: flex; gap: 6px; justify-content: center; margin-top: 0.75rem; }
.hd-bubbles span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hd-beer-deep);
  animation: hd-rise 1.1s ease-in-out infinite;
}
.hd-bubbles span:nth-child(2) { animation-delay: .18s; }
.hd-bubbles span:nth-child(3) { animation-delay: .36s; }
@keyframes hd-rise {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50%      { transform: translateY(-7px); opacity: 1; }
}

/* ── 結果 ── */
.hd-result-head { text-align: center; margin-bottom: 1.25rem; }
.hd-result-title {
  font-family: 'Kiwi Maru', serif;
  font-size: 28px; font-weight: 500;
  color: var(--hd-ink);
  margin: 0 0 0.35rem !important;
}
.hd-result-sub { font-size: 13px; color: var(--hd-ink-soft); margin: 0 !important; }

.hd-card {
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.25rem;
}
.hd-result-main { text-align: center; }
.hd-badge {
  display: inline-block;
  background: var(--hd-beer);
  border: 2px solid var(--hd-beer-deep);
  color: var(--hd-ink);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.hd-result-figure { margin-bottom: 0.5rem; }
.hd-result-figure img { width: 168px; height: auto; display: block; margin: 0 auto; }
.hd-result-name {
  font-family: 'Kiwi Maru', serif;
  font-size: 22px; font-weight: 500;
  color: var(--hd-ink);
  margin: 0 0 0.7rem !important;
}
.hd-result-desc {
  font-size: 14px; line-height: 1.95; color: #6E5C43;
  text-align: left;
  margin: 0 0 1rem !important;
}
.hd-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }

.hd-trait-title {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--hd-ink-soft);
  margin: 0 0 0.8rem !important;
}
.hd-traits { display: flex; flex-wrap: wrap; gap: 7px; }
.hd-trait {
  background: var(--hd-paper);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px; padding: 3px 13px;
  font-size: 13px; color: var(--hd-ink);
}
.hd-trait-list {
  margin: 1rem 0 0 !important; padding-left: 1.2rem;
  font-size: 14px; color: #6E5C43;
}
.hd-trait-list li { margin-bottom: 0.2rem; }

.hd-others-title {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--hd-ink-soft);
  margin: 0 0 0.75rem !important;
}
.hd-others { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.5rem; }
.hd-other-card {
  display: block;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-md);
  padding: 1rem 0.9rem;
  text-align: center;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}
a.hd-other-card:hover { border-color: var(--hd-knit); background: #FFFCF4; }
.hd-other-figure img { width: 66px; height: auto; display: block; margin: 0 auto 0.4rem; }
.hd-other-name {
  display: block;
  font-family: 'Kiwi Maru', serif;
  font-size: 14px; font-weight: 500;
  color: var(--hd-ink);
  margin-bottom: 0.25rem;
}
.hd-other-desc { display: block; font-size: 12px; color: var(--hd-ink-soft); line-height: 1.65; text-align: left; }

/* ── シェア ── */
.hd-share { text-align: center; margin-bottom: 1.25rem; }
.hd-share-title {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--hd-ink-soft);
  margin: 0 0 0.75rem !important;
}
.hd-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-share-btn {
  flex: 1 1 30%;
  padding: 0.7rem 0.5rem;
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  background: var(--hd-card);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px; color: var(--hd-ink) !important;
  text-align: center; text-decoration: none !important;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.hd-share-btn:hover { border-color: var(--hd-knit); background: #FFFCF4; }
.hd-share-note {
  font-size: 12px; color: var(--hd-ink-soft);
  margin: 0.7rem 0 0 !important; min-height: 1em;
}

/* ── 結果ページ ── */
.hd-crumb { font-size: 12px; color: var(--hd-ink-soft); margin: 0 0 1.25rem !important; }
.hd-crumb a { color: var(--hd-denim-deep); }
.hd-detail {
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
  font-size: 14px; line-height: 1.95; color: #6E5C43;
}
.hd-cta {
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1.5rem 1.4rem;
  text-align: center;
}
.hd-cta-figure img { width: 96px; height: auto; display: block; margin: 0 auto 0.5rem; }
.hd-cta-text { font-size: 15px; line-height: 1.85; margin: 0 0 1.1rem !important; }

/* ── 趣味一覧（クロール経路） ── */
.hd-index {
  max-width: 620px;
  margin: 2rem auto 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #5A4730;
}
.hd-index-title {
  font-family: 'Kiwi Maru', serif;
  font-size: 17px; font-weight: 500; color: #5A4730;
  margin: 0 0 0.4rem !important;
}
.hd-index-lead { font-size: 13px; color: #97866C; margin: 0 0 1rem !important; }
.hd-index-list {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 6px;
}
.hd-index-item { margin: 0 !important; }
.hd-index-item a {
  display: flex; align-items: center; gap: 8px;
  padding: 0.5rem 0.7rem;
  border: 2px solid #EADDC5;
  border-radius: 10px;
  font-size: 13px; color: #5A4730 !important;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}
.hd-index-item a:hover { border-color: #C9A87A; background: #FFFCF4; }
.hd-index-icon { font-size: 15px; }

/* ============================================================
   ミニ診断（記事下）
   ========================================================== */
.hd-mini {
  background: var(--hd-paper);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 24px;
  padding: 1.5rem 1.35rem;
  margin: 2.5rem 0;
}
.hd-mini-screen { display: none; }
.hd-mini-screen--active { display: block; }

.hd-mini-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 1rem; }
.hd-mini-figure { flex: 0 0 84px; }
.hd-mini-figure img { width: 84px; height: auto; display: block; }
.hd-mini-headtext { flex: 1; }
.hd-mini-label {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--hd-ink-soft); margin: 0 0 0.3rem !important;
}
.hd-mini-title {
  font-family: 'Kiwi Maru', serif;
  font-size: 17px; font-weight: 500; line-height: 1.6;
  color: var(--hd-ink); margin: 0 !important;
}
.hd-mini-lead { font-size: 13px; color: var(--hd-ink-soft); margin: 0 0 1rem !important; }

.hd-mini-btn {
  display: block; width: 100%;
  padding: 0.8rem;
  background: var(--hd-beer);
  color: var(--hd-ink) !important;
  border: 2px solid var(--hd-beer-deep);
  border-bottom-width: 4px;
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  text-align: center; text-decoration: none !important;
  cursor: pointer; transition: transform 0.12s, background 0.2s;
}
.hd-mini-btn:hover { background: #F5DEA0; }
.hd-mini-btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.hd-mini-btn--main { margin-top: 1.1rem; }

.hd-mini-step { font-size: 11px; letter-spacing: 0.12em; color: var(--hd-ink-soft); margin: 0 0 0.4rem !important; }
.hd-mini-q {
  font-family: 'Kiwi Maru', serif;
  font-size: 16px; font-weight: 500; line-height: 1.6;
  color: var(--hd-ink); margin: 0 0 0.9rem !important;
}
.hd-mini-options { display: flex; flex-direction: column; gap: 8px; }
.hd-mini-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-sm);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px; color: var(--hd-ink);
  text-align: left; cursor: pointer;
  transition: all 0.16s;
}
.hd-mini-option:hover { border-color: var(--hd-knit); background: #FFFCF4; }
.hd-mini-option--selected { background: var(--hd-denim); border-color: var(--hd-denim-deep); color: #fff; }

.hd-mini-res { display: flex; align-items: center; gap: 14px; margin-bottom: 0.75rem; }
.hd-mini-res img { width: 90px; height: auto; display: block; flex-shrink: 0; }
.hd-mini-res-type { font-size: 12px; color: var(--hd-ink-soft); margin: 0 !important; }
.hd-mini-res-name {
  font-family: 'Kiwi Maru', serif;
  font-size: 19px; font-weight: 500; color: var(--hd-ink);
  margin: 0 !important;
}
.hd-mini-res-desc { font-size: 13px; color: var(--hd-ink-soft); margin: 0 !important; }
.hd-mini-retry {
  display: block; width: 100%;
  margin-top: 0.55rem; padding: 0.55rem;
  background: transparent; border: none;
  color: var(--hd-ink-soft);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 12px; cursor: pointer;
}
.hd-mini-retry:hover { color: var(--hd-ink); }

/* ── 動きの軽減設定を尊重 ── */
@media (prefers-reduced-motion: reduce) {
  .hd-progress-fill { transition: none; }
  .hd-bubbles span { animation: none; }
  .hd-btn, .hd-mini-btn { transition: none; }
}

/* ── モバイル ── */
@media (max-width: 480px) {
  .hd-app { padding: 1.5rem 1rem 1.75rem; border-radius: 22px; }
  .hd-top-title { font-size: 23px !important; }
  .hd-result-title { font-size: 23px !important; }
  .hd-q-text { font-size: 16px !important; }
  .hd-q-figure { flex-basis: 62px; }
  .hd-q-figure img { width: 62px; }
  .hd-others { grid-template-columns: 1fr 1fr; }
  .hd-other-desc { display: none; }
  .hd-share-btn { flex: 1 1 100%; }
  .hd-index-list { grid-template-columns: 1fr 1fr; }
  .hd-result-figure img { width: 138px; }
}

/* ============================================================
   おひとり様耐性診断
   ========================================================== */

.hd-solo .hd-top { margin-bottom: 1.5rem; }

/* ── いまの状況 ── */
.hd-solo-status {
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-lg);
  padding: 1.1rem 1.25rem 1rem;
  margin-bottom: 1.75rem;
}
.hd-solo-status-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: .6rem;
}
.hd-solo-rank-name {
  font-family: 'Kiwi Maru', serif;
  font-size: 18px; color: var(--hd-ink);
}
.hd-solo-count { font-size: 13px; color: var(--hd-ink-soft); white-space: nowrap; }
.hd-solo-count b { font-size: 20px; color: var(--hd-ink); }
.hd-solo-percent {
  font-size: 12px; color: var(--hd-ink-soft);
  text-align: right; margin: .5rem 0 0 !important;
}
.hd-solo-percent b { font-size: 15px; color: var(--hd-ink); }

/* ── レベルの区切り ── */
.hd-solo-level { margin-bottom: 1.75rem; }
.hd-solo-level-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--hd-knit-pale);
}
.hd-solo-level-badge {
  background: var(--hd-beer);
  border: 2px solid var(--hd-beer-deep);
  border-radius: 999px;
  padding: 1px 11px;
  font-size: 12px; font-weight: 700; color: var(--hd-ink);
  white-space: nowrap;
}
.hd-solo-level-name {
  flex: 1;
  font-family: 'Kiwi Maru', serif;
  font-size: 17px; color: var(--hd-ink);
}
.hd-solo-level-count {
  font-size: 12px; color: var(--hd-ink-soft);
  white-space: nowrap;
  transition: color .2s;
}
.hd-solo-level-count.is-complete { color: var(--hd-beer-deep); font-weight: 700; }
.hd-solo-level-lead {
  font-size: 12px; color: var(--hd-ink-soft);
  margin: .6rem 0 .8rem !important;
}

/* ── チェック項目 ── */
.hd-solo-list {
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; gap: 6px;
}
.hd-solo-item {
  display: flex; align-items: center; gap: 8px;
  margin: 0 !important;
  background: var(--hd-card);
  border: 2px solid var(--hd-knit-pale);
  border-radius: var(--hd-r-sm);
  padding: .1rem .75rem .1rem .1rem;
  transition: border-color .18s, background .18s;
}
.hd-solo-item:has(.hd-solo-cb:checked) { background: #FFFAEC; border-color: var(--hd-beer-deep); }
.hd-solo-label {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  padding: .7rem .2rem .7rem .8rem;
  cursor: pointer;
  margin: 0 !important;
}
.hd-solo-cb {
  position: absolute; opacity: 0;
  width: 1px; height: 1px; margin: 0;
}
.hd-solo-box {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border: 2px solid var(--hd-knit);
  border-radius: 7px;
  background: #fff;
  position: relative;
  transition: background .16s, border-color .16s;
}
.hd-solo-box::after {
  content: '';
  position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .16s cubic-bezier(.34,1.5,.64,1);
}
.hd-solo-cb:checked + .hd-solo-box {
  background: var(--hd-beer-deep);
  border-color: var(--hd-beer-deep);
}
.hd-solo-cb:checked + .hd-solo-box::after { transform: rotate(45deg) scale(1); }
.hd-solo-cb:focus-visible + .hd-solo-box { outline: 3px solid var(--hd-denim); outline-offset: 2px; }
.hd-solo-text { font-size: 14px; line-height: 1.6; color: var(--hd-ink); }
.hd-solo-note {
  display: block;
  font-size: 11px; font-style: normal;
  color: var(--hd-ink-soft);
}
.hd-solo-link {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--hd-denim-deep) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--hd-denim);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* ── 結果 ── */
.hd-solo-result { text-align: center; margin-top: 2rem; }
.hd-solo-result-figure img { width: 150px; height: auto; display: block; margin: 0 auto .3rem; }
.hd-solo-catch {
  font-size: 13px; color: var(--hd-ink-soft);
  margin: 0 0 1rem !important;
}

.hd-solo-breakdown {
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 2px solid var(--hd-knit-pale);
  border-bottom: 2px solid var(--hd-knit-pale);
}
.hd-solo-bd-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 7px;
}
.hd-solo-bd-row:last-child { margin-bottom: 0; }
.hd-solo-bd-lv {
  flex: 0 0 34px;
  font-size: 11px; color: var(--hd-ink-soft); text-align: left;
}
.hd-solo-bd-bar {
  flex: 1; height: 9px;
  background: var(--hd-paper);
  border: 1px solid var(--hd-knit-pale);
  border-radius: 999px;
  overflow: hidden;
}
.hd-solo-bd-bar i {
  display: block; height: 100%; width: 0;
  background: var(--hd-beer-deep);
  border-radius: 999px;
  transition: width .4s cubic-bezier(.34,1.2,.64,1);
}
.hd-solo-bd-num {
  flex: 0 0 42px;
  font-size: 11px; color: var(--hd-ink-soft); text-align: right;
}

.hd-solo-next { text-align: left; }
.hd-solo-next-list {
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
}
.hd-solo-next-list li {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 0 0 7px !important;
  font-size: 14px; line-height: 1.6;
}
.hd-solo-next-lv {
  flex: 0 0 auto;
  background: var(--hd-paper);
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px; color: var(--hd-ink-soft);
  line-height: 1.7;
}
.hd-solo-next-list a { color: var(--hd-denim-deep) !important; }

.hd-solo-bench {
  font-size: 13px; color: var(--hd-ink-soft);
  background: var(--hd-paper);
  border-radius: var(--hd-r-sm);
  padding: .7rem .9rem;
  margin: 1.25rem 0 0 !important;
}
.hd-solo-saved {
  font-size: 11px; color: var(--hd-ink-soft);
  text-align: center; margin: 1.25rem 0 0 !important;
}

/* ── ランク一覧（結果ページ） ── */
.hd-solo-ranklist {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 1.5rem;
}
.hd-solo-rankchip {
  border: 2px solid var(--hd-knit-pale);
  border-radius: 999px;
  padding: 3px 13px;
  font-size: 12px;
  color: var(--hd-ink) !important;
  background: var(--hd-card);
  text-decoration: none !important;
}
a.hd-solo-rankchip:hover { border-color: var(--hd-knit); }
.hd-solo-rankchip--current {
  background: var(--hd-beer);
  border-color: var(--hd-beer-deep);
  font-weight: 700;
}

@media (max-width: 480px) {
  .hd-solo-link { display: none; }
  .hd-solo-level-name { font-size: 15px; }
  .hd-solo-result-figure img { width: 124px; }
}
