:root {
  --bg: #fff7fa;
  --ink: #5a3a48;
  --muted: #b08798;
  --line: #f3d0dc;
  --panel: rgba(255, 255, 255, 0.78);
  --pink: #f4a0b8;
  --pink-2: #ffc1d4;
  --pink-deep: #e8789a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(232, 120, 154, 0.16);
  --font: "Quicksand", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --display: "Quicksand", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(255, 193, 212, 0.55), transparent 55%),
    radial-gradient(700px 420px at 100% 8%, rgba(255, 230, 240, 0.9), transparent 50%),
    linear-gradient(180deg, #fff9fb 0%, #ffe9f1 48%, #fff7fa 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.grain,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grain {
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.9) 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(244,160,184,0.65) 0 1.5px, transparent 2px),
    radial-gradient(circle at 42% 78%, rgba(255,255,255,0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 62%, rgba(244,160,184,0.5) 0 1.5px, transparent 2px);
  animation: twinkle 4.5s ease-in-out infinite;
}
.glow {
  background:
    radial-gradient(420px 280px at 85% 20%, rgba(255, 193, 212, 0.35), transparent 70%);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 64px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2rem;
  color: var(--pink-deep);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover {
  color: var(--pink-deep);
  border-bottom-color: var(--pink);
}
.away {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--pink-deep);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(232, 120, 154, 0.1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.away:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--pink);
  box-shadow: 0 10px 22px rgba(232, 120, 154, 0.18);
}
.away:active { transform: translateY(0) scale(0.97); }

.hero {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  border: 1.5px solid rgba(244, 160, 184, 0.35);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__ava {
  width: 150px;
  height: 150px;
  position: relative;
}
.hero__ava img,
.ava__face {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff7fa, #ffdceb);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(244, 160, 184, 0.55), 0 14px 30px rgba(232, 120, 154, 0.22);
}
.ava__face {
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 3rem;
  color: var(--pink-deep);
}
.hero__mark {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 0.9;
  color: var(--pink-deep);
  font-weight: 700;
}
.hero__copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.handles {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}
.handles a {
  color: var(--pink-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.handles a:hover { border-bottom-color: var(--pink-deep); }

.stage {
  margin-top: 22px;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.lp {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1.5px solid rgba(244, 160, 184, 0.4);
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,228,238,0.9));
  box-shadow: var(--shadow);
  padding: 18px;
}
.lp__veil {
  position: absolute;
  inset: -24%;
  background-image: url("/love/covers/svetlaya.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.15);
  opacity: 0.22;
  transform: scale(1.18);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lp.is-playing .lp__veil { opacity: 0.32; }
.lp > *:not(.lp__veil) { position: relative; z-index: 1; }

.lp__head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: end;
}
.lp__art {
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid rgba(244, 160, 184, 0.35);
  box-shadow: 0 14px 32px rgba(232, 120, 154, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.lp.is-playing .lp__art {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px rgba(244, 160, 184, 0.45), 0 18px 36px rgba(232, 120, 154, 0.28);
}
.lp__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp__title {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--ink);
}
.lp__artist {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pink-deep);
}
.lp__album {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.lp__row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.play {
  appearance: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(232, 120, 154, 0.28);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.play:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(232, 120, 154, 0.36);
}
.play:active { transform: scale(0.94); }
.play .ico-pause { display: none; }
.play.is-playing .ico-play { display: none; }
.play.is-playing .ico-pause { display: block; }

.lp__seek {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.lp__seek input,
.lp__vol input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--pink) var(--pct, 0%), #f3d0dc var(--pct, 0%));
}
.lp__vol input {
  width: 96px;
  background: linear-gradient(90deg, var(--pink) var(--vpct, 85%), #f3d0dc var(--vpct, 85%));
}
.lp__seek input::-webkit-slider-thumb,
.lp__vol input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink-deep);
  box-shadow: 0 2px 8px rgba(232, 120, 154, 0.35);
}
.lp__seek input::-moz-range-thumb,
.lp__vol input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink-deep);
}

