@font-face {
  font-family: "Spotify Mix UI";
  src: url("../assets/fonts/spotify_mix_ui_regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spotify Mix UI";
  src: url("../assets/fonts/spotify_mix_ui_bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Spotify Mix UI Title";
  src: url("../assets/fonts/spotify_mix_ui_title_bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Spotify Mix UI Title";
  src: url("../assets/fonts/spotify_mix_ui_title_extrabold.otf") format("opentype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Spotify Mix Mono";
  src: url("../assets/fonts/spotify_mix_mono_regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #08090c;
  --ink: #f5eee2;
  --muted: #b7b1bd;
  --faint: #7f7a86;
  --cream: #f2e8d7;
  --periwinkle: #a8a2ff;
  --pink: #ff9c9f;
  --lime: #c2ff73;
  --orange: #ffad88;
  --cyan: #7ae0ff;
  --line: rgba(245, 238, 226, 0.24);
  --line-soft: rgba(245, 238, 226, 0.1);
  --ui: "Spotify Mix UI", "Helvetica Neue", sans-serif;
  --title: "Spotify Mix UI Title", "Spotify Mix UI", "Helvetica Neue", sans-serif;
  --mono: "Spotify Mix Mono", "SFMono-Regular", monospace;
  --content: 780px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #070708;
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
img.is-broken {
  opacity: 0 !important;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--periwinkle);
  color: #0a0a0b;
}

.ambient {
  display: none;
}

.stage {
  height: 100dvh;
  width: 100%;
}

.app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #08090b;
}

.app__shade {
  display: none;
}

/* Navigation */
.appbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px max(22px, calc((100vw - var(--content)) / 2));
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(3, 3, 4, 0.68), transparent);
}
.navbar {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}
.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  max-width: 72%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-center > * {
  pointer-events: auto;
}
.navbar__actions {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}
.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(7, 7, 9, 0.44);
  color: #fff;
  backdrop-filter: blur(12px);
  transition: background 150ms ease, transform 150ms ease;
}
.icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
}
.icon-button:active {
  transform: scale(0.94);
}
#backButton {
  justify-self: start;
}
#backButton svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
#soundButton svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
#soundButton.is-on {
  color: var(--lime);
}
#menuButton {
  display: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.brand-mark img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}
.now-chip {
  max-width: min(320px, 58vw);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.58);
  color: var(--cream);
  backdrop-filter: blur(16px);
}
.now-chip__cover {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--periwinkle);
  background-size: cover;
  background-position: center;
  color: #111;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}
.now-chip__cover.has-image {
  color: transparent;
}
.now-chip__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.now-chip__text strong,
.now-chip__text small {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.now-chip__text strong {
  font-size: 11px;
  letter-spacing: 0.01em;
}
.now-chip__text small {
  margin-top: 3px;
  color: rgba(245, 238, 226, 0.72);
  font-size: 10px;
}
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  line-height: 0;
}
.eq i {
  width: 2px;
  height: 30%;
  align-self: flex-end;
  border-radius: 1px;
  background: currentColor;
  transform-origin: 50% 100%;
  animation: eq 0.76s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.eq i:nth-child(2) {
  height: 68%;
  animation-delay: -0.18s;
}
.eq i:nth-child(3) {
  height: 44%;
  animation-delay: -0.38s;
}
.eq i:nth-child(4) {
  height: 92%;
  animation-delay: -0.56s;
}
.is-playing .eq i,
.now-chip.is-playing .eq i {
  animation-play-state: running;
}
.eq--tiny {
  height: 12px;
  margin-left: 1px;
  color: var(--lime);
}

/* Story layer */
.story-deck {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #08090b;
}
.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  background: #08090c;
}
.scene.is-active {
  z-index: 3;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.story-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #050608;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.story-deck.is-curtaining::after {
  opacity: 1;
}
.scene__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08090c;
}
.scene__image {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.4) brightness(0.62);
  opacity: 0.74;
  transform: scale(1.16);
  transition: opacity 480ms ease;
}

