/* Listening controls are separate from the links to each song's story. */
:root { --album-dawn: #edc772; --album-night: #8ba9e8; --album-fire: #ed973d; }
.track-list li { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid rgba(var(--site-accent-rgb, 235, 183, 93), .12); }
.track-list .track-button { flex: 1; min-width: 0; border-bottom: 0; grid-template-columns: 1.5rem minmax(0, 1fr); }
.track-list .song-link::after { display: none; }
.track-list .track-unreleased { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }
.track-actions { display: flex; flex: 0 0 auto; gap: .2rem; }
.track-play, .favorite-song { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; padding: .5rem; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.track-play { border-color: var(--line); color: var(--gold-light); background: var(--site-surface-2, #20170d); }
.track-play:hover, .track-play[aria-pressed="true"], .favorite-song:hover { border-color: var(--gold); color: var(--gold-pale); background: var(--site-surface-3, #352412); }
.favorite-song[data-favorite-album="0"] { --favorite-color: var(--album-dawn); }
.favorite-song[data-favorite-album="1"] { --favorite-color: var(--album-night); }
.favorite-song[data-favorite-album="2"] { --favorite-color: var(--album-fire); }
.favorite-song[aria-pressed="true"] { color: var(--favorite-color, var(--gold-light)); }
.favorite-song[aria-pressed="true"] svg { fill: currentColor; }
.favorite-song svg { flex-shrink: 0; }
.favorite-with-label { width: auto; height: auto; min-height: 2.75rem; flex-basis: auto; gap: .5rem; border-radius: .25rem; font-size: .875rem; }
.favorites-launch { display: flex; align-items: center; gap: .7rem; width: fit-content; margin: -.7rem 0 1.3rem auto; padding: .45rem .65rem; min-height: 2.75rem; border: 0; color: var(--gold-light); background: transparent; cursor: pointer; font-size: .875rem; text-decoration: none; }
[data-favorites-count] { display: inline-grid; place-items: center; min-width: 1.5rem; min-height: 1.5rem; padding: .1rem .3rem; border-radius: 1rem; background: var(--site-surface-3, #332416); color: var(--gold-pale); font-size: .75rem; }
.search-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.search-filters button, .cover-dialog-sides button { min-height: 2.75rem; padding: .5rem .8rem; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.search-filters button[aria-pressed="true"], .cover-dialog-sides button[aria-pressed="true"] { color: var(--gold-pale); background: var(--site-surface-3, #302211); border-color: var(--gold); }
.favorites-note { color: var(--muted); font-size: .8125rem; }
#favorites-intro .button { min-height: 2.75rem; font-size: .8rem; }
.search-results li { gap: .3rem; }
.search-results .favorite-song { flex-shrink: 0; }
.mini-controls { grid-column: 1 / -1; align-items: center; gap: .4rem; padding: .5rem; border-top: 1px solid var(--line); }
.mini-controls button:disabled { cursor: default; }
.mini-controls #mini-queue-toggle { width: auto; min-width: 0; margin-left: auto; padding: .4rem .6rem; font-size: .75rem; }
#mini-queue-toggle[aria-expanded="true"] { border-color: var(--gold); background: var(--site-surface-3, #352412); }
.mini-controls #mini-close { margin-left: auto; }
.mini-queue-list { grid-column: 1 / -1; max-height: min(25dvh, 12rem); overflow-y: auto; overscroll-behavior: contain; padding: .35rem .7rem .6rem 2.4rem; margin: 0; border-top: 1px solid var(--line); color: var(--muted); }
.mini-queue-list button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 2.75rem; padding: .5rem; color: var(--muted); border: 0; border-bottom: 1px solid #ffffff0a; background: none; text-align: left; cursor: pointer; font-size: .8125rem; }
.mini-queue-list button[aria-current], .mini-queue-list button:hover { color: var(--gold-pale); background: var(--site-surface-3, #302211); }
.mini-queue-list small { flex: 0 0 auto; font-size: .6875rem; }

/* Album light and halo colors belong to each chapter, independently of the site theme. */
.album-visual { background: var(--site-surface-1, #100e0c); }
.album-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.album-light-dawn { background: radial-gradient(ellipse at 50% 45%, #edc77240, #9d6b2312 60%, transparent 85%); }
.album-light-night { background: radial-gradient(ellipse at 50% 45%, #608bd950, #41477b20 60%, transparent 85%); }
.album-light-fire { background: radial-gradient(ellipse at 50% 45%, #ed973d48, #b0402024 60%, transparent 85%); }
[data-album-tone="0"] .album-light-dawn, [data-album-tone="1"] .album-light-night, [data-album-tone="2"] .album-light-fire { opacity: 1; }
.album-halo { transition: border-color .8s, box-shadow .8s; }
[data-album-tone="1"] .album-halo { border-color: #8ba9e833; box-shadow: 0 0 90px #7298dc22; }
[data-album-tone="2"] .album-halo { border-color: #efac5738; box-shadow: 0 0 90px #d9582a29; }

/* Keep the introduction beside the music, with stories in a reading window. */
.saga-section > .saga-heading { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); scroll-margin-top: 6rem; }
.saga-section .saga-heading-title > .eyebrow { margin: 0 0 .65rem; color: var(--gold-light); font-size: .75rem; }
.saga-heading-copy { align-self: center; }
.saga-section .saga-heading-copy > p { margin: 0; }
.story-trigger { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3rem; margin-top: 1rem; padding: .75rem 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--gold-light); text-align: left; font: inherit; cursor: pointer; }
.story-trigger:hover, .story-trigger:focus-visible { color: var(--gold-pale); }
.story-trigger > [aria-hidden] { font-size: 1.25rem; }
.album-stage { min-height: 0; }
.album-stage > .album-visual { align-content: start; gap: 1.5rem; padding: clamp(1.5rem, 2.7vw, 2.5rem); }
.album-overviews { position: relative; z-index: 2; display: grid; width: 100%; min-width: 0; }
.album-overview { position: relative; grid-area: 1 / 1; align-self: start; min-width: 0; width: 100%; }
.album-overview-reserve { visibility: hidden; pointer-events: none; user-select: none; }
.album-overview h3 { margin: .6rem 0 1rem; font: 400 clamp(2.3rem, 3.3vw, 3.4rem)/1.06 var(--serif); overflow-wrap: break-word; }
.album-overview[data-overview-album="1"] h3 { margin-bottom: .5rem; font-size: clamp(1.65rem, 2.15vw, 2rem); line-height: 1.05; }
.album-overview .album-description { min-height: 0; font-size: .9375rem; line-height: 1.65; }
.album-stage > .album-info { padding: clamp(1.5rem, 2.7vw, 2.5rem); }
.album-info > .story-trigger { margin-top: 0; padding-top: 0; border-top: 0; border-bottom: 1px solid var(--line); }
.album-info > .track-heading { margin-top: 1.5rem; }

.story-dialog { --story-width: 54rem; --story-accent: var(--album-dawn); --story-glow: 237, 199, 114; width: min(var(--story-width), calc(100vw - 2rem)); max-width: calc(100vw - 2rem); max-height: calc(100svh - 2rem); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: .5rem; background: var(--site-surface-1, #100d0a); box-shadow: var(--shadow); }
.story-dialog[data-story="journey"] { --story-width: 80rem; }
.story-dialog[data-album-tone="1"] { --story-accent: var(--album-night); --story-glow: 139, 169, 232; }
.story-dialog[data-album-tone="2"] { --story-accent: var(--album-fire); --story-glow: 237, 151, 61; }
.story-dialog-heading { position: sticky; top: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 0 0, rgba(var(--story-glow), .15), transparent 75%), var(--site-surface-1, #100d0a); }
.story-dialog-heading > div { min-width: 0; }
.story-dialog-heading .album-kicker { color: var(--story-accent); }
.story-dialog-heading h2 { margin: .65rem 0 0; font: 400 clamp(2rem, 3.5vw, 3rem)/1.1 var(--serif); overflow-wrap: break-word; }
.story-dialog-heading .dialog-close { position: static; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; }
.story-dialog-body { padding: 1.25rem 2rem 2rem; }
.story-reading .prose { max-width: 44rem; margin-inline: auto; }
.story-reading .prose p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .saga-section > .saga-heading { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 760px) {
  .album-stage > .album-visual { gap: 1.25rem; padding: 1.5rem 1.1rem; }
  .album-overview h3 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .album-stage > .album-info { padding: 1.5rem 1.1rem; }
  .story-dialog { width: calc(100vw - 1rem); max-width: calc(100vw - 1rem); max-height: calc(100svh - 1rem); }
  .story-dialog-heading { padding: 1.1rem; gap: .75rem; }
  .story-dialog-heading h2 { font-size: 1.8rem; }
  .story-dialog-heading .album-kicker { font-size: .65rem; }
  .story-dialog-body { padding: 1rem 1.1rem 1.5rem; }
}

.cover-zoom { position: relative; display: block; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; color: var(--ivory); }
.cover-zoom img { display: block; }
.album-visual .cover-zoom { z-index: 2; max-width: 31rem; }
.album-visual .cover-zoom img { width: 100%; }
.song-cover-zoom { max-width: 32rem; align-self: start; }
.zoom-cue { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid #e5c69370; border-radius: 50%; background: color-mix(in srgb, var(--site-surface-0, #090807) 85.4902%, transparent); color: var(--gold-pale); font-size: 1.5rem; transition: background .2s; }
.cover-zoom:hover .zoom-cue { background: var(--site-surface-3, #453018); }
.cover-dialog { width: calc(100vw - 2rem); max-width: none; height: calc(100dvh - 2rem); max-height: none; margin: 1rem auto; padding: 1rem; border: 1px solid var(--line); background: var(--site-surface-0, #0a0807); color: var(--ivory); }
.cover-dialog[open] { display: flex; flex-direction: column; gap: .8rem; }
.cover-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-shrink: 0; }
.cover-dialog-heading .eyebrow { margin: 0 0 .25rem; font-size: .65rem; }
.cover-dialog-heading h2 { margin: 0; font: 400 clamp(1.2rem, 3vw, 1.7rem)/1.2 var(--serif); }
.cover-dialog .dialog-close { position: static; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; }
.cover-dialog-art { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; }
.cover-dialog-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cover-dialog-sides { display: flex; flex-shrink: 0; justify-content: center; gap: .5rem; }
.member-navigation { position: sticky; top: 0; z-index: 5; grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; gap: .5rem; padding: .6rem 4rem .6rem .8rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--site-surface-1, #100d0a) 98.0392%, transparent); }
.member-navigation button { min-height: 2.75rem; padding: .45rem .75rem; color: var(--gold-pale); border: 1px solid var(--line); background: var(--site-surface-2, #22180f); cursor: pointer; }
.member-navigation button:hover { border-color: var(--gold); }
.member-dialog .member-dialog-image { top: 4rem; grid-row: 2; }
.member-dialog .dialog-close { position: sticky; grid-column: 2; grid-row: 1; justify-self: end; align-self: center; top: .65rem; margin-right: .6rem; width: 2.75rem; height: 2.75rem; z-index: 6; }
.member-dialog .member-dialog-copy { grid-column: 2; grid-row: 2; }
.member-play { display: inline-grid; place-items: center; vertical-align: middle; width: 2rem; height: 2rem; margin-inline: .25rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--site-surface-2, #22180f); color: var(--gold-light); cursor: pointer; font-size: .65rem; }
.member-play:hover, .member-play[aria-pressed="true"] { border-color: var(--gold); background: var(--site-surface-3, #352412); }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.social-links .button { min-height: 2.75rem; font-size: .8rem; }
@media (max-width: 1000px) {
  #latest-zoom { grid-row: span 2; align-self: start; }
}
@media (max-width: 760px) {
  #latest-zoom { grid-row: 1; }
  .song-cover-zoom { max-width: 28rem; margin-inline: auto; }
  .album-visual .cover-zoom { max-width: 19rem; }
  /* Keep the reading frame anchored when mobile browser chrome changes height.
     Only the content scrolls; gestures must not drag the page behind the modal. */
  html:has(.member-dialog[open]) { overflow: hidden; overscroll-behavior: none; }
  .member-dialog {
    inset: max(1rem, env(safe-area-inset-top)) 0 auto;
    margin: 0 auto;
    height: calc(100svh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom)));
    max-height: calc(100svh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
    touch-action: pan-y pinch-zoom;
  }
  .member-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: min-content min-content max-content; align-content: start; }
  .member-dialog .dialog-close { grid-column: 1; grid-row: 1; }
  .member-dialog .member-dialog-copy { grid-column: 1; grid-row: 3; }
  .member-dialog .member-dialog-image { top: 0; position: relative; }
  .member-play { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 600px) {
  .search-result-link img { width: 2.5rem; height: 2.5rem; }
  .mini-controls { gap: .25rem; }
  .mini-controls #mini-queue-toggle { padding-inline: .35rem; font-size: .6875rem; }
  .mini-controls button { flex-shrink: 0; }
  .mini-controls #mini-queue-toggle { flex-shrink: 1; }
  .cover-dialog { padding: .7rem; width: calc(100vw - 1rem); }
  .track-list li { gap: .2rem; }
  .track-list .track-button { gap: .35rem; font-size: .9375rem; }
}

/* A direct home for the listener's saved songs. */
.site-nav .nav-favorites { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-width: 2.75rem; min-height: 2.75rem; color: var(--gold-light); }
.nav-favorites svg { flex: 0 0 auto; }
.nav-favorites-label { display: none; }
.nav-favorites[aria-current] svg { fill: currentColor; }
.favorites-page .site-header { background: var(--site-surface-0, #090807); }
.favorites-main { position: relative; z-index: 1; min-height: calc(100svh - 6rem); padding: 9rem var(--content-inset) 4rem; }
.favorites-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.favorites-page-heading h1 { margin: 0; font: 400 clamp(3rem, 6vw, 5.5rem)/1.05 var(--serif); letter-spacing: -.04em; }
.favorites-page-heading h1 em { color: var(--gold-pale); font-weight: 400; }
.favorites-page-intro { max-width: 38rem; margin: 1.2rem 0 .5rem; color: #c8beb1; font-size: 1.05rem; }
.favorites-page-heart { flex: 0 0 auto; width: clamp(5rem, 12vw, 9rem); height: auto; margin-inline: 2rem; color: var(--gold); filter: drop-shadow(0 0 20px #dba34b35); }
.favorites-collection { border: 1px solid var(--line); background: linear-gradient(135deg, var(--site-surface-2, #1b140d), var(--site-surface-0, #0e0b09)); }
.favorites-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.favorites-toolbar > p { margin: 0; color: var(--muted); font-size: .875rem; }
.favorites-toolbar .button { min-height: 2.75rem; font-size: .8125rem; letter-spacing: .02em; text-transform: none; }
.favorites-toolbar .button:disabled { opacity: .45; cursor: default; transform: none; }
.favorites-list { list-style: none; padding: 0 1.5rem; margin: 0; }
.favorites-list li { display: flex; align-items: center; gap: 1rem; min-width: 0; border-bottom: 1px solid var(--line); }
.favorites-list li:last-child { border-bottom: 0; }
.favorite-page-link { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; padding-block: 1rem; text-decoration: none; }
.favorite-page-link img { flex: 0 0 4rem; width: 4rem; height: 4rem; object-fit: contain; border-radius: .2rem; }
.favorite-page-link > span { min-width: 0; }
.favorite-page-link strong { display: block; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.favorite-page-link small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-top: .3rem; }
.favorite-page-link .track-now { display: table; width: fit-content; color: var(--gold-pale); font-size: .6875rem; }
.favorite-page-link:hover strong, .favorite-page-link.is-playing strong { color: var(--gold-pale); }
.favorite-page-actions { display: flex; align-items: center; flex: 0 0 auto; gap: .5rem; }
.favorites-empty { padding: 3rem 1.5rem; text-align: center; }
.favorites-empty > span { color: var(--gold); font-size: 3rem; line-height: 1; }
.favorites-empty h2 { margin: 1rem 0 .75rem; font: 400 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--serif); }
.favorites-empty p { max-width: 30rem; margin: 0 auto 1.5rem; color: var(--muted); }
.favorites-empty .button { min-height: 2.75rem; font-size: .8125rem; }
.favorites-back { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 1.5rem; color: var(--gold-light); font-size: .875rem; text-underline-offset: .3em; }

/* The ribbon opens favourites; it never starts playback on its own. */
.favorites-ribbon { display: flex; max-width: var(--content-width); margin: 1rem auto 0; border: 1px solid var(--line); border-radius: .2rem; background: var(--site-surface-2, #19120b); }
.favorites-ribbon-link { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 2.8rem; overflow: hidden; color: var(--gold-pale); text-decoration: none; }
.ribbon-track { display: flex; flex: 0 0 auto; width: max-content; animation: favorites-ribbon-scroll 42s linear infinite; }
.ribbon-group { display: flex; align-items: center; justify-content: space-around; flex: 0 0 auto; min-width: max(100vw, 60rem); gap: 3rem; padding-inline: 1.5rem; }
.ribbon-group > span { white-space: nowrap; font-size: .875rem; letter-spacing: .045em; }
.ribbon-toggle { display: grid; place-items: center; flex: 0 0 2.8rem; width: 2.8rem; padding: .5rem; border: 0; border-left: 1px solid var(--line); background: var(--site-surface-2, #22180f); color: var(--gold-light); cursor: pointer; font-size: .75rem; }
.ribbon-toggle:hover { background: var(--site-surface-3, #352412); }
.favorites-ribbon:hover .ribbon-track, .favorites-ribbon:focus-within .ribbon-track, .favorites-ribbon[data-paused="true"] .ribbon-track { animation-play-state: paused; }
@keyframes favorites-ribbon-scroll { to { transform: translateX(-50%); } }
html[data-motion="reduced"] .ribbon-track { width: 100%; transform: none; }
html[data-motion="reduced"] .ribbon-group { width: 100%; min-width: 0; padding-inline: .5rem; }
html[data-motion="reduced"] .ribbon-group + .ribbon-group, html[data-motion="reduced"] .ribbon-group > span + span, html[data-motion="reduced"] .ribbon-toggle { display: none; }
@media (max-width: 1000px) {
  .nav-favorites-label { display: inline; }
  .site-nav .nav-favorites { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .favorites-main { padding-top: 6.5rem; padding-bottom: 2.5rem; }
  .favorites-page-heading { gap: .75rem; margin-bottom: 1.5rem; }
  .favorites-page-heading h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
  .favorites-page-heart { display: none; }
  .favorites-page-intro { font-size: 1rem; }
  .favorites-toolbar { padding: 1rem; gap: .6rem; flex-wrap: wrap; }
  .favorites-list { padding-inline: 1rem; }
  .favorites-list li { gap: .4rem; }
  .favorite-page-link { gap: .65rem; }
  .favorite-page-link img { flex-basis: 3rem; width: 3rem; height: 3rem; }
  .favorite-page-link strong { font-size: .9375rem; }
  .favorite-page-link small { font-size: .75rem; }
  .favorite-page-actions { gap: .1rem; }
  .favorites-empty { padding: 2rem 1rem; }
}

/* Listening options stay secondary to the song and its main play button. */
.favorites-options { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .8rem 1.5rem; border-bottom: 1px solid var(--line); }
.favorites-options button:not(.button), .reading-toolbar button { min-width: 2.75rem; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--gold-light); background: var(--site-surface-2, #1c150e); cursor: pointer; font: inherit; font-size: .8125rem; }
.favorites-options button:not(.button):hover, .reading-toolbar button:hover { border-color: var(--gold); }
.favorites-options button:not(.button)[aria-pressed="true"], .reading-toolbar button[aria-pressed="true"] { background: var(--site-surface-3, #382817); border-color: var(--gold); color: var(--gold-pale); }
.favorites-options button:disabled, .reading-toolbar button:disabled { opacity: .4; cursor: default; }
.favorites-toolbar .favorites-options { margin-left: auto; padding: 0; border: 0; justify-content: flex-end; }
.favorites-drag-hint { margin: 0; padding: .75rem 1.5rem; color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.favorites-sort-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.favorites-list [data-favorite-row] { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.favorites-list [data-favorite-row] a, .favorites-list [data-favorite-row] img { -webkit-touch-callout: none; -webkit-user-drag: none; }
.favorite-drag-handle { display: inline-grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 1px solid transparent; border-radius: .25rem; color: #a69884; background: transparent; cursor: grab; }
.favorite-drag-handle:hover, .favorite-drag-handle:focus-visible { color: var(--gold-pale); border-color: var(--gold); background: var(--site-surface-3, #352412); }
.favorites-list.is-dragging { overflow-anchor: none; }
.favorites-list .is-drag-source { outline: 1px dashed var(--gold); outline-offset: -1px; border-radius: .3rem; background: #dba34b13; }
.favorites-list .is-drag-source > * { visibility: hidden; }
.favorites-list.favorite-drag-preview { position: fixed; z-index: 105; top: 0; left: 0; margin: 0; padding: 0; pointer-events: none; border-radius: .35rem; outline: 1px solid var(--gold); background: color-mix(in srgb, var(--site-surface-2, #23190f) 96.0784%, transparent); box-shadow: 0 12px 30px #000a; opacity: .96; will-change: transform; }
.favorite-drag-preview li { padding-inline: .2rem; }
html.favorites-dragging { scroll-behavior: auto; }
.favorites-dragging, .favorites-dragging * { cursor: grabbing !important; -webkit-user-select: none !important; user-select: none !important; }
@media (max-width: 600px) {
  .favorites-list [data-favorite-row] { padding-left: 2.5rem; }
  .favorites-list .favorite-drag-handle { position: absolute; left: -.25rem; top: .65rem; }
  .favorites-drag-hint { padding-inline: 1rem; }
  .favorite-drag-preview li { position: relative; padding-left: 2.5rem; }
}
#favorites-intro .favorites-options { border: 0; padding: .6rem 0; }
.song-options { position: relative; flex: 0 0 auto; align-self: center; }
.song-options > summary { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid transparent; border-radius: 50%; color: var(--muted); list-style: none; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.song-options > summary::-webkit-details-marker { display: none; }
.song-options[open] > summary, .song-options > summary:hover { color: var(--gold-pale); background: var(--site-surface-3, #302211); border-color: var(--line); }
.song-options[open] { z-index: 5; }
.song-options-popover { position: absolute; right: 0; top: calc(100% + .2rem); z-index: 6; width: max-content; max-width: min(17rem, calc(100vw - 3rem)); padding: .35rem; border: 1px solid var(--gold); border-radius: .3rem; background: var(--site-surface-2, #1b140d); box-shadow: 0 8px 25px #0009; }
.song-options-popover button { display: block; width: 100%; min-height: 2.75rem; padding: .65rem .8rem; color: var(--gold-pale); background: transparent; border: 0; border-radius: .2rem; text-align: left; font-size: .875rem; cursor: pointer; }
.song-options-popover button:hover { background: var(--site-surface-3, #332414); }
.song-options-popover button:disabled { opacity: .5; cursor: default; }
.song-options-popover small { display: block; padding: .25rem .8rem .6rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }

/* A quiet, brief response to an explicit favourite action. */
.favorite-song.is-favorite-added svg { animation: favorite-added .5s ease-out 1; transform-origin: center; }
@keyframes favorite-added { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.3); filter: drop-shadow(0 0 5px currentColor); } 65% { transform: scale(.94); } }
.site-notice { position: fixed; z-index: 130; top: 5.6rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .65rem; width: max-content; max-width: min(36rem, calc(100vw - 2rem)); padding: .65rem .75rem .65rem 1rem; border: 1px solid var(--gold); border-radius: .35rem; background: color-mix(in srgb, var(--site-surface-2, #21180f) 96.0784%, transparent); color: var(--gold-pale); box-shadow: 0 8px 30px #0008; font-size: .875rem; line-height: 1.5; }
.site-notice > span { min-width: 0; overflow-wrap: anywhere; }
.site-notice button { flex: 0 0 auto; min-height: 2.75rem; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: .2rem; background: var(--site-surface-3, #312316); color: var(--gold-pale); cursor: pointer; font-size: .8125rem; }
.site-notice #site-notice-close { width: 2.75rem; padding: .4rem; border-color: transparent; background: transparent; font-size: 1.4rem; }
.site-notice button:hover { border-color: var(--gold); }

/* Reading tools resize prose up to 200% while the site controls stay steady. */
.prose { font-size: calc(1rem * var(--reading-scale, 1)); }
.reading-toolbar { position: relative; z-index: 8; display: flex; align-items: center; justify-content: flex-end; gap: .5rem; grid-column: 1 / -1; align-self: start; width: 100%; margin: 0 0 1rem; }
.reading-settings { position: relative; flex-shrink: 0; }
.reading-toolbar .reading-toggle { display: flex; align-items: center; gap: .5rem; border-radius: .5rem; background: color-mix(in srgb, var(--site-surface-1, #16110c) 85%, transparent); }
.reading-toggle.has-preference { border-color: var(--gold); }
.reading-chevron { font-size: 1rem; line-height: 1; }
.reading-toggle[aria-expanded="true"] .reading-chevron { transform: rotate(180deg); }
.reading-panel { position: absolute; z-index: 9; top: calc(100% + .5rem); right: 0; width: min(19rem, calc(100vw - 5.5rem)); padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--site-surface-1, #16110c); box-shadow: 0 16px 45px #0009; }
.reading-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .5rem; }
.reading-panel-heading strong { font-size: .875rem; font-weight: 500; color: var(--ivory); }
.reading-toolbar [data-reading-dismiss] { margin: -.5rem -.5rem 0 0; border-color: transparent; background: transparent; font-size: 1.35rem; }
.reading-toolbar .reading-label { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .75rem; }
.reading-size { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; gap: .3rem; }
.reading-toolbar output { min-width: 3rem; text-align: center; color: var(--gold-pale); font-size: .75rem; font-variant-numeric: tabular-nums; }
.reading-toolbar .reading-mode { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; margin-top: 1rem; text-align: left; }
.reading-switch { position: relative; width: 1.8rem; height: 1rem; flex-shrink: 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--site-surface-0, #090807); }
.reading-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: .625rem; height: .625rem; border-radius: 50%; background: var(--muted); }
.reading-mode[aria-pressed="true"] .reading-switch { border-color: var(--gold); }
.reading-mode[aria-pressed="true"] .reading-switch::after { left: auto; right: 2px; background: var(--gold-light); }
.reading-panel .reading-help { margin: .6rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.reading-panel .reading-scope { margin: .8rem 0 0; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .6875rem; line-height: 1.6; }
.reading-sections { display: flex; align-items: center; gap: .2rem; margin-right: auto; min-width: 0; }
.reading-sections a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .8rem; border-radius: .4rem; color: var(--muted); text-decoration: none; font-size: .875rem; }
.reading-sections > span { color: var(--gold); }
.reading-sections a[aria-current] { color: var(--gold-pale); background: var(--site-surface-3, #382817); box-shadow: inset 0 -1px var(--gold); }
.reading-sections a:hover { color: var(--gold-light); }
.reading-details > .reading-toolbar { margin-top: .8rem; }
.song-reading { row-gap: 1.5rem; }
.song-reading > .reading-toolbar { margin: 0; z-index: 10; }
.song-reading[data-reading-navigation="true"] > .reading-toolbar { position: sticky; top: var(--reading-top, 6rem); padding: .3rem; border: 1px solid var(--line); border-radius: .65rem; background: color-mix(in srgb, var(--site-surface-0, #090807) 96%, transparent); box-shadow: 0 6px 20px #0004; }
.song-reading[data-reading-navigation="true"] > :is(#story, #lyrics) { scroll-margin-top: calc(var(--reading-top, 6rem) + var(--reading-bar-height, 3.5rem) + .75rem); }
#story { scroll-margin-top: 6rem; }
.member-dialog[data-member-theme] .member-dialog-copy > .reading-toolbar[data-reading-controls] { z-index: 4; }
html[data-reading-mode="comfortable"] .prose { max-width: 68ch; color: #eee3d2; line-height: 1.95; }
html[data-reading-mode="comfortable"] .song-reading { grid-template-columns: minmax(0, 1fr); max-width: 76ch; margin-inline: auto; }
html[data-reading-mode="comfortable"] .song-reading > section { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .3rem; background: var(--site-surface-1, #15110d); }
html[data-reading-mode="comfortable"] .song-reading > .song-lyrics { width: 100%; }
@media (max-width: 600px) {
  .favorites-options { padding-inline: 1rem; }
  .favorites-toolbar .favorites-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); width: 100%; }
  .favorites-toolbar .button { grid-column: 1 / -1; }
  .favorites-list li, .search-results li { flex-wrap: wrap; justify-content: flex-end; gap: .25rem; padding-bottom: .65rem; }
  .favorite-page-link, .search-result-link { flex-basis: 100%; padding-bottom: .5rem; }
  .favorite-page-actions { gap: .4rem; }
  .site-notice { top: 5.25rem; gap: .3rem; max-width: calc(100vw - 1rem); padding: .5rem; font-size: .8125rem; }
  .reading-sections a { padding-inline: .55rem; font-size: .8125rem; }
  .reading-toolbar .reading-toggle { padding-inline: .6rem; gap: .35rem; }
  .reading-toggle svg { width: 16px; height: 16px; }
}
@media (max-width: 420px) {
  .track-list li { flex-wrap: wrap; justify-content: flex-end; padding-bottom: .5rem; }
  .track-list .track-button { flex-basis: 100%; }
}

/* Interactive host placement for the portable Spark experience. */
.spark-main { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 9rem clamp(1rem, 4vw, 3rem) 4rem; }
.spark-home-link { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin: 0 0 1.3rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .3rem; color: var(--gold-light); background: linear-gradient(100deg, var(--site-surface-2, #27190d), var(--site-surface-1, #15110d)); text-decoration: none; }
.spark-home-link span:not(.nav-sparkles) { font-size: .875rem; color: var(--muted); }
.spark-home-link > strong, .spark-home-link > span:not(.nav-sparkles) { position: relative; z-index: 1; }
.spark-home-link strong { font-weight: 600; }
.spark-home-link:hover, .spark-home-link:focus-visible { border-color: var(--gold-light); }
.spark-page .site-header { background: var(--site-surface-0, #090807); border-bottom-color: var(--line); }
@media (min-width: 1001px) and (max-width: 1380px) {
  .site-header { gap: 1rem; padding-inline: 1.3rem; }
  .site-nav { gap: .85rem; }
  .site-nav a { letter-spacing: .05em; font-size: .75rem; white-space: nowrap; }
  .brand { width: 8rem; }
  .header-branding { gap: .6rem; }
}

@media (max-width: 600px) { .spark-main { padding: 7rem 1rem 2rem; } }

/* Both photographs stay uncropped; each has its own illumination and hit map. */
.saga-section { padding-bottom: clamp(1rem, 2vw, 1.75rem); }
.band-section { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.closing { --contact-top-inset: clamp(1.25rem, 2.5vw, 2rem); padding-top: var(--contact-top-inset); }
/* Match native hash landing after page load to the routed emblem anchor. */
#kontakt { scroll-margin-top: calc(6rem - var(--contact-top-inset)); }
#contact-mark { scroll-margin-top: 6rem; }
.band-stage-shell { width: calc(100% - 2 * var(--content-inset)); max-width: var(--content-width); margin-inline: auto; }
.band-stage-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 1rem 1.5rem; margin-bottom: 1.5rem; scroll-margin-top: 6rem; }
.band-stage-heading h2 { margin: 0; font: 400 clamp(2.4rem, 4vw, 4rem)/1.1 var(--serif); }
.band-stage-heading > p { margin: 0; max-width: 28rem; color: var(--ivory); font-size: .9375rem; line-height: 1.8; }
.band-stage-heading > p span { color: var(--muted); }
.band-scene-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding-bottom: .2rem; }
.band-scene-switch button { min-height: 2.75rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: .2rem; background: var(--site-surface-1, #14100b); color: var(--muted); font: 600 .6875rem/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.band-scene-switch button:hover { color: var(--gold-pale); border-color: var(--gold); }
.band-scene-switch button[aria-pressed="true"] { color: var(--gold-pale); border-color: var(--gold); background: var(--site-surface-3, #302211); box-shadow: inset 0 0 18px #dca54415; }
.band-scene-switch button:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 3px; }
.band-stage { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(18rem, 1fr); align-items: stretch; border: 1px solid var(--line); background: var(--site-surface-1, #100e0b); box-shadow: 0 20px 60px #0005; }
.band-stage-visual { min-width: 0; align-self: center; }
.band-stage-photo { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; background: var(--site-surface-1, #14100c); }
.band-stage-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.band-stage-base { filter: saturate(.55) brightness(.55); }
.band-stage-photo > .band-stage-light { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(to right, transparent calc(var(--stage-focus) - 15%), #000 calc(var(--stage-focus) - 5%), #000 calc(var(--stage-focus) + 5%), transparent calc(var(--stage-focus) + 15%)); -webkit-mask-image: linear-gradient(to right, transparent calc(var(--stage-focus) - 15%), #000 calc(var(--stage-focus) - 5%), #000 calc(var(--stage-focus) + 5%), transparent calc(var(--stage-focus) + 15%)); }
.band-stage-photo::after { content: ''; position: absolute; inset: 55% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent, color-mix(in srgb, var(--site-surface-0, #090706) 93.3333%, transparent)); }
.band-stage-hitareas { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 22fr 14fr 15fr 16fr 15fr 18fr; }
.band-stage-hitareas span { cursor: pointer; touch-action: manipulation; }
.band-stage-photo[data-scene="council"] { aspect-ratio: 3 / 2; }
.band-stage-photo[data-scene="council"] > .band-stage-light { clip-path: var(--stage-light-shape); mask-image: radial-gradient(ellipse var(--stage-radius-x) var(--stage-radius-y) at var(--stage-focus) var(--stage-focus-y), #000 35%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse var(--stage-radius-x) var(--stage-radius-y) at var(--stage-focus) var(--stage-focus-y), #000 35%, transparent 100%); }
.band-stage-photo[data-scene="council"] .band-stage-hitareas { display: block; }
.band-stage-photo[data-scene="council"] [data-stage-hit] { position: absolute; inset: 0; clip-path: var(--stage-hit-shape); }
.band-stage-caption { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 3; display: flex; flex-direction: column; gap: .3rem; pointer-events: none; }
.band-stage-caption strong { color: var(--gold-pale); font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.15 var(--serif); }
.band-stage-caption span { color: #e0d2bd; font-size: .75rem; }
.band-stage-photo-hint { position: absolute; right: 1.2rem; bottom: 1.4rem; z-index: 3; max-width: 8rem; color: var(--muted); font-size: .6875rem; line-height: 1.5; text-align: right; pointer-events: none; }
.band-member-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.band-member-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; padding: .85rem .2rem .75rem; border: 0; border-top: 2px solid transparent; background: var(--site-surface-1, #15110d); color: var(--muted); cursor: pointer; font: inherit; transition: background .2s, color .2s; }
.band-tab-portrait { width: 3rem; height: 3rem; overflow: hidden; border: 1px solid var(--site-surface-4, #51402b); border-radius: 50%; background: var(--site-surface-0, #0d0a08); }
.band-tab-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.6); transform-origin: 50% 15%; filter: saturate(.65); }
.band-member-tab[data-member="georgi"] img { object-position: center 25%; transform-origin: 50% 50%; }
.band-member-tab strong { color: var(--ivory); font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.band-member-tab > span:last-child { font-size: .625rem; line-height: 1.3; }
.band-member-tab:hover { background: var(--site-surface-2, #251b11); }
.band-member-tab[aria-selected="true"] { border-top-color: var(--gold-light); background: var(--site-surface-3, #2b1e11); color: var(--gold-light); }
.band-member-tab[aria-selected="true"] strong { color: var(--gold-pale); }
.band-member-tab[aria-selected="true"] .band-tab-portrait { border-color: var(--gold); box-shadow: 0 0 16px #c88b3438; }
.band-member-tab[aria-selected="true"] img { filter: none; }
.band-member-tab:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: -4px; z-index: 1; }
.band-member-panel { min-width: 0; display: flex; align-items: center; border-left: 1px solid var(--line); background: radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--site-surface-3, #33210f) 40.0000%, transparent), transparent 65%), var(--site-surface-1, #15100c); }
.band-member-panel:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: -4px; }
.band-stage-portrait { display: none; }
.band-stage[data-selected-member="georgi"] .band-stage-portrait img { object-position: center 45%; }
.band-member-copy { width: 100%; padding: clamp(1.4rem, 2.5vw, 2.2rem); }
.band-stage-role { margin: 0 0 .65rem; color: var(--gold-light); font-size: .6875rem; letter-spacing: .07em; line-height: 1.7; }
.band-member-copy h3 { margin: 0; color: var(--ivory); font: 400 clamp(2.3rem, 3.4vw, 3.5rem)/1.1 var(--serif); }
.band-stage-title { margin: .65rem 0 1.4rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.band-member-copy blockquote { margin: 0 0 1.2rem; padding-left: .9rem; border-left: 2px solid var(--gold); color: var(--gold-pale); font: italic 1.125rem/1.55 var(--serif); }
.band-stage-description { margin: 0 0 1.5rem; color: #c2b7a8; font-size: .875rem; line-height: 1.75; }
.band-stage-actions { display: grid; gap: .6rem; }
.band-stage-actions .button { width: 100%; min-height: 2.8rem; padding: .8rem .5rem; font-size: .6875rem; letter-spacing: .04em; text-align: center; }
#member-favorite-heading { scroll-margin-top: 5rem; }
.band-section .band-story { width: calc(100% - 2 * var(--content-inset)); max-width: var(--content-width); margin: 1.5rem auto 0; padding: 1rem 1.25rem; }
@media (max-width: 1100px) {
  .band-stage-heading { grid-template-columns: auto minmax(0, 1fr); }
  .band-stage-heading > p { grid-column: 1 / -1; }
  .band-scene-switch { justify-content: flex-end; }
  .band-stage { grid-template-columns: minmax(0, 1fr); }
  .band-member-panel { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); align-items: stretch; }
  .band-stage-portrait { display: block; position: relative; overflow: hidden; min-height: 22rem; background: var(--site-surface-0, #0d0b09); }
  .band-stage-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
  .band-stage-portrait::after { content: ''; position: absolute; inset: 70% 0 0; background: linear-gradient(transparent, var(--site-surface-1, #15100c)); pointer-events: none; }
  .band-member-copy { align-self: center; padding: 1.6rem; }
  .band-stage-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .band-stage-heading { grid-template-columns: minmax(0, 1fr); gap: .8rem; margin-bottom: 1.25rem; }
  .band-stage-heading .eyebrow { font-size: .625rem; letter-spacing: .12em; }
  .band-stage-heading > p { margin: 0; font-size: .8125rem; line-height: 1.6; }
  .band-scene-switch { justify-content: flex-start; gap: .4rem; }
  .band-scene-switch button { padding-inline: .6rem; font-size: .625rem; letter-spacing: .02em; }
  .band-stage-caption { left: .75rem; bottom: .65rem; }
  .band-stage-caption strong { font-size: 1.3rem; }
  .band-stage-caption span { display: none; }
  .band-stage-photo-hint { right: .75rem; bottom: .65rem; max-width: 7rem; font-size: .625rem; }
  .band-member-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .band-member-tab { padding: .65rem .2rem; }
  .band-tab-portrait { width: 2.7rem; height: 2.7rem; }
  .band-member-panel { grid-template-columns: minmax(0, 1fr); }
  .band-stage-portrait { min-height: 0; height: 17rem; }
  .band-stage-portrait img { object-position: center 15%; }
  .band-member-copy { padding: .9rem 1.25rem 1.5rem; }
  .band-member-copy h3 { font-size: 2.6rem; }
  .band-stage-title { margin-bottom: 1rem; }
  .band-stage-role { letter-spacing: .03em; }
  .band-stage-description { font-size: .875rem; margin-bottom: 1.1rem; }
  .band-stage-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Staggered sparks invite discovery; only the active section has gold text. */
.site-nav [data-section="tvoyata-iskra"]:not([aria-current="location"]) { color: var(--ivory); }
.nav-sparkles { position: absolute; inset: -.5rem -.4rem; pointer-events: none; }
.nav-sparkles i { position: absolute; display: block; width: 10px; height: 10px; opacity: 0; background: radial-gradient(circle, #fffdf4 0 20%, #ffdc8b 70%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.nav-sparkles i:nth-child(1) { left: 4%; top: 4%; --spark-delay: -.8s; }
.nav-sparkles i:nth-child(2) { left: 38%; bottom: 0; width: 8px; height: 8px; --spark-delay: -3.2s; }
.nav-sparkles i:nth-child(3) { right: 21%; top: 0; width: 8px; height: 8px; --spark-delay: -2s; }
.nav-sparkles i:nth-child(4) { right: 0; top: 42%; --spark-delay: -4.1s; }
.nav-sparkles i:nth-child(5) { left: 0; bottom: 0; width: 7px; height: 7px; --spark-delay: -2.6s; }
.nav-sparkles i:nth-child(6) { left: 25%; top: 0; width: 7px; height: 7px; --spark-delay: -4.8s; }
.nav-sparkles i:nth-child(7) { left: 62%; bottom: 0; --spark-delay: -.1s; }
.nav-sparkles i:nth-child(8) { right: 10%; bottom: 4%; width: 8px; height: 8px; --spark-delay: -1.4s; }
.spark-home-link .nav-sparkles { z-index: 0; inset: .15rem .4rem; }
.spark-home-link .nav-sparkles i { width: 12px; height: 12px; }
html[data-motion="full"] .nav-sparkles i { animation: nav-spark-twinkle 5.6s ease-in-out var(--spark-delay) infinite; }
html[data-motion="full"] .site-nav [data-section="tvoyata-iskra"],
html[data-motion="full"] .spark-home-link strong { animation: spark-text-glow 4.8s ease-in-out infinite; }
html[data-motion="full"] .spark-home-link { animation: spark-ribbon-glow 5.6s ease-in-out infinite; }
html[data-motion="reduced"] .nav-sparkles i:first-child,
html[data-motion="reduced"] .nav-sparkles i:nth-child(7) { opacity: .7; }
@keyframes nav-spark-twinkle {
  0%, 48%, 100% { opacity: 0; transform: translateY(2px) scale(.3) rotate(-15deg); }
  17% { opacity: 1; transform: translateY(0) scale(1.2) rotate(0); }
  30% { opacity: .6; transform: translateY(-2px) scale(.75) rotate(15deg); }
}
@keyframes spark-text-glow {
  0%, 100% { text-shadow: 0 0 3px #fff5df10; }
  50% { text-shadow: 0 0 7px #fff8ebaa, 0 0 18px #fff0ce60; }
}
@keyframes spark-ribbon-glow {
  0%, 100% { box-shadow: inset 0 0 16px #efaf3b05, 0 0 10px #efaf3b00; }
  50% { box-shadow: inset 0 0 24px #efaf3b18, 0 0 16px #efaf3b16; }
}
@media (max-width: 1000px) {
  html[data-motion="full"] .site-nav:not(.is-open) [data-section="tvoyata-iskra"],
  .site-nav:not(.is-open) .nav-sparkles i { animation-play-state: paused; }
  .site-nav .nav-sparkles { inset: 0 -.6rem; }
}

/* Individual light signatures: one motif per selected presentation. */
.member-keepsake { margin: 1.2rem 0 1.6rem; }
.member-keepsake .button { min-height: 46px; padding: .8rem 1.1rem; border-color: var(--member-edge, var(--line)); color: var(--member-accent, var(--gold-pale)); font-size: .75rem; gap: .6rem; }
.member-keepsake .button > span[aria-hidden] { font-size: 1.5rem; line-height: 1; }
.member-keepsake > p { margin: .65rem 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.member-card-dialog { border-color: var(--member-edge, var(--line)); }
.member-card-dialog .gift-heading h2 { color: var(--member-accent, var(--ivory)); }
.member-card-back { margin-top: .8rem; }
[data-member-theme] { --member-accent: #edc679; --member-rgb: 237, 198, 121; --member-base: #17110c; --member-edge: rgba(var(--member-rgb), .38); }
[data-member-theme="iskra"] { --member-accent: #f3d59b; --member-rgb: 243, 213, 155; --member-base: #1b150e; }
[data-member-theme="plamen"] { --member-accent: #e6b17a; --member-rgb: 230, 177, 122; --member-base: #20130e; }
[data-member-theme="zhivoslava"] { --member-accent: #ded3b7; --member-rgb: 222, 211, 183; --member-base: #131311; }
[data-member-theme="perun"] { --member-accent: #e6c483; --member-rgb: 230, 196, 131; --member-base: #17130f; }
[data-member-theme="vida"] { --member-accent: #d3aa84; --member-rgb: 211, 170, 132; --member-base: #130c0e; --member-edge: rgba(var(--member-rgb), .65); }
[data-member-theme="georgi"] { --member-accent: #d0c6aa; --member-rgb: 208, 198, 170; --member-base: #121515; }
.band-stage[data-member-theme] { border-color: var(--member-edge); }
.band-stage[data-member-theme] .band-member-panel { position: relative; isolation: isolate; overflow: hidden; background: var(--member-base); border-color: var(--member-edge); }
.band-stage[data-member-theme] .band-member-copy { position: relative; z-index: 2; }
.band-stage[data-member-theme] .band-stage-portrait { z-index: 1; }
.band-stage[data-member-theme] .band-stage-role,
.band-stage[data-member-theme] .band-member-copy blockquote { color: var(--member-accent); border-color: var(--member-accent); }
.band-stage[data-member-theme] .band-member-tab[aria-selected="true"] { border-top-color: var(--member-accent); background: var(--member-base); box-shadow: inset 0 0 22px rgba(var(--member-rgb), .08); }
.band-stage[data-member-theme] .band-member-tab[aria-selected="true"] .band-tab-portrait { border-color: var(--member-accent); box-shadow: 0 0 16px rgba(var(--member-rgb), .2); }
.member-dialog[data-member-theme] { border-color: var(--member-edge); background: var(--member-base); }
.member-dialog[data-member-theme] .member-dialog-copy { position: relative; isolation: isolate; overflow: hidden; }
.member-dialog[data-member-theme] .member-dialog-copy > :not(.member-aura) { position: relative; z-index: 2; }
.member-dialog[data-member-theme] .member-dialog-copy h3,
.member-dialog[data-member-theme] .member-dialog-copy blockquote { color: var(--member-accent); border-color: var(--member-accent); }
.member-dialog[data-member-theme] .member-dialog-image { box-shadow: inset -1px 0 var(--member-edge); }
.member-dialog[data-member-theme] .member-navigation { border-color: var(--member-edge); }
.member-aura { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; user-select: none; color: var(--member-accent); }
.member-aura-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0, rgba(var(--member-rgb), .16), transparent 62%); opacity: .9; }
.member-aura-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; opacity: .36; }
.member-dialog-copy > .member-aura { bottom: auto; height: min(45rem, 100%); mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.member-aura[data-motif="iskra"] .member-aura-glow { background: radial-gradient(ellipse at 95% 8%, rgba(var(--member-rgb), .23), transparent 57%), radial-gradient(ellipse at 0 100%, rgba(var(--member-rgb), .08), transparent 50%); }
.member-aura[data-motif="iskra"] .member-aura-lines { fill: currentColor; stroke: none; opacity: .7; }
.member-aura[data-motif="iskra"] i { position: absolute; width: 2px; height: 4px; border-radius: 50%; left: calc(12% + var(--spark-index) * 16%); bottom: calc(8% + var(--spark-index) * 6%); background: #ffe4aa; box-shadow: 0 0 7px #f9ce79; opacity: 0; }
.member-aura[data-motif="plamen"] .member-aura-glow { background: radial-gradient(ellipse at 100% 20%, #b6652b2e, transparent 65%), radial-gradient(ellipse at 0 100%, #a4502729, transparent 60%); }
.member-aura[data-motif="plamen"] .member-aura-lines { stroke-width: 1.4; opacity: .38; }
.member-aura[data-motif="zhivoslava"] .member-aura-glow { background: linear-gradient(120deg, transparent 62%, rgba(var(--member-rgb), .055) 62.1%, transparent 80%); }
.member-aura[data-motif="zhivoslava"] .member-aura-lines { opacity: .45; }
.member-aura[data-motif="zhivoslava"] circle { fill: currentColor; }
.member-aura[data-motif="perun"] .member-aura-glow { background: radial-gradient(ellipse at 95% 10%, rgba(var(--member-rgb), .15), transparent 48%); }
.member-aura[data-motif="perun"] .member-aura-lines { opacity: .32; }
.member-aura[data-motif="vida"] .member-aura-glow { background: linear-gradient(115deg, #08070855, #491e1714); }
.member-aura[data-motif="vida"] .member-aura-lines { opacity: .68; stroke-width: 1.15; }
.member-aura[data-motif="vida"] path + path { opacity: .3; }
.member-aura[data-motif="georgi"] .member-aura-glow { background: radial-gradient(ellipse at 90% 15%, rgba(var(--member-rgb), .09), transparent 60%), radial-gradient(ellipse at 0 90%, #a8956120, transparent 55%); }
.member-aura[data-motif="georgi"] .member-aura-lines { fill: currentColor; fill-opacity: .09; stroke-opacity: .27; opacity: .9; }
/* Finite entrances; reduced motion preserves the distinct static designs. */
html[data-motion="full"] .member-aura[data-motif="iskra"] i { animation: member-spark-rise 5s ease-out calc(var(--spark-index) * .22s) 1 both; }
html[data-motion="full"] .member-aura[data-motif="iskra"] .member-aura-glow { animation: member-soft-light 5.8s ease-in-out 1 both; }
html[data-motion="full"] .member-aura[data-motif="plamen"] .member-aura-lines { animation: member-warm-flow 6s ease-in-out 1 both; }
html[data-motion="full"] .member-aura[data-motif="zhivoslava"] .member-aura-lines { animation: member-string-light 3.8s ease-out 1 both; }
html[data-motion="full"] .member-aura[data-motif="perun"] .member-aura-lines { animation: member-rhythm-light 6s ease-in-out 1 both; }
html[data-motion="full"] .member-aura[data-motif="vida"] .member-aura-lines { animation: member-contour-light 1.3s ease-out 1 both; }
html[data-motion="full"] .member-aura[data-motif="georgi"] .member-aura-lines { animation: member-layer-depth 7s ease-in-out 1 both; }
body.overlay-open .band-stage .member-aura *, body.overlay-open .band-stage .member-aura { animation-play-state: paused !important; }
@keyframes member-spark-rise { 0% { transform: translateY(15px); opacity: 0; } 18% { opacity: .65; } 65% { opacity: .4; } 100% { transform: translateY(-135px); opacity: 0; } }
@keyframes member-soft-light { 0%, 100% { opacity: .9; } 45% { opacity: .55; } }
@keyframes member-warm-flow { 0%, 100% { transform: translate(0, 0); opacity: .38; } 50% { transform: translate(-9px, 7px); opacity: .53; } }
@keyframes member-string-light { 0% { opacity: .16; transform: translateY(-5px); } 35% { opacity: .7; } 100% { opacity: .45; transform: translateY(0); } }
@keyframes member-rhythm-light { 0%, 21%, 43%, 67%, 100% { opacity: .32; } 9%, 31%, 55% { opacity: .68; } }
@keyframes member-contour-light { from { opacity: .25; } to { opacity: .68; } }
@keyframes member-layer-depth { 0%, 100% { transform: translate(0, 0); opacity: .9; } 50% { transform: translate(-10px, 8px); opacity: .65; } }
@media (max-width: 680px) {
  .band-stage .member-aura { top: 17rem; }
  .band-stage .member-aura-lines { opacity: .32; }
  .band-stage .member-aura[data-motif="vida"] .member-aura-lines { opacity: .55; }
}

/* A mobile profile is a quiet reading surface, even with site effects enabled.
   Keep each member's colours and light motif, without motion behind the text. */
@media (max-width: 760px) {
  .member-dialog, .member-dialog *,
  .member-dialog::before, .member-dialog::after,
  .member-dialog *::before, .member-dialog *::after {
    animation: none !important;
    transition: none !important;
  }
  .member-dialog, .member-dialog .member-dialog-copy,
  .member-dialog .member-dialog-copy > :not(.member-aura),
  .member-dialog .button { transform: none; }
}

/* Stable mobile chrome and a compact, reachable transport in modal dialogs. */
.modal-player-controls { display: none; }
@media (max-width: 1000px) {
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  #page-content {
    position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: none; scrollbar-gutter: stable;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  }
  body.overlay-open #page-content { overflow-y: hidden; }
  html.favorites-dragging #page-content { scroll-behavior: auto; }
  html:has(dialog[open]) { overflow: hidden; }
  .site-header, .site-header.is-scrolled, .song-page .site-header {
    position: fixed; top: 0; left: 0; right: 0; padding-right: 4.5rem;
    transform: none; animation: none; transition: none;
  }
  .menu-toggle {
    position: fixed; top: 1.025rem; right: max(.75rem, env(safe-area-inset-right));
    margin: 0; transform: none; animation: none; transition: none;
  }
  .mini-player {
    position: fixed; left: .5rem; right: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom));
    width: auto; max-width: 42rem; margin-left: auto;
    grid-template-rows: 200px 60px; transform: none; animation: none; transition: none;
  }
  /* Status, title and queue text must not move the video or its controls. */
  .mini-player .mini-copy { height: 200px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .mini-player .mini-controls { height: 60px; min-height: 60px; margin: 0; }
  .mini-player .mini-queue-list {
    position: absolute; left: -1px; right: -1px; bottom: 100%;
    max-height: min(25svh, 12rem); border: 1px solid var(--gold);
    border-radius: .4rem .4rem 0 0; background: var(--site-surface-1, #15100b);
  }
  .has-player .has-mobile-transport[open] {
    position: fixed; top: max(.5rem, env(safe-area-inset-top)); bottom: auto; margin: 0 auto;
    height: calc(100svh - max(.5rem, env(safe-area-inset-top)) - 60px - max(.5rem, env(safe-area-inset-bottom)) - .5rem);
    max-height: calc(100svh - max(.5rem, env(safe-area-inset-top)) - 60px - max(.5rem, env(safe-area-inset-bottom)) - .5rem);
    overflow-y: auto; overscroll-behavior: none; scroll-behavior: auto;
  }
  .has-mobile-transport > .modal-player-controls {
    position: fixed; z-index: 200; left: .5rem; right: .5rem;
    bottom: max(.5rem, env(safe-area-inset-bottom)); height: 60px;
    display: flex; align-items: center; justify-content: center; gap: .65rem;
    padding: .45rem; border: 1px solid var(--line); border-radius: .3rem;
    background: var(--site-surface-1, #15100b); color: var(--gold-pale); box-shadow: 0 -4px 18px #0008;
    transform: none; animation: none; transition: none;
  }
  .modal-player-controls button {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: .25rem; background: var(--site-surface-2, #241a0e);
    color: var(--gold-light); font-size: 1rem; cursor: pointer;
  }
  .modal-player-controls button:disabled { opacity: .35; cursor: default; }
  .modal-player-controls button:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 2px; }
}
/* The home opening: a compact introduction, four sealed doors, then the music. */
.home-hero { min-height: 0; padding-top: 6rem; padding-bottom: 2.1rem; gap: 3.5vw; }
.home-hero h1 { font-size: clamp(3.5rem, 5.8vw, 6.25rem); }
.home-hero .eyebrow { margin-bottom: .8rem; letter-spacing: .13em; }
.home-hero .hero-intro { max-width: 35rem; margin-top: 1.1rem; font-size: clamp(.9375rem, 1.15vw, 1.125rem); }
.home-hero .hero-actions { margin-top: 1.15rem; }
.home-hero .hero-actions .button { min-height: 3rem; padding: .65rem 1.1rem; font-size: .8125rem; }
.home-hero .hero-backdrop { background-position: 0 0, 0 0, 72% top; }
/* One continuous desktop photograph, with the hood near the header baseline.
   The original hero backdrop and its crop are retained on phones. */
@media (min-width: 761px) {
  .home-opening { position: relative; isolation: isolate; }
  .home-opening::before {
    content: ''; position: absolute; z-index: -1; top: 0; left: 0; width: 100%;
    height: min(100%, calc(4rem + 48.95vw)); pointer-events: none;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--ink) 66%, transparent), color-mix(in srgb, var(--ink) 65%, transparent) 40%, color-mix(in srgb, var(--ink) 48%, transparent)),
      url('assets/band.webp') center calc(4rem - 7.3vw) / 100% auto no-repeat;
    mask-image: linear-gradient(180deg, #000 0%, #000 32%, #000d 52%, #0006 76%, transparent 100%);
  }
  .home-opening .hero-backdrop { display: none; }
  .home-opening .hero-copy { text-shadow: 0 2px 14px #0009; }
}
.hero-portal { --portal-rgb: 237, 151, 61; position: relative; display: flex; flex-direction: column; align-items: center; justify-self: center; width: 100%; max-width: 25rem; min-width: 0; }
.hero-portal[data-portal-album="0"] { --portal-rgb: 237, 199, 114; }
.hero-portal[data-portal-album="1"] { --portal-rgb: 139, 169, 232; }
.home-hero .hero-art { display: grid; width: clamp(13rem, 17vw, 17.5rem); min-width: 0; isolation: isolate; }
.home-hero .hero-art::before { position: absolute; content: ''; z-index: -1; inset: -13%; border-radius: 50%; background: radial-gradient(ellipse, rgba(var(--portal-rgb), .19), rgba(var(--portal-rgb), .055) 58%, transparent 72%); pointer-events: none; }
.home-hero .hero-album { grid-area: 1 / 1; opacity: 0; transform: none; transition: opacity .25s ease; }
.home-hero .hero-album.is-selected { opacity: 1; }
.home-hero .hero-art:is(:hover, :focus-visible) .hero-album { transform: none; }
.hero-portal .album-orbit { border-color: #dbaa573b; box-shadow: 0 0 20px rgba(var(--portal-rgb), .075), inset 0 0 16px rgba(var(--portal-rgb), .035); }
.hero-portal .album-orbit::before, .hero-portal .album-orbit::after { background: #edc772; box-shadow: 0 0 12px rgba(var(--portal-rgb), .75); }
.portal-selectors { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: .5rem; position: relative; z-index: 3; }
.portal-selectors button { position: relative; display: grid; place-items: center; width: 44px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: .3rem; background: transparent; color: var(--muted); font: 400 1.1rem/1 var(--serif); cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.portal-selectors button::after { position: absolute; content: ''; width: 14px; height: 1px; bottom: 3px; background: currentColor; opacity: 0; }
.portal-selectors button:hover { color: var(--gold-light); border-color: var(--line); }
.portal-selectors button[aria-pressed="true"] { color: var(--gold-light); background: rgba(var(--site-accent-rgb, 219, 170, 87), .08); }
.portal-selectors button[aria-pressed="true"]::after { opacity: 1; }
.portal-caption { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
.portal-title { display: flex; align-items: center; justify-content: center; min-height: 1.35rem; margin: 0; color: var(--ivory); font: 400 clamp(1rem, 1.3vw, 1.15rem)/1.2 var(--serif); text-wrap: balance; }
.portal-explore { display: inline-flex; align-items: center; gap: .55rem; min-height: 1.5rem; padding: .1rem .3rem; color: var(--gold-light); font-size: .75rem; text-decoration: none; }
.portal-explore:hover { text-decoration: underline; text-underline-offset: 4px; }
.portal-details { display: contents; }
.home-hero .scroll-cue { bottom: .65rem; }
.today-section { position: relative; z-index: 1; padding: .3rem var(--content-inset) 1.2rem; background: radial-gradient(ellipse at 50% 85%, rgba(var(--site-accent-rgb, 219, 170, 87), .055), transparent 65%); }
.today-heading { position: relative; display: flex; align-items: center; justify-content: center; gap: 1.3rem; max-width: var(--content-width); margin: 0 auto 1.35rem; padding-top: 2.8rem; }
.today-heading h2 { flex: 0 1 auto; margin: 0; color: var(--gold-light); font: 400 clamp(1.65rem, 2.5vw, 2.6rem)/1.2 var(--serif); text-transform: uppercase; text-align: center; text-wrap: balance; text-shadow: 0 0 22px rgba(var(--site-accent-rgb, 219, 170, 87), .33); }
.today-rule { position: relative; flex: 1 1 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--site-accent-rgb, 219, 170, 87), .8)); box-shadow: 0 2px 8px rgba(var(--site-accent-rgb, 219, 170, 87), .2); }
.today-rule:last-child { transform: scaleX(-1); }
.today-rule::after { position: absolute; content: ''; right: 0; top: -3px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); background: var(--ink); }
/* The supplied flame keeps its original transparent artwork and warm colours. */
.today-flame { position: absolute; top: -3.1rem; left: 50%; width: 86px; height: 92px; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 0 5px #ff9d2070); }
.today-flame::after { position: absolute; content: ''; width: 86px; height: 22px; left: 0; bottom: 0; border-radius: 50%; background: radial-gradient(ellipse, #ffb72d55, #ff830512 50%, transparent 72%); animation: discovery-fire-glow 3.7s ease-in-out infinite; }
.today-flame-image { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 87%; animation: discovery-fire-sway 4.6s ease-in-out infinite, discovery-fire-light 2.7s ease-in-out infinite; }
.today-ember { --ember-drift: -12px; position: absolute; left: 48%; bottom: 20%; width: 2px; height: 3px; border-radius: 50%; background: #ffce72; box-shadow: 0 0 5px #ff9a22; opacity: 0; animation: discovery-fire-ember 3.8s ease-out infinite; }
.today-ember:nth-of-type(2) { --ember-drift: 15px; left: 54%; animation-delay: -1.3s; animation-duration: 4.3s; }
.today-ember:nth-of-type(3) { --ember-drift: 6px; left: 45%; width: 1px; height: 2px; animation-delay: -2.6s; animation-duration: 3.6s; }
.today-flame:not(.is-animating) > *, .today-flame:not(.is-animating)::after { animation-play-state: paused; }
@keyframes discovery-fire-sway {
  0%, 100% { transform: rotate(-1.5deg) skewX(-1deg) scale(.98, 1); }
  27% { transform: rotate(1deg) skewX(1.5deg) scale(1.03, .98); }
  58% { transform: rotate(-.5deg) skewX(-1.5deg) scale(.97, 1.04); }
  81% { transform: rotate(1.5deg) skewX(.5deg) scale(1.02, 1.01); }
}
@keyframes discovery-fire-light { 0%, 100% { filter: brightness(1); } 42% { filter: brightness(1.13); } 74% { filter: brightness(1.04); } }
@keyframes discovery-fire-glow { 0%, 100% { opacity: .6; transform: scaleX(.9); } 48% { opacity: 1; transform: scaleX(1.1); } }
@keyframes discovery-fire-ember {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  16% { opacity: .65; }
  75% { opacity: .3; }
  100% { opacity: 0; transform: translate(var(--ember-drift), -78px) scale(.2); }
}
.today-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: var(--content-width); margin: 0 auto; padding: 0; list-style: none; }
.today-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; min-width: 0; min-height: clamp(9rem, 12.4vw, 13.5rem); overflow: hidden; border: 1px solid rgba(var(--site-accent-rgb, 219, 170, 87), .65); border-radius: 1.05rem; background: radial-gradient(ellipse at 50% 0, rgba(var(--site-accent-rgb, 219, 170, 87), .095), transparent 70%), linear-gradient(155deg, var(--site-surface-1, #100d0a), var(--site-surface-0, #080706)); box-shadow: 0 0 12px rgba(var(--site-accent-rgb, 219, 170, 87), .1), inset 0 0 28px rgba(var(--site-accent-rgb, 219, 170, 87), .035); transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.today-card::before { position: absolute; content: ''; inset: 5px; border: 1px solid rgba(var(--site-accent-rgb, 219, 170, 87), .19); border-radius: .85rem; pointer-events: none; background: linear-gradient(135deg, rgba(var(--site-accent-rgb, 219, 170, 87), .5) 0 1px, transparent 1px) top left / 23px 23px no-repeat, linear-gradient(225deg, rgba(var(--site-accent-rgb, 219, 170, 87), .5) 0 1px, transparent 1px) top right / 23px 23px no-repeat, linear-gradient(45deg, rgba(var(--site-accent-rgb, 219, 170, 87), .5) 0 1px, transparent 1px) bottom left / 23px 23px no-repeat, linear-gradient(315deg, rgba(var(--site-accent-rgb, 219, 170, 87), .5) 0 1px, transparent 1px) bottom right / 23px 23px no-repeat; }
.today-card::after { position: absolute; content: ''; bottom: -1px; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); box-shadow: 0 0 14px 2px rgba(var(--site-accent-rgb, 219, 170, 87), .3); }
.today-lock { display: grid; place-items: center; width: 54px; height: 54px; color: var(--gold-light); filter: drop-shadow(0 0 9px rgba(var(--site-accent-rgb, 219, 170, 87), .2)); }
.today-status { color: var(--gold-pale); font: 400 clamp(1.4rem, 2vw, 1.85rem)/1.2 var(--serif); }
.home-opening + .latest-section { padding-top: .85rem; }
@media (min-width: 1101px) {
  .home-opening + .latest-section .latest-card { grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.5rem; padding: 1rem 1.3rem; }
  .home-opening + .latest-section .latest-actions { display: flex; gap: .65rem; }
  .home-opening + .latest-section .latest-actions .button { padding-inline: 1.15rem; }
  .home-opening + .latest-section .latest-copy h2 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
  .home-opening + .latest-section .latest-copy > p:last-child { font-size: .8125rem; line-height: 1.5; margin-top: .6rem; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .home-hero .hero-actions { gap: .6rem; }
  .home-hero .hero-actions .button { padding-inline: .7rem; font-size: .75rem; }
  .home-hero .hero-art { width: clamp(13rem, 25vw, 15rem); }
  .today-grid { gap: .7rem; }
}
@media (max-width: 760px) {
  .home-hero { padding-top: 6.3rem; padding-bottom: 3rem; gap: 1.5rem; }
  .home-hero h1 { font-size: clamp(2.85rem, 12vw, 5rem); }
  .home-hero .hero-actions .button { font-size: .75rem; padding-inline: .4rem; }
  .home-hero .hero-backdrop { background-position: 0 0, center 4.8rem; }
  .home-hero .hero-art { width: min(46vw, 12rem); }
  .hero-portal { align-self: center; }
  .portal-selectors { margin-top: .25rem; }
  .portal-selectors button { height: 44px; }
  .portal-title { min-height: 1.6rem; margin-top: 0; font-size: 1rem; }
  .portal-explore { min-height: 44px; font-size: .75rem; }
  .today-section { padding-top: .5rem; padding-bottom: .7rem; }
  .today-heading { gap: .65rem; padding-top: 2.8rem; margin-bottom: 1rem; }
  .today-heading h2 { max-width: 18rem; font-size: clamp(1.2rem, 5.3vw, 1.9rem); }
  .today-flame { top: -1.5rem; width: 70px; height: 70px; }
  .today-flame::after { width: 70px; }
  .today-rule { min-width: .8rem; }
  .today-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .today-card { min-height: 8.3rem; gap: .5rem; border-radius: .85rem; }
  .today-lock { width: 42px; height: 42px; }
  .today-lock svg { width: 26px; height: 32px; }
  .today-status { font-size: 1.3rem; }
}
html[data-motion="reduced"] .today-card { transition: none; }
html[data-motion="reduced"] .today-flame > *, html[data-motion="reduced"] .today-flame::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .today-card { transition: none; }
  .today-flame > *, .today-flame::after { animation: none; }
}

/* Desktop composition: retain the artwork's size and horizontal centre, align
   its bottom with the history cue, and put the controls beside its lower edge. */
@media (min-width: 1001px) {
  .home-hero .hero-title-line { position: relative; top: .5ex; }
  .home-hero .hero-portal {
    --portal-cover-size: clamp(13rem, 17vw, 17.5rem);
    align-self: end; justify-content: flex-end;
    min-height: calc(var(--portal-cover-size) + 5.6rem);
    transform: translateY(1.45rem);
  }
  .home-hero .portal-details {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 2.7rem minmax(0, 1fr); position: absolute; z-index: 3;
    bottom: 0; left: calc(50% + var(--portal-cover-size) / 2 + clamp(.75rem, 1.2vw, 1.5rem));
    width: clamp(9rem, 12vw, 14rem); height: 10rem; padding: .5rem .6rem .6rem;
    border: 1px solid rgba(var(--site-accent-rgb, 219, 170, 87), .48); border-radius: .85rem;
    background: linear-gradient(145deg, color-mix(in srgb, var(--ink) 72%, transparent), color-mix(in srgb, var(--ink) 88%, transparent));
    box-shadow: 0 8px 24px #0003, inset 0 0 20px rgba(var(--site-accent-rgb, 219, 170, 87), .045);
    backdrop-filter: blur(6px);
  }
  .home-hero .portal-details::before {
    content: ''; position: absolute; inset: 4px; border: 1px solid var(--line); border-radius: .6rem; pointer-events: none;
  }
  .home-hero .portal-selectors {
    margin-top: 0; padding-bottom: .4rem; gap: .15rem;
    border-bottom: 1px solid var(--line);
  }
  .home-hero .portal-selectors::after {
    content: ''; position: absolute; bottom: -3px; left: calc(50% - 3px); width: 5px; height: 5px;
    transform: rotate(45deg); border: 1px solid var(--gold); background: var(--ink); pointer-events: none;
  }
  .home-hero .portal-selectors button { flex: 0 1 44px; min-width: 0; }
  /* The middle row absorbs the title's line breaks; both controls stay fixed. */
  .home-hero .portal-caption { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 1.75rem; min-width: 0; min-height: 0; }
  .home-hero .portal-title { min-height: 0; padding-top: .25rem; }
  .home-hero .portal-explore { justify-self: center; gap: .3rem; padding-inline: 0; font-size: .7rem; white-space: nowrap; }
  .home-hero .hero-album { transform-origin: 50% 75%; transition: opacity .25s ease, transform .45s ease; }
  .home-hero .hero-art:is(:hover, :focus-visible) .hero-album.is-selected { animation: portal-cover-sway 2.8s ease-in-out infinite; }
  /* cap follows the actual capital-letter height of this heading. The negative
     margin also lifts the cards and every following section in normal flow. */
  .today-heading { font: 400 clamp(1.65rem, 2.5vw, 2.6rem)/1.2 var(--serif); margin-top: -.35em; margin-top: -.5cap; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  /* Keep the side controls inside a narrow desktop viewport. */
  .home-hero .hero-portal { left: min(0px, calc((100vw - 1100px) * .4)); }
}
@keyframes portal-cover-sway {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(2deg); }
  70% { transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-art:is(:hover, :focus-visible) .hero-album.is-selected { animation: none; }
}
