/* ============================================================
   ototo-to — dark theme  assets/style.css
   ============================================================ */

/* ── RESET / VARIABLES ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #141414;
  --bg2:     #1c1c1c;
  --bg3:     #242424;
  --bg4:     #2e2e2e;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.14);
  --text:    #edeae3;
  --text2:   rgba(237,234,227,0.52);
  --text3:   rgba(237,234,227,0.28);
  --accent:  #c5f135;
  --accent2: #a8cc28;
  --radius:  10px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Space+Mono:wght@400;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 36px; height: 58px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.site-nav .nav-list { list-style: none; display: flex; gap: 28px; }
.site-nav .nav-list a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text2); text-decoration: none;
  transition: color 0.18s;
}
.site-nav .nav-list a:hover,
.site-nav .nav-list .current-menu-item > a { color: var(--text); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  padding: 64px 36px 52px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
}
.hero-left { max-width: 540px; }
.hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 300;
  color: var(--text2); line-height: 1.75; max-width: 380px;
}
.hero-right { display: flex; gap: 32px; flex-shrink: 0; padding-bottom: 4px; }
.stat { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 26px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text3);
}

/* ── GENRE BAR ─────────────────────────────────────────── */
.genre-bar {
  border-bottom: 1px solid var(--border);
  padding: 0 36px; position: relative;
}
.genre-bar::before,
.genre-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 48px; pointer-events: none; z-index: 2;
}
.genre-bar::before { left: 36px; background: linear-gradient(to right, var(--bg), transparent); }
.genre-bar::after  { right: 36px; background: linear-gradient(to left, var(--bg), transparent); }
.genre-scroll {
  display: flex; overflow-x: auto;
  scrollbar-width: none; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.genre-scroll::-webkit-scrollbar { display: none; }
.genre-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text2); padding: 14px 18px;
  border-bottom: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s;
  user-select: none; flex-shrink: 0;
  display: inline-block;
}
.genre-tab:hover { color: var(--text); }
.genre-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── MAIN ──────────────────────────────────────────────── */
.site-main { padding: 36px 36px 120px; }
.grid-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 22px;
}
.grid-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text3);
}
.grid-count {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--text3);
}

/* ── MUSIC GRID ────────────────────────────────────────── */
.music-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.music-grid a.card,
.related-grid a.card { display: block; }

/* ── CARD ──────────────────────────────────────────────── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; display: block !important;
  text-decoration: none; color: inherit;
  transition: border-color 0.18s, transform 0.2s, background 0.18s;
  animation: fadeUp 0.35s ease both;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.card:nth-child(1){animation-delay:.04s} .card:nth-child(2){animation-delay:.08s}
.card:nth-child(3){animation-delay:.12s} .card:nth-child(4){animation-delay:.16s}
.card:nth-child(5){animation-delay:.20s} .card:nth-child(6){animation-delay:.24s}
.card:nth-child(7){animation-delay:.28s} .card:nth-child(8){animation-delay:.32s}
.card:hover { border-color: var(--border2); background: var(--bg3); transform: translateY(-3px); }
.card:hover .jacket-overlay { opacity: 1; }
.card:hover .thumb-img { transform: scale(1.04); }

/* ── JACKET ────────────────────────────────────────────── */
.card-jacket {
  aspect-ratio: 1 / 1; position: relative;
  overflow: hidden; background: var(--bg3);
}
.thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transition: transform 0.3s ease;
}
.thumb-default {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: var(--bg3);
}
.thumb-default-logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700; font-size: clamp(16px, 2.5vw, 24px);
  color: rgba(237,234,227,0.1); letter-spacing: -0.02em;
  user-select: none;
}
.thumb-default-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(197,241,53,0.25);
}
.card:hover .thumb-default { background: var(--bg4); }