.lp__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.lp__tools a {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(244, 160, 184, 0.45);
  background: linear-gradient(180deg, #fff, #ffe9f1);
  color: var(--pink-deep);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(232, 120, 154, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.lp__tools a:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--pink);
  box-shadow: 0 10px 22px rgba(232, 120, 154, 0.2), inset 0 1px 0 rgba(255,255,255,0.9);
}
.lp__tools a:active { transform: translateY(0) scale(0.97); }
.lp__vol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.mute {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--pink-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.mute:hover {
  transform: scale(1.06);
  border-color: var(--pink);
}
.mute .ico-muted { display: none; }
.mute.is-muted .ico-vol { display: none; }
.mute.is-muted .ico-muted { display: block; color: #e8789a; }

.lp__lyrics {
  margin-top: 16px;
  border-top: 1px solid rgba(244, 160, 184, 0.3);
  padding-top: 10px;
}
.lp__lyrics-scroll {
  position: relative;
  height: 300px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  touch-action: none;
  user-select: none;
}
.lp__lyrics-track {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
}
.lp__line {
  appearance: none;
  display: block;
  width: min(100%, 640px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  line-height: 1.35;
  font-family: var(--hand);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  color: rgba(90, 58, 72, 0.32);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp__line.is-past { color: rgba(90, 58, 72, 0.55); }
.lp__line.is-active {
  color: var(--pink-deep);
  transform: scale(1.05);
}
.lp__line:hover { color: var(--ink); }

.channel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}
.channel__card {
  display: block;
  min-width: 0;
  padding: 22px 24px 20px;
  border-radius: 28px;
  border: 1.5px solid rgba(244, 160, 184, 0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,236,244,0.95));
  box-shadow: var(--shadow);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.channel__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(232, 120, 154, 0.22);
}
.channel__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.channel__card h3 {
  margin: 8px 0 4px;
  font-family: var(--hand);
  font-size: 2rem;
  line-height: 1;
  color: var(--pink-deep);
}
.channel__card p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.channel__go {
  display: inline-block;
  margin-top: 14px;
  color: var(--pink-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.fromhim {
  margin-top: 22px;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.fromhim__label {
  margin: 0 0 10px;
  font-family: var(--hand);
  font-size: 1.35rem;
  color: var(--pink-deep);
}
.hearts {
  display: flex;
  gap: 12px;
}
.heart {
  appearance: none;
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(244, 160, 184, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #ffe4ee);
  color: var(--pink-deep);
  font-size: 1.55rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232, 120, 154, 0.18);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.heart:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 26px rgba(232, 120, 154, 0.28);
}
.heart:active { transform: scale(0.94); }
.heart.is-hit {
  background: linear-gradient(180deg, #ffb7c8, #e8789a);
  color: #fff;
  border-color: transparent;
}

.peek {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.peek[hidden] { display: none; }
.peek__veil {
  position: absolute;
  inset: 0;
  background: rgba(18, 8, 12, 0.82);
  backdrop-filter: blur(8px);
}
.peek__card {
  position: relative;
  width: min(520px, 100%);
  padding: 22px 20px 18px;
  border-radius: 24px;
  border: 1.5px solid rgba(244, 160, 184, 0.45);
  background: #14090d;
  color: #ffd6e3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.peek__k {
  margin: 0 0 10px;
  font-family: var(--hand);
  font-size: 1.8rem;
  color: #ffb7c8;
}
.peek__log {
  margin: 0;
  max-height: 48vh;
  overflow: auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: #f3d0dc;
}
.peek__close {
  appearance: none;
  margin-top: 16px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(244, 160, 184, 0.45);
  background: linear-gradient(180deg, #ffb7c8, #e8789a);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.links {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
.links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 22px;
  border: 1.5px solid rgba(244, 160, 184, 0.3);
  background: #fff;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.links a:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--pink);
  box-shadow: 0 12px 28px rgba(232, 120, 154, 0.16);
}
.links a:active { transform: translateY(0) scale(0.98); }
.links b {
  font-size: 0.95rem;
  color: var(--pink-deep);
}
.links span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.45; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero__ava { width: 120px; height: 120px; }
  .lp__head { grid-template-columns: 1fr; }
  .lp__art { width: 132px; height: 132px; }
  .links { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr; }
  .nav { width: 100%; order: 3; }
  .lp__vol { margin-left: 0; width: 100%; }
  .lp__lyrics-scroll { height: 250px; }
}
