:root {
  color-scheme: dark;
  --ink: #03080f;
  --ink-strong: #010306;
  --paper: #edf6ff;
  --muted: #91a8c0;
  --line: rgba(130, 178, 224, 0.22);
  --line-strong: rgba(126, 190, 255, 0.48);
  --panel: rgba(3, 8, 15, 0.82);
  --bubble: #3f8fe8;
  --incoming: rgba(16, 32, 49, 0.92);
  --blue: #9dceff;
  --glow: rgba(70, 150, 244, 0.36);
  --shadow: 0 1.7rem 4.5rem rgba(0, 0, 0, 0.58);
  --font-sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  min-height: 100dvh;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

a {
  color: inherit;
}

img,
audio {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink-strong);
  color: var(--paper);
  transform: translateY(-220%);
}

.skip-link:focus {
  transform: translateY(0);
}

.background-art {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(1, 3, 6, 0.22), rgba(1, 3, 6, 0.94)),
    var(--ink);
}

.background-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 3, 6, 0.64), transparent 45%, rgba(1, 3, 6, 0.58)),
    radial-gradient(circle at 50% 58%, rgba(63, 143, 232, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(1, 3, 6, 0.36), transparent 34%, rgba(1, 3, 6, 0.84));
  content: "";
}

.background-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) saturate(0.95) contrast(1.1);
  opacity: 0.76;
  transform: scale(1.06);
}

.smartlink-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 3rem);
  min-height: calc(100dvh - 3rem);
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    1rem
    max(1rem, env(safe-area-inset-left));
  place-items: center;
}

