:root {
  --paper: #f4f1e8;
  --paper-soft: rgba(244, 241, 232, 0.72);
  --muted: #9ca8a4;
  --ink: #050908;
  --ink-soft: #091211;
  --glass: rgba(8, 16, 15, 0.72);
  --glass-solid: rgba(7, 13, 12, 0.94);
  --line: rgba(226, 239, 230, 0.15);
  --line-strong: rgba(226, 239, 230, 0.27);
  --sea: #67c5b5;
  --sea-deep: #155e62;
  --gold: #e1c478;
  --coral: #db7258;
  --mood: #73d9ce;
  --mood-accent: #e1c478;
  --mood-rgb: 115, 217, 206;
  --cover-a: #c9b87c;
  --cover-b: #1d5c61;
  --cover-c: #162c31;
  --cover-accent: #d94f3d;
  --panel-width: clamp(388px, 31vw, 458px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body {
  min-width: 320px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atlas-shell {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 52% 46%, rgba(22, 89, 91, 0.24), transparent 38%),
    radial-gradient(ellipse at 48% 110%, rgba(202, 116, 75, 0.09), transparent 42%),
    linear-gradient(122deg, #020504 0%, #07100f 47%, #0c1111 70%, #030605 100%);
}

#globe-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  outline: none;
}

.scene-grade,
.scene-horizon,
.grain,
.cinematic-shutter,
.arrival-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-grade {
  z-index: 2;
  background:
    radial-gradient(ellipse at 55% 45%, rgba(var(--mood-rgb), 0.09), transparent 34%),
    linear-gradient(90deg, rgba(1, 4, 3, 0.74) 0%, rgba(1, 4, 3, 0.16) 29%, transparent 53%, rgba(1, 4, 3, 0.18) 78%, rgba(1, 4, 3, 0.5) 100%),
    linear-gradient(0deg, rgba(1, 4, 3, 0.72) 0%, transparent 30%, rgba(1, 4, 3, 0.38) 100%);
  transition: background 1400ms ease;
}

.scene-horizon {
  z-index: 2;
  inset: auto 16% 6% 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 197, 181, 0.28), rgba(225, 196, 120, 0.3), transparent);
  box-shadow: 0 -22px 54px rgba(103, 197, 181, 0.06);
}

.atlas-shell.music-playing .scene-horizon {
  animation: music-horizon 3.8s ease-in-out infinite;
}

.grain {
  z-index: 3;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 17% 31%, #fff 0 0.45px, transparent 0.7px 3px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.cinematic-shutter {
  z-index: 13;
}

.cinematic-shutter::before,
.cinematic-shutter::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 8vh;
  background: #010302;
  transform: scaleY(0);
  transition: transform 720ms var(--ease-out);
}

.cinematic-shutter::before {
  top: 0;
  transform-origin: top;
}

.cinematic-shutter::after {
  bottom: 0;
  transform-origin: bottom;
}

.atlas-shell.is-flying .cinematic-shutter::before,
.atlas-shell.is-flying .cinematic-shutter::after {
  transform: scaleY(1);
}

.arrival-light {
  z-index: 4;
  opacity: 0;
  background: radial-gradient(circle at 52% 48%, rgba(var(--mood-rgb), 0.42), transparent 24%);
  mix-blend-mode: screen;
  transition: opacity 900ms ease;
}

.atlas-shell.is-arriving .arrival-light {
  opacity: 0.62;
}

.atlas-shell.is-arrived .arrival-light {
  animation: arrival-afterglow 1250ms ease-out both;
}

.country-reveal {
  position: absolute;
  z-index: 14;
  top: 53%;
  left: calc((100% - var(--panel-width)) / 2);
  width: min(520px, 48vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -42%) scale(0.96);
  transition: opacity 820ms ease, transform 1100ms var(--ease-out);
}

.country-reveal.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.country-reveal .reveal-index {
  display: block;
  margin-bottom: 8px;
  color: var(--mood-accent);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.country-reveal strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.92;
  text-shadow: 0 8px 48px rgba(0, 0, 0, 0.8);
}

.country-reveal p {
  max-width: 360px;
  margin: 14px auto 0;
  color: rgba(244, 241, 232, 0.74);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.country-reveal i {
  display: block;
  width: 72px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--mood-accent), transparent);
}

