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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;

  font-family: "Inter", Arial, sans-serif;
  color: white;
  background: #000;

  position: relative;
}

.background-video {
  position: fixed;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  filter: grayscale(1) brightness(1) contrast(1.15) blur(0.5px);

  transform: none;

  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));

  pointer-events: none;
}

.page {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 24px;

  position: relative;
  z-index: 2;
}

.profile-card {
  width: min(560px, 100%);

  position: relative;

  padding: 26px 32px;

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

  background: rgba(255, 255, 255, 0.012);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);

  transform:
    perspective(900px)
    rotateX(var(--rotate-x, 0deg))
    rotateY(var(--rotate-y, 0deg));

  transition:
    transform 0.14s ease-out,
    border-color 0.2s ease,
    background 0.2s ease;

  will-change: transform;
}

/* Top profile */
.profile-top {
  position: relative;

  display: flex;
  align-items: center;
  gap: 18px;

  padding-right: 106px;
}

.profile-avatar-wrap {
  position: relative;

  width: 96px;
  height: 96px;

  flex-shrink: 0;
}

.profile-avatar {
  width: 96px;
  height: 96px;

  border-radius: 50%;
  object-fit: cover;

  border: 1px solid rgba(255, 255, 255, 0.55);

  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.04),
    0 14px 40px rgba(0, 0, 0, 0.45);
}

.profile-head {
  min-width: 0;
  flex: 1;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-name {
  min-height: 48px;
  margin: 0 0 4px;

  font-family: Consolas, "Courier New", monospace;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;

  color: white;

  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 20px rgba(255, 255, 255, 0.48),
    0 0 42px rgba(255, 255, 255, 0.25);

  user-select: none;
}

.profile-name span {
  display: inline-block;
  min-width: 24px;
  animation: symbolMove 0.45s infinite alternate;
}

.profile-name span:nth-child(2n) {
  animation-delay: 0.08s;
}

.profile-name span:nth-child(3n) {
  animation-delay: 0.16s;
}

@keyframes symbolMove {
  from {
    transform: translateY(-1px);
    opacity: 0.78;
  }

  to {
    transform: translateY(2px);
    opacity: 1;
  }
}

.profile-bio {
  margin: 0;

  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;

  color: rgba(255, 255, 255, 0.82);
}

.profile-meta {
  margin-top: 5px;
  margin-left: -3px;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  max-width: 100%;

  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35px;

  color: rgba(255, 255, 255, 0.66);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);

  white-space: nowrap;
}

.location-icon {
  width: 12px;
  height: 12px;

  flex-shrink: 0;

  fill: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.22));
}

.meta-separator {
  color: rgba(255, 255, 255, 0.42);
}

/* Badges */
.profile-badges {
  display: flex;
  align-items: center;
  gap: 5px;

  position: relative;
  top: -5px;
}

.badge-icon {
  position: relative;

  width: 24px;
  height: 24px;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;

  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

.badge-icon svg {
  width: 22px;
  height: 22px;

  fill: currentColor;
  display: block;
}

.badge-verified {
  color: rgba(255, 255, 255, 0.95);
}

.badge-premium {
  color: rgba(255, 255, 255, 0.88);
}

.badge-premium svg {
  width: 25px;
  height: 25px;
  transform: translateY(-1px);
}

/* Developer badge: filled </> icon */
.badge-developer {
  color: rgba(255, 255, 255, 0.9);
}

.profile-badges .badge-developer {
  width: 24px !important;
  height: 24px !important;
  overflow: visible !important;
}

.profile-badges .badge-developer .developer-svg {
  width: 25px !important;
  height: 25px !important;

  fill: currentColor !important;
  display: block;

  transform: translateY(-1px) !important;
}

.badge-icon:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.badge-icon:focus,
.badge-icon:focus-visible,
.badge-icon:active {
  outline: none;
  background: transparent;
  box-shadow: none;
}

.badge-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);

  transform: translateX(-50%) translateY(4px);

  padding: 6px 10px;

  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.45px;
  line-height: 1;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.62);

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(255, 255, 255, 0.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.badge-icon:hover::before,
.badge-icon:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Views */
.views-row {
  position: absolute;
  right: 0;
  top: 18px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  opacity: 0;
  transform: translateY(6px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.45s ease;
}

.views-eye {
  position: relative;

  width: 16px;
  height: 16px;

  display: grid;
  place-items: center;
}

.eye-svg {
  position: absolute;
  inset: 0;

  width: 16px;
  height: 16px;

  fill: rgba(255, 255, 255, 0.86);

  transition:
    opacity 0.12s ease,
    transform 0.12s ease,
    filter 0.2s ease;
}

.eye-open {
  opacity: 1;
  transform: scale(1);
}

.eye-closed {
  opacity: 0;
  transform: scale(0.9);
}

.views-eye.blink .eye-open {
  opacity: 0;
  transform: scaleY(0.2);
}

.views-eye.blink .eye-closed {
  opacity: 1;
  transform: scaleY(1);
}

.views-eye.counted .eye-open {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55));
}

