:root {
  color-scheme: dark;
  --bg: #101112;
  --surface: #191b1e;
  --surface-2: #22252a;
  --line: #32363d;
  --text: #f2f3f5;
  --muted: #a9adb5;
  --accent: #57bff6;
  --accent-2: #8b6df4;
  --danger: #ff3e64;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(87, 191, 246, 0.1), transparent 28rem),
    linear-gradient(135deg, #111214, #181a1d 48%, #0d0e10);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:not(.text-link):not(.sheet-backdrop),
input,
select,
textarea {
  min-height: 44px;
}

.is-hidden {
  display: none !important;
}

.phone-shell {
  position: relative;
  width: min(430px, 100vw);
  height: min(920px, 100vh);
  min-height: 740px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 20;
  width: 112px;
  height: 28px;
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}

.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 22px 18px 12px;
  border-bottom: 1px solid rgba(50, 54, 61, 0.7);
  background: rgba(16, 17, 18, 0.92);
  backdrop-filter: blur(18px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-row img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-row strong,
.brand-row span {
  display: block;
}

.brand-row span,
.eyebrow,
.mobile-hero p,
.mobile-song-card p,
.response-card-body p,
.mobile-card-list p,
.more-list span,
.profile-mobile-head p,
.friend-scroll p {
  color: var(--muted);
}

.brand-row strong {
  line-height: 1.1;
}

.brand-row span {
  font-size: 0.74rem;
}

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

.icon-button,
.mobile-notification-button,
.primary-button,
.action-row button,
.mobile-filter-row button,
.mood-grid button,
.back-chip,
.more-list button,
.sheet-panel button,
.answer-panel button,
.heart-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 8px;
  color: #d5d8de;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1;
}

.mobile-notification-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 8px;
  color: #a9adb5;
}

.mobile-bell-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 16px;
  border-radius: 8px 8px 4px 4px;
  background: currentColor;
}

.mobile-bell-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 6px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: currentColor;
  transform: translateX(-50%);
}

.mobile-bell-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 6px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.mobile-notification-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 20px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.mobile-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: #d94141;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-notification-count.is-hidden {
  display: none;
}

.mobile-notification-panel {
  position: absolute;
  top: 74px;
  right: 12px;
  z-index: 30;
  display: grid;
  gap: 6px;
  width: min(328px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(25, 27, 30, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 150ms ease, transform 150ms ease;
}

.mobile-notification-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 8px;
}

.mobile-notification-head span {
  color: var(--muted);
  font-size: 0.76rem;
}

.mobile-notification-panel button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

.mobile-notification-panel button:hover {
  background: rgba(87, 191, 246, 0.09);
}

.mobile-notification-panel strong,
.mobile-notification-panel em {
  display: block;
}

.mobile-notification-panel em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.mobile-notification-avatar {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--surface-2);
}

.mobile-screen {
  display: none;
  height: calc(100% - 82px);
  overflow-y: auto;
  padding: 16px 16px 102px;
  scroll-behavior: smooth;
}

.mobile-screen.is-active {
  display: block;
  animation: screen-in 150ms ease;
}

.mobile-screen::-webkit-scrollbar {
  width: 0;
}

.mobile-hero,
.frequency-mobile-hero,
.profile-mobile-head,
.song-detail-mobile-card,
.setup-card,
.taste-match-card,
.settings-group,
.mobile-card-list article,
.mobile-song-card,
.response-feed article,
.friend-scroll article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(25, 27, 30, 0.96);
}

.mobile-hero {
  padding: 16px;
  margin-bottom: 14px;
}

.mobile-hero.compact {
  padding: 13px 14px;
}

.mobile-hero.compact h1 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.mobile-hero h1,
.frequency-mobile-hero h1,
.section-title h1,
.section-title h2,
.profile-mobile-head h1 {
  margin: 0 0 8px;
  line-height: 1.02;
}

.mobile-hero p,
.frequency-mobile-hero p,
.section-title p {
  margin: 0;
  line-height: 1.48;
}

.eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mobile-filter-row {
  display: flex;
  gap: 8px;
  margin: 0 -16px 14px;
  padding: 0 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-search {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface);
  color: var(--text);
}

.feed-tune-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(87, 191, 246, 0.18);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: rgba(87, 191, 246, 0.055);
}

.feed-tune-card strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.25;
}

.feed-tune-card button {
  min-height: 40px;
  border: 1px solid rgba(87, 191, 246, 0.36);
  border-radius: 999px;
  padding: 9px 11px;
  background: rgba(87, 191, 246, 0.1);
  color: #d9f3ff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.empty-state {
  display: none;
  margin: 12px 0 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.mobile-filter-row button {
  white-space: nowrap;
  border-radius: 999px;
  color: var(--muted);
}

.mobile-filter-row button.is-active {
  border-color: rgba(87, 191, 246, 0.44);
  background: rgba(87, 191, 246, 0.1);
  color: #d9f3ff;
}

.mobile-stack,
.response-feed,
.mobile-card-list,
.friend-scroll {
  display: grid;
  gap: 12px;
}

.mobile-song-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.mobile-song-card.is-hidden {
  display: none;
}

[data-mobile-song-open],
[data-mobile-profile] {
  cursor: pointer;
}

.mobile-song-card > img,
.mobile-card-list article > img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-2);
}

.mobile-song-card h2,
.mobile-card-list h2,
.friend-scroll h2 {
  margin: 3px 0 1px;
  font-size: 1.08rem;
  line-height: 1.12;
}

.mobile-song-card p,
.mobile-card-list p {
  margin: 0 0 8px;
  line-height: 1.35;
}

.text-link {
  border: 0;
  background: transparent;
  color: #d9f3ff;
  padding: 0;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.74rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.heart-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: visible;
}

.heart-button span::before {
  content: "\2661";
  font-size: 1.05rem;
}

.heart-button.is-active {
  border-color: rgba(255, 62, 100, 0.48);
  background: rgba(255, 62, 100, 0.1);
}

[data-mobile-save].is-active {
  border-color: rgba(87, 191, 246, 0.42);
  background: rgba(87, 191, 246, 0.11);
  color: #d9f3ff;
}

.heart-button.is-active span::before {
  content: "\2665";
  color: var(--danger);
}

.heart-button.just-liked span::before {
  animation: heart-pop 330ms cubic-bezier(0.2, 1.4, 0.3, 1);
}

.frequency-mobile-hero {
  overflow: hidden;
  margin-bottom: 18px;
}

.frequency-mobile-hero.is-text-only {
  padding-top: 8px;
  background:
    linear-gradient(135deg, rgba(87, 191, 246, 0.1), transparent 45%),
    #181a1d;
}

.frequency-mobile-hero img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

.frequency-mobile-hero > div {
  padding: 16px;
}

.frequency-mobile-hero.is-text-only > div {
  padding: 22px 16px 18px;
}

.frequency-mobile-hero.is-text-only h1 {
  font-size: 2rem;
  line-height: 1.02;
}

