/* ==========================================================================
   Worship Journey 2026 - Journey layer (loaded after style.css and experience.css)
   1. Today strip            (.jny-section, .jny-card)
   2. Album layout           (.alb-layout: sticky album panel + song sheet)
   3. Song rows              (.track-item overrides, .trk-wave, .trk-fav)
   4. Sheet + its contents   (.jny-sheet: today, heart compass, quiet time setup, my sky)
   5. Quiet Time screen      (.jny-still)
   6. Heart / Amen buttons   (.jny-now)
   Accent = --dyn-1 (palette of the active album), never a fixed per-album colour.
   ========================================================================== */
:root {
  --jny-accent: var(--dyn-1, #dfc278);
  --jny-line: rgba(255, 255, 255, 0.09);
  --jny-glass: rgba(255, 255, 255, 0.04);
  --jny-serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
}
html.jny-lock { overflow: hidden; }

/* ---------------------------------------------------------------- 1. Today strip */
.jny-section {
  position: relative;
  z-index: 2;
  padding: 6px 0 40px;
}
.jny-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.jny-greet { min-width: 0; }
.jny-greeting {
  margin: 0;
  font-family: var(--jny-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: #fff;
  text-wrap: balance;
}
.jny-suggest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.jny-suggest i { font-size: 0.72em; color: var(--jny-accent); transition: transform 0.2s ease; }
.jny-suggest:hover { color: #fff; }
.jny-suggest:hover i { transform: translateX(3px); }
.jny-suggest:focus-visible,
.jny-card:focus-visible,
.jny-btn:focus-visible,
.jny-chip:focus-visible,
.jny-heart:focus-visible,
.jny-disc:focus-visible,
.alb-btn:focus-visible,
.trk-fav:focus-visible,
.trk-filter:focus-visible,
.jny-now-btn:focus-visible,
.jny-sheet-close:focus-visible,
.jny-sheet-back:focus-visible,
.jny-still-btn:focus-visible,
.jny-still-hide:focus-visible {
  outline: 2px solid var(--jny-accent);
  outline-offset: 3px;
}

.jny-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid var(--jny-line);
  border-radius: 999px;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.jny-live[hidden] { display: none; }
.jny-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.jny-live.is-now i {
  background: #5fe3a1;
  box-shadow: 0 0 0 0 rgba(95, 227, 161, 0.6);
  animation: jnyLive 2.2s ease-out infinite;
}
@keyframes jnyLive {
  70%, 100% { box-shadow: 0 0 0 8px rgba(95, 227, 161, 0); }
}

.jny-rail {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 12px;
}
.jny-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--jny-line);
  border-radius: 18px;
  background: var(--jny-glass);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.jny-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--jny-accent) 16%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.jny-card:hover {
  border-color: color-mix(in srgb, var(--jny-accent) 50%, transparent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.jny-card:hover::before,
.jny-card-today::before { opacity: 1; }
.jny-card:active { transform: scale(0.985); }
.jny-card-body { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.jny-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jny-accent);
}
.jny-card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jny-card-sub {
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jny-card-today .jny-card-sub { font-family: var(--jny-serif); font-style: italic; font-size: 0.98rem; color: rgba(255, 255, 255, 0.78); }
.jny-ico {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--jny-accent) 36%, transparent);
  background: color-mix(in srgb, var(--jny-accent) 10%, transparent);
  color: var(--jny-accent);
  font-size: 1.15rem;
}
.jny-ico-sky { background: #070b18; }
.jny-ico-sky svg { width: 44px; height: 44px; }
.jny-ico-sky circle { fill: rgba(255, 255, 255, 0.28); }
.jny-ico-sky circle.on { fill: var(--jny-accent); filter: drop-shadow(0 0 3px var(--jny-accent)); }
.jny-today-cover {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.jny-go {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--jny-accent);
  color: #0a0f1e;
  font-size: 0.8rem;
  padding-left: 2px;
}

/* ---------------------------------------------------------------- 2. Album layout */
.alb-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: start;
}
.alb-panel {
  position: sticky;
  top: 92px;
  min-width: 0;
}
.alb-art {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
  margin-bottom: 22px;
}
.alb-art-cover {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.alb-art-disc {
  position: absolute;
  top: 4%;
  left: 30%;
  width: 92%;
  height: 92%;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.alb-panel:hover .alb-art-disc { left: 36%; }
.alb-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.alb-title {
  margin: 4px 0 2px;
  font-family: var(--jny-serif);
  font-size: clamp(2rem, 2.9vw, 2.7rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}
.alb-mood {
  margin: 0 0 12px;
  font-family: var(--jny-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--jny-accent);
}
.alb-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}
.alb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.alb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.alb-btn i { font-size: 0.85em; }
.alb-btn-play {
  background: var(--jny-accent);
  color: #0a0f1e;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--jny-accent) 30%, transparent);
}
.alb-btn-play:hover { transform: translateY(-1px); box-shadow: 0 12px 30px color-mix(in srgb, var(--jny-accent) 42%, transparent); }
.alb-btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
}
.alb-btn-ghost:hover { border-color: color-mix(in srgb, var(--jny-accent) 60%, transparent); color: #fff; }
.alb-btn:active { transform: scale(0.97); }
.alb-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 26px;
  margin: 0 0 12px;
}
.alb-facts dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.alb-facts dd {
  margin: 2px 0 0;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.alb-meter {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.alb-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--jny-accent);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.alb-main { min-width: 0; }

/* Toolbar */
#albumSection .alb-main .tracklist-toolbar { flex-wrap: nowrap; margin-bottom: 12px; gap: 12px; }
#albumSection .alb-main .tracklist-count {
  margin-right: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.trk-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid var(--jny-line);
  border-radius: 999px;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.trk-filter:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.trk-filter[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--jny-accent) 60%, transparent);
  background: color-mix(in srgb, var(--jny-accent) 14%, transparent);
  color: var(--jny-accent);
}
#albumSection .alb-main .tracklist-search { min-width: 0; width: min(260px, 40%); }
#albumSection .alb-main .tracklist-search input {
  background: var(--jny-glass);
  border-color: var(--jny-line);
  border-radius: 999px;
}
#albumSection .alb-main .tracklist-search input:focus {
  border-color: color-mix(in srgb, var(--jny-accent) 60%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jny-accent) 16%, transparent);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------------------------------------------------------------- 3. Song rows */