.views-count {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;

  color: rgba(255, 255, 255, 0.88);
}

/* Discord status on main avatar */
/* Discord status on main avatar */
.discord-status-dot {
  position: absolute;
  right: 3px;
  bottom: 3px;

  width: 17px;
  height: 17px;

  border-radius: 50%;

  background: rgba(135, 135, 135, 0.82);
  border: 2px solid rgba(5, 5, 5, 0.95);

  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.14),
    inset 0 0 2px rgba(255, 255, 255, 0.22);
}

/* Discord status on main avatar */
.discord-status-dot {
  position: absolute;
  right: 3px;
  bottom: 3px;

  width: 17px;
  height: 17px;

  border-radius: 50%;

  background: rgba(135, 135, 135, 0.82);
  border: 2px solid rgba(5, 5, 5, 0.95);

  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.14),
    inset 0 0 2px rgba(255, 255, 255, 0.22);
}

/* online */
.discord-status-dot.online {
  background: rgba(80, 170, 115, 0.9);
  box-shadow:
    0 0 9px rgba(80, 170, 115, 0.32),
    inset 0 0 2px rgba(255, 255, 255, 0.22);
}

/* idle */
.discord-status-dot.idle {
  background: rgba(205, 160, 70, 0.9);
  box-shadow:
    0 0 9px rgba(205, 160, 70, 0.30),
    inset 0 0 2px rgba(255, 255, 255, 0.22);
}

/* dnd */
.discord-status-dot.dnd {
  background: rgba(175, 75, 82, 0.9);
  box-shadow:
    0 0 9px rgba(175, 75, 82, 0.30),
    inset 0 0 2px rgba(255, 255, 255, 0.22);
}

/* offline */
.discord-status-dot.offline {
  background: rgba(135, 135, 135, 0.78);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.12),
    inset 0 0 2px rgba(255, 255, 255, 0.18);
}

/* Discord / Spotify */
.discord-row {
  margin-top: 22px;
  margin-left: 0;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  min-width: 0;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.45s ease;
}

.spotify-cover {
  width: 60px;
  height: 60px;

  flex: 0 0 52px;

  object-fit: cover;
  border-radius: 14px;

  display: none;

  margin-top: 1px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spotify-cover.visible {
  display: block;
}

.discord-info {
  min-width: 0;
  flex: 1;
}

.discord-name {
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;

  color: rgba(255, 255, 255, 0.95);

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

.discord-copy-button {
  display: block;

  padding: 0;
  margin: 0;

  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  cursor: pointer;
  text-align: left;

  user-select: none;

  -webkit-tap-highlight-color: transparent;
}

.discord-copy-button:hover,
.discord-copy-button:focus,
.discord-copy-button:focus-visible,
.discord-copy-button:active {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
}

.discord-activity {
  margin-top: 3px;

  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);

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

/* Socials */
/* Socials */
.social-row {
  margin-top: 18px;

  display: flex;
  align-items: center;
  gap: 16px;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.45s ease;
}

.social-button {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.82);
  background: transparent;

  border: none;
  outline: none;
  box-shadow: none;

  text-decoration: none;

  opacity: 0.9;

  transition:
    opacity 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

.social-button svg {
  width: 27px;
  height: 27px;

  fill: currentColor;
  display: block;

  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.10));

  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.social-button:hover {
  color: rgba(255, 255, 255, 1);
  opacity: 1;

  transform: translateY(-1px);
}

.social-button:hover svg {
  transform: scale(1.08);

  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.38))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.16));
}

