:root {
  color-scheme: light;
  --ink: #2b2a28;
  --paper: #f8f7f2;
  --soft: #ece8df;
  --muted: #706a62;
  --red: #f04425;
  --blue: #225edc;
  --green: #2f8b67;
  --yellow: #f0c34a;
  --shadow: 0 20px 70px rgba(43, 42, 40, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #050505;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button {
  color: inherit;
  font: inherit;
}

.app {
  position: relative;
  overflow: hidden;
  width: min(420px, calc((100vh - 28px) * 9 / 19.5), calc(100vw - 28px));
  height: min(calc(420px * 19.5 / 9), calc(100vh - 28px), calc((100vw - 28px) * 19.5 / 9));
  aspect-ratio: 9 / 19.5;
  margin: 14px auto;
  background: var(--paper);
  border: 4px solid #fff;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px 22px 0;
}

.top-actions {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  pointer-events: auto;
}

.app:not(.is-home) .topbar {
  display: none;
}

.brand {
  display: none;
  max-width: 52%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.brand span {
  display: none;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 760;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-size: 18px;
  font-weight: 540;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}

.heard-button,
.plain-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 560;
  white-space: nowrap;
}

.heard-button {
  position: relative;
  z-index: 81;
  min-height: 44px;
  padding: 8px 13px;
  border: 2px solid rgba(43, 42, 40, 0.72);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.62);
  font-size: 15px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.heard-button:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

.heard-button::after,
.plain-button::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  background: var(--ink);
  transition: width 180ms ease;
}

.heard-button::after {
  display: none;
}

.heard-button:hover::after,
.plain-button:hover::after {
  width: 100%;
}