#albumSection .alb-main .tracklist-container {
  gap: 0;
  padding: 6px;
  border: 1px solid var(--jny-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}
#albumSection .alb-main .track-item {
  padding: 9px 14px 9px 10px;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: background 0.2s ease;
}
#albumSection .alb-main .track-item:hover { background: rgba(255, 255, 255, 0.055); transform: none; }
#albumSection .alb-main .track-item.playing {
  background: linear-gradient(90deg, color-mix(in srgb, var(--jny-accent) 17%, transparent), rgba(255, 255, 255, 0.03) 70%);
}
#albumSection .alb-main .track-item.playing::before { background: var(--jny-accent); border-radius: 0 3px 3px 0; top: 22%; bottom: 22%; height: auto; }
#albumSection.fav-only .alb-main .track-item:not(.is-fav) { display: none !important; }
.trk-empty { margin: 0; padding: 34px 18px; text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }
.trk-empty[hidden] { display: none; }

#albumSection .alb-main .track-left { position: relative; gap: 0; min-width: 0; width: 40px; height: 40px; justify-content: center; flex-shrink: 0; }
#albumSection .alb-main .track-number { width: auto; font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.42); }
#albumSection .alb-main .track-play-btn {
  position: absolute;
  inset: 1px;
  width: auto;
  height: auto;
  opacity: 0;
  background: var(--jny-accent);
  border-color: transparent;
  color: #0a0f1e;
  box-shadow: none;
  transform: scale(0.86);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
#albumSection .alb-main .track-item:hover .track-play-btn,
#albumSection .alb-main .track-play-btn:focus-visible {
  opacity: 1;
  transform: none;
  background: var(--jny-accent);
  color: #0a0f1e;
  box-shadow: none;
}
#albumSection .alb-main .track-item:hover .track-number,
#albumSection .alb-main .track-item:hover .equalizer-icon { opacity: 0; }
#albumSection .alb-main .eq-bar { background: var(--jny-accent); }