@keyframes arrival-afterglow {
  0% { opacity: 0.7; }
  100% { opacity: 0; }
}

@keyframes music-horizon {
  0%, 100% { opacity: 0.46; box-shadow: 0 -22px 54px rgba(var(--mood-rgb), 0.06); }
  50% { opacity: 0.94; box-shadow: 0 -28px 80px rgba(var(--mood-rgb), 0.18); }
}

.topbar {
  position: absolute;
  z-index: 7;
  top: 26px;
  left: 28px;
  right: calc(var(--panel-width) + 28px);
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  transition: right 700ms var(--ease-out), opacity 520ms ease, transform 700ms var(--ease-out);
}

.atlas-shell.is-flying .topbar,
.atlas-shell.is-flying .search-rail,
.atlas-shell.is-flying .intro-panel,
.atlas-shell.is-flying .world-status {
  opacity: 0.08;
}

.atlas-shell.is-flying .topbar {
  transform: translateY(-8px);
}

.atlas-shell:not(.panel-open) .topbar {
  right: 28px;
}

.topbar > * {
  pointer-events: auto;
}

.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 12, 11, 0.58);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(135%);
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: rgba(18, 32, 29, 0.8);
  transform: scale(1.04);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-signal {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(225, 196, 120, 0.34);
  border-radius: 50%;
  color: var(--gold);
}

.brand-signal i {
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}

.brand-signal i:nth-child(2) { height: 14px; }
.brand-signal i:nth-child(3) { height: 10px; }
.brand-signal i:nth-child(4) { height: 5px; }

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 700;
}

.brand-copy em {
  color: var(--gold);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.collection-index {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.collection-index strong {
  color: var(--paper);
  font-size: 13px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 14px var(--sea);
}

.menu-scrim {
  position: absolute;
  inset: 0;
  z-index: 9;
  border: 0;
  background: rgba(1, 4, 3, 0.52);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.side-menu {
  position: absolute;
  z-index: 10;
  inset: 0 auto 0 0;
  width: min(350px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 24, 21, 0.98), rgba(4, 8, 7, 0.98)),
    var(--ink);
  box-shadow: 34px 0 90px rgba(0, 0, 0, 0.42);
  transform: translateX(-102%);
  transition: transform 650ms var(--ease-out);
}

.atlas-shell.menu-open .side-menu {
  transform: translateX(0);
}

.atlas-shell.menu-open .menu-scrim {
  opacity: 1;
  pointer-events: auto;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
}

.menu-links {
  display: grid;
  gap: 4px;
  padding-top: 24px;
}

.menu-links a {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(226, 239, 230, 0.07);
  color: var(--muted);
  font-size: 14px;
  transition: color 220ms ease, transform 220ms ease;
}

.menu-links a:hover,
.menu-links a.active {
  color: var(--paper);
  transform: translateX(4px);
}

.menu-links a.active svg {
  color: var(--gold);
}

.menu-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.menu-footer span {
  color: var(--gold);
  font-size: 11px;
}

.menu-footer strong {
  max-width: 230px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}

.journey-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.journey-summary > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-summary > div:first-child span,
.journey-summary > div:first-child strong {
  max-width: none;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.journey-summary b {
  color: var(--paper);
  font-weight: 700;
}

.journey-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(244, 241, 232, 0.1);
}

.journey-progress i {
  display: block;
  width: 1.5%;
  height: 100%;
  background: linear-gradient(90deg, var(--mood), var(--mood-accent));
  box-shadow: 0 0 14px rgba(var(--mood-rgb), 0.45);
  transition: width 900ms var(--ease-out);
}

.intro-panel {
  position: absolute;
  z-index: 5;
  left: 30px;
  bottom: 88px;
  width: min(365px, calc(100vw - var(--panel-width) - 74px));
  pointer-events: none;
  transition: opacity 700ms ease, transform 800ms var(--ease-out);
}

.intro-panel > * {
  pointer-events: auto;
}

.atlas-shell.focused .intro-panel {
  opacity: 0.2;
  transform: translateY(18px);
}

.eyebrow,
.region-label {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.intro-panel .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--paper-soft);
}

.intro-panel .eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.intro-panel h1 {
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(50px, 5.5vw, 82px);
  line-height: 0.88;
  font-weight: 400;
}

.intro-panel h1 em {
  color: var(--gold);
  font-weight: 400;
}

.lede {
  max-width: 330px;
  margin: 0 0 22px;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.6;
}

.quick-actions {
  display: flex;
  gap: 9px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 23px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
  transition: transform 250ms ease, background 250ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action {
  width: 46px;
  padding: 0;
  border-color: var(--line-strong);
  color: var(--paper);
  background: rgba(9, 18, 16, 0.64);
  backdrop-filter: blur(16px);
}

.search-rail {
  position: absolute;
  z-index: 7;
  top: 24px;
  left: 50%;
  width: min(300px, 28vw);
  height: 46px;
  translate: -50% 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 4px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 13, 12, 0.64);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px) saturate(140%);
  transition: left 700ms var(--ease-out), border-color 250ms ease;
}

