/* Music Chronicle 共通スタイル
   デザイン言語: ロゴ（ネイビー×ゴールドのレコード+音符）から導いたエディトリアル紙面。
   白いヘッダーにロゴ、金のアイブロウ（英字小ラベル）と罫線、インクはネイビー、リンクはスチールブルー。
   チャート配色は dataviz 検証済みパレット（--viz-*）。 */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --ink: #182339;
  --text: #1d2a42;
  --muted: #5a6579;
  --faint: #8a93a5;
  --border: #e4e7ed;
  --border-strong: #d2d7e0;
  --steel: #46689b;
  --gold: #b8912e;
  --gold-soft: #f6efdc;
  --danger: #c8321e;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(24, 35, 57, 0.06);
  --shadow-md: 0 10px 28px -12px rgba(24, 35, 57, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15.5px;
}

a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: rgba(184, 145, 46, 0.25); }

/* ---- ヘッダー / フッター ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding: 8px clamp(16px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 3px 0 var(--gold);
}
.site-header .logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header .logo img { display: block; width: 240px; height: 90px; object-fit: contain; margin: -18px 0; }
.site-header nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 3px 2px;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { text-decoration: none; border-bottom-color: var(--gold); }
.site-header nav a.btn { color: #fff; border-bottom: none; padding: 7px 16px; }
.site-header nav a.btn:hover { color: #fff; }

main { max-width: 1000px; margin: 0 auto; padding: 26px clamp(14px, 3vw, 24px) 88px; }

.site-footer {
  background: var(--ink);
  color: rgba(244, 246, 250, 0.62);
  padding: 36px 16px;
  text-align: center;
  font-size: 0.85rem;
  border-top: 3px solid var(--gold);
}
.footer-brand { color: #fff; font-weight: 800; letter-spacing: 0.06em; font-size: 1rem; margin-bottom: 4px; }

/* ---- アイブロウ・見出し ---- */

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.section-head { margin-top: 38px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head .section-title { margin-top: 2px; }

.section-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink);
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0.01em;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.section-head .section-title { margin-bottom: 8px; }

/* ---- ボタン・チップ ---- */

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 9px 20px;
  border-radius: 10px;
  border: none;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { background: #24344f; transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn-danger { background: var(--danger); box-shadow: none; }
.btn-danger:hover { background: #a52716; }
.btn-sm { padding: 4px 12px; font-size: 0.8rem; border-radius: 8px; font-weight: 600; }

.chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  background: #edf0f5;
  border-radius: 999px;
  padding: 1px 10px;
  margin-right: 6px;
  vertical-align: 1px;
}
a.chip:hover { text-decoration: none; background: var(--gold-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.chip-filter { font-size: 0.86rem; font-weight: 500; padding: 5px 16px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); margin: 0; }
.chip-filter:hover { text-decoration: none; border-color: var(--gold); color: var(--ink); }
.chip-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-active:hover { color: #fff; background: var(--ink); }

/* 注目理由チップ（急上昇カード） */
.reason-chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #7a5c12;
  background: var(--gold-soft);
  border: 1px solid rgba(184, 145, 46, 0.35);
  border-radius: 999px;
  padding: 1px 10px;
  margin-top: 5px;
  width: fit-content;
}
.reason-quiet { color: var(--muted); background: #eef1f5; border-color: var(--border); font-weight: 600; }

/* ---- ヒーロー ---- */

.hero { padding: 40px 4px 14px; }
.hero-top {
  padding: 56px clamp(20px, 4vw, 40px) 40px;
  margin: 12px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(246, 246, 248, 0.94) 0%, rgba(246, 246, 248, 0.72) 45%, rgba(246, 246, 248, 0) 72%),
    #f5f6f8 url(/hero.webp) right center / cover no-repeat;
  box-shadow: var(--shadow-sm);
}
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 850;
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.4;
  margin-bottom: 12px;
  text-wrap: balance;
}
.hero p { color: var(--muted); max-width: 640px; font-size: 0.98rem; }
.hero-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- カード（記事・ニュース） ---- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card > a { display: block; padding: 16px 22px; color: inherit; }
.card > a:hover { text-decoration: none; }
.card h2 { font-size: 1.01rem; font-weight: 700; color: var(--ink); margin: 4px 0; line-height: 1.55; }
.card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #7a5c12;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 1px 10px;
}
.card-summary { color: var(--muted); font-size: 0.9rem; }
.card-meta { color: var(--faint); font-size: 0.8rem; margin-top: 4px; }
.card-meta a { color: var(--steel); }

