/*
  おしどき 2026-07 デザイン改修 テーマ拡張スタイル。
  既存 app.css の上に追加で読み込む。既存クラスと衝突しないよう
  すべて `.theme-2026-07` 配下・`.t-` prefix のクラスのみを使う。
  適用範囲は body.theme-2026-07 を持つページのみ（漸進導入。他ページは無改修）。
  設計根拠: docs/design/site-direction-2026-07.md
*/

.theme-2026-07 {
  --t-paper: #f7f4ee;
  --t-card: #fffdf9;
  --t-ink: #23211c;
  --t-ink2: #6f6a5f;
  --t-line: #e6e1d5;
  --t-accent: #0e7f70;
  --t-accent-ink: #0a5d52;
  --t-accent-soft: #e2efeb;
  --t-coral: #d95f42;
  --t-coral-soft: #fbece6;
}

.theme-2026-07 .tools-main {
  background: var(--t-paper);
}

.theme-2026-07 .t-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 4px;
}

.theme-2026-07 .t-section + .t-section {
  margin-top: 46px;
}

.theme-2026-07 .t-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.theme-2026-07 .t-sec-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--t-accent-ink);
  letter-spacing: 0.16em;
}

.theme-2026-07 .t-sec-head h2 {
  font-size: clamp(19px, 3.4vw, 24px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--t-ink);
}

.theme-2026-07 .t-sec-note {
  font-size: 12.5px;
  color: var(--t-ink2);
  margin: 2px 0 16px;
}

.theme-2026-07 .t-sec-more {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t-accent-ink);
  white-space: nowrap;
}

.theme-2026-07 .t-ruler {
  height: 8px;
  margin: 4px 0 16px;
  background: repeating-linear-gradient(90deg, var(--t-line) 0 1px, transparent 1px 8px);
  border-bottom: 1px solid var(--t-line);
  max-width: 180px;
}

/* ── ヒーロー（方眼紙 + モノ先行チップ） ── */
.theme-2026-07 .t-hero {
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0) 55%, var(--t-paper) 100%),
    repeating-linear-gradient(0deg, rgba(14, 127, 112, 0.07) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(14, 127, 112, 0.07) 0 1px, transparent 1px 24px),
    #fbf9f4;
  border-bottom: 1px solid var(--t-line);
  padding: 40px 4px 30px;
  margin-bottom: 46px;
}

.theme-2026-07 .t-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--t-accent-ink);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.theme-2026-07 .t-hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--t-accent);
}

.theme-2026-07 .t-hero h1 {
  font-size: clamp(24px, 5.2vw, 38px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--t-ink);
  max-width: 21em;
}

.theme-2026-07 .t-hero h1 .t-u {
  background: linear-gradient(transparent 68%, rgba(14, 127, 112, 0.22) 68%);
}

.theme-2026-07 .t-hero-lead {
  margin-top: 12px;
  font-size: 14px;
  color: var(--t-ink2);
  max-width: 36em;
}

.theme-2026-07 .t-spec-rail {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.theme-2026-07 .t-spec-rail::-webkit-scrollbar {
  display: none;
}

.theme-2026-07 .t-spec {
  flex: 0 0 auto;
  background: var(--t-card);
  border: 1.5px solid var(--t-ink);
  border-radius: 12px;
  padding: 10px 16px 9px;
  min-width: 104px;
  box-shadow: 2px 2px 0 rgba(35, 33, 28, 0.12);
  position: relative;
  color: var(--t-ink);
}

.theme-2026-07 .t-spec::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-paper);
  border: 1px solid var(--t-line);
}

.theme-2026-07 .t-spec b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.theme-2026-07 .t-spec span {
  display: block;
  font-size: 10.5px;
  color: var(--t-ink2);
  letter-spacing: 0.03em;
}

.theme-2026-07 .t-spec small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--t-accent-ink);
  font-weight: 700;
}

.theme-2026-07 .t-hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-2026-07 .t-btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 26px;
  letter-spacing: 0.04em;
}

.theme-2026-07 .t-btn-primary {
  background: var(--t-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 127, 112, 0.28);
}

.theme-2026-07 .t-btn-ghost {
  border: 1.5px solid var(--t-ink);
  background: var(--t-card);
  color: var(--t-ink);
}

/* ── いま読まれているガイド ── */
.theme-2026-07 .t-rank-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