/* Music */
.music-row {
  margin-top: 22px;

  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 0;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.45s ease;
}

.track-cover {
  width: 52px;
  height: 52px;

  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.track-content {
  min-width: 0;
  flex: 1;
}

.track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 8px;
}

.track-title {
  min-width: 0;

  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;

  color: rgba(255, 255, 255, 0.92);

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

.track-time {
  flex-shrink: 0;

  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;

  color: rgba(255, 255, 255, 0.58);
}

.track-progress {
  width: 100%;
  height: 5px;

  border-radius: 999px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.track-progress-fill {
  width: 0%;
  height: 100%;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.32);

  transition: width 0.08s linear;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 10px;

  flex-shrink: 0;
}

.player-icon-button {
  width: 26px;
  height: 26px;

  display: grid;
  place-items: center;

  padding: 0;

  color: rgba(255, 255, 255, 0.9);
  background: transparent;

  border: none;
  box-shadow: none;

  cursor: pointer;
}

.control-svg {
  width: 18px;
  height: 18px;

  fill: currentColor;
  display: block;

  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.player-icon-button:hover .control-svg {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55));
  transform: translateY(-1px);
}

/* Sequential entrance */
.profile-avatar,
.profile-head,
.views-row,
.discord-row,
.social-row,
.music-row {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
}

.profile-avatar.revealed,
.profile-head.revealed,
.views-row.revealed,
.discord-row.revealed,
.social-row.revealed,
.music-row.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Enter screen */
.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 10;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.enter-button {
  padding: 14px 24px;

  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: white;
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  cursor: pointer;

  transition: 0.2s ease;
}

.enter-button:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}

/* Copy toast without cushion */
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 20;

  padding: 0;

  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;

  color: rgba(255, 255, 255, 0.92);
  background: transparent;

  border: none;
  border-radius: 0;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow: none;

  opacity: 0;
  visibility: hidden;

  transform: translateX(-50%) translateY(18px);
  filter: blur(8px);

  pointer-events: none;

  transition:
    opacity 0.38s ease,
    visibility 0.38s ease,
    transform 0.38s ease,
    filter 0.38s ease;
}

.copy-toast.visible {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
  filter: blur(0);
}

/* Stage 8: custom cursor */
.custom-cursor,
.custom-cursor-glow {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);

    pointer-events: none;

    opacity: 0;
    transform: translate(-50%, -50%);

    box-shadow: 0 0 10px rgba(255, 255, 255, 0.42);

    display: block;

    transition:
      width 0.18s ease,
      height 0.18s ease,
      opacity 0.18s ease,
      background 0.18s ease,
      box-shadow 0.18s ease;
  }

  .custom-cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9998;

    width: 92px;
    height: 92px;

    border-radius: 50%;

    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.10),
      rgba(255, 255, 255, 0.035) 35%,
      transparent 68%
    );

    pointer-events: none;

    opacity: 0;
    transform: translate(-50%, -50%);

    display: block;
    mix-blend-mode: screen;

    transition:
      opacity 0.22s ease,
      width 0.22s ease,
      height 0.22s ease;
  }

  .custom-cursor.visible,
  .custom-cursor-glow.visible {
    opacity: 1;
  }

  .custom-cursor.hovering {
    width: 18px;
    height: 18px;

    background: rgba(255, 255, 255, 0.12);

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.72),
      0 0 16px rgba(255, 255, 255, 0.35);
  }

  .custom-cursor-glow.hovering {
    width: 120px;
    height: 120px;
    opacity: 0.75;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .profile-card {
    width: min(460px, 100%);
  }

  .profile-top {
    align-items: center;
    padding-right: 92px;
  }

  .profile-avatar-wrap,
  .profile-avatar {
    width: 82px;
    height: 82px;
  }

  .profile-name {
    font-size: 30px;
  }

  .profile-name span {
    min-width: 20px;
  }

  .profile-bio {
    font-size: 20px;
  }

  .views-row {
    top: 12px;
  }

  .track-time {
    display: none;
  }

  .discord-status-dot {
    right: 4px;
    bottom: 4px;
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 480px) {
  .profile-top {
    gap: 14px;
    padding-right: 86px;
  }

  .profile-avatar-wrap,
  .profile-avatar {
    width: 74px;
    height: 74px;
  }

  .profile-name {
    font-size: 26px;
  }

  .profile-name span {
    min-width: 18px;
  }

  .profile-bio {
    font-size: 18px;
  }

  .profile-meta {
    font-size: 10px;
    gap: 4px;
  }

  .location-icon {
    width: 11px;
    height: 11px;
  }

  .views-count {
    font-size: 12px;
  }

  .views-eye,
  .eye-svg {
    width: 15px;
    height: 15px;
  }

  .badge-icon {
    width: 20px;
    height: 20px;
  }

  .badge-icon svg {
    width: 18px;
    height: 18px;
  }

  .badge-premium svg {
    width: 21px;
    height: 21px;
  }

  .profile-badges .badge-developer .developer-svg {
    width: 21px !important;
    height: 21px !important;
  }

  .discord-row,
  .music-row {
    gap: 8px;
  }

  .track-cover {
    width: 46px;
    height: 46px;
  }

  .copy-toast {
    bottom: 82px;
  }
}

/* Hide old local music player */
.music-row {
  display: none !important;
}

.presence-progress {
  margin-top: 8px;
  width: min(320px, 100%);
  display: none;
}

.presence-progress.visible {
  display: block;
}

.presence-progress-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.presence-progress-bar {
  flex: 1;
  height: 4px;

  border-radius: 999px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.12);
}

