*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --page-bg: #08090b;
  --glass-surface: rgba(17, 19, 23, 0.58);
  --glass-surface-strong: rgba(13, 15, 18, 0.74);
  --glass-surface-soft: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --text-main: #f4f4f5;
  --text-muted: rgba(244, 244, 245, 0.68);
  --text-soft: rgba(244, 244, 245, 0.5);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --glass-filter: blur(24px) saturate(135%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--page-bg);
}
body {
  font-family: var(--font-family, 'Inter', sans-serif);
  background: transparent;
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
a {
  text-decoration: none;
  color: inherit;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--primary, #a855f7);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary, #6366f1);
}
.background-container {
  position: fixed;
  top: -10vh;
  left: -10vw;
  width: 120vw;
  height: 120vh;
  z-index: -2;
  overflow: hidden;
  background-color: var(--page-bg);
  pointer-events: none;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(7, 8, 10, 0.82) 0%,
    rgba(12, 14, 17, 0.58) 52%,
    rgba(7, 8, 10, 0.84) 100%
  );
  opacity: var(--bg-overlay-opacity, 0.6);
  pointer-events: none;
}
.bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(var(--bg-blur, 0px));
  -webkit-backdrop-filter: blur(var(--bg-blur, 0px));
  pointer-events: none;
}
.bg-animated-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.055), transparent 30%),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(135deg, rgba(20, 23, 28, 0.2), rgba(6, 7, 9, 0.16));
  animation: gradientShift 15s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
  transform: translateZ(0);
}
@keyframes gradientShift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(-5%, -5%, 0) rotate(2deg); }
  50% { transform: translate3d(0, -10%, 0) rotate(0deg); }
  75% { transform: translate3d(5%, -5%, 0) rotate(-2deg); }
}
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}
.banner-wrapper {
  width: 100%;
  max-height: 200px;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius, 16px);
  overflow: hidden;
  margin-bottom: -50px;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34), inset 0 1px 0 var(--glass-highlight);
  animation: fadeInDown 0.7s var(--ease-out);
}
.banner-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}
.banner-wrapper:hover .banner-image {
  filter: brightness(1);
}
.glass-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.012) 38%),
    var(--glass-surface);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-highlight);
  border-radius: var(--border-radius, 16px);
  box-shadow: var(--glass-shadow);
}
#defaultProfileHeader {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-card {
  width: 100%;
  padding: 60px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out 0.2s both;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.34);
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.avatar:hover {
  transform: translateY(-2px) scale(1.025);
  border-color: rgba(255, 255, 255, 0.54);
}
.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035) 48%, transparent 72%);
  z-index: 1;
  filter: blur(7px);
  opacity: 0.72;
}
.avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 144px;
  height: 144px;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}