.release-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 29rem);
  height: min(52rem, calc(100vh - 2rem));
  height: min(52rem, calc(100dvh - 2rem));
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid rgba(157, 206, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 16, 28, 0.92), rgba(1, 4, 8, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.chat-header {
  flex: 0 0 auto;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.35rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(130, 178, 224, 0.18);
  background: rgba(2, 7, 13, 0.9);
  backdrop-filter: blur(16px);
}

.chat-contact {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.chat-contact > div {
  min-width: 0;
}

.chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
}

.chat-actions {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-left: auto;
}

.sound-toggle,
.chat-share-button {
  display: grid;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(157, 206, 255, 0.26);
  border-radius: 50%;
  background: rgba(157, 206, 255, 0.08);
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.sound-toggle svg,
.chat-share-button svg {
  width: 1.3rem;
  height: 1.3rem;
}

.sound-toggle path,
.chat-share-button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.chat-share-button path {
  stroke-width: 1.7;
}

.chat-share-button:not(.is-share-used) {
  border-color: rgba(157, 206, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(157, 206, 255, 0.3);
}

.sound-speaker {
  fill: currentColor;
  stroke: none;
}

.sound-wave,
.sound-slash {
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.sound-wave {
  opacity: 0;
  transform: translateX(-0.12rem);
}

.sound-slash {
  opacity: 1;
}

.sound-toggle.is-sound-on {
  border-color: rgba(157, 206, 255, 0.68);
  background: rgba(157, 206, 255, 0.14);
  color: var(--blue);
  box-shadow: 0 0 1.1rem rgba(70, 150, 244, 0.24);
}

.sound-toggle.is-sound-on .sound-wave {
  opacity: 1;
  transform: translateX(0);
}

.sound-toggle.is-sound-on .sound-slash {
  opacity: 0;
  transform: rotate(-8deg);
}

.sound-toggle:hover,
.sound-toggle:focus-visible,
.chat-share-button:hover,
.chat-share-button:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.7rem 1.5rem rgba(0, 0, 0, 0.22),
    0 0 1.3rem rgba(70, 150, 244, 0.24);
  color: var(--paper);
  transform: translateY(-1px);
}

.chat-share-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

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

.chat-name,
.chat-status,
.message-label,
.preview-label,
.store-action,
.site-footer,
.follow-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-name {
  margin: 0;
  color: var(--paper);
  letter-spacing: 0.04em;
}

.chat-status {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.chat-thread {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 1rem;
  grid-auto-rows: max-content;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 0.75rem 1.35rem;
  overscroll-behavior: contain;
  scrollbar-color: rgba(157, 206, 255, 0.28) transparent;
  scrollbar-width: thin;
}

.release-panel.has-experience-reset .chat-thread {
  padding-bottom: 4.25rem;
}

.chat-thread::-webkit-scrollbar {
  width: 0.45rem;
}

.chat-thread::-webkit-scrollbar-track {
  background: transparent;
}

.chat-thread::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(157, 206, 255, 0.28);
}

.has-reveal .chat-thread::before {
  display: block;
  height: 0.75rem;
  min-height: 0.75rem;
  content: "";
}

.experience-reset {
  position: absolute;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 6;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(157, 206, 255, 0.26);
  border-radius: 50%;
  background: rgba(6, 19, 32, 0.84);
  box-shadow:
    0 0.85rem 1.8rem rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.experience-reset[hidden] {
  display: none;
}

.experience-reset svg {
  width: 1.18rem;
  height: 1.18rem;
}

.experience-reset path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.experience-reset::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.55rem);
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(157, 206, 255, 0.24);
  border-radius: 6px;
  background: rgba(3, 11, 19, 0.92);
  box-shadow: 0 0.65rem 1.4rem rgba(0, 0, 0, 0.26);
  color: var(--paper);
  content: attr(data-tooltip);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(0.22rem, -50%);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.experience-reset:hover,
.experience-reset:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.85rem 1.8rem rgba(0, 0, 0, 0.32),
    0 0 1.25rem rgba(70, 150, 244, 0.22);
  color: var(--paper);
  transform: translateY(-1px);
}

.experience-reset:hover::before,
.experience-reset:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.message-row {
  display: flex;
  width: 100%;
  min-width: 0;
  padding-inline: 0.1rem;
}

.message-row.incoming {
  justify-content: flex-start;
}

.message-row.outgoing {
  justify-content: flex-end;
}

.message-bubble {
  position: relative;
  width: fit-content;
  max-width: min(80%, 21rem);
  padding: 0.88rem 1rem;
  border: 1px solid rgba(157, 206, 255, 0.16);
  background: var(--incoming);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.24);
}

.incoming .message-bubble {
  border-radius: 20px 20px 20px 6px;
}

.outgoing .message-bubble {
  border-color: rgba(175, 217, 255, 0.3);
  border-radius: 20px 20px 6px 20px;
  background: var(--bubble);
  color: #ffffff;
  box-shadow: 0 1rem 2.2rem rgba(16, 82, 158, 0.28);
}

.incoming .message-bubble::after,
.outgoing .message-bubble::after {
  position: absolute;
  bottom: -0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  content: "";
}

.incoming .message-bubble::after {
  left: 0.75rem;
  background: var(--incoming);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.outgoing .message-bubble::after {
  right: 0.75rem;
  background: var(--bubble);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.message-bubble p {
  margin: 0;
}

.message-bubble p + p {
  margin-top: 0.45rem;
}

.final-message-trigger {
  appearance: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.final-message-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.message-label {
  margin-bottom: 0.45rem;
  color: var(--blue);
}

.outgoing .message-label {
  color: rgba(255, 255, 255, 0.8);
}

.text-message h1 {
  margin: 0;
  font-size: clamp(2.4rem, 14vw, 4.25rem);
  font-weight: 850;
  line-height: 0.95;
  text-shadow: 0 0 2rem rgba(157, 206, 255, 0.2);
}

.text-message p:last-child {
  margin-top: 0.65rem;
  color: var(--muted);
}

.media-message {
  width: min(80%, 19.5rem);
  max-width: 19.5rem;
  padding: 0.38rem;
  background: rgba(1, 3, 6, 0.58);
}

.incoming .media-message::after,
.outgoing .media-message::after {
  background: rgba(1, 3, 6, 0.58);
}

.cover-art-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.cover-art-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.cover-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(157, 206, 255, 0.38);
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.42),
    0 0 2.8rem rgba(63, 143, 232, 0.18);
  -webkit-user-drag: none;
  user-select: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: center;
  justify-items: center;
  padding:
    max(1.2rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 44%, rgba(63, 143, 232, 0.18), transparent 36%),
    rgba(1, 3, 6, 0.94);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer.is-visible {
  opacity: 1;
  transform: scale(1);
}

.has-image-viewer-open {
  overflow: hidden;
}

.image-viewer-stage {
  position: relative;
  width: min(92vw, 82dvh, 42rem);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(157, 206, 255, 0.32);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1.6rem 4.2rem rgba(0, 0, 0, 0.62),
    0 0 4rem rgba(63, 143, 232, 0.18);
}

.image-viewer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.image-viewer-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid rgba(157, 206, 255, 0.34);
  border-radius: 50%;
  background: rgba(1, 3, 6, 0.68);
  color: var(--paper);
  cursor: pointer;
  place-items: center;
}

.image-viewer-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.image-viewer-close path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.25;
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.7rem 1.5rem rgba(0, 0, 0, 0.32),
    0 0 1.4rem var(--glow);
}

.wallpaper-viewer {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  align-items: center;
  justify-items: center;
  padding:
    max(1.2rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 38%, rgba(63, 143, 232, 0.18), transparent 34%),
    rgba(1, 3, 6, 0.95);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wallpaper-viewer[hidden] {
  display: none;
}

.wallpaper-viewer.is-visible {
  opacity: 1;
  transform: scale(1);
}

.has-wallpaper-viewer-open {
  overflow: hidden;
}

.wallpaper-viewer-stage {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  width: min(90vw, 25rem);
  max-height: calc(100dvh - 2.4rem);
}

.wallpaper-viewer-image {
  display: block;
  width: min(100%, 23rem);
  max-height: calc(100dvh - 7.5rem);
  border: 1px solid rgba(157, 206, 255, 0.32);
  border-radius: 8px;
  object-fit: contain;
  box-shadow:
    0 1.6rem 4.2rem rgba(0, 0, 0, 0.62),
    0 0 4rem rgba(63, 143, 232, 0.18);
  -webkit-user-drag: none;
  user-select: none;
}

.wallpaper-save-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(100%, 23rem);
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(157, 206, 255, 0.34);
  border-radius: 8px;
  background: rgba(6, 19, 32, 0.84);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.wallpaper-save-button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.wallpaper-save-button path {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.wallpaper-save-button:hover,
.wallpaper-save-button:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.9rem 2rem rgba(0, 0, 0, 0.28),
    0 0 1.4rem var(--glow);
}

.wallpaper-save-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.lyrics-attachment-row {
  display: flex;
  opacity: 0;
  transform: translateY(0.42rem);
  transition:
    opacity 360ms ease,
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lyrics-attachment-row[hidden] {
  display: none;
}

.lyrics-attachment-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lyrics-attachment-bubble {
  width: min(86%, 22rem);
  padding: 0.76rem;
}

.lyrics-attachment {
  display: grid;
  align-items: center;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.72rem;
  width: 100%;
  min-height: 3.3rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(157, 206, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 19, 32, 0.72);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.lyrics-attachment svg {
  width: 2.45rem;
  height: 2.45rem;
}

.lyrics-attachment path {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.lyrics-attachment-title,
.lyrics-attachment-meta {
  display: block;
}

.lyrics-attachment-title {
  color: var(--paper);
  font-weight: 800;
  line-height: 1.08;
}

.lyrics-attachment-meta {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.lyrics-attachment:hover,
.lyrics-attachment:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.9rem 2rem rgba(0, 0, 0, 0.25),
    0 0 1.4rem var(--glow);
}

.lyrics-viewer {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-items: center;
  justify-items: center;
  padding:
    max(1.2rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 34%, rgba(63, 143, 232, 0.2), transparent 34%),
    rgba(1, 3, 6, 0.95);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lyrics-viewer[hidden] {
  display: none;
}

.lyrics-viewer.is-visible {
  opacity: 1;
  transform: scale(1);
}

.has-lyrics-viewer-open {
  overflow: hidden;
}

.lyrics-sheet {
  display: flex;
  flex-direction: column;
  width: min(90vw, 27rem);
  max-height: min(84dvh, 48rem);
  border: 1px solid rgba(157, 206, 255, 0.32);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 32, 49, 0.98), rgba(2, 7, 13, 0.98)),
    var(--panel);
  box-shadow:
    0 1.8rem 4.8rem rgba(0, 0, 0, 0.66),
    0 0 3rem rgba(63, 143, 232, 0.18);
}

.lyrics-sheet-header {
  display: grid;
  gap: 0.32rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(157, 206, 255, 0.16);
  background: rgba(1, 3, 6, 0.32);
}

.lyrics-sheet-header p,
.lyrics-sheet-header h2 {
  margin: 0;
}

.lyrics-sheet-header p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lyrics-sheet-header h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 12vw, 4rem);
  line-height: 0.92;
}

.lyrics-text {
  min-height: 0;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  color: rgba(237, 246, 255, 0.88);
  cursor: default;
  font: 600 0.96rem/1.58 var(--font-sans);
  white-space: pre-wrap;
  -webkit-user-select: none;
  user-select: none;
}

.lyrics-viewer-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid rgba(157, 206, 255, 0.34);
  border-radius: 50%;
  background: rgba(1, 3, 6, 0.68);
  color: var(--paper);
  cursor: pointer;
  place-items: center;
}

.lyrics-viewer-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lyrics-viewer-close path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.25;
}