#albumSection .alb-main .track-title { font-size: 0.98rem; margin-bottom: 1px; }
#albumSection .alb-main .track-item.playing .track-title { color: var(--jny-accent); }
#albumSection .alb-main .track-item.is-heard .track-title::after {
  content: '\2726';
  margin-left: 7px;
  font-size: 0.62em;
  vertical-align: 0.2em;
  color: var(--jny-accent);
  opacity: 0.85;
}
#albumSection .alb-main .track-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.46);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trk-wave {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 24px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease;
}
.trk-wave svg { display: block; width: 120px; height: 24px; }
.trk-wave path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.trk-wave-on {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--trk-p, 0%);
  overflow: hidden;
  color: var(--jny-accent);
  display: none;
}
.track-item:hover .trk-wave { color: rgba(255, 255, 255, 0.34); }
.track-item.playing .trk-wave { color: rgba(255, 255, 255, 0.26); }
.track-item.playing .trk-wave-on { display: block; }

#albumSection .alb-main .track-actions { gap: 4px; flex-shrink: 0; }
.trk-fav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.trk-fav:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.trk-fav:active { transform: scale(0.85); }
.trk-fav[aria-pressed="true"] { color: #ff7a8a; }
.trk-fav[aria-pressed="true"] i { animation: jnyPop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes jnyPop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }
#albumSection .alb-main .track-action-btn {
  padding: 7px 12px;
  border-color: transparent;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}
#albumSection .alb-main .track-action-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: transparent; color: #fff; transform: none; }
.trk-time {
  width: 42px;
  text-align: right;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.46);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (min-width: 1025px) {
  #albumSection .alb-main .track-item:not(:hover):not(.is-fav):not(:focus-within) .trk-fav { opacity: 0; }
  #albumSection .alb-main .track-item:not(:hover):not(:focus-within) .track-action-btn { opacity: 0.55; }
}

/* ---------------------------------------------------------------- 4. Sheet */
.jny-sheet {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 16, 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.jny-sheet.open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.jny-sheet-card {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(88vh, 860px);
  max-height: min(88dvh, 860px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(110% 55% at 50% 0%, color-mix(in srgb, var(--jny-accent) 15%, transparent), transparent 72%),
    #0c1222;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color: #fff;
  overflow: hidden;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.jny-sheet.open .jny-sheet-card { transform: none; }
.jny-sheet[data-kind="sky"] .jny-sheet-card { width: min(780px, 100%); }
.jny-sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 6px 24px;
}
.jny-sheet-title {
  flex: 1;
  margin: 0;
  font-family: var(--jny-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}
.jny-sheet-close,
.jny-sheet-back {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--jny-line);
  border-radius: 50%;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.jny-sheet-back[hidden] { display: none; }
.jny-sheet-back { margin-left: -8px; }
.jny-sheet-close:hover,
.jny-sheet-back:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.jny-sheet-body {
  padding: 6px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.jny-lead { margin: 0 0 18px; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.jny-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.jny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.jny-btn:hover { border-color: color-mix(in srgb, var(--jny-accent) 60%, transparent); }
.jny-btn:active { transform: scale(0.97); }
.jny-btn-main {
  flex: 1 1 auto;
  border-color: transparent;
  background: var(--jny-accent);
  color: #0a0f1e;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--jny-accent) 30%, transparent);
}
.jny-fine { margin: 14px 0 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.42); text-align: center; }

/* Song for today */
.jny-today { text-align: center; }
.jny-today-art {
  width: 132px;
  height: 132px;
  margin: 4px auto 16px;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.jny-today-title { margin: 4px 0 12px; font-family: var(--jny-serif); font-size: 2rem; font-weight: 600; line-height: 1.1; text-wrap: balance; }
.jny-quote {
  margin: 0 auto 14px;
  max-width: 30ch;
  font-family: var(--jny-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--jny-accent);
  text-wrap: balance;
}
.jny-note { margin: 0 auto 12px; max-width: 46ch; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.74); text-wrap: pretty; }
.jny-ref { margin: 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }
.jny-ref i { margin-right: 6px; color: var(--jny-accent); }
.jny-ref strong { color: #fff; font-weight: 600; }
.jny-today .jny-actions { justify-content: center; }
.jny-eyebrow-gap { display: block; margin: 24px 0 10px; color: rgba(255, 255, 255, 0.45); }
.jny-discs { display: flex; justify-content: center; gap: 14px; }
.jny-disc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}
.jny-disc img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease; }
.jny-disc:hover img { transform: scale(1.08) rotate(14deg); }
.jny-disc.is-pick { color: var(--jny-accent); }
.jny-disc.is-pick img { box-shadow: 0 0 0 2px #0c1222, 0 0 0 4px var(--jny-accent); }

/* Heart Compass */
.jny-hearts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.jny-heart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 14px 8px;
  border: 1px solid var(--jny-line);
  border-radius: 18px;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.jny-heart i { font-size: 1.3rem; color: var(--jny-accent); }
.jny-heart:hover { border-color: color-mix(in srgb, var(--jny-accent) 55%, transparent); background: color-mix(in srgb, var(--jny-accent) 9%, transparent); transform: translateY(-2px); }
.jny-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.jny-steps::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--jny-accent) 60%, transparent), transparent);
}
.jny-step { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.jny-step-no {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--jny-accent) 60%, transparent);
  background: #0c1222;
  color: var(--jny-accent);
  font-size: 0.76rem;
  font-weight: 700;
}
.jny-step-disc { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; }
.jny-step-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.jny-step-name { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jny-accent); }
.jny-step-body strong { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 600; }
.jny-step-why { font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.jny-step-ver {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--v) 50%, transparent);
  border-radius: 999px;
  color: var(--v);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Quiet Time setup */