@media (max-width: 760px) {
  .theme-2026-07 .t-rank-grid {
    grid-template-columns: 1fr;
  }
}

.theme-2026-07 .t-rank-hero {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.06);
  display: flex;
  flex-direction: column;
  color: var(--t-ink);
}

.theme-2026-07 .t-rank-hero .t-ph {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: var(--t-accent-soft);
}

.theme-2026-07 .t-rank-hero .t-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-2026-07 .t-rank-no {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--t-ink);
  color: #f4f1e9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
}

.theme-2026-07 .t-rank-hero .t-tx {
  padding: 16px 18px 18px;
}

.theme-2026-07 .t-rank-hero .t-tx h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.theme-2026-07 .t-rank-hero .t-tx p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--t-ink2);
}

.theme-2026-07 .t-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-2026-07 .t-rank-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 14px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.05);
  color: var(--t-ink);
}

.theme-2026-07 .t-rank-item .t-th {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--t-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--t-accent-ink);
  text-align: center;
  line-height: 1.4;
}

.theme-2026-07 .t-rank-item .t-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-2026-07 .t-rank-item .t-no {
  font-size: 15px;
  font-weight: 800;
  color: var(--t-ink2);
  flex: 0 0 auto;
  width: 1.4em;
  text-align: center;
}

.theme-2026-07 .t-rank-item h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.theme-2026-07 .t-rank-item p {
  font-size: 11.5px;
  color: var(--t-ink2);
  margin-top: 2px;
}

/* ── グッズから探す（モノ先行エクスプローラ） ── */
.theme-2026-07 .t-goods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .theme-2026-07 .t-goods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.theme-2026-07 .t-goods {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 14px;
  padding: 14px 16px 12px;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--t-ink);
}

.theme-2026-07 .t-goods .t-g-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--t-ink);
}

.theme-2026-07 .t-goods .t-g-name::after {
  content: "→";
  margin-left: auto;
  color: var(--t-accent);
  font-weight: 800;
}

.theme-2026-07 .t-goods .t-g-spec {
  font-size: 10.5px;
  color: var(--t-ink2);
  letter-spacing: 0.03em;
}

.theme-2026-07 .t-goods .t-g-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--t-line);
}

.theme-2026-07 .t-goods .t-g-links a {
  font-size: 12px;
  font-weight: 700;
  color: var(--t-accent-ink);
  border-bottom: 1.5px solid rgba(14, 127, 112, 0.35);
  padding-bottom: 1px;
}

/* ── 季節特集バナー ── */
.theme-2026-07 .t-season {
  background: linear-gradient(120deg, var(--t-coral-soft), #fdf6ef 70%);
  border: 1px solid #f0d9cd;
  border-radius: 16px;
  padding: 22px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--t-ink);
}

.theme-2026-07 .t-season .t-badge {
  flex: 0 0 auto;
  background: var(--t-coral);
  color: #fff;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 14px;
}

.theme-2026-07 .t-season h3 {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 800;
}

.theme-2026-07 .t-season p {
  font-size: 12.5px;
  color: #8a5c4a;
  margin-top: 4px;
}

.theme-2026-07 .t-season .t-btn {
  margin-left: auto;
  background: var(--t-coral);
  color: #fff;
  font-size: 13px;
  padding: 9px 22px;
}

@media (max-width: 640px) {
  .theme-2026-07 .t-season .t-btn {
    margin-left: 0;
  }
}

/* ── サイズから引く（規格クイックリファレンス） ── */
.theme-2026-07 .t-size-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 760px) {
  .theme-2026-07 .t-size-rows {
    grid-template-columns: 1fr;
  }
}

.theme-2026-07 .t-size-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.05);
  color: var(--t-ink);
}

.theme-2026-07 .t-size-row .t-spec {
  box-shadow: none;
  min-width: 88px;
  padding: 8px 12px 7px;
}

.theme-2026-07 .t-size-row .t-body {
  flex: 1;
  min-width: 0;
}

.theme-2026-07 .t-size-row .t-body b {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.theme-2026-07 .t-size-row .t-body span {
  display: block;
  font-size: 12px;
  color: var(--t-ink2);
  margin-top: 2px;
}

.theme-2026-07 .t-size-row .t-go {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--t-accent-ink);
  border-bottom: 1.5px solid var(--t-accent);
  padding-bottom: 1px;
  white-space: nowrap;
}

.theme-2026-07 .t-size-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--t-ink2);
}

