/* =====================================================
   BGM-ONE プレイヤー(デモ) — 2ビュー構成(No.20)
   検索ビュー(ミニバー+検索+リスト) / プレイヤービュー(大ジャケ+EQ)
   低視力: 主要18px+ / 曲名24px+(プレイヤー32px) / タップ48px+ / 高コントラスト
   ===================================================== */
.player-body {
  background: #0b0e14;
  color: #f2ede2;
}
.player-body .site-header { background: #060810; position: static; }
.player-body [hidden] { display: none !important; } /* hidden属性を常に優先(No.16) */
.back-lp {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 14px;
  color: #f0c040; text-decoration: none; font-size: 18px; font-weight: 700;
}

/* ---- ミニプレイヤーバー(検索ビュー・sticky・薄型) ---- */
.mini-bar {
  position: sticky; top: 0; z-index: 200;
  background: #10141f; border-bottom: 2px solid #f0c040;
  display: flex; align-items: center; gap: 8px;
  min-height: 72px; padding: 6px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.mb-open {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  min-height: 56px; padding: 0; color: inherit;
}
.mb-artwrap { position: relative; width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #161c29; }
.mb-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-art-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #f0c04077; }
.mb-art:not([hidden]) + .mb-art-ph { display: none; }
.mb-meta { display: flex; flex-direction: column; min-width: 0; }
.mb-title { font-size: 24px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.mini-bar:not(.has-track) .mb-title { font-size: 17px; color: #c9c2b2; white-space: normal; font-weight: 700; }
.mb-series { font-size: 14px; color: #c9c2b2; display: flex; min-width: 0; }
.mb-series-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mb-alen { flex-shrink: 0; white-space: nowrap; color: #d9cfae; } /* 総時間は省略せず必ず表示(No.26) */
.mb-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mb-btn {
  width: 48px; height: 48px;
  background: #161c29; color: #fff;
  border: 2px solid #f0c04066; border-radius: 50%;
  font-size: 19px; cursor: pointer;
}
.mb-btn:hover, .mb-btn:focus { border-color: #f0c040; }
.mb-play { width: 56px; height: 56px; background: #f0c040; color: #0b0e14; font-size: 24px; border-color: #f0c040; font-weight: 800; }
.mb-goto {
  min-height: 48px; padding: 4px 14px;
  background: #161c29; color: #f0c040;
  border: 2px solid #f0c040; border-radius: 10px;
  font-size: 17px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
@media (max-width: 600px) {
  .mb-goto { padding: 4px 10px; font-size: 15px; }
  .mb-btn { width: 48px; height: 48px; }
  .mini-bar { gap: 4px; padding: 6px 8px; }
  .mb-controls { gap: 5px; }
}
@media (max-width: 480px) {
  #mb-prev { display: none; } /* 最小幅では⏮を省略(プレイヤービューに常備) */
}

/* ---- 検索ビュー ---- */
.player-main { padding-top: 14px; }
.player-main section { padding: 0 0 24px; }
.demo-note { font-size: 16px; color: #c9c2b2; text-align: center; margin: 0 0 20px; }
.player-title {
  font-size: 22px; font-weight: 800; text-align: center;
  margin-bottom: 10px; color: #fff;
}
.timebar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 10px; }
.timebar button {
  min-height: 76px;
  background: #161c29; color: #fff;
  border: 2px solid #f0c04055; border-radius: 14px;
  font-size: 22px; font-weight: 800; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.timebar button .tb-icon { font-size: 24px; }
.timebar button:hover, .timebar button:focus { border-color: #f0c040; background: #1d2536; }
.timebar button.active { background: #f0c040; color: #0b0e14; border-color: #f0c040; }
@media (max-width: 600px) {
  .timebar { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .timebar button { min-height: 68px; font-size: 18px; }
}

.search-box {
  width: 100%; min-height: 56px;
  background: #161c29; color: #fff;
  border: 2px solid #3a4155; border-radius: 12px;
  font-size: 19px; padding: 8px 18px; margin-bottom: 18px;
}
.search-box::placeholder { color: #9a9485; }
.search-box:focus { outline: none; border-color: #f0c040; }
.filter-acc { margin-bottom: 12px; }
.filter-acc summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 6px;
  font-size: 18px; font-weight: 800; color: #f0c040; cursor: pointer;
  list-style: none;
}
.filter-acc summary::-webkit-details-marker { display: none; }
.filter-acc summary::before { content: "▸"; transition: none; }
.filter-acc[open] summary::before { content: "▾"; }
.filter-groups { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 12px; }
.fg-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fg-name { font-size: 17px; font-weight: 800; color: #c9a227; min-width: 4.5em; }
.fg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 48px; padding: 6px 18px;
  background: #161c29; color: #f2ede2;
  border: 2px solid #3a4155; border-radius: 999px;
  font-size: 18px; font-weight: 700; cursor: pointer;
}
.chip:hover { border-color: #f0c040aa; }
.chip.on { background: #f0c040; color: #0b0e14; border-color: #f0c040; }
/* ---- No.53: テンポ(BPM)3段プリセット。低視力対応(大きめ・高コントラスト)・水色で区別 ---- */
.fg-bpm .fg-name { color: #7fd0ff; }
.chip-bpm {
  display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.1;
  padding: 6px 20px; border-color: #3a4a5f;
}
.chip-bpm small { font-size: 12px; font-weight: 700; color: #9fb8cf; }
.chip-bpm.on { background: #7fd0ff; border-color: #7fd0ff; color: #061018; }
.chip-bpm.on small { color: #0a2233; }
.clear-btn {
  min-height: 48px; padding: 4px 18px;
  background: none; color: #f0c040;
  border: 2px solid #f0c04066; border-radius: 999px;
  font-size: 17px; font-weight: 700; cursor: pointer; margin-bottom: 6px;
}

/* ---- おまかせパネル(No.27: 4ボタンの1つに統合) ---- */
.oma-panel { margin-top: 4px; }
.oma-hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.oma-hours button {
  min-height: 60px;
  background: #161c29; color: #f0c040;
  border: 2px solid #f0c040; border-radius: 12px;
  font-size: 22px; font-weight: 800; cursor: pointer;
}
.oma-hours button:hover { background: #f0c040; color: #0b0e14; }
.oma-hours button.selected { background: #f0c040; color: #0b0e14; } /* キュー確定中の選択保持(音は出ないため矛盾なし・No.29) */
.oma-hours button.selected .oma-rec { background: #0b0e14; color: #f0c040; }
.oma-ready {
  display: block; font-size: 17px; font-weight: 800; color: #0b0e14;
  background: #f0c040; border-radius: 8px; padding: 6px 12px; margin-top: 8px; width: fit-content;
}
.oma-plan { display: block; font-size: 15px; font-weight: 700; color: #c9c2b2; margin-top: 6px; line-height: 1.6; }
.oma-status {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #161c29; border: 2px solid #f0c040; border-radius: 16px;
  padding: 14px 16px; margin-top: 2px;
}
.oma-status-text { flex: 1; font-size: 19px; font-weight: 800; color: #f0c040; line-height: 1.5; min-width: 12em; }
.oma-stop {
  min-height: 52px; padding: 6px 22px;
  background: #2a1515; color: #ff9c9c;
  border: 2px solid #b91c1c; border-radius: 999px;
  font-size: 18px; font-weight: 800; cursor: pointer;
}
.oma-nowlist { margin-top: 14px; }
.oma-album { font-size: 19px; font-weight: 800; color: #f0c040; margin-bottom: 6px; }
.oma-sum { display: block; font-size: 20px; font-weight: 900; color: #f0c040; }
/* 組み直す + プラン列表示(No.30) */
.oma-listhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.oma-listhead .oma-album { flex: 1; margin-bottom: 0; }
.oma-rebuild {
  flex-shrink: 0; min-height: 48px; padding: 6px 16px;
  background: #161c29; color: #f0c040;
  border: 2px solid #f0c040; border-radius: 999px;
  font-size: 16px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.oma-rebuild:hover { background: #f0c040; color: #0b0e14; }
.oma-plan-list { list-style: none; }
.oma-album-item { border: 1px solid #232a3a; border-radius: 10px; margin-bottom: 8px; overflow: hidden; background: #10141f; }
.oma-album-item.playing { border-color: #f0c040; box-shadow: inset 3px 0 0 #f0c040; }
.oma-album-item.done { opacity: .5; }
.oma-album-item > summary {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 12px; cursor: pointer; list-style: none;
}
.oma-album-item > summary::-webkit-details-marker { display: none; }
.oai-no {
  flex-shrink: 0; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: #232a3a; color: #f0c040; border-radius: 50%;
  font-size: 17px; font-weight: 800;
}
.oma-album-item.playing .oai-no { background: #f0c040; color: #0b0e14; }
.oai-body { flex: 1; min-width: 0; }
.oai-name { display: block; font-size: 19px; font-weight: 800; color: #fff; }
.oma-album-item.playing .oai-name { color: #f0c040; }
.oai-meta { display: block; font-size: 15px; color: #c9c2b2; }
.oai-tracks { padding: 0 12px 10px; }
.mb-oma, .pv-oma { font-size: 14px; color: #f0c040; font-weight: 700; }
.pv-oma { font-size: 16px; text-align: center; margin-top: 2px; }

/* ---- カテゴリタブ→アルバムグリッド(No.24: No.21方式復元) ---- */
.quick-nav { display: flex; gap: 10px; margin-bottom: 14px; }
.quick-nav button {
  flex: 1; min-height: 48px;
  background: #161c29; color: #f2ede2;
  border: 2px solid #3a4155; border-radius: 12px;
  font-size: 17px; font-weight: 800; cursor: pointer;
}
.quick-nav button:hover { border-color: #f0c040; color: #f0c040; }
.cat-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
@media (max-width: 600px) { .cat-tabs { grid-template-columns: repeat(2, 1fr); } } /* スマホは2×2 */
.cat-tabs button {
  min-height: 56px;
  background: #161c29; color: #f2ede2;
  border: 2px solid #3a4155; border-radius: 12px;
  font-size: 18px; font-weight: 800; cursor: pointer;
}
.cat-tabs button:hover { border-color: #f0c040aa; }
.cat-tabs button[aria-selected="true"] { background: #f0c040; color: #0b0e14; border-color: #f0c040; } /* 選択中のみ金色(4ボタン共通・No.28) */
.oma-rec { /* 4時間の「おすすめ」バッジ(No.28: 選択はしない視覚推奨) */
  display: block; font-size: 13px; font-weight: 800;
  color: #0b0e14; background: #f0c040; border-radius: 999px;
  padding: 1px 10px; margin: 4px auto 0; width: fit-content;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.album-count { font-size: 17px; color: #c9c2b2; margin: 0 0 10px; }
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .album-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .album-grid { grid-template-columns: repeat(5, 1fr); } }
.album-hint { font-size: 17px; color: #c9c2b2; text-align: center; padding: 26px 8px; grid-column: 1 / -1; }

/* ---- サブビュー(お気に入り/履歴・No.24) ---- */
.sub-view { min-height: 100vh; padding: 14px 0 60px; }
.sec-title { font-size: 24px; font-weight: 800; color: #fff; margin: 12px 0 14px; }
.empty-note { font-size: 18px; color: #c9c2b2; padding: 30px 8px; text-align: center; line-height: 1.8; }

/* ---- ♡お気に入り / 🕐履歴(No.23) ---- */
.tile-fav {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 44px; height: 44px;
  background: #10141fcc; color: #c9c2b2;
  border: 1px solid #f0c04044; border-radius: 50%;
  font-size: 20px; cursor: pointer; line-height: 1;
}
.tile-fav[aria-pressed="true"] { color: #f0c040; border-color: #f0c040; background: #10141fee; }
.pv-fav {
  min-height: 48px; padding: 4px 16px;
  background: #161c29; color: #c9c2b2;
  border: 2px solid #3a4155; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.pv-fav[aria-pressed="true"] { color: #f0c040; border-color: #f0c040; }
.history-sec { margin-bottom: 26px; }
.history-list { list-style: none; margin: 0 0 8px; padding: 0; }
.history-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 4px 8px;
  border-bottom: 1px solid #232a3a; border-radius: 8px;
}
.history-row:hover { background: #141a26; }
.history-main {
  flex: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0;
  background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
  min-height: 48px; padding: 0; font-size: 18px;
}
.h-date { color: #8b8578; font-size: 16px; white-space: nowrap; }
.h-kind { color: #c9a227; font-weight: 800; white-space: nowrap; }
.h-label { color: #f2ede2; font-weight: 700; }
.h-del {
  width: 44px; height: 44px; flex-shrink: 0;
  background: none; color: #8b8578;
  border: 1px solid #3a4155; border-radius: 50%;
  font-size: 17px; cursor: pointer;
}
.h-del:hover { color: #ff9c9c; border-color: #b91c1c; }
.privacy-note { font-size: 15px; color: #8b8578; margin: 4px 0 10px; }
.album-tile {
  position: relative; border: 2px solid #232a3a; border-radius: 12px;
  overflow: hidden; cursor: pointer; padding: 0; text-align: left;
  background: #161c29; color: inherit;
  aspect-ratio: 16 / 12; display: flex; flex-direction: column; justify-content: flex-end;
}
.album-tile:hover, .album-tile:focus { border-color: #f0c040aa; }
.album-tile.playing { border-color: #f0c040; box-shadow: 0 0 0 2px #f0c04066, 0 4px 16px rgba(240,192,64,.25); }
.album-tile .at-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  background-size: cover; background-position: center; /* .gen(div)用に残す */
}
.album-grid .grid-more { grid-column: 1 / -1; } /* サムネ段階表示のセンチネルは全幅 */
.album-tile .at-bg.gen { /* 未紐付けVol: 金グラデ生成型タイル */
  background: linear-gradient(135deg, #3a2f10 0%, #16120a 60%, #0b0e14 100%);
  display: flex; align-items: center; justify-content: center;
}
.album-tile .at-bg.gen::after {
  content: attr(data-initial);
  font-size: 44px; font-weight: 900; color: #f0c04033; letter-spacing: .05em;
}
.album-tile .at-label {
  position: relative; z-index: 1;
  background: linear-gradient(0deg, rgba(5,7,12,.94) 0%, rgba(5,7,12,.78) 70%, transparent 100%);
  padding: 18px 10px 8px;
}
.album-tile .at-name { display: block; font-size: 16px; font-weight: 800; color: #fff; line-height: 1.35; }
.album-tile .at-dur { display: block; font-size: 16px; font-weight: 700; color: #f0c040; margin-top: 2px; }
.album-tile .at-badge {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  background: #f0c040; color: #0b0e14;
  font-size: 14px; font-weight: 800; border-radius: 999px; padding: 3px 12px;
}
.album-hint { font-size: 17px; color: #c9c2b2; text-align: center; padding: 26px 8px; grid-column: 1 / -1; }

/* くわしく探す(折りたたみ) */
.deep-search { margin-top: 30px; border-top: 1px solid #232a3a; }
.deep-search > summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 6px;
  font-size: 18px; font-weight: 800; color: #c9c2b2; cursor: pointer; list-style: none;
}
.deep-search > summary::-webkit-details-marker { display: none; }
.deep-search > summary::before { content: "▸"; color: #f0c040; }
.deep-search[open] > summary::before { content: "▾"; }

/* トースト */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: #161c29; color: #f2ede2;
  border: 2px solid #f0c040; border-radius: 12px;
  font-size: 17px; font-weight: 700; padding: 12px 22px;
  z-index: 400; box-shadow: 0 6px 20px rgba(0,0,0,.6);
  max-width: 90vw; text-align: center;
}

/* ---- 曲リスト(両ビュー共用) ---- */
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 12px; flex-wrap: wrap; }
.list-count { font-size: 18px; color: #c9c2b2; }
.list-actions { display: flex; gap: 10px; }
.list-btn {
  min-height: 52px; padding: 6px 20px;
  background: #f0c040; color: #0b0e14;
  border: 0; border-radius: 999px;
  font-size: 18px; font-weight: 800; cursor: pointer;
}
.list-btn#shuffle-all { background: #161c29; color: #fff; border: 2px solid #f0c04066; }
.track-list { list-style: none; margin: 0; padding: 0; }
.track-row {
  display: flex; align-items: center; gap: 14px;
  min-height: 76px; padding: 8px 10px;
  border-bottom: 1px solid #232a3a;
  cursor: pointer; border-radius: 10px;
}
.track-row:hover { background: #141a26; }
.track-row.playing { background: #1d2233; box-shadow: inset 3px 0 0 #f0c040; }
.track-art { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.track-meta { flex: 1; min-width: 0; }
.track-title { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.4; }
.track-row.playing .track-title { color: #f0c040; }
.track-series { font-size: 16px; color: #c9c2b2; }
.track-tags { font-size: 14px; color: #8b8578; }
/* No.53: 曲カードのテンポ(BPM)バッジ。低視力対応=大きめ数字・高コントラスト(金地に黒) */
.track-bpm {
  flex-shrink: 0; align-self: center; margin: 0 4px 0 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; padding: 5px 8px; border-radius: 10px;
  background: #f0c040; color: #0b0e14; font-weight: 900; font-size: 23px; line-height: 1;
}
.track-bpm small { font-size: 11px; font-weight: 800; letter-spacing: .06em; margin-top: 3px; }
.track-row.locked .track-bpm { background: #6b5416; color: #efe4c8; }
.track-state { font-size: 26px; color: #f0c040; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.track-row.static { cursor: default; }
.track-row.static:hover { background: none; }
.track-row.static.playing:hover { background: #1d2233; }
.track-row.locked { cursor: default; }
.track-row.locked:hover { background: none; }
.track-row.locked .track-title { color: #b8b2a4; }
.locked-badge {
  font-size: 13px !important; line-height: 1.3; color: #c9a227 !important;
  border: 1px solid #c9a22766; border-radius: 8px; padding: 4px 6px;
  width: auto !important; height: auto !important; text-align: center;
}
.load-more { text-align: center; padding: 20px 10px; font-size: 16px; color: #c9c2b2; border-bottom: none; list-style: none; }
.empty-state { text-align: center; padding: 36px 10px; border-bottom: none; }
.empty-msg { font-size: 20px; font-weight: 800; color: #f2ede2; margin-bottom: 16px; }

/* ---- プレイヤービュー ---- */
.pv { background: radial-gradient(circle at 50% 12%, #1a2030 0%, #0b0e14 60%); min-height: 100vh; padding: 0 0 60px; } /* 汎用section padding(64px)を無効化(No.25) */
.pv-wrap { display: flex; flex-direction: column; align-items: center; padding-top: 10px; }
.pv-back {
  align-self: flex-start;
  min-height: 48px; padding: 4px 18px;
  background: #161c29; color: #f0c040;
  border: 2px solid #f0c040; border-radius: 10px;
  font-size: 18px; font-weight: 800; cursor: pointer; margin-bottom: 10px;
}
/* 【No.46】演出案④: 固定スクエアジャケット＋直下の金の光沢ライン(CSSのみ・rAF/Canvasなし) */
.pv-visual { position: relative; width: min(86vw, 42vh, 400px); margin: 4px auto 2px; }
/* ジャケット: 正方形・正立・固定(回転/傾き/拡大なし)。角丸は現行維持 */
.pv-art { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(240,192,64,.16), 0 4px 18px rgba(0,0,0,.6); }
.pv-art-ph { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 90px; color: #f0c04055; background: #10141f; border-radius: 16px; }
.pv-art:not([hidden]) ~ .pv-art-ph { display: none; }
/* 【No.47】金の光沢ライン: ジャケット直下・同幅・太さ7px。色はアルバム代表色(CSS変数)。
   ベースは暗い代表色(--sheen-base)、その上を明るい代表色(--sheen-hi)の光沢が流れる。既定は金。 */
.pv-sheen { position: relative; width: 100%; height: 7px; margin-top: 12px; border-radius: 3px; overflow: hidden;
  background: var(--sheen-base, #4a3912); box-shadow: inset 0 0 3px rgba(0,0,0,.5); }
/* 【No.56】ハイライトは background-position ではなく transform(translateX) で動かす。
   background-position アニメは実機のコンポジット描画でバー本体(--sheen-base)が抜ける不具合が
   あったため、compositor フレンドリーな translateX に変更（挙動＝左→右の光沢は同一）。 */
.pv-sheen::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent 0%, var(--sheen-hi, #f0c040) 50%, transparent 100%);
  transform: translateX(-100%); opacity: 0; transition: opacity 1s ease;   /* 停止時は光沢を滑らかにフェードアウト */ }
.pv-visual.playing .pv-sheen::before { opacity: 1; animation: pvSheen 6s linear infinite; }  /* 再生中: 左→右へ流れる */
@keyframes pvSheen { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
/* 【No.58】will-change:transform を撤去（恒久GPUレイヤー強制が弱GPU実機で激重化する既知の
   アンチパターン。transformアニメはアニメ実行中のみ自動合成されるため will-change 無しで十分）。
   視覚障害等でアニメを抑止したい環境ではバー本体は残しつつ光沢の流れのみ停止する。 */
@media (prefers-reduced-motion: reduce) {
  .pv-visual.playing .pv-sheen::before { animation: none; transform: translateX(120%); }
}
.pv-title { font-size: 32px; font-weight: 900; color: #f0c040; text-align: center; line-height: 1.3; margin-top: 10px; max-width: 100%; overflow-wrap: anywhere; }
.pv-series { font-size: 19px; color: #d9cfae; text-align: center; margin-top: 2px; }
.pv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.pv-chip { font-size: 14px; font-weight: 700; color: #0b0e14; background: #c9a227; border-radius: 999px; padding: 2px 12px; }
.pv-seek { display: flex; align-items: center; gap: 12px; width: min(560px, 100%); margin: 8px 0 4px; }
.pv-time { font-size: 17px; color: #c9c2b2; min-width: 3.2em; text-align: center; }
.pv-seekbar { flex: 1; accent-color: #f0c040; height: 32px; cursor: pointer; min-width: 0; }
.pv-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 8px 0 4px; }
.pv-btn {
  width: 60px; height: 60px;
  background: #161c29; color: #fff;
  border: 2px solid #f0c04066; border-radius: 50%;
  font-size: 25px; cursor: pointer;
}
.pv-btn:hover, .pv-btn:focus { border-color: #f0c040; }
.pv-btn.pv-sub { width: 52px; height: 52px; font-size: 20px; color: #f0c040; }
.pv-btn.pv-sub[aria-pressed="true"] { background: #f0c040; color: #0b0e14; border-color: #f0c040; }
.pv-play { width: 72px; height: 72px; background: #f0c040; color: #0b0e14; font-size: 32px; border-color: #f0c040; font-weight: 800; }

/* ---- SVGアイコン(No.39: 絵文字廃止・iOSのグレー箱解消・currentColorで塗り) ---- */
.ic { display: inline-block; fill: currentColor; vertical-align: middle; }
.pv-btn { display: flex; align-items: center; justify-content: center; }        /* アイコン中央 */
.pv-btn .ic { width: 34px; height: 34px; }        /* 前へ・次へ ≥32px */
.pv-btn.pv-sub .ic { width: 27px; height: 27px; } /* シャッフル */
.pv-play .ic { width: 42px; height: 42px; }        /* 再生/停止 ≥40px */
.mb-btn { display: flex; align-items: center; justify-content: center; }
.mb-btn .ic { width: 26px; height: 26px; }
.mb-play .ic { width: 30px; height: 30px; }
.pv-vol .ic { width: 24px; height: 24px; color: #d9cfae; }
.pv-fav .ic, #goto-fav .ic { width: 20px; height: 20px; }
.pv-fav[aria-pressed="true"] .ic, .tile-fav[aria-pressed="true"] .ic { color: #f0c040; }
.mb-goto .ic, .list-btn .ic, .oma-rebuild .ic, .oma-stop .ic { width: 18px; height: 18px; }
.tile-fav .ic { width: 22px; height: 22px; }
.track-state .ic { width: 18px; height: 18px; }
.pv-subrow { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.pv-vol { display: flex; align-items: center; gap: 8px; font-size: 19px; min-height: 48px; }
.pv-vol input { width: 130px; accent-color: #f0c040; height: 32px; }
.pv-volnote { display: flex; align-items: center; gap: 6px; min-height: 48px; color: #d9cfae; font-size: 14px; }
.pv-volnote .ic { width: 20px; height: 20px; color: #d9cfae; }
.pv-list-title { font-size: 22px; font-weight: 800; color: #fff; align-self: flex-start; margin: 26px 0 8px; }
.pv-list-title span { font-size: 17px; color: #c9c2b2; font-weight: 700; }
#pv-list { width: 100%; }
.pv-more { margin: 14px auto 0; display: block; }
@media (max-width: 600px) {
  .pv-controls { gap: 12px; }
  .pv-title { font-size: 32px; }
}