@keyframes rotateGlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.profile-info {
  text-align: center;
  margin-bottom: 24px;
  animation: fadeIn 1s ease-out 0.4s both;
}
.profile-name {
  font-family: var(--name-font, inherit);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.025em;
}
.Typewriter__wrapper {
  color: var(--text-main);
}
.Typewriter__cursor {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--primary, #a855f7);
  font-weight: 300;
  font-size: 1.8rem;
  animation: cursorBlink 1s ease-in-out infinite;
  display: inline-block;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.profile-name.effect-gradient {
  background: linear-gradient(270deg, var(--primary, #a855f7), var(--secondary, #6366f1), var(--accent, #ec4899), var(--primary, #a855f7));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s ease infinite;
}
@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.profile-name.effect-neon {
  -webkit-text-fill-color: initial;
  color: #fff;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px var(--primary, #a855f7),
    0 0 40px var(--primary, #a855f7),
    0 0 80px var(--primary, #a855f7);
  animation: neonFlicker 1.5s infinite alternate;
}
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.5; }
}
.profile-name.effect-glitch {
  position: relative;
  display: inline-block;
  -webkit-text-fill-color: initial;
  color: white;
}
.profile-name.effect-glitch::before,
.profile-name.effect-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.profile-name.effect-glitch::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.profile-name.effect-glitch::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
@keyframes glitch-anim-1 {
  0% { clip: rect(20px, 9999px, 85px, 0); }
  20% { clip: rect(92px, 9999px, 6px, 0); }
  40% { clip: rect(45px, 9999px, 30px, 0); }
  60% { clip: rect(10px, 9999px, 80px, 0); }
  80% { clip: rect(60px, 9999px, 20px, 0); }
  100% { clip: rect(80px, 9999px, 90px, 0); }
}
@keyframes glitch-anim-2 {
  0% { clip: rect(10px, 9999px, 30px, 0); }
  20% { clip: rect(80px, 9999px, 60px, 0); }
  40% { clip: rect(30px, 9999px, 90px, 0); }
  60% { clip: rect(70px, 9999px, 10px, 0); }
  80% { clip: rect(20px, 9999px, 50px, 0); }
  100% { clip: rect(90px, 9999px, 80px, 0); }
}
.profile-name.effect-wave {
  display: inline-block;
  animation: waveText 2s infinite linear;
  transform-origin: bottom center;
}
@keyframes waveText {
  0% { transform: skewY(0deg); }
  25% { transform: skewY(2deg); }
  50% { transform: skewY(0deg); }
  75% { transform: skewY(-2deg); }
  100% { transform: skewY(0deg); }
}
.profile-name.effect-discord-pop {
  display: inline-block;
  -webkit-text-fill-color: initial;
  color: white;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}
.profile-name.effect-discord-pop:hover {
  transform: scale(1.05);
}
.profile-name.effect-discord-pop::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.profile-name.effect-discord-pop:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.profile-name.effect-bounce {
  display: inline-block;
  animation: bounceText 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
}
@keyframes bounceText {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
.profile-name.effect-3d {
  -webkit-text-fill-color: initial;
  color: #fff;
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 3px rgba(0,0,0,.3),
    0 3px 5px rgba(0,0,0,.2),
    0 5px 10px rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.2),
    0 20px 20px rgba(0,0,0,.15);
}
.profile-username {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.profile-bio {
  font-size: 0.95rem;
  color: rgba(244, 244, 245, 0.82);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}
.profile-bio.bio-fade-in {
  animation: bioFadeIn 2s ease-out both;
}
@keyframes bioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.profile-bio.bio-slide-up {
  animation: bioSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes bioSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.profile-bio.bio-gradient {
  background: linear-gradient(270deg, var(--primary, #a855f7), var(--accent, #ec4899), var(--secondary, #6366f1), var(--primary, #a855f7));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bioGradient 6s ease infinite;
}
@keyframes bioGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.profile-bio.bio-glow {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 6px var(--primary, #a855f7), 0 0 12px var(--primary, #a855f7);
  animation: bioGlow 3s ease-in-out infinite alternate;
}
@keyframes bioGlow {
  from { text-shadow: 0 0 4px var(--primary, #a855f7), 0 0 8px var(--primary, #a855f7); }
  to { text-shadow: 0 0 10px var(--primary, #a855f7), 0 0 20px var(--accent, #ec4899), 0 0 40px var(--accent, #ec4899); }
}
.profile-bio.bio-blur-reveal {
  animation: bioBlurReveal 2s ease-out both;
}
@keyframes bioBlurReveal {
  from { filter: blur(8px); opacity: 0; }
  to { filter: blur(0); opacity: 1; }
}
.profile-bio.bio-rainbow {
  background: linear-gradient(90deg, #ff0000, #ff7700, #ffdd00, #00ff00, #0099ff, #6633ff, #ff00ff, #ff0000);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bioRainbow 4s linear infinite;
}
@keyframes bioRainbow {
  from { background-position: 0% 50%; }
  to { background-position: 400% 50%; }
}
.profile-bio.bio-flicker {
  color: rgba(255, 255, 255, 0.9);
  animation: bioFlicker 3s linear infinite;
}
@keyframes bioFlicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { opacity: 0.99; }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% { opacity: 0.4; }
}
.profile-bio.bio-letter-spacing {
  animation: bioLetterSpacing 4s ease-in-out infinite;
}
@keyframes bioLetterSpacing {
  0%, 100% { letter-spacing: 0; }
  50% { letter-spacing: 0.3em; }
}
.profile-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 12px;
  padding: 8px 16px;
  border-left: 2px solid var(--primary, #a855f7);
  text-align: left;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
.quote-icon {
  color: var(--primary, #a855f7);
  font-size: 0.75rem;
  margin-right: 4px;
  opacity: 0.7;
}
.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeIn 1s ease-out 0.6s both;
}
.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--glass-surface-soft);
  border: 1px solid var(--glass-border);
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(244, 244, 245, 0.78);
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: popIn 0.5s ease-out calc(var(--delay, 0s) + 0.6s) both;
}
.social-icon-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--social-color, var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.social-icon-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--social-color, #fff);
}
.social-icon-link:hover::before {
  opacity: 0.07;
}
.social-icon-link i,
.social-icon-link .svg-icon {
  position: relative;
  z-index: 1;
}
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
}
.svg-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.svg-icon img,
img.svg-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
img.svg-icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
}
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.glass-button {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--glass-surface-soft);
  border: 1px solid var(--glass-border);
  border-top-color: rgba(255, 255, 255, 0.15);
  border-radius: max(8px, calc(var(--border-radius, 16px) - 5px));
  color: rgba(244, 244, 245, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.5s ease-out calc(var(--delay, 0s) + 0.8s) both;
}
.glass-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.045), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.glass-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}
.glass-button:hover::before {
  opacity: 1;
}
.glass-button:active {
  transform: translateY(0) scale(0.98);
}
.link-icon {
  margin-right: 14px;
  font-size: 1.1rem;
  color: var(--link-color, var(--primary, #a855f7));
  min-width: 20px;
  text-align: center;
}
.link-text {
  flex: 1;
  text-align: left;
}
.link-arrow {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.glass-button:hover .link-arrow {
  color: var(--primary, #a855f7);
  transform: translate(2px, -2px);
}
.music-player {
  width: 100%;
  margin-top: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.8s ease-out 1s both;
}
.music-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
}
.music-visualizer span {
  width: 3px;
  background: var(--primary, #a855f7);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}
.music-visualizer.playing span {
  animation: visualizer 0.8s ease-in-out infinite;
}
.music-visualizer.playing span:nth-child(1) { animation-delay: 0.0s; }
.music-visualizer.playing span:nth-child(2) { animation-delay: 0.15s; }
.music-visualizer.playing span:nth-child(3) { animation-delay: 0.3s; }
.music-visualizer.playing span:nth-child(4) { animation-delay: 0.45s; }
.music-visualizer.playing span:nth-child(5) { animation-delay: 0.6s; }
@keyframes visualizer {
  0%, 100% { height: 4px; }
  50% { height: 20px; }
}
.music-info {
  flex: 1;
  min-width: 0;
}
.music-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-artist {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.music-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.music-btn:hover,
.music-btn:focus,
.music-btn:active {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.06);
  outline: none;
}
.music-btn.play-btn:hover,
.music-btn.play-btn.playing {
  border-color: #ffffff !important;
}
.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.music-volume {
  width: 95px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: width 0.3s ease, background 0.2s ease;
}
.music-volume:hover {
  background: rgba(255, 255, 255, 0.35);
}
.music-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease;
}
.music-volume:hover::-webkit-slider-thumb {
  transform: scale(1.3);
}
.music-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease;
}
.music-volume:hover::-moz-range-thumb {
  transform: scale(1.3);
}
.profile-footer {
  margin-top: 30px;
  padding: 16px;
  text-align: center;
  animation: fadeIn 1s ease-out 1.2s both;
}
.profile-footer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}
.footer-link {
  color: var(--primary, #a855f7);
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: var(--accent, #ec4899);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@media (max-width: 768px) {
  .profile-container {
    padding: 24px 16px;
  }
  .profile-card {
    padding: 48px 20px 24px;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  .avatar-glow {
    width: 110px;
    height: 110px;
  }
  .avatar-frame {
    width: 120px;
    height: 120px;
  }
  .profile-name {
    font-size: 1.5rem;
  }
  .social-icon-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .glass-button {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .music-volume {
    width: 70px;
  }
  .banner-wrapper {
    max-height: 160px;
    margin-bottom: -40px;
  }
  .banner-image {
    height: 160px;
  }
}
@media (max-width: 480px) {
  .profile-container {
    padding: 16px 12px;
  }
  .profile-card {
    padding: 40px 16px 20px;
  }
  .profile-name {
    font-size: 1.3rem;
  }
  .profile-bio {
    font-size: 0.88rem;
  }
  .social-icons {
    gap: 8px;
  }
  .social-icon-link {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .music-player {
    flex-wrap: wrap;
    gap: 10px;
  }
  .music-controls {
    width: 100%;
    justify-content: center;
  }
  .music-volume {
    width: 80px;
  }
}
@media (max-height: 750px) {
  .profile-container {
    padding: 20px 16px;
  }
  .profile-card {
    padding: 50px 20px 20px;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  .avatar-frame {
    width: 120px;
    height: 120px;
  }
  .profile-info {
    margin-bottom: 16px;
  }
  .social-icons {
    margin-bottom: 20px;
  }
  .banner-wrapper {
    max-height: 140px;
    margin-bottom: -40px;
  }
  .banner-image {
    height: 140px;
  }
}

.discord-status-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 24px;
  margin-top: 10px;
  gap: 0;
  position: relative;
  overflow: visible;
  animation: fadeIn 1s ease-out 0.5s both;
  text-align: left;
  order: 99;
}
.discord-status-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 24px;
  margin-top: 10px;
  gap: 0;
  position: relative;
  overflow: visible;
  animation: fadeIn 1s ease-out 0.5s both;
  text-align: left;
  order: 99;
}
.discord-status-card.discord-as-header {
  padding: 24px;
  /* reserves the slot above the name row for the name-tag pill (badge lives in it) */
  padding-top: 43px;
  order: -1;
}
/* Static name-tag pill above the Discord card (profile.discord.nameTag) */
.discord-name-tag {
  position: absolute;
  /* top = card padding-top: badge bottom rests exactly on the name row */
  top: 43px;
  /* left = card padding (24px) + avatar width (80px): badge starts at the avatar's right edge */
  left: 104px;
  transform: translateY(-100%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px 4px 7px;
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.92), rgba(8, 9, 11, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: system-ui, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: #f2f3f5;
  z-index: 5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: fadeIn 1s ease-out 0.7s both;
}
.discord-name-tag .name-tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.discord-name-tag .name-tag-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.discord-basic-info {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.discord-as-header .discord-basic-info {
  gap: 20px;
}
.discord-avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.discord-as-header .discord-avatar-wrapper {
  width: 80px;
  height: 80px;
}
.discord-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.discord-avatar-frame {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 1;
}
.discord-status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(15, 15, 25, 0.9);
  background-color: #747f8d;
  transition: background-color 0.3s ease;
  z-index: 2;
}
.discord-as-header .discord-status-indicator {
  width: 22px;
  height: 22px;
  border: 4px solid rgba(15, 15, 25, 0.9);
}
.discord-thought-bubble {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 20px;
  background: var(--glass-surface-strong);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid var(--glass-border);
  color: #f2f3f5;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 250px;
  width: max-content;
  pointer-events: none;
}
.discord-thought-bubble img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.discord-thought-bubble::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 12px;
  width: 10px;
  height: 10px;
  background-color: rgba(28, 30, 35, 0.96);
  border-radius: 50%;
}
.discord-thought-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 6px;
  width: 6px;
  height: 6px;
  background-color: rgba(28, 30, 35, 0.96);
  border-radius: 50%;
}
.discord-as-header .discord-thought-bubble {
  top: auto;
  bottom: calc(100% + 5px);
  left: 65px;
  font-size: 0.9rem;
}
.discord-status-indicator.online { background-color: #3ba55c; }
.discord-status-indicator.idle { background-color: #faa61a; }
.discord-status-indicator.dnd { background-color: #ed4245; }
.discord-status-indicator.offline { background-color: #747f8d; }

.discord-info {
  flex: 1;
  min-width: 0;
  z-index: 2;
}
.discord-name {
  font-family: var(--name-font);
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2px;
}
.discord-as-header .discord-name {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.discord-bio {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-as-header .discord-bio {
  font-size: 1rem;
}

.discord-about-me {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  z-index: 2;
}
.discord-about-me-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
}
.discord-about-me-content {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  white-space: pre-wrap;
}

.discord-watermark-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.discord-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(-15deg);
  pointer-events: none;
}

.discord-activity-section {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.discord-activity-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.discord-activity-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.discord-activity-header-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.discord-activity-header-right:hover {
  color: rgba(255, 255, 255, 0.8);
}
.discord-activity-platform-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-left: 2px;
}
.twemoji {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
  display: inline-block;
  margin: 0 0.1em;
}
.discord-activity-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding: 12px;
  border-radius: max(8px, calc(var(--border-radius, 16px) - 5px));
  width: 100%;
}
.discord-activity-assets {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.discord-activity-large-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.05);
}
.discord-activity-small-image {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(15, 15, 25, 0.9);
  object-fit: cover;
  background-color: #111;
}
.discord-activity-details-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.discord-activity-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-activity-state {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-activity-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.discord-activity-extra {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-activity-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}
.discord-time-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
}
.discord-time-text.left {
  text-align: left;
}
.discord-time-text.right {
  text-align: right;
}
.discord-activity-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.discord-activity-progress-fill {
  height: 100%;
  width: 0%;
  background: #1db954;
  border-radius: 4px;
  transition: width 0.5s linear;
}


.elaina-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(30px) saturate(115%);
  -webkit-backdrop-filter: blur(30px) saturate(115%);
  transition: opacity 0.5s ease, visibility 0.5s ease, filter 0.5s ease;
  animation: fadeIn 0.5s ease-out;
}
.elaina-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(7px);
}
.elaina-ping-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.elaina-ping-ring.inner-ring {
  animation: ping-loader 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.elaina-ping-ring.middle-ring {
  border-color: rgba(255, 255, 255, 0.15);
  animation: ping-loader 3s cubic-bezier(0, 0, 0.2, 1) 0.75s infinite;
}
.elaina-ping-ring.outer-ring {
  border-color: rgba(255, 255, 255, 0.1);
  animation: ping-loader 3s cubic-bezier(0, 0, 0.2, 1) 1.5s infinite;
}
.elaina-ping-ring.extra-ring {
  border-color: rgba(255, 255, 255, 0.05);
  animation: ping-loader 3s cubic-bezier(0, 0, 0.2, 1) 2.25s infinite;
}
@keyframes ping-loader {
  75%, 100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
.elaina-loader-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(280px, calc(100vw - 40px));
  min-height: 146px;
  padding: 17px 30px 15px;
  overflow: hidden;
  font: inherit;
  color: var(--text-main);
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: none;
  transition: min-height 0.35s var(--ease-out), padding 0.35s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.elaina-loader-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.25rem;
}
.elaina-loader-icon i {
  animation: loader-icon-spin 1.2s linear infinite;
}
@keyframes loader-icon-spin {
  to { transform: rotate(360deg); }
}
.elaina-loader-title {
  min-height: 1.45em;
  overflow: hidden;
  color: var(--text-main);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}
.elaina-loader-subtext {
  min-height: 1.4em;
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.elaina-loader-subtext.is-changing {
  animation: loader-status-in 0.32s var(--ease-out);
}
@keyframes loader-status-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.elaina-loader-progress {
  display: block;
  width: 104px;
  height: 2px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease;
}
.elaina-loader-progress > span {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--primary, #fff) 68%, white);
  transition: width 0.4s var(--ease-out);
}
.elaina-state-ready {
  display: block;
  max-width: 100%;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  opacity: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(5px);
  transition: max-height 0.35s var(--ease-out), margin 0.35s var(--ease-out), opacity 0.25s ease, transform 0.35s var(--ease-out);
}
.elaina-loader-btn.is-ready {
  min-height: 124px;
  padding-block: 17px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 44px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
  pointer-events: auto;
}
.elaina-loader-overlay[data-loader-state="ready"] .elaina-loader-icon i,
.elaina-loader-overlay[data-loader-state="entering"] .elaina-loader-icon i {
  animation: none;
}
.elaina-loader-overlay[data-loader-state="ready"] .elaina-loader-progress,
.elaina-loader-overlay[data-loader-state="entering"] .elaina-loader-progress {
  height: 0;
  margin-top: 0;
  opacity: 0;
}
.elaina-loader-btn.is-ready .elaina-state-ready {
  max-height: 2em;
  margin-top: 7px;
  opacity: 1;
  transform: translateY(0);
}
.elaina-loader-btn.is-ready:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
}
.elaina-loader-btn.is-ready:active {
  transform: translateY(0) scale(0.98);
}
.elaina-loader-overlay[data-loader-state="entering"] .elaina-loader-btn {
  transform: translateY(4px) scale(0.98);
}
@media (max-width: 480px) {
  .elaina-loader-btn {
    width: min(260px, calc(100vw - 32px));
    padding-inline: 24px;
  }
  .elaina-ping-ring {
    width: min(230px, 68vw);
    height: min(230px, 68vw);
  }
}

::selection {
  background: var(--primary, #a855f7);
  color: #fff;
}



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

.discord-badges {
  display: flex;
  gap: 4px;
  align-items: center;
}


.discord-badge-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


.discord-badge-wrapper {
  position: relative;
  display: inline-flex;
}

.discord-badge-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.discord-badge-wrapper::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border-width: 5px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 20;
  pointer-events: none;
}

.discord-badge-wrapper:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

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

.discord-badges {
  margin-top: 5px;
}


.music-player {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  margin-top: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012) 40%),
    var(--glass-surface-strong);
  border-radius: var(--border-radius, 16px);
  box-shadow: var(--glass-shadow);
}

.music-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}

.music-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: spin 6s linear infinite;
  animation-play-state: paused;
}

.music-avatar.playing {
  animation-play-state: running;
}

.music-avatar-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #1e1f22;
  border-radius: 50%;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
  z-index: 2;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.music-details-col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 4px;
  min-width: 0;
}

.music-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.music-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  padding-right: 10px;
}

.music-title-scroll {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.music-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.music-artist {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.music-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(244, 244, 245, 0.68);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.25s var(--ease-out), color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.music-btn.play-btn {
  background: #fff;
  color: #111;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
}

.music-btn.play-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.music-btn.play-btn i {
  margin-left: 2px;
}

.music-btn.play-btn.playing i {
  margin-left: 0;
}

.music-progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.time-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}

.time-text.left {
  text-align: left;
}

.time-text.right {
  text-align: right;
}

.music-progress-bar-wrapper {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.music-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary, #fff);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.volume-container {
  display: flex;
  align-items: center;
}

.music-volume {
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  margin-left: 0;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.volume-container:hover .music-volume,
.music-volume:focus {
  width: 50px;
  opacity: 1;
  pointer-events: auto;
  margin-left: 8px;
}

.music-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.discord-activity-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary, #fff) 72%, white);
  outline-offset: 3px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card,
  .discord-thought-bubble,
  .elaina-loader-btn.is-ready {
    background: rgba(13, 15, 18, 0.96);
  }

  .elaina-loader-overlay {
    background: rgba(8, 9, 11, 0.98);
  }
}

@media (max-width: 480px) {
  .discord-thought-bubble,
  .discord-as-header .discord-thought-bubble {
    left: 0;
    max-width: min(240px, calc(100vw - 64px));
  }

  .music-player {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .music-avatar-wrapper {
    width: 48px;
    height: 48px;
  }

  .music-controls {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .volume-container:hover .music-volume,
  .music-volume:focus {
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .music-avatar.playing {
    animation: none !important;
  }
}