.lyrics-viewer-close:hover,
.lyrics-viewer-close:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.7rem 1.5rem rgba(0, 0, 0, 0.32),
    0 0 1.4rem var(--glow);
}

.preview-block {
  display: grid;
  align-items: end;
  width: min(96%, 21rem);
  max-width: min(96%, 21rem);
  gap: 0.5rem;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-width: 0;
  padding: 0.58rem 0.72rem 0.5rem;
}

.preview-label,
.preview-title {
  display: block;
}

.preview-label {
  color: rgba(255, 255, 255, 0.78);
}

.preview-title {
  margin-top: 0.2rem;
  color: #ffffff;
}

.voice-note-play {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #04111f;
  cursor: pointer;
  place-items: center;
}

.voice-note-play svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.voice-pause-icon,
.preview-block.is-playing .voice-play-icon {
  display: none;
}

.preview-block.is-playing .voice-pause-icon {
  display: block;
}

.voice-waveform {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  min-width: 0;
  height: 1.95rem;
  overflow: hidden;
}

.voice-waveform span {
  flex: 1 1 0.18rem;
  max-width: 0.32rem;
  height: var(--bar-height);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 246, 255, 0.96), rgba(145, 168, 192, 0.52));
}

.preview-block.is-playing .voice-waveform span {
  animation: waveform-listen 1.05s ease-in-out infinite;
}