.presence-progress-fill {
  width: 0%;
  height: 100%;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);

  transition: width 0.35s linear;
}

.presence-time {
  flex-shrink: 0;

  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: rgba(255, 255, 255, 0.55);
}

/* Rain mute button */
.rain-mute-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: rgba(255, 255, 255, 0.86);
  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow: none;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.rain-mute-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rain-mute-button:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.72);

  transform: translateY(-1px);

  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.rain-mute-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rain-mute-button:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.rain-mute-icon {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  display: block;

  filter: none;
}

.rain-icon-off {
  display: none;
}

.rain-mute-button.muted .rain-icon-on {
  display: none;
}

.rain-mute-button.muted .rain-icon-off {
  display: block;
}

@media (max-width: 480px) {
  .rain-mute-button {
    left: 18px;
    bottom: 18px;

    width: 34px;
    height: 34px;
  }

  .rain-mute-icon {
    width: 17px;
    height: 17px;
  }
}

/* Mobile polish */
@media (max-width: 480px) {
  .profile-card {
    width: calc(100vw - 48px);
    padding: 24px 24px;
  }

  .profile-top {
    gap: 14px;
    padding-right: 78px;
  }

  .name-row {
    flex-wrap: nowrap;
    gap: 7px;
  }

  .profile-name {
    white-space: nowrap;
    min-height: auto;

    font-size: 30px;
    line-height: 1;
    letter-spacing: 3px;
  }

  .profile-name span {
    min-width: 16px;
  }

  .profile-badges {
    gap: 4px;
    top: -4px;
    flex-shrink: 0;
  }

  .views-row {
    top: 22px;
    right: 2px;
  }
}

@media (max-width: 480px) {
  .spotify-cover {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 14px;
  }

  .discord-row {
    gap: 12px;
    margin-top: 22px;
  }

  .discord-name {
    font-size: 24px;
    line-height: 1;
  }

  .discord-activity {
    margin-top: 5px;
    font-size: 18px;
    line-height: 1.15;
  }

  .presence-progress {
    width: 100%;
    margin-top: 8px;
  }

  .presence-progress-line {
    gap: 8px;
  }

  .presence-time {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .social-row {
    margin-top: 16px;
    gap: 14px;
  }

  .social-button {
    width: 30px;
    height: 30px;
  }

  .social-button svg {
    width: 22px;
    height: 22px;
  }
}

.spotify-mini-logo {
  width: 30px;
  height: 30px;

  margin-left: -2px;

  object-fit: contain;
  vertical-align: -10px;

  filter: none;
  opacity: 0.95;
}

@media (max-width: 480px) {
  .spotify-mini-logo {
    width: 16px;
    height: 16px;
    margin-left: 5px;
  }
}

.profile-name-copy {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-name-copy:hover {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.24));
}

.profile-name-copy:focus,
.profile-name-copy:focus-visible,
.profile-name-copy:active {
  outline: none;
  background: transparent;
}