.jacket-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.48);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.18s; z-index: 2;
  pointer-events: none;
}
.play-ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
  pointer-events: auto;
}
.play-ring:hover { transform: scale(1.08); }
.play-ring svg { width: 16px; height: 16px; fill: #141414; margin-left: 2px; }

.badge {
  position: absolute; top: 9px; left: 9px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; z-index: 3;
}
.badge-new  { background: var(--accent); color: #141414; }
.badge-pick { background: rgba(255,255,255,0.1); color: var(--text); backdrop-filter: blur(6px); }

/* ── CARD BODY ─────────────────────────────────────────── */
.card-body { padding: 13px 14px 14px; }
.card-title {
  font-family: 'Space Mono', monospace;
  font-size: 13px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.card-meta-row {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 9px;
}
.card-meta { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--text3); }
.dl-count {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text3);
}
.dl-count svg { width: 10px; height: 10px; fill: var(--text3); }
.dl-count.hot { color: var(--accent); }
.dl-count.hot svg { fill: var(--accent); }
.card-genre-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 11px; }
.card-genre-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text2); background: var(--bg4);
  padding: 3px 8px; border-radius: 3px;
}
.waveform { height: 26px; margin-bottom: 11px; }
.waveform svg { width: 100%; height: 100%; }

.dl-btn {
  width: 100%; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent; color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dl-btn svg { width: 11px; height: 11px; fill: var(--text); transition: fill 0.15s; }
.dl-btn:hover { background: var(--accent); border-color: var(--accent); color: #141414; }
.dl-btn:hover svg { fill: #141414; }

/* ── RELATED ───────────────────────────────────────────── */
.related-section { margin-top: 56px; }
.related-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.related-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text3);
}
.related-genre-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: rgba(197,241,53,0.1);
  border: 1px solid rgba(197,241,53,0.2);
  padding: 3px 10px; border-radius: 20px;
}
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.related-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  display: flex; align-items: center;
  transition: border-color 0.18s, background 0.18s;
}
.related-card:hover { border-color: var(--border2); background: var(--bg3); }
.related-jacket {
  width: 56px; height: 56px; flex-shrink: 0;
  overflow: hidden; background: var(--bg3);
}
.related-jacket img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-jacket .player-jacket-default { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.related-jacket .player-jacket-default span { font-family: 'Space Mono', monospace; font-size: 6px; color: rgba(237,234,227,0.15); }
.related-info { flex: 1; min-width: 0; padding: 0 10px 0 10px; }
.related-title { font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
.related-meta  { font-family: 'DM Sans', sans-serif; font-size: 10px; color: var(--text3); }

/* ── AD ────────────────────────────────────────────────── */
.ototo-ad-wrap { margin-bottom: 28px; }

/* ── PAGINATION ────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination .page-numbers {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: transparent;
  color: var(--text2); font-family: 'Space Mono', monospace; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.15s;
}
.pagination .page-numbers:hover { border-color: var(--border2); color: var(--text); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #141414; }
.pagination .page-numbers svg { width: 13px; height: 13px; fill: var(--text2); }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 36px 92px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-family: 'Space Mono', monospace; font-size: 15px; font-weight: 700; color: var(--text3); }
.footer-links { display: flex; gap: 20px; }
.footer-links .footer-nav-list { list-style: none; display: flex; gap: 20px; }
.footer-links .footer-nav-list a,
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text3); text-decoration: none; transition: color 0.18s;
}
.footer-links .footer-nav-list a:hover,
.footer-links a:hover { color: var(--text2); }
.footer-note { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text3); }

/* ── PLAYER BAR ────────────────────────────────────────── */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 62px;
  background: rgba(22,22,22,0.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border2);
  display: flex; align-items: center; padding: 0 36px; gap: 20px; z-index: 200;
}
.player-track { display: flex; align-items: center; gap: 12px; min-width: 170px; flex-shrink: 0; }
.player-jacket {
  width: 36px; height: 36px; border-radius: 5px;
  overflow: hidden; background: var(--bg3); flex-shrink: 0;
}
.player-jacket img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-jacket-default { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.player-jacket-default span { font-family: 'Space Mono', monospace; font-size: 6px; font-weight: 700; color: rgba(237,234,227,0.15); }
.player-title { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-genre { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-top: 1px; }

.player-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ctrl {
  width: 30px; height: 30px; border-radius: 50%;
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.ctrl:hover { background: var(--bg4); }
.ctrl svg { width: 15px; height: 15px; fill: var(--text2); }
.ctrl.play-main { width: 34px; height: 34px; background: var(--accent); }
.ctrl.play-main:hover { background: var(--accent2); }
.ctrl.play-main svg { fill: #141414; width: 13px; height: 13px; margin-left: 2px; }

.player-progress { flex: 1; display: flex; align-items: center; gap: 10px; }
.time { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text3); white-space: nowrap; }
.prog-track { flex: 1; height: 2px; background: var(--bg4); border-radius: 1px; cursor: pointer; position: relative; }
.prog-fill { height: 100%; background: var(--accent); border-radius: 1px; width: 0%; }
.prog-dot { position: absolute; top: 50%; left: 0%; transform: translate(-50%,-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.player-dl-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border2); background: transparent; color: var(--text);
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: all 0.15s; flex-shrink: 0;
}
.player-dl-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #141414; }
.player-dl-btn:hover:not(:disabled) svg { fill: #141414; }
.player-dl-btn svg { width: 11px; height: 11px; fill: var(--text); transition: fill 0.15s; }
.player-dl-btn:disabled { opacity: 0.35; cursor: default; }

/* ── CARD TITLE LINK ───────────────────────────────────── */
.card-title-link { text-decoration: none; display: block; }
.card-title-link:hover .card-title { color: var(--accent); }

/* ── SINGLE TRACK PAGE ─────────────────────────────────── */
.single-track-main { padding: 40px 36px 120px; }

.track-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
}

.track-jacket-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1;
}
.track-jacket-wrap .thumb-img,
.track-jacket-wrap .thumb-default { width: 100%; height: 100%; }
.track-jacket-wrap .jacket-overlay { transition: opacity 0.18s; }

.dl-btn-large {
  width: 100%; height: 44px; margin-top: 14px;
  font-size: 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent; color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dl-btn-large svg { width: 13px; height: 13px; fill: var(--text); transition: fill 0.15s; }
.dl-btn-large:hover { background: var(--accent); border-color: var(--accent); color: #141414; }
.dl-btn-large:hover svg { fill: #141414; }
.dl-btn-wav {
  width: 100%; height: 44px; margin-top: 8px;
  font-size: 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent; color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dl-btn-wav svg { width: 13px; height: 13px; fill: var(--text); transition: fill 0.15s; }
.dl-btn-wav:hover { background: var(--accent); border-color: var(--accent); color: #141414; }
.dl-btn-wav:hover svg { fill: #141414; }
  width: 100%; height: 36px; margin-top: 8px;
  font-size: 11px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent; color: var(--text3);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dl-btn-mp3 svg { width: 11px; height: 11px; fill: var(--text3); transition: fill 0.15s; }
.dl-btn-mp3:hover { border-color: var(--border2); color: var(--text2); }
.dl-btn-mp3:hover svg { fill: var(--text2); }

.track-meta-list { margin-top: 20px; border-top: 1px solid var(--border); }
.track-meta-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.track-meta-key {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3);
}
.track-meta-val {
  font-family: 'Space Mono', monospace;
  font-size: 12px; color: var(--text);
}
.track-meta-val.hot { color: var(--accent); }
.track-genre-link { color: var(--accent); text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 12px; }
.track-genre-link:hover { text-decoration: underline; }

.track-eyebrow-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.track-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; display: inline-block;
}
.track-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(24px, 3vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 20px; line-height: 1.1;
}

/* ── LYRICS ────────────────────────────────────────────── */
.lyrics-section {
  margin-top: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lyrics-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.lyrics-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text3);
}
.lyrics-body {
  padding: 20px 18px;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 300;
  color: var(--text2); line-height: 2.2;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 480px; overflow-y: auto;
  letter-spacing: 0.02em;
}
.lyrics-body::-webkit-scrollbar { width: 4px; }
.lyrics-body::-webkit-scrollbar-track { background: transparent; }
.lyrics-body::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }

/* ── TRACK LICENSE ─────────────────────────────────────── */
.track-license {
  margin-top: 24px; padding: 14px 16px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.license-item {
  display: flex; align-items: center; gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--text3); letter-spacing: 0.04em;
}
.license-item svg { width: 12px; height: 12px; fill: var(--text3); }
.license-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--accent); text-decoration: none;
  margin-left: auto; letter-spacing: 0.04em;
}
.license-link:hover { text-decoration: underline; }

/* ── RESPONSIVE SINGLE ─────────────────────────────────── */
@media (max-width: 768px) {
  .track-detail { grid-template-columns: 1fr; gap: 28px; }
  .track-jacket-wrap { max-width: 280px; }
  .single-track-main { padding: 28px 20px 100px; }
}
@media (max-width: 1024px) {
  .music-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .music-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header, .hero, .genre-bar, .site-main, .site-footer, .player-bar { padding-left: 20px; padding-right: 20px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 28px; }
  .site-nav .nav-list { gap: 16px; }
  .site-nav .nav-list a { font-size: 12px; }
  .player-bar { gap: 12px; }
  .player-progress { display: none; }
}

/* ── PAGE ──────────────────────────────────────────────── */
.page-main { padding: 56px 36px 120px; }
.page-wrap { max-width: 720px; margin: 0 auto; }
.page-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.page-content {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-size: 15px; font-weight: 300;
  color: var(--text2); line-height: 1.9;
}
.page-content p { margin-bottom: 1.4em; }
.page-content h2 {
  font-family: 'Space Mono', monospace;
  font-size: 16px; font-weight: 700;
  color: var(--text); margin: 2em 0 0.8em;
  letter-spacing: -0.01em;
}
.page-content h3 {
  font-family: 'Space Mono', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--text); margin: 1.6em 0 0.6em;
}
.page-content ul, .page-content ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.page-content li { margin-bottom: 0.5em; }
.page-content a { color: var(--accent); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
.page-content hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
@media (max-width: 768px) { .page-main { padding: 36px 20px 100px; } }

/* ── SINGLE POST ───────────────────────────────────────── */
.single-meta { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.single-cat {
  font-family:'Space Mono',monospace; font-size:10px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--accent); text-decoration:none;
}
.single-date { font-family:'DM Sans',sans-serif; font-size:12px; color:var(--text3); }
.single-thumb { margin-bottom:32px; border-radius:var(--radius); overflow:hidden; }
.single-thumb img { width:100%; height:auto; display:block; }
.single-nav { display:flex; justify-content:space-between; gap:12px; margin-top:48px; padding-top:24px; border-top:1px solid var(--border); }
.single-nav-btn {
  font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text2);
  text-decoration:none; transition:color .18s;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:45%;
}
.single-nav-btn:hover { color:var(--accent); }
.single-nav-next { text-align:right; margin-left:auto; }

/* ── ARCHIVE ───────────────────────────────────────────── */
.archive-list { display:flex; flex-direction:column; gap:2px; }
.archive-item {
  display:flex; align-items:center; gap:16px;
  padding:16px 0; border-bottom:1px solid var(--border);
  text-decoration:none; transition:opacity .18s;
}
.archive-item:hover { opacity:0.75; }
.archive-thumb { width:72px; height:72px; flex-shrink:0; border-radius:var(--radius-sm); overflow:hidden; background:var(--bg3); }
.archive-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.archive-title { font-family:'Space Mono',monospace; font-size:13px; font-weight:700; color:var(--text); margin-bottom:4px; }
.archive-date { font-family:'DM Sans',sans-serif; font-size:11px; color:var(--text3); margin-bottom:6px; }
.archive-excerpt { font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text2); }