.panel-open .search-rail {
  left: calc((100% - var(--panel-width)) / 2);
}

.search-rail:focus-within {
  border-color: rgba(103, 197, 181, 0.48);
}

.search-rail > svg {
  width: 16px;
  color: var(--muted);
}

.search-rail input {
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-size: 13px;
}

.search-rail button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
}

.search-rail button svg {
  width: 15px;
}

.globe-caption {
  position: absolute;
  z-index: 4;
  left: calc((100% - var(--panel-width)) / 2);
  bottom: 48px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 241, 232, 0.42);
  font-size: 10px;
  pointer-events: none;
  transition: left 700ms var(--ease-out);
}

.atlas-shell:not(.panel-open) .globe-caption {
  left: 50%;
}

.globe-caption i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.album-panel {
  position: absolute;
  z-index: 8;
  inset: 0 0 0 auto;
  width: var(--panel-width);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 22px 18px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 23, 21, 0.93), rgba(5, 10, 9, 0.96)),
    var(--ink);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(26px) saturate(128%);
  transform: translateX(102%);
  transition: transform 760ms var(--ease-out);
}

.album-panel.is-open {
  transform: translateX(0);
}

.atlas-shell.is-flying .album-panel.is-open,
.atlas-shell.is-arrived .album-panel.is-open {
  transform: translateX(104%);
}

.panel-header {
  flex: 0 0 auto;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-header .eyebrow {
  margin-bottom: 5px;
}

.panel-edition {
  color: var(--muted);
  font-size: 10px;
}

.close-button {
  width: 36px;
  height: 36px;
}

.album-art {
  position: relative;
  flex: 0 0 clamp(170px, 24vh, 226px);
  overflow: hidden;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(3, 8, 8, 0.04), rgba(3, 8, 8, 0.58)),
    linear-gradient(135deg, var(--cover-a) 0%, #d9d2b2 28%, var(--cover-b) 68%, var(--cover-c) 100%);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.25);
  transition: background 800ms ease, box-shadow 800ms ease;
}

.atlas-shell.music-playing .album-art {
  box-shadow: 0 24px 64px rgba(var(--mood-rgb), 0.16), 0 24px 52px rgba(0, 0, 0, 0.25);
}

.cover-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.8), transparent 68%);
}

.sun-disc {
  position: absolute;
  top: 25px;
  right: 42px;
  width: clamp(66px, 8vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cover-accent);
  box-shadow:
    0 0 0 12px color-mix(in srgb, var(--cover-accent), transparent 88%),
    0 0 60px color-mix(in srgb, var(--cover-accent), transparent 48%);
}

.ridge {
  position: absolute;
  left: -14%;
  width: 135%;
  height: 62%;
  border: 1px solid rgba(238, 243, 230, 0.68);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.ridge-one {
  bottom: -34%;
  border-color: rgba(11, 35, 38, 0.92);
}

.ridge-two {
  bottom: -12%;
  transform: rotate(-3deg);
}

.cover-topline {
  position: absolute;
  top: 14px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  text-transform: uppercase;
}

.cover-title {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: grid;
  gap: 0;
}

.cover-title span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.cover-title strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(31px, 3.2vw, 44px);
  line-height: 0.95;
  font-weight: 400;
}

