:root {
  --pride-ribbon-height: 42px;
  --pride-rainbow: linear-gradient(90deg, #e40303 0%, #ff8c00 16%, #ffed00 32%, #008026 50%, #004dff 68%, #750787 84%, #e40303 100%);
  --pride-rainbow-soft: linear-gradient(120deg, rgba(228, 3, 3, 0.42), rgba(255, 140, 0, 0.38), rgba(255, 237, 0, 0.34), rgba(0, 128, 38, 0.36), rgba(0, 77, 255, 0.38), rgba(117, 7, 135, 0.42));
  --pride-rainbow-bold: linear-gradient(120deg, rgba(228, 3, 3, 0.72), rgba(255, 140, 0, 0.64), rgba(255, 237, 0, 0.56), rgba(0, 128, 38, 0.6), rgba(0, 77, 255, 0.66), rgba(117, 7, 135, 0.74));
}

/* PRIDE mode is activated by pride-mode.js */
html[data-pride-mode="on"]:root {
  --pink: #ff4db8;
  --blue: #59d8ff;
  --violet: #a46bff;
  --lime: #d7ff6e;
  --gold: #ffd86a;
  --ink: #fff9ff;
  --muted: #e2d0ff;
  --line: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.1);
  --glass2: rgba(255, 255, 255, 0.14);
  --glow-pink: 0 0 12px rgba(255, 77, 184, 0.55), 0 0 30px rgba(255, 77, 184, 0.32);
  --glow-blue: 0 0 12px rgba(89, 216, 255, 0.52), 0 0 30px rgba(89, 216, 255, 0.3);
  --glow-violet: 0 0 14px rgba(164, 107, 255, 0.55), 0 0 34px rgba(164, 107, 255, 0.32);
  --glow-lime: 0 0 14px rgba(215, 255, 110, 0.42), 0 0 34px rgba(215, 255, 110, 0.18);
  --glow-gold: 0 0 14px rgba(255, 216, 106, 0.52), 0 0 34px rgba(255, 216, 106, 0.3);
}

html[data-pride-mode="on"] body::before {
  content: "Happy Pride Month";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pride-ribbon-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--pride-rainbow);
  background-size: 220% 220%;
  color: #180818;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  animation: prideRibbonShift 8s linear infinite;
}

html[data-pride-mode="on"] body {
  padding-top: var(--pride-ribbon-height);
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(155deg, rgba(228, 3, 3, 0.18), rgba(255, 140, 0, 0.16), rgba(255, 237, 0, 0.12), rgba(0, 128, 38, 0.14), rgba(0, 77, 255, 0.16), rgba(117, 7, 135, 0.2)),
    radial-gradient(1200px 700px at 8% 0%, rgba(255, 77, 184, 0.24), transparent 60%),
    radial-gradient(1000px 650px at 90% 8%, rgba(89, 216, 255, 0.22), transparent 58%),
    radial-gradient(1000px 700px at 52% 108%, rgba(164, 107, 255, 0.22), transparent 60%);
  background-size: 220% 220%, 100% 100%, 100% 100%, 100% 100%;
  animation: prideBodyShift 20s ease-in-out infinite;
}

html[data-pride-mode="on"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 12% 10%, rgba(255, 77, 184, 0.12), transparent 60%),
    radial-gradient(900px 550px at 88% 12%, rgba(89, 216, 255, 0.12), transparent 58%),
    radial-gradient(900px 580px at 50% 105%, rgba(164, 107, 255, 0.11), transparent 58%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.014) 0 14px, transparent 14px 34px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 170% 170%;
  z-index: 0;
  animation: prideTextureShift 58s linear infinite;
}

html[data-pride-mode="on"] .enter-btn,
html[data-pride-mode="on"] .btn,
html[data-pride-mode="on"] .status-join-btn,
html[data-pride-mode="on"] .donate-btn,
html[data-pride-mode="on"] .chime-link-btn,
html[data-pride-mode="on"] .chime-fixed-btn {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.88), rgba(164, 107, 255, 0.84), rgba(89, 216, 255, 0.82)) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 18px rgba(255, 77, 184, 0.16), 0 0 22px rgba(89, 216, 255, 0.14);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

