/* ============================================================
   guide.css — 攻略Wiki「ゲームの仕組み」ページ（/guide/ 配下・404）の追加スタイル
     wiki.css（共通トークン・ヘッダー・フッター）の後に読み込む。
     ページ本体は scripts/genWikiPages.ts が生成する。
   ============================================================ */

/* ===== パンくず ===== */
.breadcrumb{font-size:12px;color:var(--text-dim);padding-top:14px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px}
.breadcrumb li+li::before{content:"›";margin-right:4px;color:var(--gold-dim)}
.breadcrumb a{color:var(--text-dim)}
.breadcrumb a:hover{color:var(--gold-bright)}

/* ===== 本文 ===== */
.guide-body{padding-bottom:10px}
.guide-body h2{
  font-size:16px;color:var(--gold-bright);
  margin:28px 0 10px;padding-bottom:6px;
  border-bottom:1px solid var(--border);
}
.guide-body h3{font-size:14px;color:var(--text);margin:20px 0 8px}
.guide-body p{font-size:13px;color:var(--text-dim);margin:8px 0}
.guide-body ul.notes{font-size:13px;color:var(--text-dim);margin:8px 0 8px 1.2em}
.guide-body ul.notes li{margin:4px 0}
.guide-body .count{color:var(--gold);font-weight:bold}

/* ===== データ表 ===== */
.data-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--bg-card);margin:10px 0}
.data-table{width:100%;border-collapse:collapse;font-size:13px}
.data-table th,
.data-table td{padding:8px 10px;border-bottom:1px solid #251e14;text-align:left;vertical-align:top}
.data-table thead th{
  font-size:11px;letter-spacing:.06em;color:var(--text-dim);
  background:#120f0b;white-space:nowrap;
}
.data-table tbody tr:last-child td{border-bottom:none}
.data-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.data-table .name{color:var(--text);font-weight:bold;min-width:8em}
.data-table .dim{color:var(--text-dim)}
.data-table .flavor{color:var(--text-dim);font-size:12px}

/* ===== タグ・スート ===== */
.tag{
  display:inline-block;margin:1px 4px 1px 0;padding:1px 7px;
  border:1px solid var(--border);border-radius:999px;
  font-size:11px;color:var(--text);white-space:nowrap;
}
.tag small{color:var(--text-dim);font-size:10px;margin-left:3px}
.s-spade{color:var(--suit-spade)}
.s-heart{color:var(--suit-heart)}
.s-diamond{color:var(--suit-diamond)}
.s-club{color:var(--suit-club)}

/* ===== 持っているキャラ（パッシブスキル） ===== */
.holders{list-style:none;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px}
.holders li{white-space:nowrap}

/* ===== ページ一覧（/guide/ と 404） ===== */
.guide-list{list-style:none;display:grid;gap:10px;margin:12px 0}
@media (min-width:900px){.guide-list{grid-template-columns:1fr 1fr}}
.guide-list li{
  background:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:12px 14px;
}
.guide-list a{font-weight:bold}
.guide-list p{margin:4px 0 0}

/* ===== 関連リンク ===== */
.related{margin-top:30px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-card)}
.related h2{margin-top:0;border-bottom:none;padding-bottom:0}
.related ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px}
