/* =========================================
   MIXTAPE FOR YOU — LOVELY.
   HYBRID: SPOTIFY × ROMANTIC EDITORIAL
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');


/* =========================================
   01. GLOBAL VARIABLES
========================================= */

:root {
  color-scheme: dark;

  --bg: #080809;
  --panel: #111112;
  --panel-2: #19191b;
  --panel-3: #232326;

  --ink: #f7f7f5;
  --muted: #aaa9ae;

  --green: #5bd36d;
  --green-deep: #2bab4d;

  --coral: #f17870;
  --pink: #dd5d92;
  --soft-pink: #e9b0c5;
  --burgundy: #632c46;
  --lavender: #9c75c9;
  --blue: #5f83ce;
  --ivory: #f1e6d8;

  --line: rgba(255, 255, 255, .09);

  --sidebar-width: 250px;
  --player-height: 88px;
  --mobile-nav-height: 70px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow: 0 20px 60px rgba(0, 0, 0, .35);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-letter: 'Cormorant Garamond', Georgia, serif;
}


/* =========================================
   02. RESET & BASE
========================================= */

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;

  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-main);

  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button,
a,
summary,
input {
  outline-offset: 5px;
}

button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
}

button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

img {
  display: block;
  max-width: 100%;
}

button,
summary {
  touch-action: manipulation;
}

::selection {
  color: white;
  background: var(--burgundy);
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #393939;
}


/* =========================================
   03. BACKGROUND & MAIN APPLICATION
========================================= */

.ambient {
  position: fixed;
  z-index: 0;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .1;
  pointer-events: none;
}

.ambient-one {
  top: -20rem;
  left: -10rem;
  background: var(--green);
}

.ambient-two {
  right: -20rem;
  bottom: -15rem;
  background: var(--pink);
}

.stage {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  min-height: 100vh;

  margin: 0;
  padding: 0;
}

.phone-wrap {
  width: 100%;
  max-width: none;
}

.phone,
.app-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;

  height: auto;
  max-height: none;
  aspect-ratio: auto;

  overflow: visible;

  border: 0;
  border-radius: 0;

  background: var(--panel);
  box-shadow: none;
}

/* Remove the old simulated phone status bar */

.status-bar,
.hint,
.intro-copy {
  display: none;
}


/* =========================================
   04. PAGE SYSTEM
========================================= */

.view {
  position: relative;
  display: none;

  width: 100%;
  min-width: 0;
  min-height: 100vh;

  background: var(--panel);
}