.card-with-thumb > a { display: flex; gap: 18px; align-items: flex-start; }
.card-thumb { width: 132px; height: 86px; object-fit: cover; border-radius: 9px; flex-shrink: 0; background: var(--surface-2); }
.card-body { min-width: 0; }

/* ニュースグリッド（トップ: トピックス2列・ニュース3列。カードは縦型でサムネイル上置き） */
.news-grid { display: grid; gap: 12px; }
.news-grid .card { margin-bottom: 0; min-width: 0; display: flex; flex-direction: column; }
.news-grid .card > a { display: flex; flex-direction: column; padding: 0; height: 100%; min-width: 0; }
.news-grid .card-body { padding: 12px 16px 14px; min-width: 0; }
.news-grid h2 { font-size: 0.93rem; overflow-wrap: anywhere; }
.news-grid .card-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 記事詳細 ---- */

.article-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.article-detail h1 { font-size: 1.5rem; color: var(--ink); line-height: 1.45; margin: 10px 0; }
.article-hero { max-width: 100%; border-radius: 12px; margin: 18px 0 4px; }
.article-summary { color: var(--muted); border-left: 3px solid var(--gold); padding-left: 14px; margin: 18px 0; }
.article-body { margin-top: 22px; overflow-wrap: anywhere; }

/* ---- フォーム・認証 ---- */

.auth-form, .editor, .mypage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.auth-form { max-width: 460px; margin: 28px auto; }
.auth-form h1, .editor h1, .mypage h1 { font-size: 1.3rem; color: var(--ink); margin-bottom: 12px; }
.auth-alt { margin-top: 16px; font-size: 0.9rem; }
.benefit-list { margin: 12px 0 6px; padding-left: 1.3em; display: grid; gap: 8px; font-size: 0.92rem; }
.benefit-list li::marker { color: var(--gold); }
.benefit-list strong { color: var(--ink); }

form label { display: block; margin: 15px 0 5px; font-size: 0.88rem; font-weight: 650; color: var(--ink); }
input[type="text"], input[type="email"], input[type="password"], input[type="datetime-local"],
input[type="url"], input[type="search"], select, textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 400;
  background: #fff;
  color: var(--text);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(70, 104, 155, 0.18);
}
textarea { resize: vertical; }
form .btn { margin-top: 18px; }

.form-error { color: var(--danger); font-size: 0.9rem; min-height: 1.2em; margin-top: 8px; }

.publish-mode { border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.publish-mode legend { font-size: 0.9rem; padding: 0 6px; font-weight: 650; }
.publish-mode label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; }
.publish-mode input[type="radio"] { width: auto; }
.publish-mode .schedule-at { display: block; margin-top: 10px; }

.editor-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.hero-upload { margin-top: 14px; }
#hero-preview img { max-width: 240px; border-radius: 10px; display: block; margin: 8px 0; }

.search-bar { display: flex; gap: 10px; margin: 10px 0 4px; }
.search-bar input[type="search"] { flex: 1; background: var(--surface); }
.search-bar .btn { margin-top: 0; }

/* ---- マイページ・テーブル ---- */

.mypage-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.mypage-user { color: var(--muted); font-size: 0.9rem; margin: 6px 0 16px; }