/* ── 先に答え（3カード。早見表ページの回答ファースト） ── */
.theme-2026-07 .t-lead-block {
  background: var(--t-card);
  border-left: 3px solid var(--t-accent);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--t-ink2);
}

.theme-2026-07 .t-lead-block b {
  color: var(--t-ink);
  font-weight: 800;
}

.theme-2026-07 .t-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 700px) {
  .theme-2026-07 .t-three-cards {
    grid-template-columns: 1fr;
  }
}

.theme-2026-07 .t-qcard {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 14px;
  padding: 16px;
  color: var(--t-ink);
}

.theme-2026-07 .t-qcard .t-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--t-accent-ink);
  background: var(--t-accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.theme-2026-07 .t-qcard h3 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
}

.theme-2026-07 .t-qcard p {
  font-size: 12px;
  color: var(--t-ink2);
  margin-top: 6px;
}

.theme-2026-07 .t-qcard a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--t-accent-ink);
  border-bottom: 1.5px solid var(--t-accent);
}

/* ── 梱包チェーン（グッズハブ用） ── */
.theme-2026-07 .t-chain {
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.theme-2026-07 .t-chain::-webkit-scrollbar {
  display: none;
}

.theme-2026-07 .t-chain .t-spec {
  min-width: 96px;
  padding: 9px 14px 8px;
}

.theme-2026-07 .t-chain .t-spec b {
  font-size: 14.5px;
}

.theme-2026-07 .t-chain-arrow {
  flex: 0 0 auto;
  align-self: center;
  color: var(--t-accent);
  font-weight: 800;
  font-size: 15px;
  padding: 0 2px;
}

.theme-2026-07 .t-chain-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--t-ink2);
}

.theme-2026-07 .t-chain-note a {
  color: var(--t-accent-ink);
  font-weight: 700;
  border-bottom: 1.5px solid rgba(14, 127, 112, 0.35);
}

/* ── 条件別ガイドグループ（グッズハブ用） ── */
.theme-2026-07 .t-cond-group {
  margin-top: 18px;
}

.theme-2026-07 .t-cond-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--t-ink);
}

.theme-2026-07 .t-cond-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--t-line);
}

.theme-2026-07 .t-guide-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 700px) {
  .theme-2026-07 .t-guide-list {
    grid-template-columns: 1fr;
  }
}

.theme-2026-07 .t-guide {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--t-ink);
}

.theme-2026-07 .t-guide b {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}

.theme-2026-07 .t-guide span {
  font-size: 11.5px;
  color: var(--t-ink2);
}

/* ── 商品棚 ── */
.theme-2026-07 .t-shelf {
  background: var(--t-accent-soft);
  border: 1px solid #cfe3dd;
  border-radius: 16px;
  padding: 18px 18px 14px;
}

.theme-2026-07 .t-shelf-head {
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--t-ink);
}

.theme-2026-07 .t-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 700px) {
  .theme-2026-07 .t-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.theme-2026-07 .t-item {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 12px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--t-ink);
}

.theme-2026-07 .t-item .t-ph {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #eee9df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  color: var(--t-ink2);
  text-align: center;
  line-height: 1.5;
  overflow: hidden;
}

.theme-2026-07 .t-item .t-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-2026-07 .t-item b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.theme-2026-07 .t-item span {
  font-size: 11px;
  color: var(--t-ink2);
}

.theme-2026-07 .t-item .t-cta {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--t-accent-ink);
  border-top: 1px dashed var(--t-line);
  padding-top: 6px;
  text-align: right;
}

.theme-2026-07 .t-pr-inline {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--t-ink2);
}