.cover-number {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.album-copy {
  flex: 0 0 auto;
  padding: 15px 1px 10px;
}

.album-copy h2 {
  margin: 5px 0 7px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(29px, 2.5vw, 38px);
  line-height: 1;
  font-weight: 400;
}

.album-copy h2 em {
  color: var(--gold);
  font-weight: 400;
}

.album-description {
  margin: 0;
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.48;
}

.session-player {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin: 0 0 11px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(225, 196, 120, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(110deg, rgba(225, 196, 120, 0.11), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.large-play {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #10120e;
  background: var(--gold);
  box-shadow: 0 0 30px rgba(225, 196, 120, 0.23);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.large-play:hover {
  transform: scale(1.06);
  box-shadow: 0 0 42px rgba(225, 196, 120, 0.36);
}

.large-play svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.now-playing {
  min-width: 0;
}

.now-playing span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.now-playing strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-time {
  color: var(--muted);
  font-size: 10px;
}

.waveform {
  grid-column: 2 / -1;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: center;
  gap: 3px;
  overflow: hidden;
}

.waveform i {
  height: 24%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sea), var(--gold));
  opacity: 0.55;
  transform-origin: center;
  animation: wavePulse 2.4s ease-in-out infinite;
  animation-play-state: paused;
}

.session-player.playing .waveform i {
  animation-play-state: running;
}

.waveform i:nth-child(2n) { height: 58%; animation-delay: -0.7s; }
.waveform i:nth-child(3n) { height: 86%; animation-delay: -1.3s; }
.waveform i:nth-child(5n) { height: 40%; animation-delay: -1.8s; }
.waveform i:nth-child(7n) { height: 72%; animation-delay: -0.3s; }

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.92; }
}

.player-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: -3px;
}

.player-controls button,
.track-toolbar button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: color 200ms ease, background 200ms ease;
}

.player-controls button:hover,
.track-toolbar button:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
}

.player-controls svg,
.track-toolbar svg {
  width: 14px;
  height: 14px;
}

.track-toolbar {
  flex: 0 0 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.track-toolbar span strong {
  color: var(--paper);
}

.track-toolbar > div {
  display: flex;
}

.track-list {
  flex: 1 1 auto;
  min-height: 90px;
  overflow: auto;
  padding: 5px 3px 5px 0;
  scrollbar-color: rgba(225, 196, 120, 0.3) transparent;
  scrollbar-width: thin;
}

.track {
  width: 100%;
  min-height: 39px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid rgba(226, 239, 230, 0.065);
  padding: 0 4px;
  color: var(--paper-soft);
  background: transparent;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, padding 220ms ease;
}

.track:hover,
.track.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  padding-left: 8px;
}

.track-number {
  color: rgba(244, 241, 232, 0.36);
  font-size: 9px;
}

.track-title {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track time {
  color: var(--muted);
  font-size: 9px;
}

.track-play {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--gold);
  background: transparent;
}

.track-play svg {
  width: 12px;
  height: 12px;
}

.platform-row {
  flex: 0 0 auto;
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.platform-row > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 9px;
}

.service-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper-soft);
  font-size: 9px;
}

.service-link > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07100e;
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
}

.spotify-link > span {
  background: #1ed760;
}

.service-link svg {
  width: 11px;
  height: 11px;
}

.reopen-album {
  position: absolute;
  z-index: 7;
  right: 26px;
  bottom: 28px;
  width: 245px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--paper);
  background: rgba(6, 13, 12, 0.76);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 520ms var(--ease-out);
}

.atlas-shell:not(.panel-open) .reopen-album {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mini-cover {
  width: 43px;
  height: 43px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 72% 25%, var(--cover-accent) 0 15%, transparent 16%),
    linear-gradient(135deg, var(--cover-a), var(--cover-b));
}

.reopen-album > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.reopen-album small {
  color: var(--gold);
  font-size: 8px;
  text-transform: uppercase;
}

.reopen-album strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-status {
  position: absolute;
  z-index: 5;
  left: 30px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(244, 241, 232, 0.38);
  font-size: 9px;
  pointer-events: none;
}

.world-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.world-status svg {
  width: 11px;
  height: 11px;
  color: var(--sea);
}