.preview-block.is-playing .voice-waveform span:nth-child(3n + 1) {
  animation-delay: 0.16s;
}

.preview-block.is-playing .voice-waveform span:nth-child(3n + 2) {
  animation-delay: 0.32s;
}

.voice-note-duration {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.voice-note-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.typing-row {
  display: flex;
  gap: 0.28rem;
  width: fit-content;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(157, 206, 255, 0.16);
  border-radius: 20px 20px 20px 6px;
  background: var(--incoming);
  opacity: 0;
  transform: translateY(0.28rem);
  transition:
    opacity 320ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.typing-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.typing-row span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-pulse 1.2s ease-in-out infinite;
}

.typing-row span:nth-child(2) {
  animation-delay: 0.14s;
}

.typing-row span:nth-child(3) {
  animation-delay: 0.28s;
}

.action-message {
  display: grid;
  gap: 0.75rem;
  width: min(82%, 22rem);
}

.destination {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) max-content;
  justify-content: space-between;
  min-height: 3.25rem;
  text-decoration: none;
}

.destination-list {
  display: grid;
  gap: 0.55rem;
}

.destination {
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(157, 206, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 19, 32, 0.66);
}

.destination[hidden] {
  display: none;
}

.store-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 750;
}

.store-name span {
  min-width: 0;
  font-size: clamp(0.68rem, 3.15vw, 1rem);
  line-height: 1;
  white-space: nowrap;
}