/* ── 近いグッズ / 近い条件（ピル） ── */
.theme-2026-07 .t-near-rail {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-2026-07 .t-near {
  background: var(--t-card);
  border: 1.5px solid var(--t-ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t-ink);
}

.theme-2026-07 .t-near span {
  color: var(--t-ink2);
  font-weight: 400;
  font-size: 11px;
  margin-left: 6px;
}

/* ── パンくず / ハブ見出し ── */
.theme-2026-07 .t-crumb {
  font-size: 11.5px;
  color: var(--t-ink2);
  margin-bottom: 14px;
}

.theme-2026-07 .t-crumb a {
  color: var(--t-accent-ink);
  font-weight: 700;
}

.theme-2026-07 .t-label-pill {
  display: inline-block;
  background: var(--t-accent-soft);
  color: var(--t-accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.theme-2026-07 .t-hub-hero h1,
.theme-2026-07 .t-hero h1 {
  color: var(--t-ink);
}

.theme-2026-07 .t-hub-lead {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--t-ink2);
  max-width: 38em;
}

/* ── フッター上部の余白調整（既存フッターはそのまま使う） ── */
.theme-2026-07 .tools-footer {
  margin-top: 20px;
}

/* ── 汎用CTAバンド ── */
.theme-2026-07 .t-cta-band {
  margin-top: 0;
  background: var(--t-accent-soft);
  border: 1px solid #cfe3dd;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--t-ink);
}

.theme-2026-07 .t-cta-band b {
  font-size: 14.5px;
  font-weight: 800;
  display: block;
}

.theme-2026-07 .t-cta-band p {
  font-size: 12px;
  color: var(--t-ink2);
  margin-top: 2px;
}

.theme-2026-07 .t-cta-band .t-cta-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .theme-2026-07 .t-cta-band .t-cta-actions {
    margin-left: 0;
  }
}

/* ── ガイド一覧ページ: genre-tree の見た目だけ新トークンに揃える。
   クラス名・data属性はapp.jsのinitGuideFilters()が参照するため変更しない。 ── */
.theme-2026-07 .guide-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  background: var(--t-card);
  border: 1.5px solid var(--t-ink);
  border-radius: 12px;
  padding: 4px 4px 4px 14px;
  margin-top: 18px;
}

.theme-2026-07 .guide-tools label {
  font-size: 12px;
  font-weight: 700;
  color: var(--t-ink2);
  white-space: nowrap;
}

.theme-2026-07 .guide-tools input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 6px;
  font-size: 14px;
  color: var(--t-ink);
  font-family: inherit;
  min-width: 0;
}

.theme-2026-07 .guide-tools input:focus {
  outline: none;
}

.theme-2026-07 .genre-tree {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-2026-07 .genre-tree__group {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: 14px;
  padding: 4px 18px;
  box-shadow: 0 1px 3px rgba(35, 33, 28, 0.05);
}

.theme-2026-07 .genre-tree__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-weight: 800;
  color: var(--t-ink);
  border-left: none;
}

/* app.css側のジャンル別カラーボーダー(nth-child)と矢印(::after)を打ち消す。
   新デザインでは genre-tree__summary::before の「+/-」だけを表示する。 */
.theme-2026-07 .genre-tree__group:nth-child(3n) .genre-tree__summary,
.theme-2026-07 .genre-tree__group:nth-child(3n+1) .genre-tree__summary {
  border-left: none;
}

.theme-2026-07 .genre-tree__summary::after {
  display: none;
}

.theme-2026-07 .genre-tree__summary::-webkit-details-marker {
  display: none;
}

.theme-2026-07 .genre-tree__summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--t-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.theme-2026-07 details[open] > .genre-tree__summary::before {
  content: "\2212";
}

.theme-2026-07 .genre-tree__name {
  font-size: 15.5px;
}

.theme-2026-07 .genre-tree__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--t-accent-ink);
  background: var(--t-accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.theme-2026-07 .genre-tree__body {
  padding: 0 0 16px;
  border-top: 1px dashed var(--t-line);
  padding-top: 12px;
}

.theme-2026-07 .genre-tree__body > .genre-tree__cluster-label:first-child {
  margin-bottom: 14px;
}

.theme-2026-07 .genre-tree__body > .genre-tree__cluster-label:first-child a {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--t-accent-ink);
  border-bottom: 1.5px solid var(--t-accent);
}

.theme-2026-07 .genre-tree__cluster {
  margin-bottom: 14px;
}

.theme-2026-07 .genre-tree__cluster:last-child {
  margin-bottom: 0;
}

.theme-2026-07 .genre-tree__cluster > .genre-tree__cluster-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--t-ink2);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-2026-07 .genre-tree__cluster > .genre-tree__cluster-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--t-line);
}

.theme-2026-07 .genre-tree__links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 700px) {
  .theme-2026-07 .genre-tree__links {
    grid-template-columns: 1fr;
  }
}

.theme-2026-07 .genre-tree__links a {
  display: block;
  background: var(--t-paper);
  border: 1px solid var(--t-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t-ink);
}

.theme-2026-07 .genre-tree__links a small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--t-ink2);
}