.journey-status {
  color: var(--mood-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 500ms ease, transform 700ms var(--ease-out);
}

.atlas-shell.journey-mode .journey-status {
  opacity: 1;
  transform: translateX(0);
}

.track-toolbar button.saved {
  color: var(--mood-accent);
}

.track-toolbar button.saved svg {
  fill: currentColor;
}

.country-hover-label {
  position: fixed;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(225, 196, 120, 0.34);
  border-radius: 18px;
  color: var(--paper);
  background: rgba(5, 11, 10, 0.74);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34), 0 0 28px rgba(225, 196, 120, 0.08);
  backdrop-filter: blur(16px);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.94);
  transition: opacity 620ms ease, transform 760ms var(--ease-out);
}

.country-hover-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mood-accent);
  box-shadow: 0 0 12px var(--mood-accent);
}

.country-hover-label.visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.country-hover-prompt {
  position: fixed;
  z-index: 11;
  max-width: 280px;
  color: rgba(244, 241, 232, 0.66);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) translateY(6px);
  transition: opacity 900ms ease 380ms, transform 1000ms var(--ease-out) 380ms;
}

.country-hover-prompt.visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --panel-width: 390px;
  }

  .intro-panel {
    width: 280px;
  }

  .intro-panel h1 {
    font-size: 58px;
  }

  .lede {
    font-size: 12px;
  }

  .collection-index,
  .world-status span:nth-child(2) {
    display: none;
  }

  .search-rail,
  .panel-open .search-rail {
    top: 82px;
    left: calc((100% - var(--panel-width)) / 2);
  }
}

@media (max-height: 700px) and (min-width: 821px) {
  .album-panel {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .panel-header {
    min-height: 38px;
    margin-bottom: 7px;
  }

  .album-art {
    flex-basis: 136px;
  }

  .album-copy {
    padding: 10px 1px 8px;
  }

  .album-copy h2 {
    margin-bottom: 0;
    font-size: 29px;
  }

  .album-description,
  .player-controls,
  .platform-row {
    display: none;
  }

  .session-player {
    margin-bottom: 7px;
    padding: 8px 9px;
  }

  .waveform {
    height: 19px;
  }

  .track-list {
    min-height: 72px;
  }
}

@media (max-width: 820px) {
  :root {
    --panel-width: 100vw;
  }

  .atlas-shell {
    min-height: 560px;
  }

  .topbar {
    top: 15px;
    left: 15px;
    right: 15px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy em {
    font-size: 21px;
  }

  .search-rail,
  .panel-open .search-rail {
    top: 72px;
    left: 50%;
    width: calc(100vw - 30px);
  }

  .intro-panel {
    left: 18px;
    right: 18px;
    bottom: 70px;
    width: auto;
  }

  .intro-panel h1 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .lede {
    max-width: 310px;
  }

  .album-panel {
    top: auto;
    width: 100%;
    height: min(78dvh, 690px);
    padding: 16px 15px 12px;
    border-top: 1px solid var(--line);
    border-left: 0;
    border-radius: 14px 14px 0 0;
    transform: translateY(102%);
  }

  .album-panel.is-open {
    transform: translateY(0);
  }

  .atlas-shell.is-flying .album-panel.is-open,
  .atlas-shell.is-arrived .album-panel.is-open {
    transform: translateY(104%);
  }

  .country-reveal {
    top: 45%;
    left: 50%;
    width: calc(100vw - 34px);
  }

  .country-reveal strong {
    font-size: clamp(48px, 16vw, 72px);
  }

  .country-reveal p {
    max-width: 300px;
    font-size: 15px;
  }

  .album-art {
    flex-basis: 150px;
  }

  .album-copy h2 {
    font-size: 30px;
  }

  .album-description {
    display: none;
  }

  .session-player {
    margin-top: 0;
  }

  .platform-row {
    display: none;
  }

  .reopen-album {
    right: 15px;
    bottom: 18px;
  }

  .globe-caption,
  .world-status,
  .country-hover-label,
  .country-hover-prompt {
    display: none;
  }

  .atlas-shell.focused .intro-panel {
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .menu-button,
  .icon-button {
    width: 40px;
    height: 40px;
  }

  .brand-signal {
    display: none;
  }

  .album-panel {
    height: 68dvh;
  }

  .album-art {
    flex-basis: 128px;
  }

  .cover-topline {
    display: none;
  }

  .track-list {
    min-height: 110px;
  }

  .secondary-action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