.store-logo {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.apple-music-store-logo,
.itunes-store-logo {
  fill: #ffffff;
  filter: drop-shadow(0 0.2rem 0.45rem rgba(251, 92, 116, 0.22));
}

.amazon-music-store-logo {
  filter: drop-shadow(0 0.2rem 0.45rem rgba(37, 209, 255, 0.2));
}

.amazon-music-store-logo rect {
  fill: #21c9f8;
}

.amazon-music-note {
  fill: #07131d;
}

.amazon-music-smile {
  fill: none;
  stroke: #07131d;
  stroke-linecap: round;
  stroke-width: 1.25;
}

.spotify-store-logo {
  filter: drop-shadow(0 0.2rem 0.45rem rgba(30, 215, 96, 0.2));
}

.spotify-store-logo circle {
  fill: #1ed760;
}

.spotify-store-logo path {
  fill: none;
  stroke: #06140b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.youtube-music-store-logo {
  filter: drop-shadow(0 0.2rem 0.45rem rgba(255, 0, 0, 0.2));
}

.tidal-store-logo {
  filter: drop-shadow(0 0.2rem 0.45rem rgba(0, 255, 255, 0.16));
}

.tidal-store-bg {
  fill: #050f14;
}

.tidal-store-mark {
  fill: #ffffff;
}

.qobuz-store-logo rect {
  fill: #ffffff;
}

.qobuz-store-logo path {
  fill: #d71920;
}

.deezer-store-logo {
  filter: drop-shadow(0 0.2rem 0.45rem rgba(161, 72, 255, 0.2));
}

.deezer-blue {
  fill: #00a8ff;
}

.deezer-purple {
  fill: #6f45ff;
}

.deezer-pink {
  fill: #c142ff;
}

.deezer-orange {
  fill: #ff8f24;
}

.store-action {
  flex: 0 0 auto;
  color: var(--blue);
}

.follow-block {
  width: min(82%, 18rem);
  text-align: center;
}

.follow-label {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.78);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, 3.4rem);
  justify-content: center;
  gap: 0.7rem;
}

.social-link {
  display: grid;
  width: 3.4rem;
  min-height: 3.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(1, 3, 6, 0.38);
  box-shadow: inset 0 0 1.4rem rgba(157, 206, 255, 0.04);
  place-items: center;
}

.brand-logo {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.social-link:hover,
.social-link:focus-visible,
.destination:hover,
.destination:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0.9rem 2rem rgba(0, 0, 0, 0.25),
    0 0 1.6rem var(--glow);
  transform: translateY(-1px);
}