.metric-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.metric-row span {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.metric-row strong {
  display: block;
  color: var(--accent);
  font-size: 1.22rem;
}

.setup-card,
.settings-group,
.taste-match-card {
  padding: 14px;
  margin-bottom: 14px;
}

.setup-card h2,
.settings-group h2 {
  margin: 0 0 8px;
  line-height: 1.08;
}

.setup-card p,
.taste-match-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.setup-group {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.setup-group > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.setup-options button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px;
  background: var(--surface-2);
  color: var(--muted);
}

.setup-options button.is-active {
  border-color: rgba(87, 191, 246, 0.42);
  background: rgba(87, 191, 246, 0.11);
  color: #d9f3ff;
}

.tune-preview {
  border: 1px solid rgba(87, 191, 246, 0.18);
  border-radius: 8px;
  margin: 12px 0;
  padding: 10px;
  background: rgba(87, 191, 246, 0.06);
  color: #d9f3ff !important;
}

.mobile-taste-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.mobile-taste-chips button {
  border: 1px solid rgba(87, 191, 246, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(87, 191, 246, 0.08);
  color: #d9f3ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-taste-chips span {
  margin-left: 6px;
  color: var(--muted);
}

[data-mobile-feedback] {
  color: var(--muted) !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.primary-button {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
}

.primary-button:disabled,
[data-create-action]:disabled {
  cursor: default;
  opacity: 0.58;
  box-shadow: none;
}

.primary-button.is-complete {
  background: rgba(255, 255, 255, 0.11);
  color: var(--muted);
}

.section-title {
  margin: 14px 0 12px;
}

.compact-section {
  margin-top: 18px;
}

.response-feed article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 12px;
}

.response-feed article > img,
.friend-scroll img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.response-card-body h3 {
  margin: 3px 0 2px;
}

.response-card-body .text-link {
  display: inline;
}

.response-card-body p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.response-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.mood-grid button {
  min-height: 54px;
  text-align: left;
}

.mood-grid button.is-active {
  border-color: rgba(87, 191, 246, 0.44);
  background: rgba(87, 191, 246, 0.1);
  color: #d9f3ff;
}

.discover-results {
  display: none;
  margin-bottom: 14px;
}

.discover-results.is-visible {
  display: block;
}

.discover-song-list {
  display: grid;
  gap: 8px;
}

.discover-song-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: rgba(25, 27, 30, 0.96);
}

.discover-song-list img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.discover-song-list h3,
.discover-song-list p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-song-list h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.discover-song-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.discover-song-list button {
  min-width: 44px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-card-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.profile-mobile-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
}

.profile-mobile-head > img {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  object-fit: cover;
}

.profile-settings-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-taste-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.profile-taste-strip span {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-taste-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.profile-match-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.profile-mini-label {
  margin: 4px 0 8px;
}

.profile-mini-label .eyebrow {
  margin-bottom: 0;
}

.profile-match-strip button {
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 6px;
  background: rgba(25, 27, 30, 0.96);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.profile-match-strip img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.profile-section-head {
  display: flex;
  align-items: end;
  margin: 16px 0 10px;
}

.profile-section-head h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.profile-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.08;
}

.profile-tabs button.is-active {
  border-color: rgba(87, 191, 246, 0.42);
  background: rgba(87, 191, 246, 0.11);
  color: #d9f3ff;
}

.profile-tab-panel {
  display: none;
  gap: 9px;
}

.profile-tab-panel.is-active {
  display: grid;
}

.profile-tab-panel article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  background: rgba(25, 27, 30, 0.96);
}

.profile-tab-panel img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.profile-tab-panel h2,
.profile-tab-panel p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-tab-panel h2 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.15;
}

.profile-tab-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-about-link {
  display: block;
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--muted);
  margin: 14px auto 0;
  padding: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-about-link:hover {
  color: #d9f3ff;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.stat-row span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.stat-row strong {
  display: block;
  color: var(--text);
}

.song-detail-mobile-card {
  padding: 14px;
  margin-bottom: 14px;
}

.song-detail-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 14px;
  background: var(--surface-2);
}

.song-detail-mobile-card h1 {
  margin: 0 0 4px;
  font-size: 1.7rem;
  line-height: 1.04;
}

.song-detail-mobile-card > p {
  color: var(--muted);
  line-height: 1.48;
}

.poster-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

.poster-row img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.poster-row strong,
.poster-row em {
  display: block;
}

.poster-row em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.detail-stats span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.detail-stats strong {
  display: block;
  color: var(--accent);
}

.song-detail-mobile-card .primary-button {
  margin-top: 10px;
}

.taste-match-card strong {
  color: var(--accent);
}

.more-list {
  display: grid;
  gap: 10px;
}

.more-list button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  text-align: left;
}

.more-list span {
  font-size: 0.78rem;
}