html[data-pride-mode="on"] .enter-btn:hover,
html[data-pride-mode="on"] .btn:hover,
html[data-pride-mode="on"] .status-join-btn:hover,
html[data-pride-mode="on"] .donate-btn:hover,
html[data-pride-mode="on"] .chime-link-btn:hover,
html[data-pride-mode="on"] .chime-fixed-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 24px rgba(255, 77, 184, 0.24), 0 0 28px rgba(89, 216, 255, 0.2);
  filter: saturate(1.08);
}

html[data-pride-mode="on"] .status-banner,
html[data-pride-mode="on"] .message-card,
html[data-pride-mode="on"] .dj-card {
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-pride-mode="on"] h1,
html[data-pride-mode="on"] .hero-title,
html[data-pride-mode="on"] .headline-font {
  background-image: linear-gradient(100deg, #ffe082 0%, #ff8ec5 24%, #b793ff 49%, #84dcff 76%, #d7ff6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

html[data-pride-mode="on"] body.ml-index .container {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 30px rgba(164, 107, 255, 0.2);
}

html[data-pride-mode="on"] body.ml-index .teaser-text::after {
  content: "PRIDE MONTH EDITION";
  display: block;
  margin-top: 10px;
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  letter-spacing: 0.18em;
  color: var(--lime);
  text-shadow: 0 0 12px rgba(215, 255, 110, 0.32);
}

html[data-pride-mode="on"] body.ml-index .enter-btn.yes,
html[data-pride-mode="on"] body.ml-index .chime-link-btn,
html[data-pride-mode="on"] body.ml-index .chime-fixed-btn {
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.85), rgba(164, 107, 255, 0.85), rgba(89, 216, 255, 0.82));
  border-color: rgba(255, 255, 255, 0.28);
}

html[data-pride-mode="on"] body.ml-enter .status-banner {
  background: linear-gradient(90deg, rgba(255, 77, 184, 0.28), rgba(164, 107, 255, 0.2), rgba(89, 216, 255, 0.26));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

html[data-pride-mode="on"] body.ml-enter .hero-main::before {
  content: "Pride Month Sessions";
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-pride-mode="on"] body.ml-enter .tag-row .tag {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

html[data-pride-mode="on"] body.ml-enter .btn.neon {
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.92), rgba(164, 107, 255, 0.88), rgba(89, 216, 255, 0.86));
}

html[data-pride-mode="on"] body.ml-enter .card h2,
html[data-pride-mode="on"] body.ml-enter .tile h3,
html[data-pride-mode="on"] body.ml-enter .dj-name,
html[data-pride-mode="on"] body.pride-eden .section-title,
html[data-pride-mode="on"] body.pride-eden .about-cta {
  background-image: linear-gradient(110deg, #ffd86a 0%, #ff9fcb 32%, #b79cff 62%, #8fdfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-pride-mode="on"] body.pride-eden .hero::before {
  content: "Pride Community Love";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-light);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

html[data-pride-mode="on"] body.pride-eden .hero-frame {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 38px rgba(255, 77, 184, 0.22), 0 0 62px rgba(89, 216, 255, 0.16);
}

html[data-pride-mode="on"] body.pride-eden .section-title,
html[data-pride-mode="on"] body.pride-eden .about-cta {
  background-image: linear-gradient(110deg, #ffd86a, #ff9fcb, #8fdfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-pride-mode="on"] body.pride-eden .donate-btn {
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24), 0 0 24px rgba(255, 77, 184, 0.16);
}

html[data-pride-mode="on"] body.pride-eden .donate-note {
  color: rgba(255, 255, 255, 0.88);
}

html[data-pride-mode="on"] body.pride-loader .loader-container::before,
html[data-pride-mode="on"] body.pride-dj-main .page-header::before,
html[data-pride-mode="on"] body.pride-dj-on .page-header::before,
html[data-pride-mode="on"] body.pride-dj-off .message-card::before {
  content: "Pride Month";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-pride-mode="on"] body.pride-loader .spinner-ring,
html[data-pride-mode="on"] body.pride-dj-main .spinner-ring,
html[data-pride-mode="on"] body.pride-dj-on .spinner-ring {
  filter: drop-shadow(0 0 14px rgba(255, 77, 184, 0.3)) drop-shadow(0 0 16px rgba(89, 216, 255, 0.24));
}

html[data-pride-mode="on"] body.pride-dj-main .dj-card,
html[data-pride-mode="on"] body.pride-dj-on .dj-card,
html[data-pride-mode="on"] body.pride-dj-off .message-card {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35), 0 0 24px rgba(164, 107, 255, 0.16);
}

