/* =========================================================
   DHTZ bio â€” stylesheet
   Splash + main stage. Reference look, rebuilt from scratch.
   ========================================================= */

:root {
  --bg: #050505;
  --fg: #f4f4f5;
  --muted: #b6b6b6;
  --dim: #7b7b82;
  --cyan: #00e5ff;
  --red: #ff2d55;
  --card-bg: rgba(16, 16, 19, 0.55);
  --card-border: rgba(255, 255, 255, 0.10);
  --card-radius: 26px;
  --glass-blur: 14px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #fff; color: #010101; }

button { font-family: inherit; }

/* =========================================================
   SPLASH
   ========================================================= */

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050505;
  cursor: pointer;
  outline: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* faint horizontal scanlines, like the reference */
.splash-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.7;
}

/* soft center glow behind the signature */
.splash-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(120, 160, 255, 0.10) 0%, transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.splash-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateY(-2vh);
  user-select: none;
}

.splash-avatar {
  width: clamp(56px, 4.4vw, 66px);
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
  animation: avatar-breathe 5s ease-in-out infinite;
}

@keyframes avatar-breathe {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 12px rgba(255,255,255,.14)); }
  50%      { transform: translateY(-3px); filter: drop-shadow(0 0 20px rgba(255,255,255,.26)); }
}

.splash-signature {
  width: min(50vw, 640px);
  rotate: -3deg;
  margin: 2px 0 4px;
}

.signature-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* chromatic split: red left, cyan right */
  filter: drop-shadow(rgba(255, 0, 80, 0.55) -2px 0)
          drop-shadow(rgba(0, 229, 255, 0.55) 2px 0);
}

.signature-text {
  font-family: "Caveat", "Segoe Script", "Brush Script MT", cursive;
  font-size: 200px;
  font-weight: 700;
  letter-spacing: 0.01em;
  fill: #f4f4f5;
  animation: sign-in 1.4s var(--ease) 0.15s both;
}

@keyframes sign-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.splash-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #a1a1aa;
  animation: caption-in 0.9s var(--ease) 1.6s both;
}

@keyframes caption-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan), 0 0 12px var(--cyan);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* =========================================================
   STAGE (main bio)
   ========================================================= */

.stage {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease) 0.15s, visibility 0.9s;
}

body.is-bio .stage {
  opacity: 1;
  visibility: visible;
}

.stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
}

.stage-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.62) 0%, rgba(5, 5, 6, 0.18) 45%, rgba(5, 5, 6, 0.55) 100%);
  pointer-events: none;
}

.stage-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}

/* top-left audio controls */
.controls {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.8s;
}

body.is-bio .controls { opacity: 1; }

.ctrl-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
  transition: transform 0.18s var(--ease), opacity 0.2s;
}

.ctrl-btn:hover { transform: scale(1.12); }
.ctrl-btn.is-off .wave-1,
.ctrl-btn.is-off .wave-2 { opacity: 0.15; }

.ctrl-btn.is-liked { color: var(--red); filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.6)); }

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 92px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fff 20%, rgba(255, 255, 255, 0.25) 20%);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.like-ctrl {
  display: flex;
  gap: 6px;
  width: auto;
  padding: 0 4px;
  border-radius: 18px;
}

.like-ctrl-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* =========================================================
   BIO LAYOUT
   ========================================================= */

.bio {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding: 3vh clamp(22px, 4vw, 64px) 6vh;
  overflow: hidden;
}

/* -------- identity column -------- */

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.45s, transform 0.9s var(--ease) 0.45s;
}

body.is-bio .identity { opacity: 1; transform: none; }

.avatar-wrap {
  position: relative;
  width: clamp(150px, 15vw, 208px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.avatar-aura {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  object-fit: contain;
  pointer-events: none;
  animation: aura-spin 26s linear infinite;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(90, 120, 255, 0.45));
}

@keyframes aura-spin {
  to { transform: rotate(360deg); }
}

.avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12),
              0 0 24px rgba(0, 0, 0, 0.7);
  mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%);
}

.avatar-ring {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(160, 190, 255, 0.45);
  box-shadow: 0 0 14px rgba(110, 150, 255, 0.45), inset 0 0 14px rgba(110, 150, 255, 0.25);
  pointer-events: none;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.name {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 3px #fff, 0 0 8px #fff, 0 0 18px rgba(255, 255, 255, 0.55);
}

.name-emblem {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.8));
}

.name-sub {
  margin: 2px 0 4px;
  max-width: 34ch;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-shadow: 0 0 12px rgba(182, 182, 182, 0.5);
}

/* badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 2px;
  color: #fff;
}

.badge svg {
  display: block;
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
  opacity: 0.9;
}

/* socials */
.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 4px;
}

.social {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  opacity: 0.82;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.social:hover { transform: translateY(-2px) scale(1.1); opacity: 1; }

.social svg { width: 17px; height: 17px; filter: drop-shadow(0 0 5px rgba(255,255,255,.4)); }

.social img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* stats row */
.stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  font-size: 12px;
  color: #cfcfd4;
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.stat svg { width: 14px; height: 14px; opacity: 0.85; }
.stat b { font-weight: 500; }

.stat-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

/* -------- about column -------- */

.about {
  min-width: 0;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 2px;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--ease) 0.6s;
}

.about::-webkit-scrollbar { display: none; }

body.is-bio .about { opacity: 1; transform: none; }

.about-title {
  margin: 0 0 4px 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #e6e6ea;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.card {
  position: relative;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* widget cards (discord) */
.card-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 92px;
}