.article-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.article-table th { color: var(--faint); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.article-table th, .article-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-table .cell-title small { color: var(--muted); }
.article-table td { font-variant-numeric: tabular-nums; }
.row-link { margin-right: 10px; white-space: nowrap; }

.status { display: inline-block; font-size: 0.78rem; font-weight: 600; border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.status-draft { background: #eef0f4; color: var(--muted); }
.status-scheduled { background: #fef3c7; color: #92400e; }
.status-published { background: #dcfce7; color: #166534; }

.empty { color: var(--muted); padding: 26px 8px; }
.empty-cta { background: var(--surface); border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 44px; text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* ---- 動画ランキング ---- */

.ranking-section { margin-bottom: 34px; }
.video-list { list-style: none; }
.video-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 9px 16px; margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.video-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.video-rank {
  font-weight: 800; color: var(--faint); min-width: 2.1em; text-align: center;
  font-variant-numeric: tabular-nums; font-size: 0.98rem;
}
.video-list .video-row:nth-child(1) .video-rank,
.video-list .video-row:nth-child(2) .video-rank,
.video-list .video-row:nth-child(3) .video-rank {
  background: var(--ink); color: #fff; border-radius: 8px; padding: 3px 0; font-size: 0.9rem;
}
.video-list .video-row:nth-child(1) .video-rank { background: var(--gold); }
.video-list .video-row:nth-child(3) .video-rank { opacity: 0.6; }
.video-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: inherit; }
.video-link:hover { text-decoration: none; }
.video-thumb { width: 104px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--surface-2); }
.video-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.video-title { font-size: 0.93rem; font-weight: 650; color: var(--ink); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-meta { color: var(--faint); font-size: 0.78rem; }
.video-views { color: var(--muted); font-size: 0.88rem; font-weight: 650; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.video-views small { font-size: 0.7rem; font-weight: 400; color: var(--faint); }

/* ---- アーティスト ---- */

.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
img.avatar { border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--border-strong), var(--shadow-sm); }
.avatar-sm { width: 46px; height: 46px; font-size: 1.05rem; }
.avatar-lg { width: 84px; height: 84px; font-size: 1.8rem; }

.artist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.artist-card {
  min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 17px; box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.artist-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.artist-card-main { display: flex; align-items: center; gap: 13px; min-width: 0; color: inherit; }
.artist-card-main:hover { text-decoration: none; }
.artist-card-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.artist-card-name { font-weight: 750; font-size: 0.97rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-card-meta { color: var(--faint); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }

/* 急上昇カード（トップ・注目理由つき。デスクトップは3列）
   グリッド子要素は min-width: 0 を明示しないと内容幅（長い名前・チップ）で列幅を突き破る */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat-card {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feat-main { display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: inherit; min-width: 0; }
.feat-main:hover { text-decoration: none; }
.feat-rank {
  font-size: 1.05rem; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: center; flex-shrink: 0;
}
.feat-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.feat-info .reason-chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-head { display: flex; align-items: center; gap: 22px; padding: 32px 4px 8px; flex-wrap: wrap; }
.artist-head-info { flex: 1; min-width: 220px; }
.artist-head h1 { font-size: 1.6rem; font-weight: 850; color: var(--ink); }

.sns-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sns-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px 14px;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.sns-link:hover { text-decoration: none; border-color: var(--gold); background: var(--gold-soft); }

.bm-btn {
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--muted);
  border-radius: 999px; cursor: pointer; white-space: nowrap;
  font-size: 0.8rem; font-weight: 600; font-family: inherit; padding: 5px 13px;
  transition: all 0.12s ease;
}
.bm-btn:hover { border-color: var(--gold); color: #7a5c12; }
.bm-on { background: var(--gold-soft); border-color: var(--gold); color: #7a5c12; }
.bm-lg { font-size: 0.92rem; padding: 9px 20px; }

/* ---- スタットタイル・チャート ---- */

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.stat-row-wrap { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 15px 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 2px;
}
.stat-label { color: var(--faint); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.05em; }
.stat-value { font-size: 1.55rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.stat-value small { font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.stat-trend { justify-content: space-between; }
.stat-artist { gap: 6px; }
.stat-artist-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stat-artist-name { font-weight: 750; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-similar { color: var(--muted); font-size: 0.78rem; border-top: 1px solid var(--border); padding-top: 6px; margin-top: 2px; }

/* チャート配色（dataviz 検証済み既定パレット・ライト） */
:root {
  --viz-series: #2a78d6;
  --viz-muted-bar: #d5d7dc;
  --viz-up: #006300;
  --viz-down: #d03b3b;
}

.delta { font-size: 0.9rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.delta small { font-weight: 400; font-size: 0.72rem; }
.delta-up { color: var(--viz-up); }
.delta-down { color: var(--viz-down); }
.delta-flat { color: var(--muted); }

.spark { display: block; margin-top: 4px; }
.spark-empty { color: var(--faint); font-size: 0.78rem; padding: 8px 0; }

/* ラインチャート（登録者数・フォロワー推移） */
.chart {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px 8px;
  box-shadow: var(--shadow-sm);
  margin: 10px 0;
}
.chart svg { display: block; width: 100%; height: auto; }
.chart-tip {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #f4f6fa;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
  padding: 3px 10px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.chart-empty { color: var(--muted); font-size: 0.9rem; padding: 14px 4px; }

/* 比較バー（高さ18px・データ端のみ角丸・焦点のみ系列色） */
.bars { display: grid; gap: 9px; margin: 12px 0; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 180px) 1fr 64px; align-items: center; gap: 10px; }
.bar-label { font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-label a { color: inherit; }
.bar-track { display: block; height: 18px; }
.bar-fill { display: block; height: 100%; background: var(--viz-muted-bar); border-radius: 0 4px 4px 0; min-width: 3px; }
.bar-focal .bar-fill { background: var(--viz-series); }
.bar-focal .bar-label { font-weight: 750; }
.bar-value { font-size: 0.85rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- 管理画面 ---- */

.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 22px; }
.admin-nav a {
  padding: 6px 15px; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface);
}
.admin-nav a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.admin-nav a:hover { text-decoration: none; border-color: var(--gold); color: var(--ink); }
.admin-nav a.active:hover { color: #fff; }
.admin-add { border: 1px solid var(--border); background: var(--surface-2); border-radius: 12px; padding: 6px 18px 18px; margin-bottom: 16px; }
.admin-bulk { border: 1.5px dashed var(--border-strong); border-radius: 12px; padding: 10px 18px; margin-bottom: 20px; }
.admin-bulk summary { cursor: pointer; color: var(--steel); font-size: 0.9rem; }
.admin-bulk textarea { margin-top: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.admin .article-table td { font-size: 0.88rem; }

/* ---- PULSE（根拠・タグクラウド）・ディレクトリ ---- */

.pulse-why {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin: 4px 0 10px;
  box-shadow: var(--shadow-sm);
}
.pulse-why-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #7a5c12;
  margin-bottom: 4px;
}
.pulse-why ul { list-style: none; display: grid; gap: 3px; }
.pulse-why li { font-size: 0.9rem; color: var(--text); padding-left: 1.1em; text-indent: -1.1em; }
.pulse-why li::before { content: "▸ "; color: var(--gold); }

.kw-title { font-size: 0.98rem; font-weight: 750; color: var(--ink); margin: 18px 0 2px; }
.kw-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 10px 0 4px; }
.kw { color: var(--muted); font-weight: 600; line-height: 1.4; }
.kw:hover { text-decoration: none; color: var(--ink); }
.kw-artist { color: var(--steel); }
.kw-1 { font-size: 0.8rem; }
.kw-2 { font-size: 0.92rem; }
.kw-3 { font-size: 1.08rem; }
.kw-4 { font-size: 1.28rem; font-weight: 700; }
.kw-5 { font-size: 1.55rem; font-weight: 800; color: var(--ink); }
.kw-5.kw-artist { color: var(--steel); }

.dir-list { list-style: none; columns: 2; column-gap: 24px; margin: 8px 0 20px; }
.dir-row { padding: 6px 0; border-bottom: 1px solid var(--border); break-inside: avoid; }
.dir-row a { font-weight: 650; color: var(--ink); }
.dir-row .card-meta { display: block; margin-top: 0; }

/* ---- アーティストDB・企業ページ ---- */

.more-link { font-size: 0.82rem; font-weight: 600; margin-left: auto; color: var(--steel); }
.artist-profile { color: var(--muted); font-size: 0.92rem; margin-top: 8px; max-width: 660px; }

/* ---- レスポンシブ ---- */

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { padding: 6px 12px; }
  .site-header .logo img { width: 176px; height: 66px; margin: -12px 0; }
  .site-header nav { font-size: 0.85rem; gap: 2px 12px; }
  .hero { padding: 26px 2px 8px; }
  .hero-top { padding: 32px 18px 24px; }
  .article-detail, .auth-form, .editor, .mypage { padding: 20px 16px; }
  .card > a { padding: 14px 16px; }
  .card-with-thumb > a { flex-direction: column; }
  .card-thumb { width: 100%; height: auto; }
  .video-thumb { width: 80px; height: 45px; }
  .artist-list, .feat-grid, .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .artist-head { gap: 14px; padding-top: 22px; }
  .avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }
  .bar-row { grid-template-columns: minmax(70px, 110px) 1fr 56px; }
  .stat-value { font-size: 1.3rem; }
  .dir-list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