.back-chip {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.friend-scroll article {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface);
}

.bottom-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 7px;
  background: rgba(18, 20, 22, 0.96);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  border: 0;
  border-radius: 14px;
  padding: 9px 4px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.bottom-nav button.is-active {
  background: rgba(87, 191, 246, 0.11);
  color: #d9f3ff;
}

.answer-sheet,
.platform-sheet {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: none;
}

.answer-sheet.is-open,
.platform-sheet.is-open {
  display: block;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.42);
}

.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  max-height: calc(100% - 28px);
  overflow-y: auto;
  border-top: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  padding: 18px 16px 28px;
  background: #181a1d;
  animation: sheet-in 160ms ease;
  overscroll-behavior: contain;
}

.sheet-panel button {
  text-align: left;
}

.create-panel button {
  display: grid;
  gap: 3px;
  min-height: 58px;
}

.create-panel strong {
  color: var(--text);
  font-size: 0.96rem;
}

.create-panel em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.32;
}

.account-panel,
.report-panel {
  gap: 10px;
}

.account-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.account-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--surface);
  color: var(--text);
}

.auth-option-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.auth-mode-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auth-mode-row button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.auth-mode-row button.is-active {
  border-color: rgba(87, 191, 246, 0.35);
  background: rgba(87, 191, 246, 0.1);
  color: #d9f3ff;
}

.dev-pin-step,
.password-reset-step {
  border: 1px solid rgba(87, 191, 246, 0.22);
  border-radius: 14px;
  padding: 10px;
  background: rgba(87, 191, 246, 0.06);
}

.email-verification-step {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(87, 191, 246, 0.22);
  border-radius: 14px;
  padding: 12px;
  background: rgba(87, 191, 246, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.password-reset-step {
  display: grid;
  gap: 10px;
}

.account-text-button {
  justify-self: start;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: #b9eaff;
  font-size: 0.78rem;
  font-weight: 900;
}

.account-text-button:hover {
  color: var(--text);
}

.account-create-fields {
  display: grid;
  gap: 10px;
}

.account-check-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  color: var(--text) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.account-check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.policy-copy,
.settings-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.safety-check {
  border: 1px solid rgba(87, 191, 246, 0.18);
  border-radius: 12px;
  margin: 0;
  padding: 10px 12px;
  background: rgba(87, 191, 246, 0.06);
  color: #d9f3ff;
  font-size: 0.78rem;
  line-height: 1.35;
}

.safety-check.is-review {
  border-color: rgba(244, 178, 90, 0.36);
  background: rgba(244, 178, 90, 0.1);
  color: #ffd9a8;
}

.safety-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.safety-action-row button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.safety-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.safety-summary span {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
}

.safety-summary strong {
  color: var(--accent);
}

.blocked-user-list,
.admin-review-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.blocked-user-list article,
.admin-review-list article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.blocked-user-list article {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
}

.blocked-user-list img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
}

.blocked-user-list strong,
.blocked-user-list em,
.admin-review-list strong,
.admin-review-list span,
.admin-review-list p {
  display: block;
}

.blocked-user-list em,
.admin-review-list span,
.admin-review-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

.blocked-user-list button {
  border: 1px solid rgba(87, 191, 246, 0.24);
  border-radius: 999px;
  min-height: 36px;
  padding: 7px 10px;
  background: rgba(87, 191, 246, 0.08);
  color: #d9f3ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.sheet-form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.sheet-form-head h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.sheet-form-head > button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  border-radius: 999px;
  padding: 0;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 900;
}

.answer-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  padding: 18px 16px 28px;
  background: #181a1d;
  animation: sheet-in 160ms ease;
}

.answer-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.answer-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.answer-panel-head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 900;
}

.answer-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.answer-panel input,
.answer-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--surface);
  color: var(--text);
}

.link-preview-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.link-preview-card img {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface-2);
}

.link-preview-card strong,
.link-preview-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-preview-card strong {
  color: var(--text);
}