.widget-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
}

.w-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

.w-decoration {
  position: absolute;
  inset: -11px;
  width: calc(100% + 22px);
  height: calc(100% + 22px);
  pointer-events: none;
}

.w-status {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #0a0a0c;
  background: #0a0a0c;
}

.widget-text { min-width: 0; }

.w-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w-desc {
  margin: 1px 0 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}

.w-stats { display: flex; gap: 10px; }

.w-stats span { display: inline-flex; align-items: center; gap: 4px; }
.w-stats b { color: #fff; font-weight: 600; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-online { background: #3ba55d; box-shadow: 0 0 6px rgba(59, 165, 93, 0.8); }
.dot-member { background: #747f8d; }

.w-link {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  color: #0b0b0c;
  background: #23d16b;
  transition: filter 0.2s;
}

.w-link:hover { filter: brightness(1.12); }

/* couple card spans both columns */
.card-couple {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  min-height: 104px;
}

.couple-side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.couple-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.couple-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.couple-heart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 0 8px;
}

.couple-heart img { width: 26px; height: 26px; }

.couple-days {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* valorant */
.card-valorant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 92px;
}

.val-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.val-text { min-width: 0; }

.val-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.val-rank { width: 16px; height: 16px; }

.val-meta {
  margin: 1px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
}

.val-meta b { color: #fff; }

/* clock */
.card-clock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 92px;
}

.clock-face { flex: 0 0 auto; width: 58px; height: 58px; }
.clock-face svg { width: 100%; height: 100%; display: block; }

.hand { stroke: #111; stroke-linecap: round; }
.hand-hour { stroke-width: 3.2; }
.hand-minute { stroke-width: 2.4; }
.hand-second { stroke: #e0245e; stroke-width: 1.1; }

.clock-text { min-width: 0; }

.clock-city { margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.6); }

.clock-time {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.clock-meta {
  display: flex;
  gap: 5px;
  margin: 1px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* audio player */


.audio-art {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #111;
}

.audio-name {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-track {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-time {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.wave {
  position: relative;
  flex: 1 1 auto;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.wave-bars span {
  flex: 1 1 auto;
  height: var(--h, 30%);
  min-width: 1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.15s;
}

.wave-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.08s linear;
}

.wave-fill span {
  flex: 1 1 auto;
  height: var(--h, 30%);
  min-width: 1px;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.55);
}

.wave-head {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.wave.is-playing .wave-head { opacity: 1; }

/* played bars get brightened by the clipped .wave-fill overlay above */
.wave-bars.is-played span { background: #fff; }

.audio-play {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0c;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s;
}

.audio-play:hover { transform: scale(1.08); background: #fff; }
.audio-play svg { width: 15px; height: 15px; }
.audio-play .icon-pause { display: none; }
.card-audio.is-playing .audio-play .icon-pause { display: block; }
.card-audio.is-playing .audio-play .icon-play { display: none; }


.handle {
  position: fixed;
  bottom: 10px;
  right: 18px;
  z-index: 3;
  margin: 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease) 1s;
}

body.is-bio .handle { opacity: 1; }


@media (max-width: 1024px) {
  .handle { display: none; }
}


/* =========================================================
   COMPACT MUSIC PLAYER (bottom-right)
   ========================================================= */

.card-audio {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  grid-column: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
}

/* compact player must never inherit .card glass/clip, at any width */
.card.card-audio {
  position: fixed;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
}

.audio-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(14, 14, 17, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.audio-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.audio-toggle:hover {
  transform: scale(1.06);
  background: rgba(22, 22, 26, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
}

.audio-toggle-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.card-audio.is-open .audio-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

/* expanding panel */
.audio-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 268px;
  padding: 12px 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(14, 14, 17, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  transform-origin: bottom right;
  animation: audio-in 0.28s var(--ease);
}

.audio-panel[hidden] { display: none; }

@keyframes audio-in {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to   { opacity: 1; transform: none; }
}

.audio-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-right: 22px;
}

.audio-panel-title { min-width: 0; }

.audio-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.audio-panel-actions .audio-play {
  margin: 0 auto;
}

.audio-back {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}

.audio-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.audio-back svg {
  width: 13px;
  height: 13px;
}

.audio-sub {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .bio {
    grid-template-columns: 1fr;
    align-items: start;
    overflow-y: auto;
    padding: 20px 40px 48px;
    scrollbar-width: none;
  }
  .bio::-webkit-scrollbar { display: none; }
  .about { max-height: none; overflow: visible; }
  .identity {
    justify-content: flex-start;
    padding: 16px 0 4px;
  }
  .avatar-wrap { width: 132px; margin-bottom: 4px; }
  .name { font-size: 42px; }
  .card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 12, 14, 0.9); }
  .card.card-audio { background: transparent; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .card-couple {
    justify-content: space-between;
    gap: 6px;
    padding: 14px 14px;
  }
  .couple-side { flex-direction: column; gap: 5px; min-width: 0; }
  .couple-avatar { width: 42px; height: 42px; }
  .couple-name { font-size: 11px; max-width: 11ch; }
  .couple-heart { padding: 0 2px; }
  .couple-heart img { width: 20px; height: 20px; }
  .couple-days { font-size: 9px; }
  .name { font-size: 38px; }
  .controls { top: 14px; left: 14px; gap: 10px; }
  .volume-slider { width: 66px; }
  .bio { padding-left: 16px; padding-right: 16px; }
  .card { border-radius: 20px; }
  .card.card-audio { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
