/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  cursor: none;
}

/* Custom dot cursor */
body::after {
  content: '';
  position: fixed;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: var(--my, -100px);
  left: var(--mx, -100px);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  transition: transform 0.05s ease;
}

/* ── Splash Screen ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  cursor: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-text {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Main Page ── */
.main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main.hidden {
  display: none;
}

/* Background video */
.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 0;
  filter: blur(2px) brightness(0.3);
  object-fit: cover;
}

/* Overlay gradient */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

/* Particles canvas */
#particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── Sound Control (toggle + slider) ── */
.sound-control {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sound-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: none;
  transition: background 0.3s, transform 0.2s;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.sound-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.sound-toggle.muted i::before {
  content: "\f6a9";
}

.volume-slider-wrap {
  margin-top: 8px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  width: 34px;
}

.volume-slider-wrap.open {
  height: 120px;
  opacity: 1;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 4px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

/* ── Profile Container ── */
.profile-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vh, 16px);
  animation: fadeInUp 0.8s ease-out;
  max-width: 600px;
  width: 90%;
}

/* ── Revenge GIF ── */
.revenge-gif {
  width: clamp(120px, 17vw, 240px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
  margin-bottom: -10px;
  margin-top: -30px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Avatar ── */
.avatar-wrapper {
  position: relative;
  margin-bottom: 6px;
}

.avatar-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.avatar {
  width: clamp(70px, 8vw, 120px);
  height: clamp(70px, 8vw, 120px);
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-eye {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

/* ── Username ── */
.username {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.3),
    0 0 80px rgba(255, 255, 255, 0.15);
  position: relative;
}

/* Glitch / fade animation like guns.lol */
.glitch {
  animation: glitchFade 8s ease-in-out infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}

.glitch::before {
  animation: glitchLeft 6s ease-in-out infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  color: #fff;
}

.glitch::after {
  animation: glitchRight 7s ease-in-out infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  color: #fff;
}

@keyframes glitchFade {
  0%, 100% { opacity: 1; }
  15% { opacity: 0.85; }
  30% { opacity: 1; }
  45% { opacity: 0.6; text-shadow: 0 0 40px rgba(255, 255, 255, 0.8); }
  50% { opacity: 0.3; }
  55% { opacity: 0.9; }
  60% { opacity: 1; }
  75% { opacity: 0.95; }
  80% { opacity: 0.4; text-shadow: 0 0 60px rgba(255, 255, 255, 1); }
  85% { opacity: 1; }
}

@keyframes glitchLeft {
  0%, 100% { transform: translateX(0); opacity: 0; }
  44% { opacity: 0; }
  45% { transform: translateX(-3px) skewX(-2deg); opacity: 0.7; }
  46% { transform: translateX(2px) skewX(1deg); opacity: 0.4; }
  47% { transform: translateX(0); opacity: 0; }
  79% { opacity: 0; }
  80% { transform: translateX(4px) skewX(-3deg); opacity: 0.6; }
  81% { transform: translateX(-2px); opacity: 0.3; }
  82% { transform: translateX(0); opacity: 0; }
}

@keyframes glitchRight {
  0%, 100% { transform: translateX(0); opacity: 0; }
  49% { opacity: 0; }
  50% { transform: translateX(3px) skewX(2deg); opacity: 0.5; }
  51% { transform: translateX(-4px) skewX(-1deg); opacity: 0.7; }
  52% { transform: translateX(0); opacity: 0; }
  84% { opacity: 0; }
  85% { transform: translateX(-3px) skewX(3deg); opacity: 0.5; }
  86% { transform: translateX(2px); opacity: 0.3; }
  87% { transform: translateX(0); opacity: 0; }
}

/* ── Bio ── */
.bio {
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.15);
}

/* ── Social Links ── */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(138, 43, 226, 0.25);
  border-color: rgba(138, 43, 226, 0.5);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.social-link:nth-child(1):hover {
  background: rgba(0, 136, 204, 0.25);
  border-color: rgba(0, 136, 204, 0.5);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.social-link:nth-child(2):hover {
  background: rgba(27, 40, 56, 0.5);
  border-color: rgba(102, 192, 244, 0.5);
  box-shadow: 0 8px 25px rgba(102, 192, 244, 0.2);
}

.social-link:nth-child(3):hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

/* ── Player Stack ── */
.player-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-top: 16px;
}

/* ── Music Player ── */
.music-player {
  width: 100%;
  background: rgba(30, 30, 30, 0.2);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s, transform 0.3s ease;
  position: relative;
  z-index: 3;
}

.music-player.track-out {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 1, 1), transform 0.2s cubic-bezier(0.4, 0, 1, 1);
}

.music-player.track-in {
  animation: trackSlideUp 0.35s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes trackSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.music-player:hover {
  opacity: 1;
}

/* ── Peeking Cards ── */
.player-tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -6px;
  position: relative;
  z-index: 1;
}

.player-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(100% - 20px);
  background: rgba(35, 35, 35, 0.3);
  border-radius: 0 0 8px 8px;
  padding: 3px 10px 4px;
  cursor: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.player-tab + .player-tab {
  width: calc(100% - 36px);
  margin-top: -2px;
}

.player-tab:hover {
  background: rgba(50, 50, 50, 0.45);
}

.player-tab-cover {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.player-tab-title {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-tab:hover .player-tab-title {
  color: rgba(255, 255, 255, 0.7);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.player-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: none;
  position: relative;
  transition: height 0.15s ease, margin 0.15s ease;
}

.player-progress:hover {
  height: 8px;
}

.player-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.player-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  cursor: none;
  transition: color 0.2s, transform 0.2s;
  padding: 4px;
}

.player-btn:hover {
  color: #fff;
  transform: scale(1.15);
}

.player-btn-main {
  font-size: 1.1rem;
  color: #fff;
}

/* ── Text Selection ── */
::selection {
  background: #fff;
  color: #000;
}

::-moz-selection {
  background: #fff;
  color: #000;
}

/* ── Visit Counter ── */
.visit-counter {
  position: fixed;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.5s;
}

.visit-counter.visible {
  opacity: 1;
}

.visit-counter i {
  font-size: 0.85rem;
}

/* ── Footer Link ── */
.footer-link {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-decoration: none;
  z-index: 50;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Mascot GIF ── */
.mascot-left {
  position: fixed;
  left: clamp(20px, 4vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 18vw, 340px);
  height: auto;
  z-index: 10;
  opacity: 0.7;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
  pointer-events: none;
}

/* ── Comments Arrow ── */
.comments-arrow {
  position: fixed;
  right: 0;
  top: 20%;
  height: 60%;
  width: 50px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.3s ease;
}

.comments-arrow:hover {
  background: rgba(255, 255, 255, 0.03);
}

.arrow-symbol {
  font-size: 5rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  user-select: none;
  transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
  font-family: 'Inter', sans-serif;
  transform: scaleY(3);
}

.comments-arrow:hover .arrow-symbol {
  color: rgba(255, 255, 255, 0.5);
  transform: scaleY(3) translateX(3px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Comments Overlay ── */
.comments-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.comments-overlay.open {
  transform: translateX(0);
}

.comments-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
}

/* ── Comments Back Arrow ── */
.comments-back {
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 210;
  transition: background 0.3s ease;
}

.comments-back:hover {
  background: rgba(255, 255, 255, 0.03);
}

.comments-back:hover .arrow-symbol {
  color: rgba(255, 255, 255, 0.5);
  transform: translateX(-3px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Comments Title ── */
.comments-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

/* ── Comments List ── */
.comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.comments-list::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.comments-list::-webkit-scrollbar-track {
  background: transparent;
}

.comments-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
  transition: background 0.2s;
}

.comment-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.comment-nick-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.comment-content {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  word-break: break-word;
}

.comment-media {
  margin-top: 10px;
  max-width: 280px;
  border-radius: 8px;
  overflow: hidden;
}

.comment-media img,
.comment-media video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.comment-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 60, 60, 0.15);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: rgba(255, 100, 100, 0.8);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: none;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.comment-delete:hover {
  background: rgba(255, 60, 60, 0.3);
  color: #ff4444;
}

.admin-mode .comment-delete {
  display: flex;
}

.comment-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 8px;
}

.no-comments {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  padding: 40px 0;
}

/* ── Comment Form ── */
.comment-form {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
}

.comment-form.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.comment-input,
.comment-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.2s;
  cursor: none;
}

.comment-input:focus,
.comment-textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.comment-input {
  margin-bottom: 8px;
}

.comment-textarea {
  resize: none;
  height: 60px;
  margin-bottom: 8px;
}

.comment-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-attachments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-attach-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: none;
  transition: all 0.2s;
}

.comment-attach-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.comment-attach-btn.has-file {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.comment-file-name {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-char-count {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}

.comment-submit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.comment-submit:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ── Admin Button ── */
.admin-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: none;
  z-index: 220;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
}

.admin-btn.active {
  background: rgba(255, 60, 60, 0.15);
  border-color: rgba(255, 60, 60, 0.3);
  color: rgba(255, 100, 100, 0.7);
}

/* ── Admin Modal ── */
.admin-modal {
  position: absolute;
  top: 60px;
  right: 16px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  z-index: 220;
  width: 260px;
  backdrop-filter: blur(20px);
}

.admin-modal.hidden {
  display: none;
}

.admin-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  text-align: center;
  font-style: italic;
}

.admin-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  padding: 8px 12px;
  outline: none;
  margin-bottom: 8px;
  cursor: none;
  transition: border-color 0.2s;
}