.screen {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-loader {
  position: absolute;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.page-loader.is-visible {
  opacity: 1;
}

.loader-cd {
  position: relative;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 7px, var(--ink) 8px 11px, transparent 12px),
    conic-gradient(from 20deg, #111 0 66%, #f0c34a 66% 82%, #fffaf0 82% 100%),
    #111;
  box-shadow: 0 14px 32px rgba(43, 42, 40, 0.2);
  animation: loader-spin 680ms linear infinite;
}

.loader-cd::before,
.loader-cd::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.loader-cd::after {
  inset: 18px;
}

.loader-cd span {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 10px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  transform: rotate(24deg);
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-screen {
  grid-template-rows: auto auto auto auto;
  align-content: start;
  row-gap: 16px;
  place-items: center;
  padding: 74px 22px 34px;
}

.archive-head h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.archive-head p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.stage {
  position: relative;
  width: 100%;
  height: min(43vh, 350px);
  min-height: 290px;
  opacity: 1;
  pointer-events: none;
}

.vinyl {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(82%, 330px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 5px solid #111;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #111 0 7px, #1d1d1b 8px 10px, #111 11px 18px),
    #111;
  box-shadow:
    0 24px 70px rgba(43, 42, 40, 0.22),
    inset 0 0 0 12px rgba(255, 255, 255, 0.04);
  animation: vinylSpin 18s linear infinite;
}

.vinyl::before,
.vinyl::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.vinyl::after {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.18);
}

.vinyl-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 3px solid #111;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #f8f7f2 0 48%, #f0c34a 49% 100%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.34);
}

.vinyl-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid #111;
}

.earth {
  position: absolute;
  left: 50%;
  top: 55%;
  width: clamp(220px, 32vw, 370px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 4px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(transparent 48%, rgba(43, 42, 40, 0.15) 49% 51%, transparent 52%),
    radial-gradient(circle at 38% 32%, #fff 0 5%, transparent 6%),
    #d9ecff;
  box-shadow: var(--shadow);
  animation: breathe 4s ease-in-out infinite;
}

.earth::before,
.earth::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(43, 42, 40, 0.22);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
}

.earth::after {
  inset: 3% 42%;
  border-color: transparent rgba(43, 42, 40, 0.18);
}

.continent {
  position: absolute;
  background: var(--green);
  border-radius: 52% 48% 44% 56%;
  transform: rotate(-12deg);
}

.continent.one {
  left: 22%;
  top: 22%;
  width: 28%;
  height: 21%;
}

.continent.two {
  right: 18%;
  top: 44%;
  width: 31%;
  height: 24%;
  background: #b7a05a;
}

.continent.three {
  left: 42%;
  bottom: 17%;
  width: 18%;
  height: 15%;
  background: #e0704b;
}

.orbit-label {
  position: absolute;
  color: rgba(43, 42, 40, 0.38);
  font-size: 18px;
}

.orbit-label.left {
  left: 4%;
  top: 58%;
  transform: rotate(-12deg);
}

.orbit-label.right {
  right: 4%;
  top: 24%;
  transform: rotate(9deg);
}

.drop-button {
  z-index: 30;
  position: relative;
  justify-self: center;
  align-self: start;
  min-width: min(300px, 82%);
  margin-top: 0;
  padding: 17px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 680;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    8px 8px 0 #ded8cc,
    0 0 0 8px rgba(248, 247, 242, 0.78);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.drop-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.home-date {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 560;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.mini-portrait,
.falling-portrait,
.big-portrait,
.player-portrait,
.archive-face {
  position: relative;
  overflow: hidden;
  border-radius: 48% 52% 45% 55%;
  background: #ffb0a8;
}

.mini-portrait {
  position: absolute;
  width: 92px;
  aspect-ratio: 1;
  opacity: 0.76;
}

.float-a {
  left: 9%;
  top: 18%;
  animation: floatA 5s ease-in-out infinite;
}

.float-b {
  right: 9%;
  bottom: 11%;
  animation: floatB 6s ease-in-out infinite;
}

.falling-portrait {
  position: absolute;
  left: 50%;
  top: -120px;
  z-index: 5;
  width: 120px;
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, 0) rotate(-8deg);
}

.home-screen .falling-portrait,
.home-screen .landing-dot {
  display: none;
}

.falling-portrait.is-falling {
  opacity: 1;
  animation: fall 1300ms cubic-bezier(0.35, 0.04, 0.2, 1.05) forwards;
}

.landing-dot {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 4;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.landing-dot.is-on {
  opacity: 1;
  animation: pulse 900ms ease-in-out infinite;
}

.landing-screen {
  overflow: hidden;
  place-items: center;
  padding: 140px 28px 42px;
  background:
    radial-gradient(circle at 50% 125%, rgba(47, 139, 103, 0.34) 0 18%, transparent 19%),
    linear-gradient(180deg, #fbfaf4 0%, #e8f2f3 56%, #d8edf3 100%);
}

.landing-copy {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  transform: translateY(-18px);
}

.big-portrait {
  width: min(190px, 42vw);
  aspect-ratio: 1;
  box-shadow: 10px 10px 0 #ded8cc;
  animation: landingFloat 1900ms cubic-bezier(0.28, 0.02, 0.22, 1) both;
}

.landing-copy p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 720;
}

.landing-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1;
}

.landing-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(248, 247, 242, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 680;
  animation: statusPulse 900ms ease-in-out infinite;
}

.landing-globe {
  position: absolute;
  left: 50%;
  bottom: -38%;
  z-index: 1;
  width: min(1120px, 128vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 5px solid rgba(43, 42, 40, 0.78);
  border-radius: 50%;
  background:
    linear-gradient(transparent 49%, rgba(43, 42, 40, 0.2) 49.5% 50.5%, transparent 51%),
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.88) 0 5%, transparent 6%),
    #bde2f0;
  box-shadow: 0 -24px 80px rgba(34, 94, 220, 0.12);
  animation: globeArrive 1600ms ease both;
}

.landing-globe::before,
.landing-globe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.landing-globe::before {
  inset: 13%;
  border: 2px solid rgba(43, 42, 40, 0.18);
  border-left-color: transparent;
  border-right-color: transparent;
}

.landing-globe::after {
  inset: 5% 43%;
  border: 2px solid rgba(43, 42, 40, 0.18);
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.globe-band {
  position: absolute;
  left: 11%;
  right: 11%;
  height: 2px;
  border-radius: 999px;
  background: rgba(43, 42, 40, 0.16);
}

.band-one {
  top: 33%;
}

.band-two {
  top: 66%;
}

.globe-land {
  position: absolute;
  background: #2f8b67;
  border: 2px solid rgba(43, 42, 40, 0.34);
}

.land-one {
  left: 42%;
  top: 18%;
  width: 17%;
  height: 12%;
  border-radius: 46% 54% 40% 60%;
  transform: rotate(-16deg);
}

.land-two {
  left: 54%;
  top: 31%;
  width: 12%;
  height: 16%;
  border-radius: 54% 46% 62% 38%;
  transform: rotate(22deg);
}

.land-three {
  left: 32%;
  top: 38%;
  width: 13%;
  height: 10%;
  border-radius: 48% 52% 58% 42%;
  background: #b7a05a;
  transform: rotate(10deg);
}

.bergen-pin {
  position: absolute;
  left: 47%;
  top: 27%;
  width: 18px;
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(240, 68, 37, 0.42);
  animation: pinPulse 900ms ease-in-out infinite;
}

.player-screen {
  overflow: hidden;
  padding: clamp(118px, 16vw, 150px) clamp(20px, 4vw, 48px) 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(248, 247, 242, 0.84) 54%, rgba(248, 247, 242, 0.94)),
    linear-gradient(135deg, #b8d8e5 0%, #f1d49d 44%, #e48255 100%);
}

.back-button {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  top: clamp(24px, 4vw, 38px);
  z-index: 6;
  padding: 8px 14px;
  border: 2px solid rgba(43, 42, 40, 0.72);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.72);
  cursor: pointer;
  font-size: 16px;
  font-weight: 560;
}

.back-button:hover {
  background: #fff;
}

.bergen-skyline {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mountain {
  position: absolute;
  bottom: 30%;
  width: 64%;
  height: 36%;
  background: rgba(65, 92, 84, 0.38);
  clip-path: polygon(0 100%, 24% 38%, 39% 68%, 57% 22%, 82% 72%, 100% 100%);
}

.mountain-a {
  left: -9%;
}

.mountain-b {
  right: -15%;
  bottom: 26%;
  opacity: 0.68;
  transform: scaleX(-1);
}

.house {
  position: absolute;
  bottom: 23%;
  width: 74px;
  height: 86px;
  border: 3px solid rgba(43, 42, 40, 0.42);
  background: rgba(240, 195, 74, 0.86);
}

.house::before {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: -28px;
  height: 30px;
  background: rgba(240, 68, 37, 0.9);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.h1 {
  left: 9%;
}

.h2 {
  left: 18%;
  bottom: 21%;
  background: rgba(255, 247, 216, 0.86);
}

.h3 {
  right: 17%;
  bottom: 22%;
  background: rgba(224, 112, 75, 0.84);
}

.h4 {
  right: 8%;
  bottom: 20%;
  background: rgba(255, 247, 216, 0.86);
}

.waterline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17%;
  height: 18%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 16px),
    rgba(80, 145, 164, 0.36);
}

.player-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.player-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.player-portrait {
  flex: 0 0 auto;
  width: clamp(86px, 14vw, 132px);
  aspect-ratio: 1;
  box-shadow: 7px 7px 0 var(--blue);
}

.player-head p,
.player-head h2,
.player-head span,
.player-head small {
  margin: 0;
}

.player-head p {
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--ink);
  font-weight: 650;
}

.player-head h2 {
  margin-top: 6px;
  font-size: clamp(24px, 4.2vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.player-head span {
  display: block;
  margin-top: 6px;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.25;
  color: var(--muted);
}

.player-head small {
  display: block;
  margin-top: 5px;
  font-size: clamp(12px, 1.5vw, 15px);
  line-height: 1.3;
  color: var(--muted);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 34px);
  padding-top: 2px;
}

.player-controls button {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(43, 42, 40, 0.16);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pause-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 20px;
}

.pause-toggle.is-playing span::before,
.pause-toggle.is-playing span::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 6px;
  height: 18px;
  border-radius: 2px;
  background: var(--ink);
}

.pause-toggle.is-playing span::before {
  left: 2px;
}

.pause-toggle.is-playing span::after {
  right: 2px;
}

.pause-toggle:not(.is-playing) span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--ink);
}