.link-preview-card em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.answer-panel textarea {
  min-height: 84px;
  resize: none;
}

.answer-panel small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.mobile-toast {
  position: absolute;
  left: 50%;
  bottom: 94px;
  z-index: 35;
  max-width: calc(100% - 36px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(18, 20, 22, 0.96);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

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

/* Polished music-app rhythm: fewer boxes, more spacing, art, and dividers. */
.frequency-mobile-hero,
.mobile-song-card,
.response-feed article,
.mobile-card-list article {
  border-color: transparent;
  background: transparent;
}

.frequency-mobile-hero {
  overflow: visible;
  border-radius: 0;
}

.frequency-mobile-hero img {
  max-height: 360px;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.frequency-mobile-hero > div {
  padding: 16px 2px 0;
}

.frequency-mobile-hero h1 {
  font-size: 1.72rem;
  line-height: 1.04;
}

.frequency-date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.frequency-date-row span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.035);
}

.frequency-date-row span:last-child {
  color: #d9f3ff;
  background: rgba(87, 191, 246, 0.08);
}

.metric-row {
  gap: 0;
  margin: 14px 0 16px;
}

.metric-row span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.metric-row span + span {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.mobile-stack,
.response-feed,
.mobile-card-list {
  gap: 0;
}

.mobile-song-card {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  border-radius: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.mobile-song-card > img {
  width: 76px;
  border-radius: 9px;
}

.mobile-song-card h2 {
  margin-top: 4px;
  font-size: 1.04rem;
}

.tag-row {
  gap: 8px;
  margin: 7px 0;
}

.tag-row span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #bcc2cd;
  font-size: 0.75rem;
}

.tag-row span::before {
  content: "#";
  color: rgba(87, 191, 246, 0.84);
}

.mobile-song-card .action-row,
.response-card-body .action-row {
  gap: 4px;
  margin-top: 6px;
}

.mobile-song-card .action-row button,
.response-card-body .action-row button {
  min-height: 34px;
  border-color: transparent;
  background: transparent;
  padding: 7px 8px;
  color: var(--muted);
}

.mobile-song-card .action-row button:hover,
.response-card-body .action-row button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.mobile-song-card .action-row [data-mobile-song-open],
.response-card-body .action-row [data-mobile-song-open] {
  color: #d9f3ff;
}

.response-feed article {
  grid-template-columns: 40px minmax(0, 1fr);
  border-radius: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.response-feed article > img {
  width: 40px;
  height: 40px;
}

.response-card-body h3 {
  margin-top: 5px;
  font-size: 1.02rem;
}

.mobile-card-list article {
  grid-template-columns: 62px minmax(0, 1fr);
  border-radius: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.mobile-card-list article > img {
  width: 62px;
  border-radius: 8px;
}

.mobile-card-list h2 {
  font-size: 1rem;
}

.mobile-card-list p {
  margin-bottom: 0;
}

.mobile-song-card {
  display: block;
}

.feed-post-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.feed-post-head > img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
}

.feed-post-head div {
  min-width: 0;
}

.feed-post-head span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.78rem;
}

.feed-caption {
  margin: 0 0 11px !important;
  color: var(--text) !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.feed-track-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feed-track-row img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.feed-track-row h2,
.feed-track-row p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-track-row h2 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.feed-track-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.discover-shelf-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 68%;
  gap: 10px;
  margin: 0 -16px 14px;
  padding: 0 16px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mood-grid-primary {
  margin-top: 2px;
  margin-bottom: 12px;
}

.discover-collapse {
  margin: 14px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discover-collapse summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.discover-collapse summary::-webkit-details-marker {
  display: none;
}

.discover-collapse summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.discover-collapse[open] summary::after {
  border-color: var(--accent-2);
  transform: rotate(225deg);
}

.discover-genre-grid {
  padding: 0 0 14px;
}

.discover-small-title {
  margin-top: 12px;
}

.discover-lane-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.discover-lane-row button {
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 15px;
  padding: 11px 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
}

.discover-lane-row strong {
  font-size: 0.85rem;
}

.discover-lane-row span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.discover-shelf-grid button {
  display: grid;
  gap: 7px;
  border: 0;
  border-radius: 16px;
  padding: 0 0 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-align: left;
}

.discover-shelf-grid img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.discover-shelf-grid span,
.discover-shelf-grid em {
  margin: 0 12px;
}

.discover-shelf-grid span {
  font-weight: 900;
}

.discover-shelf-grid em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.25;
}

.discover-song-list {
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  overflow-x: auto;
  scrollbar-width: none;
}

.discover-song-list article {
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  border: 0;
  padding: 0 0 10px;
  overflow: hidden;
}

.discover-song-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  border-radius: 12px;
}

.discover-song-list button {
  width: fit-content;
  margin-left: 10px;
}

.discover-song-list article > div {
  padding: 0 10px;
}

.discover-scene-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.discover-scene-card img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.discover-scene-card h2,
.discover-scene-card p {
  margin: 0;
}

.discover-scene-card h2 {
  font-size: 1rem;
}

.discover-scene-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.mobile-hero.compact {
  border: 0;
  border-radius: 0;
  padding: 8px 0 12px;
  background: transparent;
}

.mobile-hero.compact .eyebrow {
  margin-bottom: 5px;
}

.mobile-search {
  margin-bottom: 16px;
}

.mobile-search input {
  border-color: transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.feed-tune-card {
  border-color: transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.feed-tune-card button {
  border-color: transparent;
  background: rgba(87, 191, 246, 0.12);
}

.section-title {
  margin: 18px 0 8px;
}

.section-title h2 {
  font-size: 1.15rem;
}

.mobile-filter-row {
  margin-bottom: 8px;
}

.mobile-filter-row button,
.setup-options button,
.mood-grid button {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.055);
}

.mobile-filter-row button.is-active,
.setup-options button.is-active,
.mood-grid button.is-active {
  border-color: transparent;
}

.primary-button {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(87, 191, 246, 0.16);
}

.response-song-strip {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  margin: 10px 0 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
}

.response-song-strip img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.response-song-strip strong,
.response-song-strip em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.response-song-strip em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.library-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
}

.library-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.library-summary span {
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.library-summary strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
}

.library-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.library-tabs button.is-active {
  background: rgba(87, 191, 246, 0.12);
  color: #d9f3ff;
}

.profile-taste-card {
  border: 0;
  border-radius: 18px;
  margin: 0 0 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(87, 191, 246, 0.12), rgba(139, 109, 244, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.profile-taste-card h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.18;
}

.profile-taste-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-taste-card div span {
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.075);
  color: #d9f3ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-proof-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.profile-proof-list article {
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-proof-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-proof-list strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.28;
}

.song-detail-mobile-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.song-detail-cover {
  border-radius: 22px;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.38);
}

.song-title-block {
  margin: 16px 0 12px;
}

.song-title-block h1 {
  margin-bottom: 5px;
  font-size: 1.95rem;
}

.song-title-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.song-context-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.song-context-row span {
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.song-context-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.song-context-row em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.detail-stats span {
  border: 0;
  background: rgba(255, 255, 255, 0.045);
}

.creation-help {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.answer-tag-picker {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.answer-tag-picker.is-hidden {
  display: none;
}

.answer-tag-picker p {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.tag-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-picker-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.tag-picker-row button.is-active {
  border-color: rgba(87, 191, 246, 0.5);
  background: rgba(87, 191, 246, 0.12);
  color: #d9f3ff;
}

.answer-tag-picker small {
  color: var(--muted);
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheet-in {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes heart-pop {
  0% {
    transform: scale(0.84);
  }
  50% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

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

@media (max-width: 520px) {
  body {
    display: block;
    background: var(--bg);
  }

  .phone-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .phone-shell::before {
    display: none;
  }
}