.admin-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.admin-submit {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  cursor: none;
  transition: all 0.2s;
  margin-top: 4px;
}

.admin-submit:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-error {
  color: rgba(255, 80, 80, 0.7);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 8px;
}

.admin-error.hidden {
  display: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  display: none;
}

/* ── Watchlist Arrow (Top) ── */
.watchlist-arrow {
  position: fixed;
  top: 0;
  left: 20%;
  width: 60%;
  height: 45px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.3s ease;
}

.watchlist-arrow:hover {
  background: rgba(255, 255, 255, 0.03);
}

.arrow-symbol-down,
.arrow-symbol-up {
  font-size: 3rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  user-select: none;
  transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
  font-family: 'Inter', sans-serif;
  transform: scaleX(3);
}

.watchlist-arrow:hover .arrow-symbol-down {
  color: rgba(255, 255, 255, 0.5);
  transform: scaleX(3) translateY(3px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Watchlist Overlay ── */
.watchlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.watchlist-overlay.open {
  transform: translateY(0);
}

.watchlist-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
}

/* ── Watchlist Back Arrow (top bar) ── */
.watchlist-back {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 210;
  transition: background 0.3s ease;
}

.watchlist-back:hover {
  background: rgba(255, 255, 255, 0.03);
}

.watchlist-back:hover .arrow-symbol-up {
  color: rgba(255, 255, 255, 0.5);
  transform: scaleX(3) translateY(-3px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Watchlist Title (neon) ── */
.watchlist-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  flex-shrink: 0;
  color: #fff;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.9),
    0 0 15px rgba(255, 255, 255, 0.7),
    0 0 30px rgba(138, 43, 226, 0.5),
    0 0 60px rgba(138, 43, 226, 0.3);
}

/* ── Watchlist Filter Tabs ── */
.watchlist-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.wl-filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.wl-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.wl-filter-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ── Watchlist Add Form (admin) ── */
.watchlist-add-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.watchlist-add-form.hidden {
  display: none;
}

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

.wl-add-cover-name {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-status-select {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
}

.wl-status-select option {
  background: #1a1a1a;
  color: #fff;
}

.wl-add-btn {
  padding: 6px 16px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.wl-add-btn:hover {
  background: rgba(138, 43, 226, 0.35);
  color: #fff;
}

/* ── Watchlist Items ── */
.watchlist-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.watchlist-list::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.watchlist-list::-webkit-scrollbar-track {
  background: transparent;
}

.watchlist-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.wl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  position: relative;
}

.wl-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.wl-item.dragging {
  opacity: 0.4;
  transform: scale(0.97);
}

.wl-item.drag-over {
  border-color: rgba(138, 43, 226, 0.5);
  background: rgba(138, 43, 226, 0.08);
}

.wl-item-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.wl-item.wl-rank-1 .wl-item-num,
.wl-item.wl-rank-2 .wl-item-num,
.wl-item.wl-rank-3 .wl-item-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
}

.wl-item.wl-rank-1 .wl-item-num {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.wl-item.wl-rank-2 .wl-item-num {
  color: #d7d7d7;
  border-color: rgba(220, 220, 220, 0.9);
  box-shadow: 0 0 12px rgba(220, 220, 220, 0.3);
}

.wl-item.wl-rank-3 .wl-item-num {
  color: #cd7f32;
  border-color: rgba(205, 127, 50, 0.9);
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.3);
}

.wl-item-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-item.wl-rank-1 .wl-item-title {
  color: #ffdd55;
  text-shadow: 0 0 12px rgba(255, 221, 85, 0.7), 0 0 24px rgba(255, 190, 30, 0.35);
}

.wl-item.wl-rank-2 .wl-item-title {
  color: #e8ebf0;
  text-shadow: 0 0 12px rgba(232, 235, 240, 0.7), 0 0 24px rgba(200, 200, 200, 0.3);
}

.wl-item.wl-rank-3 .wl-item-title {
  color: #f2b16c;
  text-shadow: 0 0 12px rgba(242, 177, 108, 0.7), 0 0 24px rgba(205, 127, 50, 0.25);
}

.wl-item.wl-rank-1 {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: inset 0 0 18px rgba(255, 215, 0, 0.08);
}

.wl-item.wl-rank-2 {
  border-color: rgba(220, 220, 220, 0.5);
  box-shadow: inset 0 0 16px rgba(220, 220, 220, 0.07);
}

.wl-item.wl-rank-3 {
  border-color: rgba(205, 127, 50, 0.5);
  box-shadow: inset 0 0 16px rgba(205, 127, 50, 0.07);
}

.wl-item-cover {
  width: 44px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.wl-item-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Status badges */
.wl-status {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

.wl-status-watched {
  background: rgba(76, 140, 76, 0.25);
  color: rgba(140, 210, 140, 0.9);
  border: 1px solid rgba(76, 140, 76, 0.35);
}

.wl-status-watching {
  background: rgba(180, 160, 50, 0.25);
  color: rgba(230, 210, 100, 0.9);
  border: 1px solid rgba(180, 160, 50, 0.35);
}

.wl-status-planned {
  background: rgba(160, 60, 60, 0.25);
  color: rgba(220, 120, 120, 0.9);
  border: 1px solid rgba(160, 60, 60, 0.35);
}

/* Admin controls on item */
.wl-item-admin {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wl-item .wl-item-admin-status {
  display: none;
}

.admin-wl .wl-item-admin {
  display: flex;
}

.admin-wl .wl-item-admin-status {
  display: block;
}

.admin-wl .wl-item .wl-status {
  display: none;
}

.admin-wl .wl-item {
  cursor: grab;
}

.admin-wl .wl-item:active {
  cursor: grabbing;
}

.wl-item-delete {
  background: rgba(255, 60, 60, 0.15);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: rgba(255, 100, 100, 0.8);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wl-item-delete:hover {
  background: rgba(255, 60, 60, 0.3);
  color: #ff4444;
}

.wl-item-admin-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.wl-drag-handle {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  cursor: grab;
  flex-shrink: 0;
}

.wl-drag-handle:active {
  cursor: grabbing;
}

.wl-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  padding: 40px 0;
}

/* ── Large Monitors ── */
@media (min-width: 1600px) {
  .profile-container {
    max-width: 700px;
  }

  .player-stack {
    max-width: 560px;
  }

  .social-link {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .bio {
    font-size: 1.1rem;
  }
}

@media (min-width: 2000px) {
  .profile-container {
    max-width: 800px;
  }

  .player-stack {
    max-width: 640px;
  }

  .social-link {
    width: 62px;
    height: 62px;
    font-size: 1.5rem;
  }

  .revenge-gif {
    width: 270px;
  }

  .bio {
    font-size: 1.2rem;
  }

  .sound-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .volume-slider-wrap {
    width: 40px;
  }
}

/* ── Responsive Tablet ── */
@media (max-width: 768px) {
  .mascot-left {
    width: 160px;
    left: 10px;
    opacity: 0.35;
  }

  .comments-arrow {
    width: 40px;
  }

  .arrow-symbol {
    font-size: 4rem;
  }

  .profile-container {
    max-width: 420px;
  }

  .player-stack {
    max-width: 380px;
  }
}

/* ── Responsive Mobile ── */
@media (max-width: 480px) {
  /* Hide custom cursor on touch devices */
  body {
    cursor: auto;
  }
  body::after {
    display: none;
  }

  .main {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile-container {
    max-width: 100%;
    width: 92%;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 80px;
  }

  .username {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  .bio {
    font-size: 0.8rem;
  }

  .avatar {
    width: 70px;
    height: 70px;
  }

  .avatar-letter {
    font-size: 1.8rem;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .player-stack {
    max-width: 100%;
  }

  .music-player {
    max-width: 100%;
    padding: 10px;
    border-radius: 10px;
  }

  .player-cover {
    width: 42px;
    height: 42px;
    border-radius: 6px;
  }

  .player-title {
    font-size: 0.8rem;
  }

  .player-controls {
    gap: 20px;
    margin-top: 6px;
  }

  .player-btn {
    font-size: 0.85rem;
  }

  .player-tab {
    padding: 2px 8px 3px;
  }

  .player-tab-cover {
    width: 16px;
    height: 16px;
  }

  .player-tab-title {
    font-size: 0.6rem;
  }

  /* Mascot - smaller on mobile */
  .mascot-left {
    width: 55px;
    left: 4px;
    opacity: 0.2;
    bottom: 20%;
    top: auto;
    transform: none;
  }

  /* Arrow - thinner on mobile */
  .comments-arrow {
    width: 30px;
  }

  .arrow-symbol {
    font-size: 2.5rem;
    transform: scaleY(2);
  }

  .comments-arrow:hover .arrow-symbol {
    transform: scaleY(2) translateX(2px);
  }

  /* Comments page */
  .comments-page {
    padding: 20px 16px;
  }

  .comments-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .comments-back {
    width: 30px;
  }

  .comments-back .arrow-symbol {
    font-size: 2.5rem;
  }

  .admin-btn {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
  }

  .comment-form {
    padding: 12px;
  }

  .comment-input {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .comment-textarea {
    font-size: 0.8rem;
    padding: 8px 10px;
    min-height: 50px;
  }

  .comment-submit {
    padding: 6px 16px;
    font-size: 0.75rem;
  }

  .comment-item {
    padding: 12px;
  }

  .comment-nick-label {
    font-size: 0.8rem;
  }

  .comment-content {
    font-size: 0.85rem;
  }

  .comment-time {
    font-size: 0.65rem;
  }

  .comment-media img,
  .comment-media video {
    max-height: 200px;
  }

  /* Sound control */
  .sound-control {
    top: 12px;
    left: 12px;
  }

  .sound-toggle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    cursor: auto;
  }

  .volume-slider-wrap.open {
    height: 90px;
  }

  .volume-slider {
    height: 70px;
  }

  /* Revenge GIF */
  .revenge-gif {
    width: 95px;
    margin-top: -10px;
  }

  /* Visit counter */
  .visit-counter {
    bottom: 10px;
    left: 10px;
    font-size: 0.7rem;
  }

  /* Footer link */
  .footer-link {
    bottom: 10px;
    font-size: 0.65rem;
  }

  /* All interactive elements - restore cursor on touch */
  .comments-arrow,
  .comments-back,
  .admin-btn,
  .admin-submit,
  .comment-submit,
  .comment-attach-btn,
  .player-btn,
  .player-tab {
    cursor: pointer;
  }

  /* Admin modal */
  .admin-modal {
    width: 220px;
    padding: 16px;
  }

  .admin-title {
    font-size: 0.7rem;
  }

  .admin-input {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  /* Watchlist mobile */
  .watchlist-arrow {
    height: 35px;
  }

  .arrow-symbol-down,
  .arrow-symbol-up {
    font-size: 2rem;
  }

  .watchlist-page {
    padding: 20px 16px;
  }

  .watchlist-title {
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .watchlist-filters {
    gap: 4px;
    margin-bottom: 12px;
  }

  .wl-filter-btn {
    padding: 4px 10px;
    font-size: 0.65rem;
    cursor: pointer;
  }

  .wl-item {
    gap: 8px;
    padding: 8px 10px;
  }

  .wl-item-cover {
    width: 32px;
    height: 46px;
  }

  .wl-item-title {
    font-size: 0.78rem;
  }

  .wl-status {
    padding: 3px 8px;
    font-size: 0.6rem;
  }

  .wl-item-num {
    font-size: 0.7rem;
    min-width: 22px;
  }

  .watchlist-back,
  .watchlist-arrow,
  .wl-add-btn,
  .wl-item-delete,
  .wl-filter-btn {
    cursor: pointer;
  }

  .watchlist-add-form {
    padding: 10px;
  }
}

/* ── Very small screens ── */
@media (max-width: 360px) {
  .username {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .mascot-left {
    display: none;
  }

  .revenge-gif {
    width: 70px;
    margin-top: -6px;
  }

  .player-cover {
    width: 36px;
    height: 36px;
  }

  .admin-edit-trigger {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    bottom: 55px;
    right: 10px;
  }

  .admin-editor-panel {
    width: 95% !important;
    max-height: 85vh !important;
    margin: 5vh auto;
  }
}

/* ── Admin Edit Trigger Button ── */
.admin-edit-trigger {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.2s;
}

.admin-edit-trigger:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.admin-edit-trigger.hidden {
  display: none;
}

/* ── Admin Editor Overlay ── */
.admin-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.admin-editor-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.admin-editor-panel {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.admin-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-editor-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
}

.admin-editor-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.admin-editor-close:hover {
  color: #fff;
}

.admin-editor-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.admin-section {
  margin-bottom: 20px;
}

.admin-section h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.admin-section label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.admin-ed-input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.admin-ed-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Avatar preview */
.admin-avatar-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* File upload labels */
.admin-file-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-right: 6px;
}

.admin-file-label:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Track editor */
.admin-track-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 10px;
}

.admin-track-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.admin-track-files {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.admin-file-name {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer */
.admin-editor-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-save-btn {
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Inter', sans-serif;
}

.admin-save-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-save-btn:active {
  transform: scale(0.97);
}

.admin-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-save-status {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