.jny-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.jny-chip {
  padding: 10px 16px;
  border: 1px solid var(--jny-line);
  border-radius: 999px;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.jny-chip.is-on { border-color: var(--jny-accent); background: color-mix(in srgb, var(--jny-accent) 16%, transparent); color: var(--jny-accent); }
.jny-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--jny-line);
  border-radius: 16px;
  background: var(--jny-glass);
  cursor: pointer;
}
.jny-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--jny-accent); flex-shrink: 0; }
.jny-check span { display: flex; flex-direction: column; gap: 2px; }
.jny-check strong { font-size: 0.92rem; font-weight: 600; }
.jny-check small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.56); }

/* My Sky */
.jny-sky-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.jny-sky-stats div { padding: 10px 6px; border: 1px solid var(--jny-line); border-radius: 14px; background: var(--jny-glass); text-align: center; }
.jny-sky-stats strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jny-sky-stats small { font-size: 0.62em; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.jny-sky-stats span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.jny-sky-wrap {
  border: 1px solid var(--jny-line);
  border-radius: 18px;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(80, 110, 220, 0.16), transparent 70%),
    radial-gradient(50% 45% at 85% 90%, color-mix(in srgb, var(--jny-accent) 12%, transparent), transparent 70%),
    #060913;
  padding: 8px;
}
.jny-sky { display: block; width: 100%; height: auto; }
.sky-line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.7; }
.sky-line.all { stroke: rgba(255, 255, 255, 0.55); }
.sky-star { cursor: pointer; outline: none; }
.sky-star .hit { fill: transparent; }
.sky-star .dot { fill: rgba(255, 255, 255, 0.26); transition: r 0.2s ease; }
.sky-star .halo { fill: var(--v); opacity: 0; }
.sky-star.lit .dot { fill: var(--v); filter: drop-shadow(0 0 3px var(--v)); }
.sky-star.lit .halo { opacity: 0.18; animation: jnyTwinkle 4.5s ease-in-out var(--tw, 0s) infinite; }
.sky-star:hover .dot, .sky-star:focus-visible .dot { fill: #fff; }
.sky-star:focus-visible .hit { stroke: var(--jny-accent); stroke-width: 1; }
@keyframes jnyTwinkle { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.32; } }
.sky-name { fill: rgba(255, 255, 255, 0.34); font-family: var(--font-body); font-size: 7.6px; text-anchor: middle; letter-spacing: 0.02em; }
.sky-name.all { fill: var(--jny-accent); }
.jny-sky-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); }
.jny-sky-legend span { display: inline-flex; align-items: center; gap: 6px; }
.jny-sky-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--v); box-shadow: 0 0 6px var(--v); }
.jny-sky-story { margin: 16px 0 0; font-family: var(--jny-serif); font-size: 1.14rem; line-height: 1.45; text-align: center; color: rgba(255, 255, 255, 0.82); text-wrap: balance; }
.jny-sky-story strong { color: var(--jny-accent); font-weight: 600; }