.progress-wrap {
  display: grid;
  gap: 10px;
  width: min(720px, 100%);
  justify-self: center;
}

.time-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.progress-track {
  overflow: hidden;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--red);
}

.review-panel {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 35vh, 360px);
  margin-top: 4px;
  padding: 22px clamp(18px, 3vw, 30px);
  border: 3px solid rgba(43, 42, 40, 0.84);
  background: rgba(255, 252, 244, 0.88);
  box-shadow: 10px 10px 0 rgba(43, 42, 40, 0.12);
}

.review-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.review-toolbar h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
}

.review-heading {
  display: grid;
  gap: 2px;
}

.review-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.review-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.review-toolbar select {
  height: 34px;
  padding: 0 30px 0 10px;
  border: 2px solid rgba(43, 42, 40, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
}

.review-stream {
  display: grid;
  justify-items: center;
  gap: 18px;
  overflow-y: auto;
  height: calc(100% - 54px);
  padding-bottom: 80px;
  text-align: center;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.review-stream.is-scrolling {
  animation: none;
}

.review-stream.is-paused {
  animation: none;
}

.review-line {
  max-width: min(620px, 100%);
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.55;
  opacity: 1;
  transform: none;
}

.review-line small {
  display: none;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.archive-screen,
.annual-screen {
  overflow-y: auto;
  padding: clamp(104px, 14vw, 132px) clamp(22px, 5vw, 48px) 48px;
}

.archive-head,
.annual-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.annual-head h1,
.annual-head p {
  margin: 0;
}

.annual-head h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
}

.annual-head p {
  color: var(--muted);
  font-size: 13px;
}

.archive-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
  padding-bottom: 60px;
}

.annual-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 60px;
}

