/* Christinium's objects revolve inside the desktop scene. */
.band-scene[hidden] { display: none; }

@media (min-width: 761px) and (min-height: 761px), (min-width: 761px) and (pointer: fine), (min-width: 761px) and (pointer: none) {
  html.band-scene-open,
  html.band-scene-open body { height: 100%; overflow: hidden; }

  .hall-desktop-layout[data-band-scene] {
    --band-bg: #08050a;
    --band-surface: #140e19;
    --band-text: #f8f4ff;
    --band-muted: #bcb1c4;
    --band-accent: #ffb6e6;
    --band-secondary: #fff1a8;
    --band-line: rgba(255, 182, 230, 0.23);
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 18px 28px 24px;
    gap: 16px;
    color: var(--band-text);
    background: var(--band-bg);
  }
  .hall-desktop-layout[data-band-scene] .facility-header {
    min-height: 50px;
    flex: 0 0 auto;
    padding-bottom: 12px;
    border-color: var(--band-line);
  }
  .hall-desktop-layout[data-band-scene] .facility-header h1 { font-size: 13px; }
  .hall-desktop-layout[data-band-scene] .facility-header .eyebrow,
  .hall-desktop-layout[data-band-scene] .hall-return-link { color: var(--band-muted); }
  .hall-desktop-layout[data-band-scene] .facility-grid {
    flex: 1 1 0;
    min-height: 0;
    gap: 0;
    overflow: hidden;
  }
  .hall-desktop-layout[data-band-scene] .hall-instrument-strip { display: none; }
  .hall-desktop-layout[data-band-scene] .containment-main {
    display: block;
    flex: 1 1 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .hall-desktop-layout[data-band-scene] .containment-main > :not(.band-scene) { display: none !important; }

  .band-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    gap: 22px;
    color: var(--band-text);
  }
  .band-scene [hidden] { display: none !important; }
  .band-scene button {
    min-height: 42px;
    border: 1px solid var(--band-line);
    border-radius: 2px;
    padding: 10px 15px;
    color: var(--band-text);
    background: transparent;
    font: 12px/1.45 ui-monospace, monospace;
    cursor: pointer;
  }
  .band-scene button:hover:not(:disabled) {
    border-color: var(--band-accent);
    background: rgba(255, 182, 230, 0.07);
  }
  .band-scene button:disabled { opacity: 0.45; cursor: default; }
  .band-scene button:focus-visible,
  .band-scene a:focus-visible,
  .band-scene [tabindex]:focus-visible {
    outline: 2px solid var(--band-secondary);
    outline-offset: 3px;
  }
  .band-scene-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 0 0 auto;
  }
  .band-scene-header > div { min-width: 0; }
  .band-scene-header h2 {
    margin: 5px 0 0;
    color: var(--band-accent);
    font-size: clamp(26px, 3.1vw, 48px);
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1.15;
    text-transform: none;
    overflow-wrap: anywhere;
  }
  .band-scene-accessible-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .band-scene-wordmark { display: block; width: min(610px, 49vw); height: auto; }
  .band-scene-header > button { flex-shrink: 0; color: var(--band-secondary); }
  .band-scene-kicker {
    margin: 0;
    color: var(--band-muted);
    font: 10px/1.5 ui-monospace, monospace;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .band-scene-subtitle {
    margin: 10px 0 0;
    color: var(--band-muted);
    font: 12px/1.6 ui-monospace, monospace;
  }
  .band-scene-body {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 64px);
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
  }
  .band-scene-identity {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    padding: 6px;
  }
  .band-scene-identity .band-scene-copy { max-width: 330px; margin: 0 0 4px; font-size: 13px; }
  #bandSceneArtSummary .band-scene-copy,
  .band-scene-art-details .band-scene-copy { margin-top: 9px; }
  .band-scene-art-details .band-scene-copy { max-width: 420px; }
  .band-scene-art-controls { display: flex; flex-wrap: wrap; gap: 8px; }
  .band-scene-art-controls button { min-height: 36px; padding: 7px 11px; color: var(--band-muted); font-size: 10px; }
  #bandSceneObjectPrev, #bandSceneObjectNext { min-width: 36px; font-size: 16px; line-height: 1; }
  #bandSceneInspect[aria-expanded="true"] { color: var(--band-secondary); }
  .band-scene-environment {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  #bandSceneCarousel {
    position: absolute;
    left: -2%;
    top: 0;
    width: 49%;
    height: calc(100% - 110px);
    overflow: visible;
  }
  .band-motif-orbit {
    animation: christinium-object-orbit 50s linear infinite;
    animation-play-state: paused;
    transform-origin: 0 0;
  }
  .band-motif-turn {
    animation: christinium-object-turn 50s linear infinite;
    animation-play-state: paused;
    transform-origin: 280px 280px;
  }
  .band-motif-car, .band-motif-car .band-motif-turn { animation-delay: 0s; }
  .band-motif-vessel, .band-motif-vessel .band-motif-turn { animation-delay: -40s; }
  .band-motif-pendant, .band-motif-pendant .band-motif-turn { animation-delay: -30s; }
  .band-motif-compact, .band-motif-compact .band-motif-turn { animation-delay: -20s; }
  .band-motif-bird, .band-motif-bird .band-motif-turn { animation-delay: -10s; }
  [data-band-scene] .band-motif-orbit,
  [data-band-scene] .band-motif-turn { animation-play-state: running; }
  .band-scene[data-art-paused="true"] .band-motif-orbit,
  .band-scene[data-art-paused="true"] .band-motif-turn { animation-play-state: paused; }
  .band-scene[data-art-inspect] .band-motif-orbit,
  .band-scene[data-art-inspect] .band-motif-turn {
    animation-play-state: paused;
    transform: none !important;
    opacity: 1 !important;
  }
  .band-scene[data-art-inspect] .band-motif-orbit { visibility: hidden; }
  .band-scene[data-art-inspect] .band-motif-orbit[data-inspected="true"] { visibility: visible; }
  .band-scene[data-art-inspect] #bandSceneCarousel {
    left: 0;
    width: 44%;
    height: calc(100% - 140px);
  }
  @keyframes christinium-object-orbit {
    0%, 100% { transform: translate(120px, 60px) scale(.94); opacity: .96; }
    16.667% { transform: translate(360px, -35px) scale(.56); opacity: .45; }
    33.333% { transform: translate(400px, -45px) scale(.48); opacity: .24; }
    50% { transform: translate(160px, -100px) scale(.36); opacity: .12; }
    66.667% { transform: translate(-65px, -45px) scale(.48); opacity: .24; }
    83.333% { transform: translate(-60px, -35px) scale(.56); opacity: .45; }
  }
  @keyframes christinium-object-turn {
    0%, 100% { transform: scaleX(1) rotate(0deg); }
    16.667% { transform: scaleX(.82) rotate(3deg); }
    33.333% { transform: scaleX(.40) rotate(5deg); }
    50% { transform: scaleX(.70) rotate(0deg); }
    66.667% { transform: scaleX(.40) rotate(-5deg); }
    83.333% { transform: scaleX(.82) rotate(-3deg); }
  }
  .band-scene-console {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-top: 1px solid var(--band-line);
    border-bottom: 1px solid var(--band-line);
    background: rgba(20, 14, 25, 0.88);
  }
  .band-scene-nav {
    display: flex;
    gap: 2px;
    padding: 10px 14px 0;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--band-line);
  }
  .band-scene-nav button {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--band-muted);
  }
  .band-scene-nav button[aria-pressed="true"] {
    color: var(--band-accent);
    border-bottom-color: var(--band-accent);
  }
  .band-scene-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255, 182, 230, 0.35) transparent;
    scrollbar-width: thin;
    padding: clamp(18px, 2.4vw, 38px);
  }
  .band-scene-panel h3 {
    flex: 0 0 auto;
    margin: 0 0 14px;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .band-scene-content {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 4px;
    margin: -4px;
    scrollbar-width: thin;
  }
  .band-scene-lyrics { white-space: pre-wrap; color: var(--band-text); }
  .band-scene-playback-title { margin: 18px 0; font-size: clamp(26px, 3vw, 44px); font-weight: 500; line-height: 1.25; color: var(--band-text); overflow-wrap: anywhere; }
  .band-scene-copy,
  .band-scene-empty {
    color: var(--band-muted);
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  .band-scene-copy { white-space: pre-line; }
  .band-scene-track-list { display: grid; gap: 10px; margin-top: 12px; }
  .band-scene-track {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 5px 18px;
    width: 100%;
    text-align: left;
    padding: 10px 16px !important;
  }
  .band-scene-track > .band-scene-kicker { grid-column: 1; grid-row: 1 / 3; font-size: 9px; }
  .band-scene-track > strong, .band-scene-track > .band-scene-track-status { grid-column: 2; }
  .band-scene-track strong { color: var(--band-text); font-size: 18px; font-weight: 500; line-height: 1.4; }
  .band-scene-track span { color: var(--band-muted); font-size: 11px; }
  .band-scene-track[aria-pressed="true"] { border-color: var(--band-accent); }
  .band-scene-track.is-selected { border-color: var(--band-accent); }
  .band-scene-pager { display: flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .band-scene-pager span { color: var(--band-muted); font: 11px/1.5 ui-monospace, monospace; }
  .band-scene-panel a { color: var(--band-accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
  .band-scene-transport {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(100px, 1fr) auto;
    align-items: center;
    gap: 12px 24px;
    flex: 0 0 auto;
    border-top: 1px solid var(--band-line);
    padding: 18px 24px;
  }
  .band-scene-transport > div { min-width: 0; }
  .band-scene-transport-copy strong { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
  #bandSceneTransportStatus { display: block; color: var(--band-muted); font-size: 11px; line-height: 1.5; margin-top: 8px; }
  .band-scene-transport p { margin: 0 0 8px; font-size: 12px; overflow-wrap: anywhere; }
  .band-scene-transport button { max-width: 210px; color: var(--band-secondary); border-color: rgba(255, 241, 168, 0.4); }
  .band-scene-transport progress {
    display: block;
    width: 100%;
    height: 4px;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: var(--band-line);
    color: var(--band-accent);
    accent-color: var(--band-accent);
  }
  .band-scene-transport progress::-webkit-progress-bar { background: var(--band-line); }
  .band-scene-transport progress::-webkit-progress-value { background: var(--band-accent); }
  .band-scene-transport progress::-moz-progress-bar { background: var(--band-accent); }
  .band-scene-progress { height: 4px; background: var(--band-line); overflow: hidden; }
  .band-scene-progress > span { display: block; height: 100%; width: 0; background: var(--band-accent); }
  .band-scene-clock { color: var(--band-muted); font: 11px/1.4 ui-monospace, monospace; }
  .band-scene-clock .band-scene-progress { margin-top: 10px; }
  .band-scene-transport time,
  .band-scene-transport output { display: block; margin-top: 8px; color: var(--band-muted); font: 11px/1.4 ui-monospace, monospace; }
}

@media (min-width: 761px) and (min-height: 761px) and (max-width: 1050px), (min-width: 761px) and (pointer: fine) and (max-width: 1050px), (min-width: 761px) and (pointer: none) and (max-width: 1050px) {
  .hall-desktop-layout[data-band-scene] { padding: 14px 18px 18px; }
  .band-scene-body { grid-template-columns: minmax(160px, 0.75fr) minmax(0, 1.25fr); gap: 20px; }
  .band-scene-nav { padding-inline: 6px; }
  .band-scene-nav button { font-size: 11px; }
  .band-scene-transport { padding: 14px 18px; gap: 12px; }
  .band-scene-transport button { max-width: 165px; font-size: 11px; }
  #bandSceneCarousel { left: -5%; width: 48%; }
}

@media (min-width: 761px) and (min-height: 761px) and (max-height: 820px), (min-width: 761px) and (pointer: fine) and (max-height: 820px), (min-width: 761px) and (pointer: none) and (max-height: 820px) {
  .band-scene-wordmark { width: min(480px, 46vw); max-height: 62px; }
  .band-scene-panel { padding-block: 20px; }
}

@media (min-width: 761px) and (min-height: 761px) and (max-height: 680px), (min-width: 761px) and (pointer: fine) and (max-height: 680px), (min-width: 761px) and (pointer: none) and (max-height: 680px) {
  .hall-desktop-layout[data-band-scene] { padding-block: 10px 14px; gap: 10px; }
  .hall-desktop-layout[data-band-scene] .facility-header { min-height: 38px; padding-bottom: 8px; }
  .band-scene { gap: 14px; }
  .band-scene-header h2 { font-size: 26px; }
  .band-scene-wordmark { width: min(440px, 48vw); max-height: 54px; }
  .band-scene-header .band-scene-subtitle { display: none; }
  .band-scene-identity { gap: 10px; }
  .band-scene-identity .band-scene-copy { font-size: 12px; line-height: 1.5; margin-bottom: 0; }
  .band-scene-panel { padding: 18px; }
  .band-scene-track-list { margin-top: 14px; gap: 8px; }
  .band-scene-track { padding: 12px 14px !important; gap: 3px 12px; grid-template-columns: 64px minmax(0, 1fr); }
  .band-scene-track > .band-scene-kicker { grid-row: 1; }
  .band-scene-track > .band-scene-track-status { display: none; }
  .band-scene-track strong { font-size: 15px; }
  .band-scene-transport { padding-block: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .band-motif-orbit, .band-motif-turn { animation: none; }
  .band-motif-car { transform: translate(120px, 60px) scale(.94); opacity: .96; }
  .band-motif-vessel { transform: translate(400px, -45px) scale(.48); opacity: .24; }
  .band-motif-pendant { transform: translate(-65px, -45px) scale(.48); opacity: .24; }
  .band-motif-compact { transform: translate(230px, -105px) scale(.32); opacity: .28; }
  .band-motif-bird { transform: translate(25px, -105px) scale(.32); opacity: .28; }
  #bandSceneMotion { display: none; }
}

@media (max-width: 760px), (pointer: coarse) and (max-height: 760px) { .band-scene { display: none !important; } }

/* Song-specific identity layer. Does not style or replace the playback console. */
@media (min-width: 761px) and (min-height: 761px), (min-width: 761px) and (pointer: fine), (min-width: 761px) and (pointer: none) {
  .band-scene-art-title {
    color: var(--band-text);
    font-size: clamp(21px, 2.1vw, 30px);
    font-weight: 500;
    letter-spacing: .025em;
    line-height: 1.2;
    margin: 6px 0 7px;
  }
  .band-scene-art-status { color: var(--band-muted); font: 11px/1.5 ui-monospace, monospace; margin: 0; }
  .band-scene[data-art-scene="christinium-clean"] .band-scene-environment {
    background: radial-gradient(ellipse at 23% 34%, rgba(246, 221, 187, .035), transparent 42%);
  }
  .band-scene[data-art-scene="christinium-clean"] #bandSceneGenre { color: #e8caa3; }
  #bandSceneOverview { color: var(--band-muted); }
}
@media (min-width: 761px) and (min-height: 761px) and (max-height: 680px), (min-width: 761px) and (pointer: fine) and (max-height: 680px), (min-width: 761px) and (pointer: none) and (max-height: 680px) {
  .band-scene-art-title { font-size: 19px; margin: 3px 0; }
  .band-scene-art-controls { gap: 6px; }
  .band-scene-art-controls button { padding: 8px 9px; }
}
