.ost-all-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 18px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.3); color: #e3d9c5; font-size: 13px; }
.ost-all-link:hover, .ost-all-link:focus-visible { border-color: #d47769; color: #d47769; }
.track-empty { margin: 0; padding: 24px 8px; color: #a9ada9; font-size: 13px; }

.music-main { width: min(1280px, calc(100% - 64px)); min-height: calc(100svh - 80px); margin: 0 auto; padding: calc(var(--site-header-height) + 24px) 0 48px; }
.music-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.music-heading p { margin: 0 0 4px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.music-heading h1 { margin: 0; font-size: clamp(27px, 3vw, 34px); line-height: 1.35; letter-spacing: -.04em; }
.music-heading > a { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 8px 0 8px 12px; color: var(--muted); font-size: 12px; }
.music-heading > a span { color: var(--red); font-size: 17px; }
.music-heading > a:hover { color: var(--red-dark); }
.music-library { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 24px; }
.music-library .music-player { position: sticky; top: calc(var(--site-header-scrolled-height) + 20px); min-width: 0; padding: 20px 24px; border: 1px solid #343b3b; border-top: 2px solid #b76b57; border-radius: 6px; color: var(--paper-light); background: #1c2529; box-shadow: 0 8px 24px #18181212; }
.music-player-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: #b9bdb6; font-size: 11px; }
.music-player-heading > :first-child { display: inline-flex; align-items: center; gap: 7px; }
.music-player-heading > :first-child::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #8f9796; }
.music-player.is-playing .music-player-heading > :first-child { color: #efb19a; }
.music-player.is-playing .music-player-heading > :first-child::before { background: #dc987e; }
.music-page .now-playing { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; border: 0; text-align: center; }
.music-artwork { position: relative; justify-self: center; display: grid; place-items: center; width: min(100%, clamp(160px, 26svh, 224px)); aspect-ratio: 1; overflow: hidden; border: 1px solid #ffffff20; border-radius: 3px; color: #82908b; background: #303b3e; box-shadow: 0 8px 20px #0003; }
.music-artwork > span { font: 52px/1 Georgia, serif; }
.music-page .now-playing img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 1; }
.music-page .now-playing strong { font-size: 22px; line-height: 1.4; font-weight: 700; white-space: normal; overflow-wrap: anywhere; letter-spacing: -.025em; }
.music-page .now-playing small { margin-top: 5px; color: #b9c1bd; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.music-seek { display: grid; gap: 1px; margin-top: 18px; }
.music-seek input { width: 100%; min-width: 0; height: 22px; margin: 0; }
.music-seek > span { color: #b9c1bd; font: 10px/1.5 Arial, sans-serif; font-variant-numeric: tabular-nums; text-align: right; }
.music-page .music-player input[type="range"] { appearance: none; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: #d99077; }
.music-page .music-player input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: #ffffff38; }
.music-page .music-player input[type="range"]::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; margin-top: -4px; border: 0; border-radius: 50%; background: #dfa58b; }
.music-page .music-player input[type="range"]::-moz-range-track { height: 3px; border: 0; border-radius: 2px; background: #ffffff38; }
.music-page .music-player input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: #dfa58b; }
.music-page .player-controls { grid-template-columns: 44px 54px 44px; justify-content: center; gap: 24px; padding: 12px 0 0; }
.music-page .player-controls button { display: grid; place-items: center; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 50%; color: #d4d9d0; }
.music-page .player-controls svg { width: 20px; height: 20px; fill: currentColor; }
.music-page .player-controls button:hover:not(:disabled) { color: #fff4e8; background: #ffffff0d; }
.music-page .player-controls .play-button { height: 54px; border-color: #d28e72; color: #fff7eb; background: #b46b53; font-size: 18px; box-shadow: 0 4px 14px #0002; }
.music-page .player-controls .play-button:hover:not(:disabled) { border-color: #e7b398; background: #c17b62; }
.music-player-tools { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #ffffff1a; }
.music-page .player-volume { flex: 1; grid-template-columns: auto minmax(0, 1fr) 30px; gap: 8px; min-height: 36px; padding: 0; border: 0; }
.music-page .player-volume > span { color: #b9c1bd; }
.music-page .player-volume output { font-size: 10px; }
.music-player-tools .lyrics-button { flex-shrink: 0; min-height: 36px; padding: 0 11px; border: 1px solid #ffffff26; border-radius: 4px; color: #dce0d5; background: #ffffff05; font-size: 11px; cursor: pointer; }
.music-player-tools .lyrics-button:hover:not(:disabled) { border-color: #c78e77; color: #efb19a; }
.music-page .music-player button:disabled, .music-page .music-player input:disabled { opacity: .35; cursor: default; }
.music-page .music-player :focus-visible { outline: 2px solid #efb19a; outline-offset: 4px; }

.music-catalog { --track-columns: 28px minmax(0, 1fr) 100px 44px 30px; min-width: 0; padding: 0 20px 8px; border: 1px solid #66573c29; border-radius: 6px; color: var(--ink); background: #fffdf6bf; box-shadow: 0 4px 18px #3e311e05; }
.music-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; border-bottom: 1px solid #3e311e24; }
.music-list-heading h2 { margin: 0; font-size: 20px; }
.music-list-heading > span { padding: 3px 9px; border: 1px solid #a5281c12; border-radius: 4px; color: #796353; background: #a5281c06; font-size: 11px; }
.music-list-heading strong { margin-right: 4px; color: var(--red-dark); font-variant-numeric: tabular-nums; }
.music-track-heading { display: grid; grid-template-columns: var(--track-columns); align-items: center; gap: 14px; min-height: 36px; padding: 0 12px; border-bottom: 1px solid #3e311e12; color: #877b68; font-size: 10px; }
.music-track-heading > :first-child { text-align: center; }
.music-track-heading > :nth-child(4) { text-align: right; }
.music-page .track-list { max-height: none; overflow: visible; border: 0; scrollbar-gutter: auto; overscroll-behavior: auto; }
.music-page .track-row { grid-template-columns: var(--track-columns); gap: 14px; min-height: 58px; padding: 10px 12px; border-bottom: 1px solid #3e311e12; border-radius: 3px; }
.music-page .track-row:last-child { border-bottom: 0; }
.music-page .track-row > span { grid-area: 1 / 1; color: #928574; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.music-page .track-row-copy { display: contents; }
.music-page .track-row-copy strong { grid-area: 1 / 2; min-width: 0; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.music-page .track-row-copy small { grid-area: 1 / 3; margin: 0; color: #776e61; font-size: 11px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.music-page .track-row > .track-duration { display: block; grid-area: 1 / 4; color: #877b68; font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.music-page .track-row i { position: relative; display: grid; place-items: center; grid-area: 1 / 5; width: 28px; height: 28px; border: 1px solid #66573c22; border-radius: 50%; color: #8e7866; font-size: 9px; }
.music-page .track-row:hover { background: #72562d09; }
.music-page .track-row.is-active { color: var(--red-dark); background: #a5281c0d; box-shadow: inset 2px 0 #a54d3b; }
.music-page .track-row.is-active strong { font-weight: 700; }
.music-page .track-row.is-active > span { color: var(--red); }
.music-page .track-row.is-active i { border-color: #a5614338; color: #9b503d; background: #f0e0d3; }
.music-page .track-list.is-playing .track-row.is-active i { font-size: 0; }
.music-page .track-list.is-playing .track-row.is-active i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6v4M6 3v10M10 5v6M14 4v8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.music-page .track-row:focus-visible { position: relative; outline: 2px solid #a54d3b; outline-offset: -2px; }
.music-page .track-empty { color: #776e61; line-height: 1.7; }
.music-page .lyrics-dialog { padding: 32px 36px; border: 1px solid #66573c40; border-radius: 6px; }
.music-page .lyrics-dialog h2 { margin: 12px 0 8px; font-size: clamp(22px, 4vw, 28px); line-height: 1.5; overflow-wrap: anywhere; }
.music-page .lyrics-dialog > small { margin: 0 0 24px; }
.music-page .lyrics-dialog pre { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.music-page .lyrics-dialog > button { top: 10px; right: 10px; color: var(--muted); background: transparent; }
.music-page .lyrics-dialog > button:hover { color: var(--red-dark); background: #a5281c08; }
.music-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px max(32px, calc((100vw - 1280px) / 2)); color: var(--paper-light); background: #171813; font-size: 13px; }
.music-footer span { color: #c55e51; }

@media (max-width: 1100px) {
  .music-library { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
  .music-library .music-player { padding: 20px; }
  .music-catalog { --track-columns: 24px minmax(0, 1fr) 38px 28px; padding: 0 14px 6px; }
  .music-track-heading { display: none; }
  .music-page .track-row { gap: 10px; min-height: 64px; padding-inline: 10px; }
  .music-page .track-row-copy { display: block; grid-area: 1 / 2; }
  .music-page .track-row-copy small { margin-top: 3px; }
  .music-page .track-row > .track-duration { grid-column: 3; }
  .music-page .track-row i { grid-column: 4; }
}
@media (max-width: 760px) {
  .music-main { width: calc(100% - 32px); padding: calc(var(--site-header-height) + 22px) 0 28px; }
  .music-heading { gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
  .music-heading > a { gap: 6px; font-size: 11px; }
  .music-heading > a span { font-size: 14px; }
  .music-library { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .music-library .music-player { position: static; padding: 18px 20px; }
  .music-player-heading { margin-bottom: 14px; }
  .music-page .now-playing { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; text-align: left; }
  .music-artwork { width: 88px; }
  .music-artwork > span { font-size: 32px; }
  .music-page .now-playing strong { font-size: 20px; }
  .music-seek { margin-top: 14px; }
  .music-page .player-controls { padding-top: 8px; }
  .music-player-tools { gap: 24px; margin-top: 14px; padding-top: 10px; }
  .music-catalog { padding: 0 12px 4px; }
  .music-list-heading { min-height: 60px; padding-inline: 6px; }
  .music-page .track-row { gap: 8px; padding: 10px 6px; }
  .music-page .lyrics-dialog { padding: 28px 22px; }
  .music-footer { padding-inline: 16px; }
}
@media (max-width: 380px) {
  .music-heading h1 { font-size: 25px; }
  .music-heading > a { gap: 3px; padding-left: 0; }
  .music-library .music-player { padding-inline: 16px; }
  .music-page .now-playing { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .music-artwork { width: 72px; }
  .music-page .now-playing strong { font-size: 18px; }
  .music-player-tools { gap: 12px; }
  .music-catalog { --track-columns: 20px minmax(0, 1fr) 34px 24px; padding-inline: 8px; }
  .music-page .track-row { gap: 6px; }
  .music-page .track-row i { width: 24px; height: 24px; }
}
@media (min-width: 761px) and (max-height: 680px) {
  .music-library .music-player { position: static; }
}
@media (pointer: coarse) {
  .music-player-tools .lyrics-button { min-height: 44px; }
  .music-page .music-player input[type="range"] { min-height: 32px; }
}