.annual-item {
  display: grid;
  grid-template-columns: 72px 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 12px 14px;
  border: 2px solid rgba(43, 42, 40, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.82);
  text-align: left;
  cursor: pointer;
}

.annual-item.is-locked {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.46;
}

.annual-date {
  display: grid;
  justify-items: start;
  color: var(--ink);
}

.annual-date strong {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.annual-copy p {
  color: var(--muted);
  font-size: 12px;
}

.annual-face {
  width: 54px;
}

.annual-copy {
  min-width: 0;
}

.annual-copy strong,
.annual-copy span,
.annual-copy b,
.annual-copy p {
  display: block;
}

.archive-copy strong,
.annual-copy strong {
  overflow: hidden;
  font-size: 18px;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-copy strong em,
.annual-copy strong em {
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.annual-copy span,
.archive-copy span {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-copy b,
.annual-copy b {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-copy p,
.annual-copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 16px;
  border: 2px solid rgba(43, 42, 40, 0.2);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.76);
  cursor: pointer;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.archive-item:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(43, 42, 40, 0.1);
}

.archive-face {
  width: 82px;
  aspect-ratio: 1;
  box-shadow: 6px 6px 0 #ded8cc;
}

.archive-copy {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.archive-copy strong,
.archive-copy span,
.archive-copy p {
  display: block;
}

.archive-copy strong {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.35;
}

.archive-copy strong em {
  color: var(--muted);
  font-style: normal;
  font-weight: 560;
}

.archive-copy span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.archive-copy p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.55;
}

.composer-card {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 9999;
  display: none;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  width: min(680px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffcf4;
  box-shadow:
    0 0 0 9999px rgba(5, 5, 5, 0.42),
    12px 12px 0 rgba(43, 42, 40, 0.18);
  transform: translate(-50%, -50%);
}

.composer-card.is-open {
  display: grid;
}

.card-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.card-face {
  width: 112px;
}

.card-copy strong,
.card-copy span,
.card-copy p {
  display: block;
}

.card-copy strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.card-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

.card-copy h4 {
  margin: 12px 0 16px;
  font-size: clamp(19px, 2.6vw, 28px);
  line-height: 1.2;
}

.card-copy p {
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.card-copy dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.card-copy dl div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(43, 42, 40, 0.16);
}

.card-copy dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-copy dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 20px;
}

[data-face]::before,
[data-face]::after,
.face-lines::before,
.face-lines::after,
.face-extra::before,
.face-extra::after,
.face-prop::before,
.face-prop::after {
  content: "";
  position: absolute;
}

[data-face]::before {
  left: 18%;
  top: 18%;
  width: 66%;
  height: 28%;
  border-radius: 50% 48% 18% 22%;
  background: #3b3d3c;
  transform: rotate(5deg);
}

[data-face]::after {
  left: 47%;
  top: 42%;
  width: 13%;
  height: 28%;
  border-radius: 52% 48% 60% 40%;
  background: #ef4b22;
  transform: rotate(8deg);
}

.face-lines {
  position: absolute;
  inset: 0;
}

.face-extra,
.face-prop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.face-lines::before {
  left: 25%;
  top: 49%;
  width: 9%;
  height: 8%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 38px 2px 0 var(--ink);
}

.face-lines::after {
  left: 34%;
  bottom: 24%;
  width: 30%;
  height: 8%;
  border-bottom: 5px solid #d8321c;
  border-radius: 50%;
  transform: rotate(-6deg);
}

.face-extra::before {
  left: 20%;
  top: 36%;
  width: 17%;
  height: 4%;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 36px 1px 0 var(--ink);
  transform: rotate(-8deg);
}

.face-extra::after {
  left: 40%;
  bottom: 14%;
  width: 24%;
  height: 12%;
  border-radius: 0 0 50% 50%;
  background: transparent;
}

.face-prop::before,
.face-prop::after {
  opacity: 0;
}

[data-face="debussy"] {
  background: #ffd7b8;
}

[data-face="debussy"]::before {
  left: 13%;
  top: 12%;
  width: 74%;
  height: 34%;
  background: #d7d9d9;
  transform: rotate(-16deg);
}

[data-face="debussy"]::after {
  background: #db6ee8;
  transform: rotate(12deg);
}

[data-face="debussy"] .face-extra::before {
  left: 22%;
  top: 38%;
  width: 15%;
  box-shadow: 34px 2px 0 var(--ink);
}

[data-face="debussy"] .face-extra::after {
  left: 30%;
  bottom: 15%;
  width: 42%;
  height: 16%;
  border-radius: 45% 55% 52% 48%;
  background: #d7d9d9;
}

[data-face="debussy"] .face-prop::before {
  opacity: 1;
  left: 25%;
  top: 47%;
  width: 18%;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 45%;
  background: transparent;
  box-shadow: 32px 1px 0 -1px transparent;
}

[data-face="mozart"] {
  background: #ffe0cb;
}

[data-face="mozart"]::before {
  left: 7%;
  top: 7%;
  width: 86%;
  height: 38%;
  background: #f2f0e8;
  border-radius: 42% 58% 42% 58%;
}

[data-face="mozart"] .face-extra::before {
  left: 7%;
  top: 31%;
  width: 18%;
  height: 26%;
  border-radius: 50%;
  background: #f2f0e8;
  box-shadow: 68px 2px 0 #f2f0e8;
  transform: none;
}

[data-face="mozart"] .face-extra::after {
  left: 32%;
  top: 10%;
  width: 34%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 13px 0 -5px rgba(255, 255, 255, 0.9);
}

[data-face="satie"] {
  background: #ffc7bd;
}

[data-face="satie"]::before {
  left: 24%;
  top: 15%;
  width: 54%;
  height: 20%;
  background: #1f1f1f;
}

[data-face="shostakovich"] {
  background: #ffd9bd;
}

[data-face="shostakovich"]::before {
  background: #cfcfcb;
}

[data-face="grieg"] {
  background: #ffd2bd;
}

[data-face="grieg"]::before {
  left: 12%;
  top: 12%;
  width: 76%;
  height: 34%;
  background: #e8e5dc;
  border-radius: 46% 54% 24% 28%;
  transform: rotate(-7deg);
}

[data-face="grieg"]::after {
  left: 48%;
  top: 43%;
  width: 12%;
  height: 24%;
  background: #dc5b28;
  transform: rotate(-4deg);
}

[data-face="grieg"] .face-lines::after {
  left: 28%;
  bottom: 18%;
  width: 44%;
  height: 20%;
  border: 0;
  border-radius: 42% 58% 52% 48%;
  background: #e8e5dc;
  transform: rotate(-3deg);
}

[data-face="grieg"] .face-extra::before {
  left: 18%;
  top: 37%;
  width: 16%;
  box-shadow: 40px 1px 0 var(--ink);
}

[data-face="grieg"] .face-extra::after {
  left: 29%;
  bottom: 31%;
  width: 42%;
  height: 9%;
  border-radius: 999px;
  background: #e8e5dc;
  transform: rotate(2deg);
}

[data-face="chopin"] {
  background: #ffd9c2;
}

[data-face="chopin"]::before {
  left: 18%;
  top: 11%;
  width: 66%;
  height: 38%;
  background: #2f2e2b;
  border-radius: 58% 42% 34% 30%;
  transform: rotate(-12deg);
}

[data-face="chopin"] .face-extra::before {
  left: 18%;
  top: 34%;
  width: 18%;
  height: 5%;
  box-shadow: 39px 4px 0 var(--ink);
  transform: rotate(-18deg);
}

[data-face="chopin"] .face-extra::after {
  left: 14%;
  top: 19%;
  width: 28%;
  height: 40%;
  border-radius: 54% 22% 42% 48%;
  background: #2f2e2b;
  transform: rotate(13deg);
}

[data-face="beethoven"] {
  background: #ffc8b8;
}

[data-face="beethoven"]::before {
  left: 10%;
  top: 8%;
  width: 80%;
  height: 42%;
  background: #303030;
  border-radius: 38% 62% 34% 28%;
  transform: rotate(4deg);
}

[data-face="beethoven"] .face-extra::before {
  left: 4%;
  top: 8%;
  width: 22%;
  height: 34%;
  border-radius: 50%;
  background: #303030;
  box-shadow:
    18px -8px 0 #303030,
    42px -10px 0 #303030,
    64px 0 0 #303030;
  transform: rotate(-13deg);
}

[data-face="beethoven"] .face-extra::after {
  left: 24%;
  top: 37%;
  width: 16%;
  height: 5%;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 34px -1px 0 var(--ink);
  transform: rotate(-18deg);
}

[data-face="vivaldi"] {
  background: #ffe0c9;
}

[data-face="vivaldi"]::before {
  left: 9%;
  top: 8%;
  width: 82%;
  height: 46%;
  background: #f4efe2;
  border-radius: 52% 48% 40% 36%;
}

[data-face="vivaldi"] .face-extra::before {
  left: 18%;
  top: 9%;
  width: 64%;
  height: 32%;
  border-radius: 50% 50% 34% 34%;
  background: #f8f3e7;
  box-shadow:
    -11px 19px 0 -2px #f8f3e7,
    11px 19px 0 -2px #f8f3e7;
  transform: none;
}

[data-face="vivaldi"] .face-prop::before {
  opacity: 1;
  left: 28%;
  bottom: -3%;
  width: 44%;
  height: 24%;
  border-radius: 48% 52% 0 0;
  background: #1d1d1b;
}

[data-face="vivaldi"] .face-prop::after {
  opacity: 1;
  left: 35%;
  bottom: -1%;
  width: 30%;
  height: 18%;
  border-radius: 48% 52% 0 0;
  background: #d8321c;
}

[data-face="tchaikovsky"] {
  background: #ffd2c0;
}

[data-face="tchaikovsky"]::before {
  left: 14%;
  top: 12%;
  width: 72%;
  height: 30%;
  background: #55483d;
}

[data-face="tchaikovsky"] .face-lines::after {
  left: 26%;
  bottom: 12%;
  width: 48%;
  height: 25%;
  border: 0;
  border-radius: 38% 62% 56% 44%;
  background: #6f6256;
}

[data-face="tchaikovsky"] .face-extra::before {
  left: 23%;
  top: 35%;
  width: 18%;
  height: 5%;
  box-shadow: 36px 0 0 var(--ink);
  transform: rotate(-5deg);
}

[data-face="tchaikovsky"] .face-extra::after {
  left: 31%;
  bottom: 30%;
  width: 38%;
  height: 10%;
  border-radius: 999px;
  background: #6f6256;
}

[data-face="bach"] {
  background: #ffdcc7;
}

[data-face="bach"]::before {
  left: 6%;
  top: 6%;
  width: 88%;
  height: 44%;
  border-radius: 44% 56% 36% 34%;
  background: #f1eee4;
}

[data-face="bach"] .face-extra::before {
  left: 5%;
  top: 28%;
  width: 20%;
  height: 26%;
  border-radius: 50%;
  background: #f1eee4;
  box-shadow:
    66px 0 0 #f1eee4,
    0 23px 0 -3px #f1eee4,
    66px 23px 0 -3px #f1eee4;
  transform: none;
}

[data-face="bach"] .face-extra::after {
  left: 29%;
  top: 11%;
  width: 42%;
  height: 20%;
  border-radius: 50%;
  background: #fffaf0;
}

@keyframes breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -52%) scale(1.03);
  }
}