.scene__bg .topo {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: saturate(1.45) contrast(1.12) brightness(1.12);
}
.scene__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 4, 6, 0.62) 0%,
    rgba(3, 4, 6, 0.18) 19%,
    rgba(3, 4, 6, 0.14) 43%,
    rgba(3, 4, 6, 0.52) 70%,
    rgba(3, 4, 6, 0.88) 100%
  );
}
.scene__content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  max-width: calc(var(--content) + 48px);
  margin: 0 auto;
  padding: 100px 24px 104px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.scene__content::-webkit-scrollbar {
  display: none;
}
.scene--first-track .scene__content {
  padding-top: 100px;
}

.eyebrow {
  margin: 0;
  color: rgba(245, 238, 226, 0.82);
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.accent-pink {
  color: var(--pink);
}
.accent-lime {
  color: var(--lime);
}
.story-heading {
  max-width: 660px;
}
.story-heading--center {
  margin: 0 auto;
  text-align: center;
}
.story-heading h1 {
  margin: 10px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(36px, 6.5vw, 58px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.25);
}
.story-heading > p:last-child {
  margin: 12px 0 0;
  color: rgba(245, 238, 226, 0.74);
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.4;
}
.story-copy {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(245, 238, 226, 0.8);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.5;
}
.story-copy strong {
  color: var(--ink);
}
.source-note,
.tap-note {
  color: rgba(245, 238, 226, 0.64);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.tap-note {
  margin: auto 0 0;
  padding-top: 16px;
  text-align: center;
}
.source-note {
  margin: 18px 0 0;
}

/* Shared buttons */
.pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 160ms ease, filter 160ms ease;
}
.pill:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.pill:active {
  transform: scale(0.97);
}
.pill--cream {
  background: var(--cream);
  color: #0b0b0c;
}
.pill--white {
  background: #fff;
  color: #0b0b0c;
}
.pill--ghost {
  border: 1px solid rgba(245, 238, 226, 0.2);
  background: transparent;
  color: var(--ink);
}
.pill--large {
  min-height: 46px;
  padding-inline: 26px;
  font-size: 13px;
}
.pill__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.play-icon-wrap {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 13px;
}
.play-icon-wrap svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.play-icon-wrap .pause-icon {
  display: none;
}
.is-playing .play-icon-wrap .play-icon {
  display: none;
}
.is-playing .play-icon-wrap .pause-icon {
  display: block;
}
.artist-card__play .play-icon-wrap,
.artist-card__play .play-icon-wrap svg {
  width: 10px;
  height: 10px;
}
.round-control--play .play-icon-wrap {
  width: 11px;
  height: 11px;
  flex-basis: 11px;
}
.round-control--play .play-icon-wrap svg {
  width: 11px;
  height: 11px;
}
.text-button {
  padding: 9px 4px;
  border: 0;
  background: transparent;
  color: rgba(245, 238, 226, 0.64);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-button:hover {
  color: var(--ink);
}
.round-control {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245, 238, 226, 0.18);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.38);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.round-control__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.round-control--next .round-control__icon {
  transform: rotate(180deg);
}
.round-control--play .round-control__icon {
  width: 11px;
  height: 11px;
}
.art-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(6, 7, 9, 0.5);
  color: #fff;
  backdrop-filter: blur(14px);
  transition: background 160ms ease, transform 160ms ease;
}
.art-play:hover {
  background: rgba(255, 255, 255, 0.16);
}
.art-play__icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
}
.art-play__eq {
  display: none;
  height: 17px;
  color: var(--lime);
}
.art-play.is-playing .art-play__icon {
  display: none;
}
.art-play.is-playing .art-play__eq {
  display: inline-flex;
}
.track-play,
.genre-play {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Bottom controls */
.bottom-controls {
  position: absolute;
  z-index: 110;
  left: 50%;
  bottom: 0;
  width: min(100%, calc(var(--content) + 48px));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 24px 24px;
  pointer-events: none;
}
.bottom-controls > * {
  pointer-events: auto;
}
.app[data-scene="0"] .bottom-controls,
.app.is-outro .bottom-controls {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}
.next-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.next-button__label {
  color: rgba(245, 238, 226, 0.86);
  font-size: 11px;
  font-weight: 600;
}
.next-button__circle {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.52);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 150ms ease;
}
.next-button:hover .next-button__circle {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(2px);
}
.next-button__circle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.next-button.is-replay .next-button__circle svg {
  transform: rotate(180deg);
}
.bottom-controls__right {
  display: flex;
  align-items: center;
  gap: 9px;
}
.share-pill {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: #0b0b0c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.015em;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}
.share-pill__icon {
  width: 13px;
  height: 13px;
  display: grid;
  place-items: center;
}
.share-pill__icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.share-pill:hover {
  background: #fff;
}
.receipt-button {
  width: auto;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(245, 238, 226, 0.24);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.48);
  color: rgba(245, 238, 226, 0.86);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}
