:root {
  color-scheme: light;
  --paper: #f3f2ef;
  --ink: #151515;
  --soft: #686866;
  --line: #d9d8d4;
  --nav-ink: #777774;
  --nav-song-ink: #9a9996;
  --nav-current-ink: #575755;
  --note-ink: #444441;
  --rule: #aaa9a5;
  --raised-paper: #f7f6f3;
  --artwork-paper: #e9e8e4;
  --player-paper: rgb(247 246 243 / .96);
  --control-paper: #fff;
  --play-paper: rgb(255 255 255 / .94);
  --play-ink: #111;
  --index-paper: rgb(243 242 239 / .96);
  --index-panel-paper: rgb(243 242 239 / .98);
  --idle-card-opacity: .48;
  --idle-service-opacity: .28;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
.index {
  position: fixed; inset: 0 auto 0 0; width: 34vw; overflow-y: auto;
  padding: clamp(20px, 3.2vw, 54px); border-right: 1px solid var(--line);
}
.site-header { display: flex; align-items: center; gap: 20px; margin-bottom: 42px; }
.site-title { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.playlist-links { display: flex; align-items: center; gap: 14px; }
.playlist-links .service { opacity: .65; }
.playlist-links .service:hover, .playlist-links .service:focus-visible { opacity: 1; }
.rss-link { color: var(--soft); font-size: 10px; text-decoration: none; }
.rss-link:hover, .rss-link:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.index-panel summary { display: none; }
.month-nav + .month-nav { margin-top: 48px; }
.month-nav h2 { margin: 0 0 24px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; }
.month-nav h2 a { text-decoration: none; }
.month-nav ol { list-style: none; padding: 0; margin: 0; }
.month-nav li { margin: 0 0 7px; }
.month-nav a {
  display: block; color: var(--nav-ink); font-size: 11px; line-height: 1.35; text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}
.month-nav a span { color: var(--nav-song-ink); }
.month-nav a:hover, .month-nav a:focus-visible, .month-nav a[aria-current="true"], .month-nav a[aria-current="page"] { color: var(--ink); transform: translateX(3px); outline: none; }
.month-nav a[aria-current="true"] span, .month-nav a[aria-current="page"] span { color: var(--nav-current-ink); }
.tracks { margin-left: 34vw; height: 100vh; overflow-y: auto; padding: clamp(18px, 2.5vw, 38px); scroll-behavior: smooth; scroll-snap-type: y proximity; }
.track {
  width: min(100%, 820px); margin: 0 auto 12px;
  min-height: 184px; display: grid; grid-template-columns: 184px minmax(0, 1fr);
  border: 1px solid var(--line); background: var(--paper); opacity: var(--idle-card-opacity); filter: saturate(.18);
  transition: opacity 220ms ease, filter 220ms ease, background 220ms ease;
  scroll-snap-align: start;
}
.track:hover, .track:focus-within, .track.is-active { opacity: 1; filter: saturate(1); background: var(--raised-paper); }
.artwork { position: relative; width: 100%; min-height: 0; aspect-ratio: 1; overflow: hidden; background: var(--artwork-paper); }
.artwork > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player {
  display: flex; align-items: flex-end; justify-content: space-between; padding: 13px; cursor: pointer;
  color: white; text-decoration: none; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .58)); font: inherit;
}
.video-player[hidden] { display: none; }
.youtube-engine { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; border: 0; }
.bandcamp-control { position: absolute; z-index: 3; bottom: 9px; left: 9px; width: 48px; height: 42px; display: block; overflow: hidden; border-radius: 22px; }
.bandcamp-control .play-mark { position: absolute; z-index: 4; top: 4px; left: 4px; padding: 0; border: 0; font: inherit; pointer-events: none; }
.bandcamp-control.is-playing .play-mark { pointer-events: auto; cursor: pointer; }
.bandcamp-player { position: absolute; z-index: 3; inset: 0; width: 48px; height: 42px; opacity: .001; overflow: hidden; border: 0; background: transparent; cursor: pointer; }
.video-player::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .05); transition: background 160ms ease; }
.video-player:hover::before { background: rgb(0 0 0 / .18); }
.video-player > * { position: relative; z-index: 1; }
.play-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--play-paper); color: var(--play-ink); border-radius: 50%; }
.play-mark svg { width: 17px; height: 17px; fill: currentColor; }
.unavailable { cursor: default; }
.track-copy { min-width: 0; padding: 18px clamp(18px, 2.4vw, 36px) 16px; display: flex; flex-direction: column; }
.track-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.track-title-link { display: block; text-decoration: none; }
a.track-title-link:hover .track-song, a.track-title-link:focus-visible .track-song { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.track-title-link:focus-visible { outline: none; }
.track-artist, .track-song { margin: 0; font-size: 15px; line-height: 1.16; letter-spacing: -.025em; }
.track-artist { font-weight: 600; }
.track-song { margin-top: 2px; font-weight: 400; }
.release { margin: 6px 0 0; color: var(--soft); font-size: 10px; }
.note { max-width: 68ch; margin-top: 13px; color: var(--note-ink); font-size: 11px; line-height: 1.65; }
.note p { margin: 12px 0; }
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }
.note ol { margin: 8px 0; padding-left: 1.7em; }
.note li { padding-left: .2em; }
.note li + li { margin-top: 7px; }
.note li > :last-child { margin-bottom: 0; }
.note a { text-decoration-color: var(--rule); text-underline-offset: 2px; }
.note a:hover, .note a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.note blockquote { margin: 7px 0; padding-left: 11px; border-left: 1px solid var(--rule); }
.note a[data-inline-video] { display: inline-block; }
.video-link-icon { display: inline-block; width: 1.15em; height: 1.15em; margin-right: .3em; vertical-align: -.2em; }
.has-video-dialog, .has-video-dialog .tracks { overflow: hidden; }
.video-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: max(8px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border: 0; background: #171716; color: #e7e5df; color-scheme: dark; }
.video-dialog[open] { display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; gap: 12px; }
.video-dialog::backdrop { background: #171716; }
.inline-video-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: #aaa8a1; font-size: 12px; }
.inline-video-header button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 50%; background: transparent; color: #e7e5df; cursor: pointer; }
.inline-video-header button:hover { background: #343430; }
.inline-video-header svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.inline-video-header button:focus-visible, .video-dialog video:focus-visible { outline: 2px solid #e7e5df; outline-offset: 2px; }
.video-dialog video { display: block; justify-self: center; min-width: 0; min-height: 0; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.inline-video-status { margin: 0; color: #aaa8a1; font-size: 12px; text-align: center; }
.services { display: flex; flex-shrink: 0; align-items: center; gap: 18px; margin-top: auto; padding-top: 13px; }
.service { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; line-height: 0; opacity: var(--idle-service-opacity); transition: opacity 140ms ease; }
.service:hover, .service:focus-visible { opacity: 1; outline: none; }
.service .brand-icon { display: block; width: 17px; height: 17px; fill: currentColor; }
.now-playing { position: fixed; z-index: 20; right: clamp(18px, 2.5vw, 38px); bottom: 18px; width: min(420px, calc(66vw - 56px)); min-height: 62px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 1px solid var(--line); background: var(--player-paper); box-shadow: 0 12px 36px rgb(0 0 0 / .12); backdrop-filter: blur(14px); }
.now-playing[hidden] { display: none; }
.now-playing > img { width: 44px; height: 44px; display: block; object-fit: cover; background: var(--artwork-paper); }
.now-playing-copy { min-width: 0; display: block; }
.now-playing-copy strong, .now-playing-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 1.35; }
.now-playing-copy strong { font-weight: 600; }
.now-playing-copy > span { color: var(--soft); font-weight: 400; }
.now-playing > button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--control-paper); cursor: pointer; }
.now-playing > button svg { width: 17px; height: 17px; fill: currentColor; }
.detail-page { min-height: 100vh; }
.detail-tracks { display: flex; flex-direction: column; }
.detail-track { flex-shrink: 0; margin: auto; opacity: 1; filter: none; }
.detail-artwork { width: 100%; align-self: start; }
.detail-artwork.has-artwork { aspect-ratio: auto; }
.detail-artwork > img { height: auto; }
@media (max-width: 760px) {
  :root { --idle-service-opacity: .48; }
  .index { position: sticky; z-index: 5; top: 0; width: 100%; height: 52px; overflow: visible; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: var(--index-paper); backdrop-filter: blur(14px); }
  .site-header { margin: 0; gap: 14px; }
  .site-header .rss-link:not(.archive-link) { display: none; }
  .index-panel { position: static; }
  .index-panel summary { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--soft); font-size: 10px; white-space: nowrap; list-style: none; cursor: pointer; }
  .index-panel summary::-webkit-details-marker { display: none; }
  .index-content { position: absolute; top: 52px; left: 0; right: 0; max-height: calc(100vh - 52px); overflow-y: auto; padding: 19px 16px 24px; border-bottom: 1px solid var(--line); background: var(--index-panel-paper); box-shadow: 0 14px 30px rgb(0 0 0 / .05); }
  .month-nav h2 { margin-bottom: 14px; }
  .month-nav li { margin-bottom: 9px; }
  .month-nav a { font-size: 11px; }
  .month-nav a:hover, .month-nav a:focus-visible, .month-nav a[aria-current="true"], .month-nav a[aria-current="page"] { transform: none; }
  .tracks { margin-left: 0; height: auto; overflow: visible; padding: 14px 12px 40px; }
  .track { width: min(100%, 540px); grid-template-columns: 108px minmax(0, 1fr); min-height: 108px; margin-bottom: 11px; opacity: .94; filter: saturate(.86); scroll-margin-top: 66px; }
  .track.is-active { opacity: 1; filter: saturate(1); }
  .artwork { width: 108px; height: 108px; }
  .track-copy { padding: 12px; }
  .track-artist, .track-song { font-size: 13px; }
  .release { font-size: 9px; }
  .note { margin-top: 10px; font-size: 10px; max-height: none; overflow: visible; }
  .detail-tracks { display: block; }
  .detail-track { margin: 0 auto; opacity: 1; filter: none; }
  .detail-artwork { width: 100%; height: auto; }
  body:has(.now-playing:not([hidden])) .tracks { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .now-playing {
    right: 0; bottom: 0; left: 0; width: 100%; min-height: 60px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-width: 1px 0 0; box-shadow: 0 -10px 30px rgb(0 0 0 / .1);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #171716;
    --ink: #e7e5df;
    --soft: #aaa8a1;
    --line: #373734;
    --nav-ink: #aaa8a2;
    --nav-song-ink: #95938d;
    --nav-current-ink: #cfcdc6;
    --note-ink: #cfcdc6;
    --rule: #676760;
    --raised-paper: #20201e;
    --artwork-paper: #252523;
    --player-paper: rgb(32 32 30 / .96);
    --control-paper: #343430;
    --play-paper: rgb(39 39 36 / .96);
    --play-ink: #e7e5df;
    --index-paper: rgb(23 23 22 / .96);
    --index-panel-paper: rgb(23 23 22 / .98);
    --idle-card-opacity: .82;
    --idle-service-opacity: .65;
  }
}
@media (prefers-reduced-motion: reduce) {
  html, .tracks { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