.view.active {
  display: block;
  animation: page-in .45s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.app-shell:has(.sidebar:not([hidden]))
:is(.app-view, .story-view) {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
}

.app-view,
.story-view {
  padding-bottom: 150px;
}

.scroll-content {
  width: 100%;
  height: auto;
  overflow: visible;
}

.home-scroll,
.search-scroll {
  padding: 12px 40px 30px;
}

.page-footer {
  padding: 35px 0 10px;
  color: #77777e;
  font-size: 11px;
  text-align: center;
}


/* =========================================
   05. TYPOGRAPHY & COMMON ELEMENTS
========================================= */

.eyebrow,
.microcopy,
.section-kicker {
  margin: 0 0 12px;

  color: var(--green);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.6;

  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;
  background: var(--green);
}

.brand-mark.large {
  width: 68px;
  height: 68px;
}

.brand-mark.mini {
  width: 32px;
  height: 32px;
}

.brand-mark span {
  display: block;
  width: 58%;
  height: 6px;
  margin: 1px 0;

  border-top: 3px solid #101111;
  border-radius: 50%;

  transform: rotate(6deg);
}

.brand-mark.mini span {
  height: 3px;
  border-top-width: 2px;
}

.icon-button,
.avatar-button {
  display: grid;
  place-items: center;

  flex-shrink: 0;
  width: 40px;
  height: 40px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: transparent;
  font-size: 20px;

  transition: background .2s, transform .2s;
}

.icon-button:hover {
  background: rgba(255, 255, 255, .09);
  transform: scale(1.05);
}

.avatar-button {
  color: #101110;
  background: linear-gradient(140deg, #c4f3bd, #61cf75);
  font-size: 14px;
  font-weight: 900;
}

.btn,
.pill-button {
  min-height: 46px;
  padding: 13px 24px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 800;

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.btn:hover,
.pill-button:hover {
  transform: translateY(-3px);
}

.btn:active,
.pill-button:active {
  transform: scale(.98);
}

.btn-primary {
  color: #101510;
  background: var(--green);
}

.btn-primary:hover {
  background: #81e993;
  box-shadow: 0 8px 35px rgba(91, 211, 109, .2);
}

.btn-outline {
  color: white;
  background: transparent;
  border-color: var(--line);
}

.pill-button {
  color: #101510;
  background: var(--green);
}

.text-button,
.text-link {
  padding: 8px 0;
  border: 0;

  color: var(--muted);
  background: transparent;

  font-size: 12px;
  font-weight: 600;

  transition: color .2s;
}

.text-button:hover,
.text-link:hover {
  color: white;
}


/* =========================================
   06. WELCOME PAGE
========================================= */

.welcome-view {
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 80% 40%,
      rgba(66, 160, 89, .17),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 15% 90%,
      rgba(170, 65, 105, .12),
      transparent 40%
    ),
    #0a0b0b;
}

.login-glow {
  position: absolute;
  top: -300px;
  right: -200px;

  width: 800px;
  height: 800px;

  background: radial-gradient(
    circle,
    rgba(91, 211, 109, .15),
    transparent 65%
  );

  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  width: 65%;
  max-width: 1000px;
  min-height: 100svh;

  padding: 65px clamp(35px, 7vw, 120px);
}

.welcome-content .brand-mark {
  margin-bottom: 30px;
}

.welcome-content h1 {
  margin: 0;

  font-size: clamp(50px, 6.8vw, 108px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.075em;
}

.welcome-content h1 em {
  color: var(--green);

  font-family: var(--font-editorial);
  font-weight: 400;
}

.welcome-description {
  max-width: 500px;
  margin: 26px 0;

  color: #b1b4b1;
  font-size: 15px;
  line-height: 1.9;
}

.welcome-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;

  margin: 12px 0 32px;
  padding-top: 25px;

  border-top: 1px solid var(--line);
}

.welcome-stats div {
  display: grid;
  gap: 6px;
}

.welcome-stats strong {
  font-size: 26px;
}

.welcome-stats span {
  color: var(--muted);
  font-size: 11px;
}

.login-actions {
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
}

.login-actions .btn {
  min-height: 54px;
}

.welcome-footer {
  margin: 38px 0 0;

  color: #777b77;
  font-size: 9px;
  letter-spacing: .13em;
  line-height: 1.6;
}

.welcome-decoration {
  position: absolute;
  top: 50%;
  right: 7%;

  display: grid;
  place-items: center;

  width: 33vw;
  aspect-ratio: 1;

  transform: translateY(-50%);
  pointer-events: none;
}

.welcome-orbit {
  position: absolute;
  inset: 0;

  border: 1px solid rgba(91, 211, 109, .22);
  border-radius: 50%;
}

.orbit-one {
  animation: orbit-float 7s ease-in-out infinite;
}

.orbit-two {
  inset: 12%;
  border-color: rgba(221, 93, 146, .28);
  animation: orbit-float 7s ease-in-out infinite reverse;
}

.welcome-heart {
  color: #b3e7bb;
  font-family: Georgia, serif;
  font-size: clamp(100px, 19vw, 300px);

  text-shadow: 0 0 80px rgba(91, 211, 109, .4);

  animation: heart-float 5s ease-in-out infinite;
}

@keyframes orbit-float {
  0%, 100% {
    transform: rotate(-12deg) scale(1);
  }

  50% {
    transform: rotate(12deg) scale(.92);
  }
}

@keyframes heart-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}


/* =========================================
   07. DESKTOP SIDEBAR
========================================= */

.sidebar.bottom-nav {
  position: fixed;
  z-index: 40;

  top: 0;
  bottom: 0;
  left: 0;

  display: flex;
  flex-direction: column;

  width: var(--sidebar-width);
  padding: 32px 18px;

  overflow-y: auto;

  border-right: 1px solid var(--line);
  background: #101011;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0 10px;
  margin-bottom: 50px;
}

.sidebar-brand strong {
  display: block;
  color: var(--green);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.sidebar-brand small {
  display: block;
  margin-top: 4px;

  color: var(--muted);
  font-size: 9px;
}

.nav-group {
  display: grid;
  gap: 6px;
}

.nav-label {
  padding-left: 12px;
  margin: 0 0 12px;

  color: #76767c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;
  min-height: 48px;
  padding: 12px 15px;

  border: 0;
  border-radius: 9px;

  color: #96969e;
  background: transparent;

  text-align: left;

  transition: background .2s, color .2s;
}

.nav-item span {
  width: 22px;
  font-size: 22px;
  text-align: center;
}

.nav-item small {
  font-size: 13px;
  font-weight: 600;
}

.nav-item:hover {
  color: white;
  background: #1d1d20;
}

.nav-item.active {
  color: white;
  background: #242825;
}

.nav-item.active span {
  color: var(--green);
}

.sidebar-note {
  margin-top: auto;
  padding: 20px 14px;

  border-top: 1px solid var(--line);
}

.sidebar-heart {
  color: var(--soft-pink);
  font-family: Georgia, serif;
  font-size: 35px;
}

.sidebar-note p {
  color: #a7a2a6;

  font-family: var(--font-editorial);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.sidebar-footer {
  padding: 0 14px;
  color: #77777b;
}

.sidebar-footer small {
  font-size: 8px;
  letter-spacing: .09em;
}


/* =========================================
   08. PAGE HEADERS
========================================= */

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 38px 40px 24px;
}

.app-header h2 {
  margin: 0;

  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.06em;
}

.header-description {
  margin: 10px 0 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* =========================================
   09. HOME HERO
========================================= */

.hero-card {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);

  min-height: 320px;
  padding: 40px;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 95% 50%,
      rgba(75, 164, 101, .45),
      transparent 45%
    ),
    linear-gradient(125deg, #48263b, #24272a 50%, #153625);
}

.hero-copy {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-copy > p {
  margin: 0 0 18px;

  color: #bbe7c3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.hero-copy h3 {
  margin: 0;

  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.065em;
}

.hero-copy h3 em {
  color: #c1e6c6;

  font-family: var(--font-editorial);
  font-weight: 400;
}

.hero-description {
  max-width: 340px;
  margin: 20px 0 24px;

  color: #d3d4d0;
  font-size: 13px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.hero-secondary {
  padding: 8px 0;
  border: 0;

  color: #e0e0df;
  background: transparent;

  font-size: 11px;
  font-weight: 600;
}

.hero-secondary:hover {
  color: var(--green);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-one {
  top: 0;
  right: 0;

  width: clamp(130px, 19vw, 240px);
  aspect-ratio: 1;

  background: radial-gradient(
    circle at 30% 25%,
    #b1e6ac,
    #4c9e68 48%,
    #163f2b
  );

  box-shadow: 0 0 90px rgba(91, 211, 109, .2);
}

.orb-two {
  bottom: -20px;
  left: -15px;

  width: clamp(75px, 11vw, 135px);
  aspect-ratio: 1;

  background: linear-gradient(135deg, #e998af, #6a304e);
}

.hero-heart {
  position: relative;
  z-index: 2;

  color: #f1cddd;
  font-family: Georgia, serif;
  font-size: clamp(85px, 13vw, 185px);

  transform: rotate(-12deg);
  text-shadow: 0 16px 40px rgba(0, 0, 0, .3);

  animation: heart-float 6s ease-in-out infinite;
}

.hero-sparkle {
  position: absolute;
  top: 10%;
  right: 0;

  color: #e4f8d8;
  font-size: 32px;
}


/* =========================================
   10. HOME CONTENT & SONG CARDS
========================================= */

.content-section {
  margin-top: 42px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;

  margin-bottom: 20px;
}

.section-heading h3 {
  margin: 0;

  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.section-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mix-card {
  display: block;
  min-width: 0;
  padding: 12px;

  border: 1px solid transparent;
  border-radius: var(--radius-md);

  background: #19191b;
  text-align: left;

  transition:
    background .25s,
    transform .25s,
    border .25s;
}

.mix-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  background: #252527;
}

.cover-art {
  position: relative;
  display: flex;
  align-items: flex-end;

  width: 100%;
  aspect-ratio: 1;

  overflow: hidden;
  padding: 12px;

  border-radius: 9px;
}

.cover-art::after,
.main-cover::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    transparent 50%,
    rgba(0, 0, 0, .35)
  );

  pointer-events: none;
}

.cover-art span {
  position: relative;
  z-index: 1;

  color: white;
  font-family: var(--font-editorial);
  font-size: clamp(14px, 1.8vw, 25px);
  font-style: italic;

  text-shadow: 0 3px 15px rgba(0, 0, 0, .4);
}

.mix-card strong,
.mix-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-card strong {
  margin-top: 14px;
  font-size: 13px;
}

.mix-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.wide-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wide-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;

  min-width: 0;
  padding: 0;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: #1e1e20;
  text-align: left;

  transition: background .2s, transform .2s;
}

.wide-card:hover {
  transform: translateY(-3px);
  background: #29292c;
}

.wide-card .cover-art {
  width: 76px;
  height: 76px;
  border-radius: 0;
}

.wide-card div:last-child {
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.wide-card strong,
.wide-card small {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wide-card strong {
  font-size: 13px;
}

.wide-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}


/* =========================================
   11. ALBUM COVER IMAGES
   Existing image filenames are preserved.
========================================= */

.cover-0 {
  background:
    linear-gradient(#00000012, #00000040),
    url("images/rose.png") center / cover no-repeat;
}

.cover-1 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/daylight.jpg") center / cover no-repeat;
}

.cover-2 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/best part.jpeg") center / cover no-repeat;
}

.cover-3 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/valentine.png") center / cover no-repeat;
}

.cover-4 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/nothing.jpeg") center / cover no-repeat;
}

.cover-5 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/temper.jpeg") center / cover no-repeat;
}

.cover-6 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/glue.jpg") center / cover no-repeat;
}