html[data-pride-mode="on"] body.pride-dj-main .btn,
html[data-pride-mode="on"] body.pride-dj-on .btn,
html[data-pride-mode="on"] body.pride-dj-off .back-link {
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-pride-mode="on"] body.pride-dj-main .btn.primary,
html[data-pride-mode="on"] body.pride-dj-on .btn.primary {
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.9), rgba(164, 107, 255, 0.86), rgba(89, 216, 255, 0.84));
}

/* Stronger PRIDE container treatment */
html[data-pride-mode="on"] .container,
html[data-pride-mode="on"] .panel,
html[data-pride-mode="on"] .card,
html[data-pride-mode="on"] .tile,
html[data-pride-mode="on"] .frame,
html[data-pride-mode="on"] .message-card,
html[data-pride-mode="on"] .auth-card,
html[data-pride-mode="on"] .dj-card,
html[data-pride-mode="on"] .hero-frame,
html[data-pride-mode="on"] .loader-container,
html[data-pride-mode="on"] .about,
html[data-pride-mode="on"] .gallery,
html[data-pride-mode="on"] .donate {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background-image:
    var(--pride-rainbow-bold),
    linear-gradient(160deg, rgba(255, 77, 184, 0.08), rgba(164, 107, 255, 0.06) 45%, rgba(89, 216, 255, 0.07) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  background-size: 240% 240%, 100% 100%, 100% 100%;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(255, 77, 184, 0.26),
    0 0 38px rgba(89, 216, 255, 0.22) !important;
  animation: prideSurfaceShift 9s ease-in-out infinite;
}

html[data-pride-mode="on"] .panel:hover,
html[data-pride-mode="on"] .card:hover,
html[data-pride-mode="on"] .tile:hover,
html[data-pride-mode="on"] .gallery-item:hover,
html[data-pride-mode="on"] .dj-card:hover,
html[data-pride-mode="on"] .hero-frame:hover {
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(255, 77, 184, 0.2),
    0 0 34px rgba(89, 216, 255, 0.16) !important;
}

html[data-pride-mode="on"] .panel::after,
html[data-pride-mode="on"] .card::after,
html[data-pride-mode="on"] .tile::after,
html[data-pride-mode="on"] .message-card::after,
html[data-pride-mode="on"] .auth-card::after,
html[data-pride-mode="on"] .dj-card::after,
html[data-pride-mode="on"] .hero-frame::after,
html[data-pride-mode="on"] .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(110deg, rgba(255, 77, 184, 0.85), rgba(164, 107, 255, 0.8), rgba(89, 216, 255, 0.78), rgba(215, 255, 110, 0.72)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.96;
  pointer-events: none;
  animation: prideEdgePulse 3.6s ease-in-out infinite;
}

html[data-pride-mode="on"] .tag,
html[data-pride-mode="on"] .pill,
html[data-pride-mode="on"] .chip,
html[data-pride-mode="on"] .badge {
  border-color: rgba(255, 255, 255, 0.34) !important;
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.3), rgba(164, 107, 255, 0.28), rgba(89, 216, 255, 0.26)) !important;
  color: #fff9ff !important;
  box-shadow: 0 0 18px rgba(255, 77, 184, 0.18), 0 0 20px rgba(89, 216, 255, 0.16);
}

html[data-pride-mode="on"] .glow-orb,
html[data-pride-mode="on"] .sparkle,
html[data-pride-mode="on"] .bubbles,
html[data-pride-mode="on"] .stars {
  filter: saturate(1.24) brightness(1.08);
}