/* ---------------------------------------------------------------- 5. Quiet Time screen */
.jny-still {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(70% 55% at 50% 42%, color-mix(in srgb, var(--jny-accent) 13%, transparent), transparent 72%),
    #03050b;
  color: #fff;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.jny-still.open { opacity: 1; visibility: visible; transition: opacity 0.8s ease; }
.jny-still-hide {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top, 0px));
  left: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--jny-line);
  border-radius: 50%;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.jny-still-core { display: flex; flex-direction: column; align-items: center; }
.jny-breath { position: relative; width: min(56vw, 250px); aspect-ratio: 1; margin-bottom: 30px; }
.jny-breath span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--jny-accent) 55%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--jny-accent) 16%, transparent), transparent 68%);
  animation: jnyBreath 10s ease-in-out var(--sync, 0s) infinite;
}
.jny-breath span:nth-child(2) { inset: 14%; opacity: 0.7; }
.jny-breath span:nth-child(3) { inset: 30%; opacity: 0.5; }
/* 4 s in, 6 s out */
@keyframes jnyBreath {
  0% { transform: scale(0.62); opacity: 0.45; }
  40% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.62); opacity: 0.45; }
}
.jny-still-cue { margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.jny-still-time { margin: 0 0 20px; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.jny-still-line { margin: 0 0 8px; max-width: 26ch; font-family: var(--jny-serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--jny-accent); text-wrap: balance; }
.jny-still-song { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.jny-still-foot { position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; gap: 10px; }
.jny-still-btn {
  padding: 10px 18px;
  border: 1px solid var(--jny-line);
  border-radius: 999px;
  background: var(--jny-glass);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.jny-still-btn[hidden] { display: none; }
.jny-still-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.26); }
.jny-still.is-done .jny-still-core > *:not(.jny-still-line),
.jny-still.is-done .jny-still-foot { opacity: 0; transition: opacity 0.6s ease; }
.jny-still.is-done .jny-still-line { font-size: 2rem; }

/* ---------------------------------------------------------------- 6. Heart / Amen for the playing song */
.jny-now { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.jny-now-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.jny-now-btn:active { transform: scale(0.88); }
.jny-now-btn:disabled { opacity: 0.4; cursor: default; }
.jny-now-fav.is-on { color: #ff7a8a; border-color: rgba(255, 122, 138, 0.4); }
.jny-now-amen.is-on { color: var(--jny-accent); border-color: color-mix(in srgb, var(--jny-accent) 55%, transparent); background: color-mix(in srgb, var(--jny-accent) 14%, transparent); }
.jny-amen-n {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--jny-accent);
  color: #0a0f1e;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.jny-amen-n[hidden] { display: none; }
.jny-now-amen::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--jny-accent);
  opacity: 0;
  pointer-events: none;
}
.jny-now-amen.is-burst::after { animation: jnyAmen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.jny-now-amen.is-burst i { animation: jnyPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes jnyAmen {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.jny-now-bar { gap: 4px; }
.jny-now-bar .jny-now-btn { width: 36px; height: 36px; border-color: transparent; background: none; color: var(--text-muted); font-size: 1.02rem; }
.jny-now-bar .jny-now-btn:hover { color: #fff; }
.jny-now-bar .jny-now-fav.is-on { color: #ff7a8a; }
.jny-now-bar .jny-now-amen.is-on { color: var(--jny-accent); background: none; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .jny-rail { grid-template-columns: 1fr 1fr; }
  .trk-wave { display: none; }
}
@media (max-width: 1024px) {
  .alb-layout { grid-template-columns: 1fr; gap: 22px; }
  .alb-panel { position: static; display: flex; align-items: center; gap: 26px; }
  .alb-art { width: 190px; flex-shrink: 0; margin: 0 56px 0 0; }
  .alb-info { min-width: 0; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .trk-wave { display: block; width: 90px; }
  .trk-wave svg { width: 90px; }
}
@media (max-width: 768px) {
  .jny-section { padding: 2px 0 20px; }
  .jny-head { align-items: flex-start; margin-bottom: 12px; }
  .jny-greeting { font-size: 1.42rem; }
  .jny-suggest { font-size: 0.82rem; line-height: 1.35; }
  .jny-live { padding: 5px 10px; font-size: 0.7rem; margin-top: 3px; }
  /* One swipeable row, bleeding to the screen edges */
  .jny-rail {
    display: flex;
    gap: 10px;
    margin: 0 -1.5rem;
    padding: 2px 1.5rem 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .jny-rail::-webkit-scrollbar { display: none; }
  .jny-card { flex: 0 0 min(76%, 290px); scroll-snap-align: start; padding: 12px 14px; gap: 12px; border-radius: 16px; }
  .jny-card:hover { transform: none; }
  .jny-card-today { flex-basis: min(84%, 320px); }
  .jny-ico { width: 42px; height: 42px; font-size: 1.05rem; }
  .jny-today-cover { width: 50px; height: 50px; }

  /* Phones go straight from the tabs to the songs: the panel shrinks to its two actions and the "heard" meter */
  .alb-panel { display: block; }
  .alb-art, .alb-tag, .alb-title, .alb-mood, .alb-desc, .alb-facts { display: none; }
  .alb-actions { margin-bottom: 10px; flex-wrap: nowrap; }
  .alb-btn { flex: 1 1 0; padding: 11px 10px; font-size: 0.86rem; white-space: nowrap; }
  .alb-layout { gap: 14px; }

  #albumSection .alb-main .tracklist-toolbar { flex-wrap: wrap; gap: 8px 10px; margin-bottom: 10px; }
  #albumSection .alb-main .tracklist-search { width: 100%; order: 3; }
  #albumSection .alb-main .tracklist-container { padding: 4px; border-radius: 18px; }
  #albumSection .alb-main .track-item { padding: 8px 8px 8px 6px; gap: 10px; border-radius: 12px; }
  #albumSection .alb-main .track-title { font-size: 0.92rem; }
  #albumSection .alb-main .track-subtitle { font-size: 0.72rem; display: block; }
  #albumSection .alb-main .track-actions { gap: 0; }
  #albumSection .alb-main .track-action-btn { width: 36px; height: 36px; padding: 0; font-size: 0.86rem; }
  .trk-fav { width: 36px; height: 36px; }
  .trk-time { width: 36px; font-size: 0.74rem; }

  /* Sheets rise from the bottom edge */
  .jny-sheet { align-items: flex-end; padding: 0; }
  .jny-sheet-card,
  .jny-sheet[data-kind="sky"] .jny-sheet-card { width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 26px 26px 0 0; border-bottom: 0; transform: translateY(40px); }
  .jny-sheet-head { padding: 16px 14px 4px 20px; }
  .jny-sheet-title { font-size: 1.5rem; }
  .jny-sheet-body { padding: 6px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .jny-hearts { grid-template-columns: repeat(2, 1fr); }
  .jny-heart { min-height: 78px; flex-direction: row; justify-content: flex-start; padding: 12px 14px; text-align: left; }
  .jny-sky-stats { grid-template-columns: repeat(2, 1fr); }
  .jny-step-disc { width: 38px; height: 38px; }
  .jny-now { gap: 6px; }
  .jny-now-smp .jny-now-btn { width: 40px; height: 40px; }
}
/* Touch screens have no hover: the play button always shows, the number steps aside */
@media (hover: none) {
  #albumSection .alb-main .track-play-btn { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
  #albumSection .alb-main .track-item.playing .track-play-btn { background: var(--jny-accent); color: #0a0f1e; border-color: transparent; }
  #albumSection .alb-main .track-number,
  #albumSection .alb-main .equalizer-icon { display: none !important; }
}
@media (max-width: 400px) {
  .trk-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jny-live.is-now i,
  .sky-star.lit .halo,
  .jny-breath span { animation: none; }
  .jny-card, .jny-sheet-card, .alb-art-disc { transition: none; }
}
html.reduce-motion .jny-breath span { transform: scale(0.86); }

/* "All" tab: same glass sheet as the album views */
#album-view-all .album-header-banner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: var(--jny-line);
  box-shadow: none;
}
#album-view-all .album-banner-title { font-family: var(--jny-serif); font-weight: 600; letter-spacing: 0; }
#album-view-all .tracklist-container {
  gap: 0;
  padding: 6px;
  border: 1px solid var(--jny-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}
#album-view-all .all-track-row { background: transparent; border-color: transparent; border-radius: 14px; box-shadow: none; }
#album-view-all .all-track-row:hover,
#album-view-all .all-track-row.has-playing { background: rgba(255, 255, 255, 0.055); transform: none; }

/* ==========================================================================
   Trail view + living album panel (2026-11-12)
   ========================================================================== */
.trk-view {
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--jny-line);
  border-radius: 999px;
  background: var(--jny-glass);
}
.trk-view button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.trk-view button:hover { color: #fff; }
.trk-view button[aria-pressed="true"] { background: color-mix(in srgb, var(--jny-accent) 20%, transparent); color: var(--jny-accent); }
.trk-view button:focus-visible,
.trl-node:focus-visible { outline: 2px solid var(--jny-accent); outline-offset: 3px; }

/* The album as a path: contour lines like a map, a dotted road ahead, a gold road behind */
.trl {
  --trl-bg: #0a0f1c;
  display: none;
  position: relative;
  padding: 30px 12px 16px;
  border: 1px solid var(--jny-line);
  border-radius: 22px;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse 60% 46% at 16% 22%, transparent 0 25px, rgba(255, 255, 255, 0.028) 25px 26px),
    repeating-radial-gradient(ellipse 52% 60% at 88% 84%, transparent 0 31px, color-mix(in srgb, var(--jny-accent) 5%, transparent) 31px 32px),
    radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--jny-accent) 9%, transparent), transparent 70%),
    var(--trl-bg);
}
#albumSection.view-trail .alb-main .trl { display: block; }
#albumSection.view-trail .alb-main .tracklist-container { display: none; }
.trl-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trl-seg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1 7;
  transition: stroke 0.5s ease;
}
.trl-seg.done { stroke: var(--jny-accent); stroke-width: 2; stroke-dasharray: none; opacity: 0.9; }
.trl-grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 20px; }
.trl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  cursor: pointer;
  transform: translateY(var(--dy, 0));
  transition: opacity 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.trl-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: var(--trl-bg);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.trl-no { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.trl-disc {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.trl-name {
  max-width: 14ch;
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trl-node:hover { color: #fff; }
.trl-node:hover .trl-dot { transform: scale(1.1); border-color: var(--jny-accent); }
.trl-node:hover .trl-disc { opacity: 1; transform: none; }
.trl-node.is-heard { color: rgba(255, 255, 255, 0.86); }
.trl-node.is-heard .trl-dot { border-color: var(--jny-accent); background: color-mix(in srgb, var(--jny-accent) 18%, var(--trl-bg)); }
.trl-node.is-heard .trl-no { color: var(--jny-accent); }
.trl-node.is-now { color: var(--jny-accent); }
.trl-node.is-now .trl-dot { transform: scale(1.16); border-color: var(--jny-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--jny-accent) 20%, transparent); }
.trl-node.is-now .trl-disc { opacity: 1; transform: none; }
.trl-node.is-playing .trl-disc { animation: jnySpin 9s linear infinite; }
.trl-node.is-playing .trl-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--jny-accent);
  animation: jnyRing 2.6s ease-out infinite;
  pointer-events: none;
}
.trl-node.is-fav .trl-dot::before {
  content: '\f004';
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--trl-bg);
  color: #ff7a8a;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.56rem;
}
.trl-node.is-miss,
#albumSection.fav-only .trl-node:not(.is-fav) { opacity: 0.18; }
@keyframes jnySpin { to { transform: rotate(360deg); } }
@keyframes jnyRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.trl-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 0 10px 0 12px; }
.trl-hint { font-family: var(--jny-serif); font-style: italic; font-size: 1.02rem; line-height: 1.35; color: rgba(255, 255, 255, 0.62); }
.trl-compass { flex-shrink: 0; width: 48px; height: 48px; opacity: 0.75; }
.trl-compass circle, .trl-compass .thin { fill: none; stroke: var(--jny-accent); stroke-width: 1; }
.trl-compass .thin { stroke-width: 0.6; opacity: 0.6; }
.trl-compass .needle { fill: var(--jny-accent); }
.trl-compass .needle.dim { opacity: 0.35; }

/* Album panel: the description gives way to the liner note of the playing song */
.alb-swap { display: grid; margin-bottom: 18px; }
.alb-swap > * { grid-area: 1 / 1; transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s; }
.alb-swap .alb-desc { margin: 0; }
.alb-note {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 5px;
  padding-left: 14px;
  border-left: 2px solid var(--jny-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.alb-panel.has-now .alb-desc { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.alb-panel.has-now .alb-note { opacity: 1; visibility: visible; transform: none; }
.alb-note-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jny-accent);
}
.alb-note-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.alb-panel.is-playing .alb-note-eyebrow i { opacity: 1; box-shadow: 0 0 8px currentColor; }
.alb-note-title { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; color: #fff; }
.alb-note-line { font-family: var(--jny-serif); font-size: 1.16rem; line-height: 1.35; color: rgba(255, 255, 255, 0.84); text-wrap: balance; }
.alb-note-ref { font-size: 0.76rem; color: rgba(255, 255, 255, 0.5); }

/* The disc slides further out and turns while this album is playing */
.alb-panel.has-now .alb-art-disc { left: 40%; animation: jnySpin 18s linear infinite; animation-play-state: paused; }
.alb-panel.is-playing .alb-art-disc { animation-play-state: running; }

/* The cover leans towards the pointer, with a soft light that follows it */
.alb-art { --tx: 0; --ty: 0; perspective: 900px; }
.alb-art-cover,
.alb-art::after {
  transform: rotateX(calc(var(--ty) * -6deg)) rotateY(calc(var(--tx) * 8deg));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}
.alb-art.is-tilt .alb-art-cover,
.alb-art.is-tilt::after { transition-duration: 0.1s, 0.3s; }
.alb-art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at calc(50% + var(--tx) * 45%) calc(50% + var(--ty) * 45%), rgba(255, 255, 255, 0.3), transparent 58%);
  opacity: 0;
  pointer-events: none;
}
.alb-art.is-tilt::after { opacity: 1; }

/* Short laptop screens: the sticky panel must fit between the header and the player bar */
@media (min-width: 1025px) {
  .alb-art { width: min(82%, max(150px, calc(100vh - 610px))); }
}
@media (min-width: 1025px) and (max-height: 800px) {
  .alb-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .alb-actions { margin-bottom: 16px; }
  .alb-art { margin-bottom: 16px; }
}
@media (max-width: 768px) {
  .alb-swap { display: none; }
  .trl { padding: 24px 6px 14px; border-radius: 18px; }
  .trl-grid { row-gap: 16px; }
  .trl-dot { width: 48px; height: 48px; }
  .trl-name { font-size: 0.72rem; max-width: 12ch; }
  .trl-hint { font-size: 0.94rem; }
  .trl-compass { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .trl-node.is-playing .trl-disc,
  .trl-node.is-playing .trl-dot::after,
  .alb-panel.has-now .alb-art-disc { animation: none; }
  .alb-art-cover, .alb-art::after { transform: none; }
}

/* ---- Offline awareness (airplane mode) ---- */
.wj-offline-pill {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 50%;
  z-index: 2150;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 6px;
  border-radius: 0 0 14px 14px;
  background: color-mix(in srgb, var(--jny-accent) 22%, rgba(8, 12, 24, 0.92));
  border: 1px solid var(--jny-line);
  border-top: 0;
  color: #fff;
  font: 600 0.74rem/1.2 'Outfit', system-ui, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wj-offline-pill i { color: var(--jny-accent); font-size: 0.85em; }
.wj-offline .wj-offline-pill { display: inline-flex; transform: translate(-50%, 0); animation: wjPillIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes wjPillIn { from { transform: translate(-50%, -110%); } to { transform: translate(-50%, 0); } }

/* Songs that are not saved on this device fade back while offline */
.wj-offline #albumSection .track-item.is-unsaved,
.wj-offline #albumSection .trl-node.is-unsaved {
  opacity: 0.38;
  filter: saturate(0.5);
  transition: opacity 0.25s ease;
}
.wj-offline #albumSection .track-item.is-unsaved:hover,
.wj-offline #albumSection .trl-node.is-unsaved:hover { opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  .wj-offline .wj-offline-pill { animation: none; }
}