.cover-7 {
  background:
    linear-gradient(#00000008, #00000030),
    url("images/paramore.jpeg") center / cover no-repeat;
}


/* =========================================
   12. DISCOVER PREVIEW ON HOME
========================================= */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.preview-card {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  min-height: 190px;
  padding: 22px;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  text-align: left;

  transition: transform .25s, box-shadow .25s;
}

.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.preview-purple {
  background: linear-gradient(140deg, #72528f, #33243f);
}

.preview-pink {
  background: linear-gradient(140deg, #9b355a, #492332);
}

.preview-burgundy {
  background: linear-gradient(140deg, #86445b, #3d202e);
}

.preview-symbol {
  margin-bottom: 25px;
  color: #f5cfdf;
  font-family: Georgia, serif;
  font-size: 38px;
}

.preview-card div small {
  display: block;
  margin-bottom: 8px;

  color: #e3cbd8;
  font-size: 8px;
  letter-spacing: .1em;
}

.preview-card div strong,
.preview-card h4 {
  display: block;
  margin: 0;

  font-family: var(--font-editorial);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.preview-card div span {
  display: block;
  margin-top: 15px;
  color: #e1c6d7;
  font-size: 10px;
}


/* =========================================
   13. DAILY LOVE NOTE
========================================= */

.note-card {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: 42px;
  padding: 24px;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: linear-gradient(125deg, #24392a, #171b18);
}

.note-icon {
  display: grid;
  place-items: center;

  flex: 0 0 55px;
  width: 55px;
  height: 55px;

  border-radius: 50%;

  color: #152017;
  background: var(--green);

  font-size: 25px;
}

.note-card p {
  margin: 0 0 7px;

  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.note-card h3 {
  margin: 0;

  font-family: var(--font-editorial);
  font-size: clamp(17px, 2.1vw, 25px);
  font-weight: 400;
  line-height: 1.4;
}


/* =========================================
   14. DISCOVER — EDITORIAL INTRO
========================================= */

.discover-view {
  background:
    radial-gradient(
      ellipse at 85% 5%,
      rgba(128, 62, 101, .14),
      transparent 40%
    ),
    var(--panel);
}

.discover-intro {
  max-width: 850px;
  padding: 24px 0 32px;
}

.discover-intro .eyebrow {
  color: var(--soft-pink);
}

.discover-intro h3 {
  margin: 0 0 22px;

  font-family: var(--font-editorial);
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.discover-intro h3 em {
  color: var(--soft-pink);
}

.discover-intro > p:last-child {
  max-width: 520px;
  margin: 0;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================
   15. SEARCH BAR
========================================= */

.search-box {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 10px;

  width: 100%;
  max-width: 600px;
  padding: 14px 18px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--ink);
  background: #242426;
}

.search-box > span {
  font-size: 25px;
  line-height: 1;
}

.search-box input {
  min-width: 0;
  padding: 0;

  border: 0;
  outline: 0;

  color: white;
  background: transparent;

  font-size: 13px;
}

.search-box input::placeholder {
  color: #929298;
}

.search-box:focus-within {
  border-color: var(--green);
}

.search-box input:focus-visible {
  outline: none;
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-box button {
  padding: 0;
  border: 0;

  color: var(--muted);
  background: transparent;

  font-size: 22px;
}

.search-results {
  margin-top: 35px;
}


/* =========================================
   16. DISCOVER BENTO GRID
========================================= */

.discover-grid {
  display: grid;
  gap: 16px;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.genre-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  grid-column: span 6;

  min-height: 230px;
  padding: 26px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;

  color: white;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, .14),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      var(--genre-color, #78509b),
      #16151e
    );

  text-align: left;

  transition:
    transform .25s,
    border-color .25s,
    box-shadow .25s;
}

.genre-card:hover {
  z-index: 3;
  transform: translateY(-6px);

  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.genre-card small {
  position: relative;
  z-index: 2;

  color: rgba(255, 255, 255, .75);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
}

.genre-card strong {
  position: relative;
  z-index: 2;

  max-width: 90%;
  margin-top: auto;

  font-family: var(--font-editorial);
  font-size: clamp(23px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.genre-card > span {
  position: absolute;
  z-index: -1;

  top: 10%;
  right: 8%;

  color: rgba(255, 255, 255, .18);

  font-family: Georgia, serif;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 1;

  transform: rotate(-12deg);

  transition: transform .4s;
}

.genre-card:hover > span {
  transform: rotate(8deg) scale(1.15);
}

.card-favorites {
  grid-column: span 7;
  min-height: 300px;
}

.card-reminders {
  grid-column: span 5;
  min-height: 300px;
}

.card-song {
  grid-column: span 5;
}

.card-name {
  grid-column: span 7;
}

.card-headache,
.card-found,
.card-wish {
  grid-column: span 4;
}

.card-letters {
  grid-column: span 7;
  min-height: 280px;
}

.card-night {
  grid-column: span 5;
  min-height: 280px;
}

.card-confession {
  grid-column: span 12;
  min-height: 240px;

  background:
    radial-gradient(
      circle at 85% 45%,
      rgba(221, 93, 146, .27),
      transparent 50%
    ),
    linear-gradient(135deg, #512d3e, #1b131c);
}

.card-confession strong {
  font-size: clamp(28px, 4vw, 52px);
}


/* =========================================
   17. PLAYLIST PAGE
========================================= */

.playlist-hero {
  position: relative;
  padding: 20px 40px 40px;

  background:
    radial-gradient(
      ellipse at 25% 15%,
      rgba(126, 161, 132, .3),
      transparent 60%
    ),
    linear-gradient(#34483a, #171d19);
}

.playlist-gradient {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, .2)
  );

  pointer-events: none;
}

.overlay-header {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;

  margin-bottom: 24px;
}

.playlist-banner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.playlist-cover {
  flex-shrink: 0;

  width: clamp(150px, 20vw, 260px);
  aspect-ratio: 1;

  object-fit: cover;

  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.playlist-photo {
  background: url("images/love.jpg") center / cover no-repeat;
}

.playlist-heading {
  min-width: 0;
}

.playlist-heading h2 {
  margin: 12px 0;

  font-size: clamp(36px, 5.8vw, 83px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: 1.05;
}

.playlist-heading > p:not(.eyebrow) {
  color: #cfdbd0;
  font-size: 13px;
  line-height: 1.7;
}

.creator {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 20px;

  font-size: 12px;
}

.creator small {
  color: #bfc7c0;
  font-size: 11px;
}

.playlist-scroll {
  padding: 20px 40px 30px;

  background: linear-gradient(
    #1c251e,
    var(--panel) 240px
  );
}

.playlist-info > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.playlist-actions {
  display: flex;
  align-items: center;
  gap: 14px;

  min-height: 85px;
  margin-bottom: 15px;
}

.playlist-actions .icon-button {
  color: var(--muted);
}

.play-fab {
  display: grid;
  place-items: center;

  width: 62px;
  height: 62px;
  margin-left: auto;
  padding: 0 0 0 3px;

  border: 0;
  border-radius: 50%;

  color: #101510;
  background: var(--green);

  font-size: 23px;

  transition: transform .2s, background .2s;
}

.play-fab:hover {
  transform: scale(1.07);
  background: #81e993;
}

.track-heading {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 40px;
  gap: 15px;

  padding: 10px 12px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}


/* =========================================
   18. TRACK LIST
========================================= */

.track-list {
  display: grid;
  gap: 4px;

  padding-top: 12px;
}

.track-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 15px;

  min-width: 0;
  min-height: 70px;
  padding: 9px 12px;

  border: 0;
  border-radius: 9px;

  background: transparent;

  text-align: left;
  transition: background .2s;
}

.track-item:hover {
  background: rgba(255, 255, 255, .06);
}

.track-cover {
  display: block;

  width: 52px;
  aspect-ratio: 1;

  border-radius: 5px;
}

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

.track-copy strong,
.track-copy small {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.track-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.track-menu {
  color: #96969c;
  text-align: center;
}

.track-item.playing .track-copy strong {
  color: var(--green);
}

.track-item.playing .track-cover {
  box-shadow: 0 0 0 2px var(--green);
}

.heart-toggle.liked {
  color: var(--green) !important;
}

.heart-toggle {
  transition: color .2s, transform .2s;
}

.heart-toggle:hover {
  transform: scale(1.13);
}


/* =========================================
   19. NOW PLAYING — IMMERSIVE PLAYER
========================================= */

.player-view {
  isolation: isolate;

  min-height: 100svh;
  padding-bottom: 45px;

  overflow: hidden;

  background: #18171a;
}

.player-bg {
  position: absolute;
  z-index: -2;
  inset: -30px;

  opacity: .5;

  filter: blur(75px) saturate(.7);
  transform: scale(1.2);

  pointer-events: none;
}

.player-view::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, .3),
    rgba(10, 10, 11, .75)
  );
}

.player-header {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 45px;
  align-items: center;

  padding: 28px 40px;

  text-align: center;
}

.player-header p {
  margin: 0 0 5px;

  color: #d6d2d4;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.player-header strong {
  font-size: 13px;
}

.player-content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 6vw, 100px);

  width: min(100%, 1300px);
  margin: 0 auto;

  padding: 45px clamp(30px, 6vw, 80px);
}

.player-artwork {
  min-width: 0;
}

.main-cover {
  position: relative;
  display: grid;
  place-items: center;

  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;

  margin: auto;

  overflow: hidden;
  border-radius: 14px;

  box-shadow: 0 35px 80px rgba(0, 0, 0, .45);
}

.main-cover span {
  position: relative;
  z-index: 1;

  color: white;
  font-family: var(--font-editorial);
  font-size: clamp(40px, 7vw, 95px);
  font-style: italic;

  text-shadow: 0 5px 30px rgba(0, 0, 0, .3);
}

.player-details {
  min-width: 0;
}

.player-details > .eyebrow {
  color: #d9c4d0;
}

.now-playing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin-top: 20px;
}

.now-playing-meta > div {
  min-width: 0;
}

.now-playing-meta h2 {
  margin: 0;

  overflow-wrap: anywhere;

  font-size: clamp(27px, 4vw, 53px);
  letter-spacing: -.055em;
  line-height: 1.13;
}

.now-playing-meta p {
  margin: 10px 0 0;

  color: rgba(255, 255, 255, .65);
  font-size: 15px;
}

.player-heart {
  flex-shrink: 0;

  padding: 8px;
  border: 0;

  color: white;
  background: transparent;

  font-size: 31px;
}


/* =========================================
   20. PLAYER PROGRESS & CONTROLS
========================================= */

.progress-area {
  margin-top: 35px;
}

.progress-area input {
  display: block;
  width: 100%;
  height: 5px;

  margin: 0;

  appearance: none;
  -webkit-appearance: none;

  border-radius: 999px;

  background: linear-gradient(
    to right,
    white 0 var(--progress, 0%),
    rgba(255, 255, 255, .16) var(--progress, 0%) 100%
  );

  cursor: pointer;
}

.progress-area input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;

  appearance: none;
  -webkit-appearance: none;

  border: 0;
  border-radius: 50%;

  background: white;

  opacity: 0;
  transition: opacity .2s;
}

.progress-area input::-moz-range-thumb {
  width: 15px;
  height: 15px;

  border: 0;
  border-radius: 50%;

  background: white;
}

.progress-area input:hover::-webkit-slider-thumb,
.progress-area input:focus::-webkit-slider-thumb {
  opacity: 1;
}

.progress-area > div {
  display: flex;
  justify-content: space-between;

  margin-top: 12px;

  color: #c0bcc1;
  font-size: 11px;
}

.player-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr;
  align-items: center;

  max-width: 480px;
  margin: 28px auto 0;
}

.control {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  margin: auto;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  font-size: 21px;

  transition: transform .2s, color .2s;
}

.control:hover {
  transform: scale(1.12);
}

.control.small {
  color: #c1bdc3;
  font-size: 20px;
}

.control.main {
  width: 68px;
  height: 68px;

  color: #151515;
  background: white;

  font-size: 26px;
  font-weight: 900;
}

.control.active {
  color: var(--green);
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 24px;

  color: #b8b4bb;
  font-size: 11px;
}

.device-row button {
  border: 0;
  color: inherit;
  background: transparent;
}

.lyrics-card {
  display: grid;
  gap: 12px;

  width: 100%;
  min-height: 160px;

  margin-top: 30px;
  padding: 26px;

  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;

  color: #392230;
  background: #dcb3c4;

  text-align: left;

  transition: background .3s, transform .3s;
}

.lyrics-card:hover {
  transform: translateY(-3px);
}

.lyrics-card > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lyrics-card strong {
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.5;
}

.lyrics-card small {
  font-size: 10px;
  opacity: .7;
}

.lyrics-card[aria-expanded="true"] {
  color: #253c2a;
  background: #c5e2c8;
}


/* =========================================
   21. STORY PAGE — SHARED DESIGN
========================================= */

.story-view {
  background:
    radial-gradient(
      ellipse at 80% 10%,
      rgba(156, 117, 201, .16),
      transparent 40%
    ),
    #151117;
}

.story-header,
.confession-header {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 30px 40px;
}

.story-header > span,
.confession-header > span {
  color: var(--soft-pink);

  font-family: var(--font-editorial);
  font-size: 18px;
  font-style: italic;
}

.story-back,
.confession-skip {
  padding: 10px 0;
  border: 0;

  color: #d1b9c8;
  background: transparent;

  font-size: 12px;

  transition: color .2s;
}

.story-back:hover,
.confession-skip:hover {
  color: white;
}

.story-content {
  width: min(100%, 1200px);

  margin: 0 auto;
  padding: 35px 45px 60px;
}

.story-intro {
  padding: 15px 0 45px;
}

.story-intro .eyebrow {
  color: var(--soft-pink);
}

.story-intro h2 {
  margin: 0;

  font-family: var(--font-editorial);
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.story-intro h2 em {
  color: var(--soft-pink);
}

.story-intro > p:last-child {
  max-width: 540px;

  margin: 24px 0 0;

  color: #c2b2bd;
  font-size: 15px;
  line-height: 1.8;
}

.story-ending {
  margin: 45px 0 0;

  color: var(--soft-pink);
  font-family: var(--font-editorial);
  font-size: 19px;
  font-style: italic;
  text-align: center;
}


/* =========================================
   22. FAVORITE THINGS — ACCORDION CARDS
========================================= */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.reason-card {
  overflow: hidden;

  border: 1px solid #513e5b;
  border-radius: 16px;

  background: linear-gradient(140deg, #372b42, #211b29);

  transition: border-color .2s, background .2s;
}

.reason-card:hover,
.reason-card[open] {
  border-color: #a178b4;
}

.reason-card summary {
  display: flex;
  align-items: center;
  gap: 15px;

  min-height: 100px;
  padding: 24px;

  list-style: none;
  cursor: pointer;

  font-family: var(--font-editorial);
  font-size: 22px;
  line-height: 1.4;
}

.reason-card summary::-webkit-details-marker,
.letter-card summary::-webkit-details-marker {
  display: none;
}

.reason-card summary > span {
  color: #c7a7db;
  font-family: var(--font-main);
  font-size: 11px;
}

.reason-card summary::after {
  content: "+";
  margin-left: auto;

  color: #c7a7db;
  font-family: var(--font-main);
  font-size: 20px;
}

.reason-card[open] summary::after {
  content: "−";
}

.reason-card > p {
  margin: 0;
  padding: 0 24px 26px;

  color: #d5c6df;
  font-size: 14px;
  line-height: 1.9;

  animation: reveal .4s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

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


/* =========================================
   23. SCRAPBOOK — POLAROID GALLERY
========================================= */

.reminders-story {
  background:
    radial-gradient(
      ellipse at 80% 5%,
      rgba(160, 66, 101, .2),
      transparent 45%
    ),
    #1a1318;
}

.scrapbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;

  padding: 12px 8px 30px;
}

.polaroid {
  position: relative;

  margin: 0;
  padding: 12px 12px 24px;

  color: #523c44;
  background: var(--ivory);

  box-shadow: 0 18px 35px rgba(0, 0, 0, .3);

  transform: rotate(-2deg);
  transition: transform .3s, box-shadow .3s;
}

.polaroid:nth-child(even) {
  transform: rotate(2deg);
}

.polaroid:hover {
  z-index: 3;
  transform: rotate(0) translateY(-8px);

  box-shadow: 0 25px 50px rgba(0, 0, 0, .4);
}

.polaroid-placeholder,
.polaroid > img {
  display: grid;
  place-items: center;

  width: 100%;
  aspect-ratio: 1;

  object-fit: cover;

  background: linear-gradient(140deg, #ddafbc, #9e738f);
}

.polaroid:nth-child(2) .polaroid-placeholder {
  background: linear-gradient(140deg, #d0b49a, #967b6a);
}

.polaroid:nth-child(3) .polaroid-placeholder {
  background: linear-gradient(140deg, #7b86ac, #414360);
}

.polaroid:nth-child(4) .polaroid-placeholder {
  background: linear-gradient(140deg, #a5b9a0, #667f73);
}

.polaroid-placeholder span {
  color: rgba(255, 255, 255, .75);
  font-family: Georgia, serif;
  font-size: 65px;
}

.polaroid h3 {
  margin: 17px 5px 8px;

  font-family: var(--font-letter);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.polaroid p {
  margin: 0 5px;

  font-family: var(--font-letter);
  font-size: 18px;
  line-height: 1.4;
}


/* =========================================
   24. LOVE LETTER COLLECTION
========================================= */

.letters-story {
  background:
    radial-gradient(
      ellipse at 85% 10%,
      rgba(176, 62, 108, .18),
      transparent 50%
    ),
    #191117;
}

.letter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.letter-card {
  overflow: hidden;

  border: 1px solid #694455;
  border-radius: 16px;

  background: #36232e;

  transition: border-color .25s;
}

.letter-card:hover,
.letter-card[open] {
  border-color: #cc91a9;
}

.letter-card summary {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 12px;

  min-height: 210px;
  padding: 28px;

  list-style: none;
  cursor: pointer;

  background: linear-gradient(145deg, #4b303f, #30212a);
}

.letter-card summary small {
  color: #d7a6bb;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.letter-card summary > span:first-of-type {
  align-self: flex-end;

  color: #e7b3c9;
  font-size: 35px;
}

.letter-card summary strong,
.letter-card summary h3 {
  margin: 0;

  font-family: var(--font-editorial);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}

.letter-card summary > span:last-child,
.letter-card summary > p {
  margin-top: auto;

  color: #d9a8bd;
  font-size: 11px;
}


/* =========================================
   25. PAPER TEXTURE & LETTER TYPOGRAPHY
========================================= */

.letter-paper {
  position: relative;

  padding: clamp(24px, 4vw, 55px);

  color: #513e40;

  background:
    repeating-linear-gradient(
      0deg,
      rgba(147, 106, 88, .028) 0,
      rgba(147, 106, 88, .028) 1px,
      transparent 1px,
      transparent 5px
    ),
    #f1e6d8;

  font-family: var(--font-letter);
  font-size: 22px;
  line-height: 1.65;
}

.letter-card .letter-paper {
  animation: reveal .5s ease both;
}

.letter-paper h4,
.letter-paper h2 {
  margin: 0 0 24px;

  color: #704553;

  font-family: var(--font-letter);
  font-size: clamp(32px, 4vw, 50px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.letter-paper p {
  margin: 0 0 20px;
}

.letter-signature {
  margin-top: 30px !important;

  color: #926375;
  font-family: var(--font-letter);
  font-size: 23px;
  font-style: italic;
}

.letter-signature small,
.letter-signature strong {
  display: block;
}

.letter-signature strong {
  margin-top: 10px;
  font-size: 36px;
  font-weight: 500;
}


/* =========================================
   26. FINAL CONFESSION — CINEMATIC PAGE
========================================= */

.confession-view {
  isolation: isolate;

  min-height: 100svh;

  overflow: hidden;

  background: #151014;
}

.app-shell:has(.confession-view.active) .sidebar,
.app-shell:has(.confession-view.active) .mini-player,
.app-shell:has(.welcome-view.active) .sidebar,
.app-shell:has(.welcome-view.active) .mini-player,
.app-shell:has(.player-view.active) .sidebar,
.app-shell:has(.player-view.active) .mini-player {
  display: none !important;
}

.confession-glow {
  position: fixed;
  z-index: -2;

  inset: 0;

  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(159, 64, 107, .22),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 20% 95%,
      rgba(87, 38, 70, .2),
      transparent 40%
    );

  pointer-events: none;
}

.confession-particles {
  position: absolute;
  z-index: -1;

  inset: 0;

  opacity: .5;

  background-image:
    radial-gradient(
      circle,
      #f5b7d1 1px,
      transparent 1.8px
    ),
    radial-gradient(
      circle,
      #ffffff 1px,
      transparent 1.5px
    );

  background-size: 130px 170px, 220px 260px;
  background-position: 10px 20px, 70px 90px;

  mask-image: radial-gradient(
    ellipse,
    transparent 20%,
    #000 90%
  );

  pointer-events: none;

  animation: particles-float 20s linear infinite;
}

@keyframes particles-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-170px);
  }
}

.confession-content {
  position: relative;
  z-index: 2;

  width: min(100% - 40px, 760px);
  margin: 0 auto;

  padding: 25px 0 65px;
}

.confession-progress {
  display: flex;
  gap: 6px;

  width: min(100%, 440px);

  margin: 0 auto 32px;
}

.progress-step {
  flex: 1;

  height: 3px;
  border-radius: 999px;

  background: #49303f;

  transition: background .3s;
}

.progress-step.active {
  background: var(--soft-pink);
}

.confession-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 410px;
  padding: 25px 15px;

  text-align: center;
}

.confession-scene.active {
  animation: confession-reveal .85s ease both;
}

@keyframes confession-reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.confession-symbol {
  display: block;

  margin-bottom: 35px;

  color: var(--soft-pink);

  font-family: Georgia, serif;
  font-size: 64px;

  text-shadow: 0 0 45px rgba(221, 93, 146, .4);

  animation: heart-float 6s ease-in-out infinite;
}

.confession-scene .eyebrow {
  color: #ce9eb3;
}

.confession-scene h2 {
  margin: 12px 0 28px;

  color: #f8e9ef;

  font-family: var(--font-editorial);
  font-size: clamp(40px, 6.8vw, 84px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.confession-scene h2 em {
  color: #eeb2cb;
}

.confession-scene > p:last-child {
  max-width: 530px;
  margin: 0;

  color: #d6bdc9;

  font-family: var(--font-editorial);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.9;
}

.confession-climax h2 {
  font-size: clamp(55px, 9vw, 115px);
}

.confession-climax .confession-symbol {
  font-size: 95px;
}

.confession-controls {
  width: min(100%, 370px);
  margin: 15px auto 0;
}

.confession-next {
  width: 100%;
  min-height: 54px;
  padding: 15px 24px;

  border: 0;
  border-radius: 999px;

  color: #38212d;
  background: #e9b0c5;

  font-size: 13px;
  font-weight: 800;

  transition: transform .25s, box-shadow .25s;
}

.confession-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(221, 93, 146, .23);
}

.confession-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 16px;

  color: #b28fa1;
  font-size: 11px;
}

.confession-navigation button {
  padding: 8px 0;
  border: 0;

  color: #d0aabd;
  background: transparent;
}


/* =========================================
   27. FINAL LOVE LETTER
========================================= */

.final-letter {
  width: min(100%, 650px);

  margin: 20px auto;

  border-radius: 5px;

  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);

  animation: letter-open .8s ease both;
}

@keyframes letter-open {
  from {
    opacity: 0;
    transform: translateY(35px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.letter-label {
  color: #a07483;

  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.letter-climax {
  margin: 36px 0 !important;

  color: #a04b6d;

  font-family: var(--font-editorial);
  font-size: clamp(30px, 5vw, 50px);
  font-style: italic;
  line-height: 1.3;
}

.final-letter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 35px;
  padding-top: 25px;

  border-top: 1px solid rgba(110, 67, 80, .2);
}

.final-letter-actions button {
  flex: 1;

  min-height: 44px;
  padding: 10px 15px;

  border: 1px solid #aa8290;
  border-radius: 999px;

  color: #704553;
  background: transparent;

  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
}

.final-letter-actions button:hover {
  color: white;
  background: #92516e;
}


/* =========================================
   28. GLOBAL DISCOVER POP-UP
========================================= */

.discover-dialog {
  position: fixed;

  width: min(92vw, 570px);
  max-width: none;
  max-height: 88svh;

  margin: auto;
  padding: 0;

  overflow-y: auto;

  border: 1px solid #594252;
  border-radius: 24px;

  color: var(--ink);
  background: #231b25;

  box-shadow: 0 25px 100px rgba(0, 0, 0, .65);
}

.discover-dialog[open] {
  animation: modal-in .35s ease both;
}

.discover-dialog::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(10px);
}

body:has(.discover-dialog[open]) {
  overflow: hidden;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog-shell {
  padding: 26px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 25px;
}

.dialog-brand {
  color: #e4b0c7;

  font-family: var(--font-editorial);
  font-size: 20px;
  font-style: italic;
}

.dialog-close {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  border: 1px solid var(--line);
  border-radius: 50%;

  color: #d7b8ca;
  background: transparent;

  font-size: 25px;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, .08);
}

.dialog-content .eyebrow {
  color: #d7a0be;
  font-size: 9px;
}

.dialog-content h2 {
  margin: 8px 0 22px;

  font-family: var(--font-editorial);
  font-size: clamp(28px, 4vw, 39px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.dialog-content > div > p:not(.eyebrow) {
  color: #d0bfcb;
  font-size: 14px;
  line-height: 1.8;
}

.dialog-content .btn {
  width: 100%;
  margin-top: 20px;
}


/* =========================================
   29. POP-UP — SPECIAL SONG
========================================= */

.modal-special-song {
  text-align: center;
}

.special-song-cover {
  width: min(100%, 240px);
  aspect-ratio: 1;

  margin: 20px auto;

  object-fit: cover;

  border-radius: 14px;
  box-shadow: var(--shadow);
}

.modal-special-song h3 {
  margin: 16px 0 0;
  font-size: 24px;
}

.modal-special-song > p {
  margin-top: 6px;
}

.modal-love-note {
  margin: 25px 0 !important;
  padding: 18px;

  border-radius: 12px;

  color: #e4c8d8 !important;
  background: #3a2a3d;

  font-family: var(--font-editorial);
  font-size: 18px !important;
  font-style: italic;
}


/* =========================================
   30. POP-UP — A HUNDRED WAYS
========================================= */

.modal-your-name {
  text-align: center;
}

.word-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;

  min-height: 240px;
  padding: 25px;

  border-radius: 18px;

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(132, 154, 225, .23),
      transparent 70%
    ),
    #252d4b;
}

.word-display span {
  color: #bccbf3;
  font-size: 42px;
}

.word-display h3 {
  margin: 0;

  color: #e2eaff;
  font-family: var(--font-editorial);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
}


/* =========================================
   31. POP-UP — FAVORITE HEADACHE
========================================= */

.modal-headache {
  text-align: center;
}

.flip-card {
  width: 100%;
  min-height: 250px;
  padding: 28px;

  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;

  color: white;
  background: linear-gradient(145deg, #435787, #29364e);

  transition: background .35s, transform .25s;
}

.flip-card:hover {
  transform: translateY(-3px);
}

.flip-card[aria-expanded="true"] {
  background: linear-gradient(145deg, #976680, #583b5a);
}

.flip-card-front,
.flip-card-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  animation: reveal .3s ease both;
}

.flip-card strong {
  font-family: var(--font-editorial);
  font-size: clamp(24px, 4vw, 33px);
  font-weight: 500;
  line-height: 1.4;
}

.flip-card small {
  color: #e0d3e6;
  font-size: 11px;
}

.flip-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;

  margin-top: 20px;
}

.flip-navigation button {
  min-height: 38px;
  padding: 8px 12px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: #352939;

  font-size: 11px;
}

.flip-navigation button:hover {
  background: #4a374f;
}

.flip-navigation > span {
  color: var(--muted);
  font-size: 11px;
}


/* =========================================
   32. POP-UP — LITTLE FINDS
========================================= */

.found-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  margin-top: 25px;
}

.found-item {
  padding: 20px;

  border: 1px solid var(--line);
  border-radius: 15px;

  background: linear-gradient(145deg, #344650, #26323b);
}

.found-item > span {
  color: #b8d9db;
  font-family: Georgia, serif;
  font-size: 35px;
}

.found-item h3 {
  margin: 15px 0 10px;

  font-family: var(--font-editorial);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.found-item p {
  margin: 0;

  color: #bfcfd1;
  font-size: 12px;
  line-height: 1.6;
}


/* =========================================
   33. POP-UP — WISH ENVELOPE
========================================= */

.modal-little-wish {
  text-align: center;
}

.envelope {
  position: relative;
  isolation: isolate;

  display: grid;
  place-items: center;

  width: min(100%, 310px);
  aspect-ratio: 1.55;

  margin: 40px auto 25px;

  border: 0;
  border-radius: 8px;

  color: #954d68;
  background: #dca8ba;

  box-shadow: 0 15px 45px rgba(0, 0, 0, .3);

  perspective: 700px;

  transition: transform .3s;
}

.envelope::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;

  border-radius: 8px;

  background: #e9bdcb;

  clip-path: polygon(
    0 0,
    50% 55%,
    100% 0,
    100% 100%,
    0 100%
  );

  pointer-events: none;
}

.envelope:hover {
  transform: translateY(-5px) rotate(-2deg);
}

.envelope-flap {
  position: absolute;
  z-index: 2;

  top: 0;
  left: 0;

  width: 100%;
  height: 65%;

  background: #cb91a7;

  clip-path: polygon(
    0 0,
    100% 0,
    50% 100%
  );

  transform-origin: top center;

  transition: transform .65s ease;
}

.envelope-heart {
  position: relative;
  z-index: 3;

  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  color: #f7dce8;
  background: #a65b78;

  font-size: 30px;

  box-shadow: 0 5px 18px rgba(104, 43, 70, .3);
}

.envelope-caption {
  position: absolute;
  z-index: 3;

  bottom: 20px;

  font-family: var(--font-editorial);
  font-size: 16px;
  font-style: italic;
}

.envelope[aria-expanded="true"] .envelope-flap {
  transform: rotateX(180deg);
}

.envelope[aria-expanded="true"] .envelope-heart {
  opacity: .5;
}

.wish-letter {
  padding: 26px;

  border-radius: 5px;

  color: #704553;
  background: var(--ivory);

  animation: letter-open .65s ease both;
}

.wish-letter p {
  margin: 0 0 20px;

  font-family: var(--font-letter);
  font-size: 24px;
  line-height: 1.5;
}

.wish-letter span {
  font-family: var(--font-letter);
  font-size: 19px;
  font-style: italic;
}


/* =========================================
   34. POP-UP — LATE NIGHT PLAYLIST
========================================= */

.night-track-list {
  display: grid;
  gap: 12px;

  margin-top: 26px;
}

.night-track {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 14px;

  width: 100%;
  padding: 10px;

  border: 1px solid var(--line);
  border-radius: 11px;

  background: #283a32;

  text-align: left;

  transition: background .2s;
}

.night-track:hover {
  background: #364d40;
}

.night-track img {
  width: 55px;
  height: 55px;

  object-fit: cover;
  border-radius: 5px;
}

.night-track strong,
.night-track small {
  display: block;
}

.night-track strong {
  font-size: 12px;
}

.night-track small {
  margin-top: 6px;

  color: #a5bab0;
  font-size: 10px;
}

.night-track > span:last-child {
  color: var(--green);
}


/* =========================================
   35. PERSISTENT MINI PLAYER
========================================= */

.mini-player {
  position: fixed;
  z-index: 50;

  left: calc(var(--sidebar-width) + 12px);
  right: 12px;
  bottom: 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-height: var(--player-height);
  padding: 12px 20px;

  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;

  background: rgba(35, 42, 37, .96);
  backdrop-filter: blur(22px);

  box-shadow: 0 8px 35px rgba(0, 0, 0, .35);
}

.mini-track {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;

  flex: 1;
  min-width: 0;
  padding: 0;

  border: 0;

  background: transparent;
  text-align: left;
}

.mini-cover {
  display: block;

  width: 58px;
  aspect-ratio: 1;

  border-radius: 7px;
}

.mini-track > span:last-child {
  min-width: 0;
}

.mini-track strong,
.mini-track small {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-track strong {
  font-size: 13px;
}

.mini-track small {
  margin-top: 6px;

  color: #adb8ae;
  font-size: 11px;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mini-heart,
.mini-play {
  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: transparent;
}

.mini-heart {
  font-size: 25px;
}

.mini-play {
  color: #101510;
  background: white;

  font-size: 17px;
  font-weight: 900;

  transition: transform .2s;
}

.mini-play:hover {
  transform: scale(1.1);
}


/* =========================================
   36. TOAST NOTIFICATION
========================================= */

.toast {
  position: fixed;
  z-index: 100;

  left: 50%;
  bottom: 125px;

  width: max-content;
  max-width: min(90vw, 420px);

  padding: 13px 22px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: white;
  background: rgba(45, 45, 47, .97);

  font-size: 12px;
  font-weight: 600;
  text-align: center;

  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);

  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, 10px);

  transition: opacity .25s, transform .25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =========================================
   37. RESPONSIVE — SMALL DESKTOP
========================================= */

@media (max-width: 1200px) {

  :root {
    --sidebar-width: 220px;
  }

  .home-scroll,
  .search-scroll,
  .playlist-scroll {
    padding-left: 28px;
    padding-right: 28px;
  }

  .app-header,
  .story-header,
  .playlist-hero {
    padding-left: 28px;
    padding-right: 28px;
  }

  .card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-card:last-child {
    grid-column: 1 / -1;
  }

  .genre-card {
    padding: 22px;
  }

  .card-headache,
  .card-found,
  .card-wish {
    grid-column: span 6;
  }

  .card-wish {
    grid-column: span 12;
  }

  .scrapbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================
   38. RESPONSIVE — TABLET & MOBILE
========================================= */

@media (max-width: 900px) {

  .app-shell:has(.sidebar:not([hidden]))
  :is(.app-view, .story-view) {
    width: 100%;
    margin-left: 0;
  }

  .app-view,
  .story-view {
    padding-bottom: 180px;
  }

  /* Mobile welcome page */

  .welcome-content {
    align-items: center;

    width: 100%;
    max-width: 700px;
    min-height: 100svh;

    margin: auto;
    padding: 160px 28px 65px;

    text-align: center;
  }

  .welcome-content h1 {
    font-size: clamp(48px, 9vw, 85px);
  }

  .welcome-content .brand-mark {
    display: none;
  }

  .welcome-decoration {
    top: 20px;
    right: 50%;

    width: 140px;

    transform: translateX(50%);
  }

  .welcome-heart {
    font-size: 105px;
  }

  .welcome-stats {
    justify-content: center;
    gap: 24px;
  }

  /* Sidebar becomes bottom navigation */

  .sidebar.bottom-nav {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;

    display: block;

    width: 100%;
    height: calc(
      var(--mobile-nav-height) + env(safe-area-inset-bottom)
    );

    padding: 0 8px env(safe-area-inset-bottom);

    border-right: 0;
    border-top: 1px solid var(--line);

    background: rgba(13, 13, 15, .97);
    backdrop-filter: blur(20px);

    overflow: visible;
  }

  .sidebar-brand,
  .sidebar-note,
  .sidebar-footer,
  .nav-label {
    display: none;
  }

  .nav-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;

    height: var(--mobile-nav-height);
  }

  .nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    min-width: 0;
    padding: 8px 2px;

    text-align: center;
  }

  .nav-item span {
    font-size: 23px;
  }

  .nav-item small {
    font-size: 10px;
  }

  .nav-item.active {
    background: transparent;
  }

  /* Mini player floats above bottom nav */

  .mini-player {
    left: 8px;
    right: 8px;

    bottom: calc(
      var(--mobile-nav-height)
      + env(safe-area-inset-bottom)
      + 8px
    );

    min-height: 65px;
    padding: 8px 12px;

    border-radius: 10px;
  }

  .mini-track {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 10px;
  }

  .mini-cover {
    width: 45px;
  }

  .mini-controls {
    gap: 5px;
  }

  .mini-play,
  .mini-heart {
    width: 35px;
    height: 35px;
  }

  .toast {
    bottom: calc(
      165px + env(safe-area-inset-bottom)
    );
  }

  /* Player becomes vertical */

  .player-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;

    width: min(100%, 560px);
    padding: 18px 30px 50px;
  }

  .main-cover {
    max-width: 410px;
  }

  .main-cover span {
    font-size: clamp(45px, 11vw, 75px);
  }

  .player-header {
    padding: 20px 25px;
  }

}


/* =========================================
   39. RESPONSIVE — MOBILE PHONES
========================================= */

@media (max-width: 600px) {

  .app-header {
    align-items: flex-start;

    padding: 30px 18px 22px;
  }

  .app-header h2 {
    font-size: 35px;
  }

  .header-description {
    font-size: 11px;
  }

  .header-actions {
    gap: 3px;
  }

  .header-actions .icon-button,
  .avatar-button {
    width: 30px;
    height: 30px;

    font-size: 15px;
  }

  .home-scroll,
  .search-scroll,
  .playlist-scroll {
    padding-left: 18px;
    padding-right: 18px;
  }

  .content-section {
    margin-top: 30px;
  }

  .section-heading {
    margin-bottom: 15px;
  }

  .section-heading h3 {
    font-size: 21px;
  }

  .section-heading .text-link {
    flex-shrink: 0;
    font-size: 10px;
  }

  /* Home banner */

  .hero-card {
    grid-template-columns: minmax(0, 1fr);

    min-height: 290px;
    padding: 26px;

    border-radius: 18px;
  }

  .hero-copy {
    max-width: 90%;
  }

  .hero-copy > p {
    font-size: 8px;
  }

  .hero-copy h3 {
    font-size: 40px;
  }

  .hero-description {
    max-width: 240px;
    font-size: 12px;
  }

  .hero-art {
    position: absolute;
    z-index: -1;

    right: -30px;
    bottom: 10px;

    width: 170px;
    height: 170px;

    opacity: .35;
  }

  .hero-heart {
    font-size: 100px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-secondary {
    font-size: 10px;
  }

  /* Album cards wrap vertically */

  .card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mix-card {
    padding: 9px;
  }

  .mix-card strong {
    font-size: 12px;
  }

  .mix-card small {
    font-size: 10px;
  }

  .cover-art span {
    font-size: 20px;
  }

  .wide-card-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .wide-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .wide-card .cover-art {
    width: 64px;
    height: 64px;
  }

  .preview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .preview-card {
    min-height: 170px;
  }

  .preview-card:last-child {
    grid-column: auto;
  }

  .note-card {
    gap: 12px;
    padding: 18px;
  }

  .note-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .note-card h3 {
    font-size: 18px;
  }

  /* Discover */

  .discover-intro {
    padding-top: 10px;
  }

  .discover-intro h3 {
    font-size: 43px;
  }

  .discover-intro > p:last-child {
    font-size: 13px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .genre-grid .genre-card {
    grid-column: span 1;

    min-height: 190px;
    padding: 16px;

    border-radius: 15px;
  }

  .genre-card small {
    font-size: 8px;
  }

  .genre-card strong {
    max-width: 100%;
    font-size: 20px;
  }

  .genre-card > span {
    font-size: 85px;
  }

  .genre-grid .card-favorites,
  .genre-grid .card-letters,
  .genre-grid .card-confession {
    grid-column: span 2;
    min-height: 205px;
  }

  .card-confession strong {
    font-size: 33px;
  }

  /* Playlist */

  .playlist-hero {
    padding: 20px 18px 30px;
  }

  .playlist-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .playlist-cover {
    align-self: center;

    width: 70%;
    max-width: 260px;
  }

  .playlist-heading h2 {
    font-size: 45px;
  }

  .playlist-heading > p:not(.eyebrow) {
    font-size: 12px;
  }

  .track-item {
    grid-template-columns: 43px minmax(0, 1fr) 23px;
    gap: 10px;

    padding: 8px 5px;
  }

  .track-cover {
    width: 43px;
  }

  .track-copy strong {
    font-size: 13px;
  }

  .track-copy small {
    font-size: 10px;
  }

  .track-heading {
    grid-template-columns: 43px minmax(0, 1fr) 23px;
    gap: 10px;

    padding-left: 5px;
    padding-right: 5px;
  }

  .play-fab {
    width: 55px;
    height: 55px;
  }

  /* Story pages */

  .story-header,
  .confession-header {
    padding: 20px 18px;
  }

  .story-header > span,
  .confession-header > span {
    font-size: 15px;
  }

  .story-back,
  .confession-skip {
    font-size: 10px;
  }

  .story-content {
    padding: 22px 20px 45px;
  }

  .story-intro {
    padding-bottom: 30px;
  }

  .story-intro h2 {
    font-size: 49px;
  }

  .story-intro > p:last-child {
    font-size: 13px;
  }

  .reason-grid,
  .letter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .reason-card summary {
    min-height: 80px;
    padding: 20px;
    font-size: 20px;
  }

  .scrapbook-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;

    width: min(100%, 340px);
    margin: 0 auto;
  }

  .letter-card summary {
    min-height: 175px;
    padding: 23px;
  }

  /* Confession */

  .confession-header {
    flex-wrap: wrap;
  }

  .confession-header > span {
    display: none;
  }

  .confession-content {
    width: calc(100% - 36px);

    padding-top: 20px;
  }

  .confession-scene {
    min-height: 370px;
    padding: 15px 5px 25px;
  }

  .confession-scene h2 {
    font-size: 47px;
  }

  .confession-climax h2 {
    font-size: 61px;
  }

  .confession-symbol {
    margin-bottom: 24px;
    font-size: 55px;
  }

  .confession-scene > p:last-child {
    font-size: 17px;
    line-height: 1.75;
  }

  .letter-paper {
    padding: 25px;
    font-size: 21px;
  }

  .final-letter-actions {
    flex-direction: column;
  }

  /* Pop-ups */

  .discover-dialog {
    width: 100%;
    max-height: 90svh;

    margin: auto 0 0;

    border-radius: 24px 24px 0 0;
  }

  .dialog-shell {
    padding: 24px 20px calc(
      24px + env(safe-area-inset-bottom)
    );
  }

  .dialog-content h2 {
    font-size: 31px;
  }

  .found-item {
    padding: 15px;
  }

  .found-item h3 {
    font-size: 17px;
  }

  /* Player */

  .player-content {
    padding: 15px 25px 35px;
    gap: 25px;
  }

  .now-playing-meta h2 {
    font-size: 30px;
  }

  .progress-area {
    margin-top: 28px;
  }

  .control.main {
    width: 60px;
    height: 60px;
  }

  .lyrics-card {
    min-height: 140px;
    padding: 22px;
  }

}


/* =========================================
   40. VERY SMALL MOBILE DEVICES
========================================= */

@media (max-width: 360px) {

  .welcome-content h1 {
    font-size: 42px;
  }

  .welcome-stats {
    gap: 18px;
  }

  .welcome-stats span {
    font-size: 9px;
  }

  .app-header h2 {
    font-size: 29px;
  }

  .header-actions {
    gap: 0;
  }

  .hero-copy h3 {
    font-size: 35px;
  }

  .genre-card strong {
    font-size: 18px;
  }

  .story-intro h2 {
    font-size: 41px;
  }

  .confession-scene h2 {
    font-size: 40px;
  }

  .confession-climax h2 {
    font-size: 50px;
  }

  .found-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}


/* =========================================
   41. ACCESSIBILITY — REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;
  }
  /* REMOVE ALL ALBUM COVER TEXT */

.mix-card .cover-art > span,
.cover-art > span,
#main-cover > span {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  font-size: 0 !important;
}
/* FIX DOUBLE ALBUM COVER */

.mix-card > .cover-art {
  padding: 0 !important;
  display: block !important;
  width: 100%;
  aspect-ratio: 1;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.mix-card > .cover-art * {
  display: none !important;
}

.mix-card > .cover-art::before,
.mix-card > .cover-art::after {
  content: none !important;
}

/* =========================================
   OUR LITTLE DISCOGRAPHY
========================================= */

.couple-section {
  margin-top: 42px;
}

.couple-kicker {
  color: #e9b0c5;
  letter-spacing: .15em;
}

.couple-description {
  margin: -5px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  max-width: 620px;
}

.couple-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #19191b;

  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.couple-card:hover {
  transform: translateY(-5px);
  background: #242126;
  border-color: rgba(233, 176, 197, .2);
}

.couple-card summary {
  list-style: none;
  cursor: pointer;
}

.couple-card summary::-webkit-details-marker {
  display: none;
}

.couple-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.couple-card strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.couple-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.couple-reveal {
  display: block;
  margin-top: 16px;
  color: #e9b0c5;
  font-size: 11px;
}

.couple-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);

  color: #e9cbd8;
  font-family: var(--font-editorial);
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;

  animation: reveal .4s ease both;
}

.couple-card[open] {
  background: #30232c;
  border-color: #795064;
}

@media (max-width: 600px) {

  .couple-grid {
    gap: 12px;
  }

  .couple-card {
    padding: 9px;
    border-radius: 12px;
  }

  .couple-card strong {
    font-size: 14px;
  }

  .couple-card small {
    font-size: 10px;
  }

  .couple-note {
    font-size: 14px;
  }

}
/* FIX COUPLE ALBUM SIZE */

.couple-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: none !important;
  width: 100% !important;
  align-items: start;
}

.couple-card {
  min-width: 0;
  padding: 12px !important;
  box-sizing: border-box;
  border-radius: 12px;
  background: #19191b;
}

.couple-card .couple-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center;
  border-radius: 9px;
}

.couple-card strong {
  font-size: 13px !important;
  margin-top: 14px;
}

.couple-card small {
  font-size: 11px !important;
}

@media (max-width: 1200px) {
  .couple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .couple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* LOVELY HEART LOGO */

.brand-mark.lovely-heart {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: transparent !important;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark.lovely-heart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark.lovely-heart::before,
.brand-mark.lovely-heart::after {
  content: none !important;
  display: none !important;
}
.brand-mark.large.lovely-heart {
  width: 136px;
  height: 136px;
  min-width: 136px;
  background: transparent !important;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark.large.lovely-heart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark.large.lovely-heart::before,
.brand-mark.large.lovely-heart::after {
  display: none !important;
  content: none !important;
}


}


/* =========================================
   END OF STYLESHEET

   Every song leads back to you.
   Made with an unreasonable amount
   of affection. ♡
========================================= */