.has-reveal [data-message] {
  display: none;
  opacity: 0;
  transform: translateY(0.42rem);
  transition:
    opacity 360ms ease,
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.has-reveal [data-message].is-delivering,
.has-reveal [data-message].is-visible {
  display: flex;
}

.has-reveal [data-message].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-reveal .incoming[data-message] {
  transform: translateY(0.42rem);
}

.has-reveal .outgoing[data-message] {
  transform: translateY(0.42rem);
}

.has-reveal .incoming[data-message].is-visible,
.has-reveal .outgoing[data-message].is-visible {
  transform: translateY(0);
}

.has-reveal [data-message].is-visible .message-bubble {
  animation: none;
}

.has-reveal [data-message].is-visible .cover-art,
.has-reveal [data-message].is-visible audio,
.has-reveal [data-message].is-visible .destination,
.has-reveal [data-message].is-visible .social-link {
  animation: none;
}

.has-reveal [data-message].is-visible .message-bubble.is-lyrics-hint-message {
  border-color: rgba(157, 206, 255, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(157, 206, 255, 0.3),
    0 1rem 2.2rem rgba(0, 0, 0, 0.24);
}

.site-footer {
  display: grid;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
  padding: 0 1rem 1.5rem;
  color: rgba(248, 245, 239, 0.58);
  justify-items: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.release-footer-nav {
  display: grid;
  justify-items: center;
  text-align: center;
}

.release-footer-nav ul {
  display: inline-grid;
  grid-template-columns: auto max-content max-content;
  column-gap: 0.28rem;
  row-gap: 0.18rem;
  justify-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-footer-nav li {
  display: contents;
}

.release-footer-nav a,
.release-footer-nav span[aria-current="page"] {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
}

.release-footer-nav a {
  color: rgba(157, 206, 255, 0.84);
  text-decoration: none;
}

.release-footer-nav span[aria-current="page"] {
  color: rgba(248, 245, 239, 0.44);
}

.release-footer-icon {
  display: inline-block;
  flex: 0 0 1em;
  grid-column: 1;
  width: 1em;
  height: 1em;
  object-fit: contain;
  transform: translateY(0.12em);
}

.release-footer-title {
  grid-column: 2;
  line-height: 1.1;
}

.release-footer-date {
  grid-column: 3;
  color: rgba(248, 245, 239, 0.38);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.release-footer-nav a:hover,
.release-footer-nav a:focus-visible {
  color: var(--paper);
  outline: none;
}

@media (min-width: 44rem) {
  .site-footer {
    grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
    align-items: center;
  }

  .site-footer > p {
    grid-column: 2;
  }

  .release-footer-nav {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    justify-items: start;
    text-align: left;
  }
}

@keyframes typing-pulse {
  0%,
  70%,
  100% {
    opacity: 0.34;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
    transform: translateY(-0.18rem);
  }
}

@keyframes waveform-listen {
  0%,
  100% {
    opacity: 0.52;
  }

  45% {
    opacity: 1;
  }
}

@media (max-width: 34rem) {
  .smartlink-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      max(0.45rem, env(safe-area-inset-top))
      max(0.45rem, env(safe-area-inset-right))
      max(0.45rem, env(safe-area-inset-bottom))
      max(0.45rem, env(safe-area-inset-left));
  }

  .release-panel {
    width: 100%;
    height: calc(100vh - 0.9rem);
    height: calc(100dvh - 0.9rem);
    min-height: 0;
  }

  .chat-thread {
    padding: 0.85rem 0.6rem 1.1rem;
  }

  .has-reveal .chat-thread::before {
    height: 0.5rem;
    min-height: 0.5rem;
  }

  .message-bubble,
  .action-message,
  .preview-block {
    max-width: 84%;
  }

  .preview-block {
    width: min(97%, 18.5rem);
    max-width: 97%;
    gap: 0.36rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 0.5rem 0.58rem 0.44rem;
  }

  .voice-note-play {
    width: 2rem;
    height: 2rem;
  }

  .voice-note-play svg {
    width: 1rem;
    height: 1rem;
  }

  .voice-waveform {
    gap: 0.1rem;
    height: 1.8rem;
  }

  .voice-waveform span {
    max-width: 0.26rem;
  }

  .voice-note-duration {
    font-size: 0.66rem;
  }

  .media-message {
    width: 82%;
  }

  .destination {
    gap: 0.65rem;
    min-height: 3rem;
    padding: 0.75rem 0.72rem;
  }

  .store-name {
    gap: 0.5rem;
  }

  .store-logo {
    width: 1.65rem;
    height: 1.65rem;
  }

  .store-action {
    font-size: clamp(0.58rem, 2.65vw, 0.68rem);
  }

  .site-footer {
    display: grid;
    padding: 0 1rem 1rem;
  }
}

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