@keyframes floatA {
  50% {
    transform: translate(12px, -18px) rotate(-5deg);
  }
}

@keyframes floatB {
  50% {
    transform: translate(-10px, 16px) rotate(7deg);
  }
}

@keyframes fall {
  0% {
    transform: translate(-50%, -40px) rotate(-12deg) scale(0.82);
  }
  78% {
    transform: translate(-50%, 390px) rotate(10deg) scale(1.03);
  }
  100% {
    transform: translate(-50%, 350px) rotate(0deg) scale(0.84);
  }
}

@keyframes pulse {
  50% {
    transform: translate(-50%, -50%) scale(1.7);
  }
}

@keyframes vinylSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes landingFloat {
  0% {
    opacity: 0;
    transform: translateY(-210px) rotate(-10deg) scale(0.76);
  }
  74% {
    opacity: 1;
    transform: translateY(14px) rotate(5deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes globeArrive {
  from {
    transform: translateX(-50%) translateY(110px) scale(0.96);
  }
  to {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes pinPulse {
  50% {
    box-shadow: 0 0 0 15px rgba(240, 68, 37, 0);
    transform: scale(1.16);
  }
}

@keyframes statusPulse {
  50% {
    background: #fff;
    transform: translateY(-2px);
  }
}

@keyframes lineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reviewScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-58%);
  }
}

@media (max-width: 680px) {
  .app {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border: 0;
  }

  .topbar {
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .brand {
    display: none;
    max-width: 54%;
  }

  .brand small {
    font-size: 17px;
    white-space: nowrap;
  }

  .heard-button,
  .plain-button {
    font-size: 16px;
  }

  .home-screen {
    padding: 72px 20px 30px;
    row-gap: 15px;
  }

  .stage {
    width: 100%;
    height: 40vh;
    min-height: 250px;
  }

  .vinyl {
    width: min(80%, 310px);
  }

  .mini-portrait {
    width: 72px;
  }

  .drop-button {
    min-width: min(286px, 82%);
    padding-inline: 22px;
    font-size: 19px;
  }

  .home-date {
    font-size: 18px;
  }

  .landing-screen {
    padding-top: 128px;
  }

  .landing-globe {
    bottom: -20%;
    width: 138vw;
  }

  .orbit-label {
    display: none;
  }

  .player-head {
    align-items: flex-start;
    gap: 14px;
  }

  .player-screen {
    padding-top: 112px;
  }

  .player-portrait {
    width: 74px;
  }

  .player-controls button {
    width: 44px;
  }

  .review-panel {
    height: 310px;
    padding: 18px 16px;
  }

  .house {
    width: 48px;
    height: 62px;
  }

  .archive-head {
    display: grid;
  }

  .archive-item {
    grid-template-columns: 78px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .archive-face {
    width: 68px;
  }

  .composer-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .card-face {
    width: 104px;
  }
}

/* 9:19.5 phone-frame normalization */
.player-screen {
  padding: 72px 18px 22px;
}

.back-button {
  left: 18px;
  top: 22px;
  padding: 7px 13px;
  font-size: 14px;
}

.player-shell {
  width: 100%;
  gap: 12px;
}

.player-head {
  gap: 12px;
  align-items: flex-start;
}

.player-portrait {
  width: 68px;
}

.player-head p {
  font-size: 12px;
  line-height: 1.25;
}

.player-head h2 {
  font-size: 21px;
  line-height: 1.12;
}

.player-head span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.25;
}

.player-head small {
  margin-top: 4px;
  font-size: 11px;
}

.player-controls {
  gap: 20px;
}

.player-controls button {
  width: 42px;
}

.pause-toggle span {
  transform: scale(0.86);
}

.progress-wrap {
  width: 100%;
  gap: 7px;
}

.time-row {
  font-size: 12px;
}

.progress-track {
  height: 10px;
}

.review-panel {
  height: min(45vh, 370px);
  min-height: 315px;
  padding: 14px 13px;
  border-width: 2px;
}

.review-toolbar {
  margin-bottom: 10px;
}

.review-toolbar h3 {
  font-size: 16px;
}

.review-heading p {
  font-size: 11px;
}

.review-toolbar label {
  font-size: 12px;
}

.review-toolbar select {
  height: 29px;
  max-width: 104px;
  padding: 0 18px 0 7px;
}

.review-stream {
  justify-items: stretch;
  gap: 13px;
  height: calc(100% - 39px);
  padding: 0 2px 32px;
  text-align: left;
}

.review-line {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.72;
}

.archive-screen,
.annual-screen {
  padding: 72px 16px 24px;
}

.archive-head h1,
.annual-head h1 {
  font-size: 25px;
  line-height: 1.15;
}

.annual-head p {
  font-size: 12px;
}

.archive-grid {
  gap: 11px;
  margin-top: 22px;
  padding-bottom: 24px;
}

.annual-list {
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 24px;
}

.annual-item {
  grid-template-columns: 72px 54px minmax(0, 1fr);
  gap: 10px;
  min-height: 86px;
  padding: 11px 12px;
  border-width: 1.5px;
}

.annual-date strong {
  font-size: 16px;
}

.annual-face {
  width: 50px;
}

.archive-copy strong,
.annual-copy strong {
  font-size: 17px;
}

.annual-copy span,
.annual-copy b,
.archive-copy b,
.annual-copy p {
  font-size: 10.5px;
}

.archive-item {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  min-height: 82px;
  padding: 11px;
  border-width: 1.5px;
}

.archive-face {
  width: 54px;
  justify-self: center;
}

.archive-copy strong {
  font-size: 17px;
  line-height: 1.25;
}

.archive-copy span {
  font-size: 12px;
}

.archive-copy p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
}

.composer-card {
  top: 50%;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  max-height: calc(100% - 44px);
  padding: 20px 16px;
}

.card-face {
  width: 82px;
}

.card-copy strong {
  font-size: 26px;
  text-align: center;
}

.card-copy span,
.card-copy h4 {
  text-align: center;
}

.card-copy span {
  font-size: 13px;
}

.card-copy h4 {
  margin: 8px 0 10px;
  font-size: 18px;
}

.card-copy dl {
  gap: 8px;
}

.card-copy dl div {
  padding-top: 8px;
}

.card-copy dd {
  font-size: 13px;
  line-height: 1.48;
}