html[data-pride-mode="on"] .divider {
  background: linear-gradient(90deg, rgba(255, 77, 184, 0), rgba(255, 77, 184, 0.6), rgba(164, 107, 255, 0.66), rgba(89, 216, 255, 0.6), rgba(89, 216, 255, 0));
  box-shadow: 0 0 14px rgba(164, 107, 255, 0.24);
}

/* Visibility boost: make PRIDE treatment obvious on the Enter page */
html[data-pride-mode="on"] body.ml-enter {
  background-image:
    linear-gradient(160deg, rgba(228, 3, 3, 0.09), rgba(255, 140, 0, 0.08), rgba(255, 237, 0, 0.07), rgba(0, 128, 38, 0.08), rgba(0, 77, 255, 0.09), rgba(117, 7, 135, 0.1)),
    radial-gradient(1200px 700px at 10% 0%, rgba(155, 92, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(49, 227, 255, 0.18), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(255, 59, 212, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
}

html[data-pride-mode="on"] body.ml-enter .panel,
html[data-pride-mode="on"] body.ml-enter .card,
html[data-pride-mode="on"] body.ml-enter .tile,
html[data-pride-mode="on"] body.ml-enter .status-card,
html[data-pride-mode="on"] body.ml-enter .hero-side,
html[data-pride-mode="on"] body.ml-enter .hero-main {
  border-color: rgba(255, 255, 255, 0.34) !important;
  background-image:
    linear-gradient(135deg, rgba(228, 3, 3, 0.14), rgba(255, 140, 0, 0.12), rgba(255, 237, 0, 0.1), rgba(0, 128, 38, 0.1), rgba(0, 77, 255, 0.12), rgba(117, 7, 135, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(255, 77, 184, 0.24),
    0 0 38px rgba(89, 216, 255, 0.2) !important;
}

html[data-pride-mode="on"] body.ml-enter .nav,
html[data-pride-mode="on"] body.ml-enter .status-banner {
  border-color: rgba(255, 255, 255, 0.36) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 24px rgba(255, 77, 184, 0.24),
    0 0 26px rgba(89, 216, 255, 0.2) !important;
}

html[data-pride-mode="on"] body.ml-enter .headline-font,
html[data-pride-mode="on"] body.ml-enter .big-status,
html[data-pride-mode="on"] body.ml-enter .kicker {
  background-image: linear-gradient(100deg, #ffd86a 0%, #ff8fc6 26%, #b79cff 52%, #8fdfff 78%, #d7ff6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none !important;
}

html[data-pride-mode="on"] body.ml-enter .tag,
html[data-pride-mode="on"] body.ml-enter .pill {
  border-color: rgba(255, 255, 255, 0.34) !important;
  background-image: linear-gradient(120deg, rgba(255, 77, 184, 0.26), rgba(164, 107, 255, 0.24), rgba(89, 216, 255, 0.22)) !important;
  color: #fff9ff !important;
}

@keyframes prideRibbonShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes prideSurfaceShift {
  0%, 100% { background-position: 0% 50%, 0% 0%, 0% 0%; }
  50% { background-position: 100% 50%, 0% 0%, 0% 0%; }
}

@keyframes prideBodyShift {
  0%, 100% { background-position: 0% 50%, 0% 0%, 0% 0%, 0% 0%; }
  50% { background-position: 100% 50%, 0% 0%, 0% 0%, 0% 0%; }
}

@keyframes prideTextureShift {
  0% { background-position: 0 0, 0 0, 0 0, 0% 0%; }
  100% { background-position: 0 0, 0 0, 0 0, 100% 100%; }
}

@keyframes prideEdgePulse {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

/* Readability mode for DJ pages + admin page */
html[data-pride-mode="on"] body.pride-dj-on,
html[data-pride-mode="on"] body.pride-dj-off,
html[data-pride-mode="on"] body.pride-admin {
  --ink: #9ca3b0;
  --muted: #858d9c;
  --line: rgba(140, 148, 164, 0.32);
}

html[data-pride-mode="on"] body.pride-dj-on h1,
html[data-pride-mode="on"] body.pride-dj-off h1,
html[data-pride-mode="on"] body.pride-admin .header h1,
html[data-pride-mode="on"] body.pride-admin h1,
html[data-pride-mode="on"] body.pride-admin h2,
html[data-pride-mode="on"] body.pride-dj-on .card-label,
html[data-pride-mode="on"] body.pride-dj-on .playing-name,
html[data-pride-mode="on"] body.pride-dj-on .next-name,
html[data-pride-mode="on"] body.pride-dj-off .subtitle,
html[data-pride-mode="on"] body.pride-admin .toggle-label,
html[data-pride-mode="on"] body.pride-admin .status-label {
  background: none !important;
  -webkit-text-fill-color: #868d9b !important;
  color: #868d9b !important;
  text-shadow: none !important;
}

html[data-pride-mode="on"] body.pride-dj-on .field-hint,
html[data-pride-mode="on"] body.pride-dj-on .duration-hint,
html[data-pride-mode="on"] body.pride-dj-on .queue-duration,
html[data-pride-mode="on"] body.pride-dj-off .message-card p,
html[data-pride-mode="on"] body.pride-admin p,
html[data-pride-mode="on"] body.pride-admin .settings-copy,
html[data-pride-mode="on"] body.pride-admin .telegram-hint,
html[data-pride-mode="on"] body.pride-admin .messages-summary {
  color: #7d8594 !important;
}

html[data-pride-mode="on"] body.pride-dj-on .dj-card,
html[data-pride-mode="on"] body.pride-dj-off .message-card,
html[data-pride-mode="on"] body.pride-admin .auth-card,
html[data-pride-mode="on"] body.pride-admin .current-status,
html[data-pride-mode="on"] body.pride-admin .modal,
html[data-pride-mode="on"] body.pride-admin .message-card {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 10px rgba(140, 148, 164, 0.12) !important;
  border-color: rgba(140, 148, 164, 0.34) !important;
}

html[data-pride-mode="on"] body.pride-dj-on .dj-card::after,
html[data-pride-mode="on"] body.pride-dj-off .message-card::after,
html[data-pride-mode="on"] body.pride-admin .auth-card::after,
html[data-pride-mode="on"] body.pride-admin .current-status::after,
html[data-pride-mode="on"] body.pride-admin .message-card::after,
html[data-pride-mode="on"] body.pride-admin .modal::after {
  opacity: 0.25 !important;
  animation: none !important;
}

html[data-pride-mode="on"] body.pride-dj-on .spinner-ring,
html[data-pride-mode="on"] body.pride-dj-off .glow-ring,
html[data-pride-mode="on"] body.pride-admin .status-dot,
html[data-pride-mode="on"] body.pride-admin .message-btn,
html[data-pride-mode="on"] body.pride-admin .toggle-btn:hover,
html[data-pride-mode="on"] body.pride-admin .login-btn:hover,
html[data-pride-mode="on"] body.pride-admin .pill-btn:hover {
  filter: none !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

@media (max-width: 640px) {
  :root {
    --pride-ribbon-height: 36px;
  }

  html[data-pride-mode="on"] body::before {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-pride-mode="on"] body::before,
  html[data-pride-mode="on"] body::after,
  html[data-pride-mode="on"] .glow-orb,
  html[data-pride-mode="on"] .sparkle,
  html[data-pride-mode="on"] .spinner-ring,
  html[data-pride-mode="on"] .status-dot,
  html[data-pride-mode="on"] .container,
  html[data-pride-mode="on"] .panel,
  html[data-pride-mode="on"] .card,
  html[data-pride-mode="on"] .tile,
  html[data-pride-mode="on"] .frame,
  html[data-pride-mode="on"] .message-card,
  html[data-pride-mode="on"] .auth-card,
  html[data-pride-mode="on"] .dj-card,
  html[data-pride-mode="on"] .hero-frame,
  html[data-pride-mode="on"] .loader-container,
  html[data-pride-mode="on"] .about,
  html[data-pride-mode="on"] .gallery,
  html[data-pride-mode="on"] .donate {
    animation: none !important;
  }
}