.receipt-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Toast */
.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 94px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.93);
  color: var(--ink);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 220ms ease;
  backdrop-filter: blur(16px);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Sheets */
.sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 220ms ease;
}
.sheet-layer.is-open {
  opacity: 1;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}
.sheet {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(780px, 92dvh);
  overflow-y: auto;
  padding: 10px 22px calc(20px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: #161618;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.58);
  transform: translateY(24px) scale(0.985);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sheet-layer.is-open .sheet {
  transform: none;
}
.sheet__handle {
  width: 34px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}
.sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.sheet__header h2 {
  margin: 5px 0 0;
  font-family: var(--title);
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.icon-button--light svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.menu-list {
  display: flex;
  flex-direction: column;
}
.menu-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  text-align: left;
}
.menu-row:last-child {
  border-bottom: 0;
}
.menu-row__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
}
.menu-row strong,
.menu-row small {
  display: block;
}
.menu-row strong {
  font-size: 14px;
}
.menu-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.menu-row__chevron {
  color: var(--muted);
  font-size: 19px;
}
.switch {
  width: 32px;
  height: 19px;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 160ms ease;
}
.switch i {
  display: block;
  width: 15px;
  height: 15px;
  margin: 2px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.switch.is-on {
  background: var(--lime);
}
.switch.is-on i {
  transform: translateX(13px);
  background: #111;
}
.sheet__actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.sheet__actions .pill {
  flex: 1;
  padding-inline: 11px;
  font-size: 12px;
}
.poster-preview {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  margin: 0 0 4px;
}
.poster-preview img {
  display: block;
  width: min(232px, 63vw);
  height: auto;
  border-radius: 13px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.55);
}
.poster-loading {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}
.sheet--receipt {
  background: #141416;
  max-height: min(820px, 94dvh);
}
.receipt-card {
  padding: 24px 18px 18px;
  border-radius: 7px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.65), transparent 24%),
    #eee7d9;
  color: #171513;
  font-family: var(--mono);
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.3);
}
.receipt-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #726b61;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.receipt-card__logo {
  color: #171513;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.receipt-card h2 {
  margin: 24px 0 3px;
  font-family: var(--title);
  font-size: 29px;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.receipt-card > p {
  margin: 0;
  color: #726b61;
  font-size: 9px;
}
.receipt-divider {
  height: 1px;
  margin: 16px 0;
  background-image: linear-gradient(to right, #8e887d 45%, transparent 0%);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}
.receipt-line {
  display: grid;
  grid-template-columns: 4px 20px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  font-size: 9px;
}
.receipt-line--head {
  padding-top: 0;
  color: #837c71;
  font-size: 8px;
  text-transform: uppercase;
}
.receipt-line__swatch {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--swatch, #777);
}
.receipt-line__index {
  color: #837c71;
}
.receipt-line__title {
  min-width: 0;
  overflow: hidden;
  color: #171513;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.receipt-line__meta {
  margin-left: 6px;
  color: #817a6f;
  font-family: var(--ui);
  font-size: 8px;
  font-weight: 400;
}
.receipt-line__value {
  text-align: right;
  white-space: nowrap;
}
.receipt-months {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
  height: 100px;
  padding: 8px 4px 0;
}
.receipt-month {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.receipt-month__track {
  width: min(24px, 70%);
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 3px 3px 1px 1px;
  background: rgba(21, 18, 15, 0.08);
}
.receipt-month__track i {
  width: 100%;
  display: block;
  border-radius: inherit;
  background: #1f1d1a;
}
.receipt-month span {
  color: #756e64;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.receipt-month strong {
  font-family: var(--ui);
  font-size: 8px;
  font-weight: 700;
}
.receipt-card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.03em;
}
.receipt-card__total strong {
  font-family: var(--title);
  font-size: 26px;
  letter-spacing: -0.035em;
}
.receipt-card__thanks {
  margin: 18px 0 0;
  color: #726b61;
  font-size: 8px;
  text-align: center;
}
.sheet__close-pill {
  display: flex;
  margin: 14px auto 0;
}

/* Loading and error */
.boot {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(89, 75, 255, 0.24), transparent 28%),
    radial-gradient(circle at 26% 80%, rgba(255, 103, 147, 0.18), transparent 26%),
    #08090c;
}
.boot__topo {
  position: absolute;
  inset: -20%;
  opacity: 0.5;
  background:
    repeating-radial-gradient(ellipse at 45% 45%, transparent 0 18px, rgba(122, 224, 255, 0.12) 19px 20px, transparent 21px 40px);
  filter: blur(7px) saturate(1.4);
  transform: rotate(-14deg);
  animation: bootDrift 8s ease-in-out infinite alternate;
}
.boot__inner {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  text-align: center;
}
.boot__title {
  margin: 12px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(45px, 8vw, 76px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.boot__copy,
.boot__error {
  max-width: 400px;
  margin: 22px auto 0;
  color: rgba(245, 238, 226, 0.66);
  font-size: 14px;
  line-height: 1.5;
}
.boot__meter {
  width: 176px;
  height: 2px;
  margin: 28px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.boot__meter i {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--periwinkle), var(--lime));
  animation: bootMeter 1.2s ease-in-out infinite;
}
.boot__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.boot__error {
  color: var(--pink);
}
.app.is-loading .appbar,
.app.is-loading .bottom-controls {
  opacity: 0;
  pointer-events: none;
}

/* Utility */
.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;
}

@keyframes eq {
  from {
    transform: scaleY(0.3);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes bootDrift {
  from {
    transform: rotate(-14deg) scale(1.02);
  }
  to {
    transform: rotate(-8deg) scale(1.12);
  }
}
@keyframes bootMeter {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (max-width: 720px) {
  :root {
    --content: 100vw;
  }
  .appbar {
    padding: 14px 18px;
  }
  .navbar {
    grid-template-columns: 54px 1fr 54px;
    height: 38px;
  }
  .icon-button {
    width: 37px;
    height: 37px;
  }
  .now-chip {
    max-width: 62vw;
  }
  .now-chip__text strong,
  .now-chip__text small {
    max-width: 120px;
  }
  .scene__content {
    padding: 84px 20px 96px;
  }
  .bottom-controls {
    padding: 16px 18px max(20px, env(safe-area-inset-bottom));
  }
  .share-pill,
  .receipt-button {
    height: 39px;
    padding-inline: 16px;
    font-size: 11.5px;
  }
  .sheet-layer {
    padding: 0;
  }
  .sheet {
    width: 100%;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  .scene__content {
    padding-top: 84px;
    padding-bottom: 88px;
  }
}

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


/* ew-3 wordmark */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  user-select: none;
}
.brand-lockup__mark {
  width: clamp(34px, 4.4vw, 52px);
  height: auto;
  aspect-ratio: 1;
  display: block;
}
.brand-lockup__year,
.brand-lockup__word {
  font-family: var(--title);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.brand-lockup__word {
  padding-right: 0.08em;
}
.brand-lockup__year {
  color: var(--cream);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.22);
}
.brand-lockup__word {
  color: transparent;
  background: linear-gradient(100deg, var(--lime), var(--cyan) 42%, var(--periwinkle) 78%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(112, 238, 255, 0.12));
}
.brand-lockup--outro .brand-lockup__mark {
  width: clamp(38px, 4.7vw, 56px);
}
.brand-lockup--outro .brand-lockup__year,
.brand-lockup--outro .brand-lockup__word {
  font-size: clamp(34px, 4.6vw, 52px);
}


@media (max-width: 380px) {
  .brand-lockup {
    gap: 6px;
  }
  .brand-lockup__mark {
    width: 30px;
  }
  .brand-lockup__year,
  .brand-lockup__word {
    font-size: 27px;
  }
  .brand-lockup--outro .brand-lockup__year,
  .brand-lockup--outro .brand-lockup__word {
    font-size: 28px;
  }
}

/* Account gate */
.connect {
  position: absolute;
  inset: 0;
  z-index: 520;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(104, 88, 255, 0.25), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(255, 103, 147, 0.13), transparent 32%),
    #08090c;
}
.connect[hidden] {
  display: none;
}
.connect__topo {
  position: absolute;
  inset: -24%;
  opacity: 0.42;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at 45% 45%,
    transparent 0 18px,
    rgba(122, 224, 255, 0.12) 19px 20px,
    transparent 21px 40px
  );
  filter: blur(7px) saturate(1.4);
  transform: rotate(-14deg);
}
.connect__inner {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  text-align: center;
}
.connect__brand {
  display: inline-flex;
  align-items: center;
}
.connect__brand img {
  display: block;
}
.connect__year,
.connect__word {
  font-family: var(--title);
  font-size: 33px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.connect__year {
  color: var(--cream);
}
.connect__word {
  background: linear-gradient(100deg, var(--lime), var(--cyan) 52%, var(--periwinkle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.connect .eyebrow {
  margin-top: 32px;
  color: rgba(245, 238, 226, 0.52);
}
.connect__title {
  margin: 28px 0 0;
  color: var(--cream);
  font-family: var(--title);
  font-size: clamp(42px, 9vw, 62px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.connect__copy {
  max-width: 380px;
  margin: 18px auto 0;
  color: rgba(245, 238, 226, 0.7);
  font-size: 13.5px;
  line-height: 1.5;
}
.connect__server {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}
.connect__server span {
  flex: 0 0 auto;
  color: rgba(245, 238, 226, 0.42);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.connect__server strong {
  overflow: hidden;
  color: rgba(245, 238, 226, 0.78);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connect__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}
.connect__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.connect__field span {
  color: rgba(245, 238, 226, 0.72);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.connect__field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
  font-family: var(--ui);
  font-size: 15px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.connect__field input:focus {
  border-color: rgba(194, 255, 115, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(194, 255, 115, 0.08);
}
.connect__error {
  margin: 2px 0 0;
  color: var(--pink);
  font-size: 11px;
  line-height: 1.4;
}
.connect__submit {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.connect__submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}
@media (max-width: 720px) {
  .connect {
    padding: 26px 20px;
  }
  .connect__inner {
    padding: 20px 0;
  }
  .connect__year,
  .connect__word {
    font-size: 29px;
  }
  .connect .eyebrow {
    margin-top: 24px;
  }
  .connect__title {
    font-size: clamp(38px, 12vw, 50px);
  }
  .connect__copy {
    margin-top: 14px;
  }
  .connect__server {
    margin-top: 17px;
  }
  .connect__form {
    margin-top: 14px;
  }
  .connect__field input {
    height: 46px;
  }
}

/* ew-3 service sign-in */
.connect__form {
  gap: 10px;
}
.connect__service {
  padding: 11px 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}
.connect__service-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.connect__service-head img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}
.connect__service-head > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.connect__service-head strong {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.connect__service-head small {
  overflow: hidden;
  color: rgba(245, 238, 226, 0.68);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connect__optional {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(245, 238, 226, 0.16);
  border-radius: 999px;
  color: rgba(245, 238, 226, 0.58);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.connect__service .connect__field {
  margin-top: 8px;
  gap: 5px;
}
.connect__service .connect__field input {
  height: 42px;
  font-size: 15px;
}
.connect__hint {
  margin: 3px 0 0;
  color: rgba(245, 238, 226, 0.7);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.connect__brand {
  gap: 0;
}
.connect__lockup {
  width: clamp(136px, 38vw, 150px);
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .connect__inner {
    padding: 8px 0;
  }
  .connect .eyebrow {
    margin-top: 18px;
  }
  .connect__title {
    font-size: clamp(34px, 10.5vw, 46px);
  }
  .connect__copy {
    margin-top: 12px;
    font-size: 13px;
  }
  .connect__form {
    margin-top: 11px;
  }
  .connect__service {
    padding: 9px 11px 10px;
  }
  .connect__service-head {
    margin-bottom: 6px;
  }
  .connect__service-head img {
    width: 24px;
    height: 24px;
  }
  .connect__service .connect__field {
    margin-top: 6px;
  }
  .connect__service .connect__field input {
    height: 37px;
  }
  .connect__note {
    margin-top: 10px;
  }
}
