/* Font Imports */
@font-face {
  font-family: "bone";
  src: url("../media/nasalization-rg.otf") format("opentype");
}

@font-face {
  font-family: "audi";
  src: url("../media/auditype_extendednormal.ttf") format("truetype");
}

:root {
  --primary-color: #9282fb;
  --secondary-color: #613367;
  --accent-color: #b263a6;
  --bg-2-color: #171527;
  --bg-color: #090810;
  --text-color: #e5e4f2;
  --text-secondary-color: #b0b0b0;
  --text-placeholder-color: #6c6c6c;
  --border-color: #2c2c3f;
  --font-family: "Poppins", sans-serif;
  --font-size: 16px;
  --border-radius: 12px;
  /* --blob-1: var(--primary-color);
  --blob-2: var(--accent-color);
  --blob-3: var(--secondary-color); */
}

/* Light Theme */
body[theme="light"] {
  --primary-color: #a772ca;
  --secondary-color: #a54ae2;
  --accent-color: #ae91ff;
  --bg-2-color: #f8f8f8;
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-secondary-color: #666666;
  --text-placeholder-color: #999999;
  --border-color: #dddddd;
}
/* body[theme="light"] {
  --primary-color: #4a90e2;
  --secondary-color: #00c3ff;
  --accent-color: #23eef5;
  --bg-2-color: #f8f8f8;
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-secondary-color: #666666;
  --text-placeholder-color: #999999;
  --border-color: #dddddd;
} */

body[theme="v6"] {
  --primary-color: rgb(132, 1, 255);
  --secondary-color: #9940ff;
  --accent-color: rgb(132, 1, 255);
  --bg-2-color: rgb(40, 0, 80);
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: rgb(68, 0, 156);
  --border-radius: 15px;

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  --blob-1: rgb(132, 1, 255);
  --blob-2: rgb(132, 1, 255);
  --blob-3: rgb(132, 1, 255);
}

/* Grey Purple Theme */
body[theme="greypurple"] {
  --primary-color: #2b2b2b;
  --secondary-color: #333333;
  --accent-color: #2a2a2a;
  --bg-2-color: #1a1a1a;
  --bg-color: #2b2b2b;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #444444;
  background: linear-gradient(
    148deg,
    rgba(43, 43, 43, 1) 0%,
    rgba(0, 0, 0, 1) 49%,
    rgba(42, 42, 42, 1) 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  --blob-1: rgb(132, 1, 255);
  --blob-2: rgb(132, 1, 255);
  --blob-3: rgb(132, 1, 255);
}

/* Audi Theme */
body[theme="audi"] {
  --primary-color: #f50537;
  --secondary-color: #242627;
  --accent-color: #f50537;
  --bg-2-color: #480404;
  --bg-color: #242627;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #f50537;
  --font-family: "audi", sans-serif;
}

/* New Theme */
body[theme="new"] {
  --primary-color: #aa09ac;
  --secondary-color: #8700ff;
  --accent-color: #8700ff;
  --bg-2-color: #66026b;
  --bg-color: #8700ff;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #aa09ac;
  --border-radius: 30px;
  background: linear-gradient(
    180deg,
    hsla(256, 100%, 43%, 1) 0%,
    hsla(280, 99%, 50%, 1) 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Pink Theme */
body[theme="pink"] {
  --primary-color: #ff0099;
  --secondary-color: #a84b8c;
  --accent-color: #a23ac2;
  --bg-2-color: #790a57;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #ff0099;
}

/* Grey Theme */
body[theme="grey"] {
  --primary-color: #6b6b6b;
  --secondary-color: #141414;
  --accent-color: #333333;
  --bg-2-color: #1a1a1a;
  --bg-color: #141414;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #6b6b6b;
  --border-radius: 20px;
}

/* SSB Theme */
body[theme="ssb"] {
  --primary-color: #00b5cf;
  --secondary-color: #329b8d;
  --accent-color: #008599;
  --bg-2-color: #1f7085;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #00b5cf;
}

/* Grey Black Theme */
body[theme="greyblack"] {
  --primary-color: #707070;
  --secondary-color: #6a6161;
  --accent-color: #1b1b1b;
  --bg-2-color: #3d3c3c;
  --bg-color: #6a6161;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #707070;
  background: linear-gradient(
    156deg,
    rgba(106, 97, 97, 1) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Ghost Theme */
body[theme="ghost"] {
  --primary-color: #a05555;
  --secondary-color: #613e3e;
  --accent-color: #8d5e3f;
  --bg-2-color: #551717;
  --bg-color: #3f1c1c;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #a05555;
  background: linear-gradient(
    153deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(149, 43, 43, 1) 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Blue Theme */
body[theme="blue"] {
  --primary-color: #2700ff;
  --secondary-color: #2e497c;
  --accent-color: #0058ff;
  --bg-2-color: #19347c;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #2700ff;
}

/* Bone Theme */
body[theme="bone"] {
  --primary-color: #818181;
  --secondary-color: #252525;
  --accent-color: #383838;
  --bg-2-color: #1a1a1a;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #494949;
  --font-family: "bone", sans-serif;
}

/* GB Theme */
body[theme="gb"] {
  --primary-color: #22223b;
  --secondary-color: #404357;
  --accent-color: #080b2b;
  --bg-2-color: #5e6283;
  --bg-color: #4a4e69;
  --text-color: #f2e9e4;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #22223b;
}

/* GG Theme */
body[theme="gg"] {
  --primary-color: #5e999b;
  --secondary-color: #2f3e46;
  --accent-color: #48606d;
  --bg-2-color: rgb(38, 56, 61);
  --bg-color: #2f3e46;
  --text-color: #cad2c5;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #5e999b;
}

/* Brown Theme */
body[theme="brown"] {
  --primary-color: #8a817c;
  --secondary-color: #463f3a;
  --accent-color: rgb(49, 49, 49);
  --bg-2-color: #5c5252;
  --bg-color: #463f3a;
  --text-color: #f4f3ee;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #8a817c;
}

/* DG Theme */
body[theme="dg"] {
  --primary-color: #ee6c4d;
  --secondary-color: #293241;
  --accent-color: #f08f77;
  --bg-2-color: #9b5743;
  --bg-color: #293241;
  --text-color: #e0fbfc;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #ee6c4d;
}

/* Moon Theme */
body[theme="moon"] {
  --primary-color: #4a4e69;
  --secondary-color: #22223b;
  --accent-color: #37375f;
  --bg-2-color: #262435;
  --bg-color: #22223b;
  --text-color: #f2e9e4;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #4a4e69;
}

/* Red Theme */
body[theme="red"] {
  --primary-color: #430708;
  --secondary-color: #a4161a;
  --accent-color: #470000;
  --bg-2-color: #8f1212;
  --bg-color: #a4161a;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #660708;
}

/* SBlue Theme */
body[theme="sblue"] {
  --primary-color: #0048b4;
  --secondary-color: #001f54;
  --accent-color: #034078;
  --bg-2-color: #0e2649;
  --bg-color: #001f54;
  --text-color: #fefcfb;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #0048b4;
}

/* Yellow Theme */
/* body[theme="yellow"] {
  --primary-color: #8a8701;
  --secondary-color: #fff248;
  --accent-color: #776f00;
  --bg-2-color: #1a1a1a;
  --bg-color: #fff248;
  --text-color: #000000;
  --text-secondary-color: #333333;
  --text-placeholder-color: #666666;
  --border-color: #8a8701;
  --border-radius: 0px;
} */

/* Mocha Theme */
body[theme="mocha"] {
  --primary-color: #caa6f7;
  --secondary-color: #1e1e2e;
  --accent-color: #a789ca;
  --bg-2-color: #181825;
  --bg-color: #1e1e2e;
  --text-color: #cdd6f4;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #45475a;
  --border-radius: 25px;
}

/* Orange Theme */
body[theme="orange"] {
  --primary-color: #ffa600;
  --secondary-color: #9e773d;
  --accent-color: #b97900;
  --bg-2-color: #432302;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #ffa600;
}

/* YouTube Dark Theme */
body[theme="youtube-dark"] {
  --primary-color: #af0000;
  --secondary-color: #460101;
  --accent-color: #b90000;
  --bg-2-color: #250404;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #3b0909;
}

/* body[theme="halloween"] { 
  --primary-color: #f89500;
  --secondary-color: #462e01;
  --accent-color: #b98e00;
  --bg-2-color: #251904;
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #3b2909;
}
*/
/* 3kh0 Theme */
body[theme="3kh0"] {
  --primary-color: #22c55e;
  --secondary-color: #121212;
  --accent-color: #1caa50;
  --bg-2-color: #0e331e;
  --bg-color: #121212;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #22c55e;
}

/* Art Class Theme */
body[theme="artclass"] {
  --primary-color: #0284d4;
  --secondary-color: #1a2023;
  --accent-color: #0567a3;
  --bg-2-color: #092a3d;
  --bg-color: #1a2023;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #0284d4;
}

/* Starlight Theme */
body[theme="starlight"] {
  --primary-color: #155e75;
  --secondary-color: #121c22;
  --accent-color: #186d86;
  --bg-2-color: #102b31;
  --bg-color: #121c22;
  --text-color: #ffffff;
  --text-secondary-color: #cccccc;
  --text-placeholder-color: #999999;
  --border-color: #155e75;
  --border-radius: 25px;
}

/* Deep Ocean Bioluminescent Theme */
body[theme="ocean"] {
  --primary-color: #67f3d1;
  --secondary-color: #0e2f3a;
  --accent-color: #6ac7ff;
  --bg-2-color: rgba(8, 33, 43, 0.82);
  --bg-color: #030d13;
  --text-color: #e7fff8;
  --text-secondary-color: #9ed5d2;
  --text-placeholder-color: #5f8c98;
  --border-color: rgba(103, 243, 209, 0.22);
  --border-radius: 24px;
  --blob-1: rgba(59, 235, 192, 0.45);
  --blob-2: rgba(64, 173, 255, 0.4);
  --blob-3: rgba(107, 82, 255, 0.28);
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 18%, rgba(92, 255, 219, 0.1), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(106, 199, 255, 0.08), transparent 16%),
    radial-gradient(circle at 50% 78%, rgba(38, 110, 150, 0.16), transparent 28%),
    linear-gradient(180deg, #04131b 0%, #031018 35%, #020b10 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="ocean"]::before,
body[theme="ocean"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="ocean"]::before {
  z-index: -2;
  opacity: 0.95;
  background:
    radial-gradient(circle at 15% 24%, rgba(103, 243, 209, 0.12), transparent 14%),
    radial-gradient(circle at 82% 22%, rgba(106, 199, 255, 0.09), transparent 12%),
    radial-gradient(circle at 72% 72%, rgba(155, 118, 255, 0.08), transparent 18%),
    radial-gradient(circle at 30% 80%, rgba(58, 196, 255, 0.08), transparent 16%);
  filter: blur(18px);
}

body[theme="ocean"]::after {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 32%, rgba(103, 243, 209, 0.9) 0 1.4px, transparent 2px),
    radial-gradient(circle at 24% 68%, rgba(91, 234, 255, 0.82) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 48% 22%, rgba(127, 245, 235, 0.8) 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 64% 58%, rgba(106, 199, 255, 0.78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 84% 26%, rgba(103, 243, 209, 0.88) 0 1.35px, transparent 2px),
    radial-gradient(circle at 76% 82%, rgba(137, 118, 255, 0.55) 0 1.1px, transparent 1.8px);
  background-size: 100% 100%;
  opacity: 0.75;
}

body[theme="ocean"] #blobs,
body[theme="ocean"] #particles-js {
  opacity: 0.34;
  filter: saturate(1.25) brightness(0.72) hue-rotate(-10deg);
}

body[theme="ocean"] .navbar,
body[theme="ocean"] .card,
body[theme="ocean"] .section-card,
body[theme="ocean"] .search-container,
body[theme="ocean"] .input,
body[theme="ocean"] .btn,
body[theme="ocean"] .tab,
body[theme="ocean"] .shortcut,
body[theme="ocean"] .navbar-proxy,
body[theme="ocean"] #tab-bar {
  border-color: rgba(103, 243, 209, 0.18) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(54, 196, 186, 0.08);
}

body[theme="ocean"] .btn:hover,
body[theme="ocean"] .shortcut:hover,
body[theme="ocean"] .tab:hover,
body[theme="ocean"] .navbar-link:hover {
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(103, 243, 209, 0.18),
    0 0 26px rgba(106, 199, 255, 0.12);
}

body[theme="ocean"] .footer-version,
body[theme="ocean"] #rng-text,
body[theme="ocean"] h1,
body[theme="ocean"] h2,
body[theme="ocean"] h3 {
  text-shadow:
    0 0 10px rgba(103, 243, 209, 0.12),
    0 0 24px rgba(106, 199, 255, 0.08);
}

.xandersarcade-ocean-scene {
  display: none;
}

body[theme="ocean"] > *:not(.xandersarcade-ocean-scene) {
  position: relative;
  z-index: 1;
}

body[theme="ocean"] .xandersarcade-ocean-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="ocean"] .xandersarcade-jellyfish {
  position: absolute;
  --jelly-scale: 1;
  --jelly-color-a: rgba(255, 235, 130, 0.68);
  --jelly-color-b: rgba(186, 120, 255, 0.4);
  --jelly-highlight: rgba(255, 255, 245, 0.7);
  opacity: 0.64;
  filter: drop-shadow(0 10px 28px rgba(166, 103, 255, 0.18));
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

body[theme="ocean"] .xandersarcade-jellyfish.jelly-a {
  left: 8%;
  top: 18%;
  --jelly-scale: 0.92;
  --jelly-color-a: rgba(255, 231, 128, 0.72);
  --jelly-color-b: rgba(179, 103, 255, 0.34);
  animation-name: xandersarcade-jelly-swim-a;
  animation-duration: 24s;
  animation-delay: -6s;
}

body[theme="ocean"] .xandersarcade-jellyfish.jelly-b {
  left: 62%;
  top: 52%;
  --jelly-scale: 1.18;
  --jelly-color-a: rgba(183, 122, 255, 0.62);
  --jelly-color-b: rgba(255, 233, 134, 0.32);
  animation-name: xandersarcade-jelly-swim-b;
  animation-duration: 31s;
  animation-delay: -16s;
  opacity: 0.52;
}

body[theme="ocean"] .xandersarcade-jellyfish.jelly-c {
  left: 20%;
  top: 72%;
  --jelly-scale: 0.72;
  --jelly-color-a: rgba(255, 226, 118, 0.62);
  --jelly-color-b: rgba(154, 108, 255, 0.36);
  animation-name: xandersarcade-jelly-swim-c;
  animation-duration: 20s;
  animation-delay: -9s;
  opacity: 0.45;
}

body[theme="ocean"] .xandersarcade-jelly-bell {
  position: relative;
  width: 92px;
  height: 58px;
  border-radius: 58px 58px 26px 26px / 58px 58px 20px 20px;
  background:
    radial-gradient(circle at 50% 24%, var(--jelly-highlight), transparent 28%),
    radial-gradient(circle at 30% 30%, var(--jelly-color-a), transparent 34%),
    linear-gradient(180deg, var(--jelly-color-a), var(--jelly-color-b));
  border: 1px solid rgba(255, 233, 160, 0.24);
  box-shadow:
    inset 0 -12px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 0 24px rgba(164, 117, 255, 0.16);
  backdrop-filter: blur(4px);
  animation: xandersarcade-jelly-pulse 5.5s ease-in-out infinite;
}

body[theme="ocean"] .xandersarcade-jelly-bell::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 239, 0.2), rgba(92, 49, 129, 0.12));
}

body[theme="ocean"] .xandersarcade-jelly-core {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 30px;
  height: 20px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 248, 188, 0.62), rgba(170, 111, 255, 0.16));
  filter: blur(1px);
}

body[theme="ocean"] .xandersarcade-jelly-tentacles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -2px;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span {
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 233, 137, 0.7), rgba(167, 111, 255, 0.06));
  transform-origin: top center;
  animation: xandersarcade-jelly-sway ease-in-out infinite;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span:nth-child(1) {
  height: 92px;
  animation-duration: 4.6s;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span:nth-child(2) {
  height: 112px;
  animation-duration: 5.1s;
  animation-delay: -0.8s;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span:nth-child(3) {
  height: 84px;
  animation-duration: 4.1s;
  animation-delay: -1.4s;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span:nth-child(4) {
  height: 124px;
  animation-duration: 5.8s;
  animation-delay: -1s;
}

body[theme="ocean"] .xandersarcade-jelly-tentacles span:nth-child(5) {
  height: 96px;
  animation-duration: 4.9s;
  animation-delay: -0.5s;
}

@keyframes xandersarcade-jelly-swim-a {
  0% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(-3deg);
  }
  18% {
    transform: translate(8vw, -18px) scale(calc(var(--jelly-scale, 1) * 1.02)) rotate(3deg);
  }
  34% {
    transform: translate(18vw, 14px) scale(var(--jelly-scale, 1)) rotate(5deg);
  }
  52% {
    transform: translate(10vw, 24px) scale(calc(var(--jelly-scale, 1) * 0.98)) rotate(-2deg);
  }
  70% {
    transform: translate(-4vw, 8px) scale(var(--jelly-scale, 1)) rotate(-6deg);
  }
  86% {
    transform: translate(5vw, -22px) scale(calc(var(--jelly-scale, 1) * 1.01)) rotate(2deg);
  }
  100% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(-3deg);
  }
}

@keyframes xandersarcade-jelly-swim-b {
  0% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(4deg);
  }
  16% {
    transform: translate(-12vw, -14px) scale(calc(var(--jelly-scale, 1) * 1.03)) rotate(-2deg);
  }
  33% {
    transform: translate(-18vw, 16px) scale(var(--jelly-scale, 1)) rotate(-5deg);
  }
  50% {
    transform: translate(-8vw, 28px) scale(calc(var(--jelly-scale, 1) * 0.97)) rotate(2deg);
  }
  68% {
    transform: translate(6vw, 6px) scale(var(--jelly-scale, 1)) rotate(6deg);
  }
  84% {
    transform: translate(10vw, -20px) scale(calc(var(--jelly-scale, 1) * 1.02)) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(4deg);
  }
}

@keyframes xandersarcade-jelly-swim-c {
  0% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(-5deg);
  }
  20% {
    transform: translate(10vw, -12px) scale(calc(var(--jelly-scale, 1) * 1.02)) rotate(2deg);
  }
  42% {
    transform: translate(18vw, 8px) scale(var(--jelly-scale, 1)) rotate(4deg);
  }
  58% {
    transform: translate(8vw, 20px) scale(calc(var(--jelly-scale, 1) * 0.96)) rotate(-1deg);
  }
  76% {
    transform: translate(-6vw, 10px) scale(var(--jelly-scale, 1)) rotate(-6deg);
  }
  100% {
    transform: translate(0, 0) scale(var(--jelly-scale, 1)) rotate(-5deg);
  }
}

@keyframes xandersarcade-jelly-pulse {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.08) scaleX(0.97);
  }
}

@keyframes xandersarcade-jelly-sway {
  0%,
  100% {
    transform: rotate(4deg) translateX(0);
  }
  50% {
    transform: rotate(-8deg) translateX(2px);
  }
}

@media (max-width: 900px) {
  body[theme="ocean"] .xandersarcade-jellyfish.jelly-a {
    --jelly-scale: 0.78;
  }

  body[theme="ocean"] .xandersarcade-jellyfish.jelly-b {
    --jelly-scale: 0.96;
  }

  body[theme="ocean"] .xandersarcade-jellyfish.jelly-c {
    --jelly-scale: 0.62;
  }
}

/* Volcanic Eclipse Theme */
body[theme="volcanic"] {
  --primary-color: #ffb347;
  --secondary-color: #3a1712;
  --accent-color: #ff5c38;
  --bg-2-color: rgba(28, 11, 13, 0.84);
  --bg-color: #090507;
  --text-color: #fff2e2;
  --text-secondary-color: #d3b29d;
  --text-placeholder-color: #906e62;
  --border-color: rgba(255, 146, 77, 0.2);
  --border-radius: 22px;
  --blob-1: rgba(255, 102, 64, 0.38);
  --blob-2: rgba(255, 193, 94, 0.28);
  --blob-3: rgba(120, 26, 26, 0.34);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 176, 71, 0.08), transparent 18%),
    radial-gradient(circle at 62% 80%, rgba(255, 92, 56, 0.1), transparent 20%),
    linear-gradient(180deg, #0b080d 0%, #14090a 40%, #090507 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="volcanic"]::before,
body[theme="volcanic"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="volcanic"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 173, 65, 0.12), transparent 12%),
    radial-gradient(circle at 58% 68%, rgba(255, 82, 51, 0.12), transparent 22%);
  filter: blur(24px);
}

body[theme="volcanic"]::after {
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 195, 114, 0.25) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 26%, rgba(255, 107, 61, 0.24) 0 1.1px, transparent 2px),
    radial-gradient(circle at 46% 70%, rgba(255, 210, 140, 0.18) 0 0.9px, transparent 1.8px);
  opacity: 0.36;
}

body[theme="volcanic"] > *:not(.xandersarcade-volcanic-scene) {
  position: relative;
  z-index: 1;
}

body[theme="volcanic"] #blobs,
body[theme="volcanic"] #particles-js {
  opacity: 0.26;
  filter: saturate(1.35) brightness(0.62) hue-rotate(-18deg);
}

body[theme="volcanic"] .navbar,
body[theme="volcanic"] .card,
body[theme="volcanic"] .section-card,
body[theme="volcanic"] .search-container,
body[theme="volcanic"] .input,
body[theme="volcanic"] .btn,
body[theme="volcanic"] .tab,
body[theme="volcanic"] .shortcut,
body[theme="volcanic"] .navbar-proxy,
body[theme="volcanic"] #tab-bar {
  border-color: rgba(255, 146, 77, 0.2) !important;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 235, 215, 0.04),
    0 0 28px rgba(255, 92, 56, 0.08);
}

body[theme="volcanic"] .btn:hover,
body[theme="volcanic"] .shortcut:hover,
body[theme="volcanic"] .tab:hover,
body[theme="volcanic"] .navbar-link:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 179, 71, 0.14),
    0 0 24px rgba(255, 92, 56, 0.16);
}

body[theme="volcanic"] .footer-version,
body[theme="volcanic"] #rng-text,
body[theme="volcanic"] h1,
body[theme="volcanic"] h2,
body[theme="volcanic"] h3 {
  text-shadow:
    0 0 12px rgba(255, 179, 71, 0.16),
    0 0 30px rgba(255, 92, 56, 0.12);
}

.xandersarcade-volcanic-scene {
  display: none;
}

body[theme="volcanic"] .xandersarcade-volcanic-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="volcanic"] .xandersarcade-eclipse-halo {
  position: absolute;
  top: 7%;
  left: 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 194, 104, 0.9) 0 34%, rgba(255, 120, 56, 0.34) 44%, transparent 64%),
    radial-gradient(circle, transparent 0 39%, rgba(255, 200, 115, 0.2) 40%, transparent 66%);
  filter: blur(8px);
  opacity: 0.75;
  animation: xandersarcade-eclipse-pulse 7s ease-in-out infinite;
}

body[theme="volcanic"] .xandersarcade-eclipse-core {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 35% 35%, rgba(72, 27, 20, 0.35), transparent 22%),
    radial-gradient(circle, #0a0708 0 62%, rgba(17, 9, 10, 0.95) 100%);
  box-shadow:
    0 0 0 18px rgba(255, 172, 90, 0.05),
    0 0 46px rgba(255, 110, 54, 0.16);
}

body[theme="volcanic"] .xandersarcade-ash-layer {
  position: absolute;
  inset: -10%;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255, 191, 120, 0.9) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 103, 64, 0.8) 0 1px, transparent 1.6px);
}

body[theme="volcanic"] .xandersarcade-ash-layer.ash-a {
  background-size: 220px 220px, 170px 170px;
  background-position: 0 0, 80px 100px;
  animation: xandersarcade-ash-rise-a 16s linear infinite;
}

body[theme="volcanic"] .xandersarcade-ash-layer.ash-b {
  background-size: 170px 170px, 240px 240px;
  background-position: 40px 80px, 120px 0;
  opacity: 0.18;
  animation: xandersarcade-ash-rise-b 20s linear infinite;
}

body[theme="volcanic"] .xandersarcade-volcano {
  position: absolute;
  right: 5%;
  bottom: -2%;
  width: 220px;
  height: 230px;
}

body[theme="volcanic"] .xandersarcade-volcano-cone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 180px;
  clip-path: polygon(18% 100%, 50% 12%, 82% 100%);
  background:
    linear-gradient(180deg, rgba(88, 35, 28, 0.95), rgba(16, 7, 8, 0.98));
  box-shadow:
    inset -36px -20px 40px rgba(0, 0, 0, 0.34),
    inset 24px 8px 18px rgba(255, 130, 82, 0.08);
}

body[theme="volcanic"] .xandersarcade-volcano-crater {
  position: absolute;
  top: 40px;
  left: 74px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(29, 9, 9, 0.9), rgba(255, 84, 37, 0.28));
  box-shadow: 0 0 16px rgba(255, 112, 52, 0.2);
}

body[theme="volcanic"] .xandersarcade-volcano-lava {
  position: absolute;
  top: 53px;
  left: 101px;
  width: 16px;
  height: 110px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 228, 144, 0.95), rgba(255, 106, 52, 0.8) 35%, rgba(255, 72, 38, 0.08));
  filter: blur(0.5px);
  box-shadow: 0 0 18px rgba(255, 143, 74, 0.24);
  animation: xandersarcade-lava-flow 3.2s ease-in-out infinite;
}

body[theme="volcanic"] .xandersarcade-volcano-plume {
  position: absolute;
  left: 48px;
  top: -12px;
  width: 124px;
  height: 148px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span {
  position: absolute;
  bottom: 0;
  left: 50%;
  --erupt-x: -32px;
  --erupt-peak-y: -132px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 238, 173, 0.95), rgba(255, 126, 62, 0.92) 55%, rgba(255, 110, 56, 0.04));
  box-shadow: 0 0 14px rgba(255, 120, 56, 0.28);
  animation: xandersarcade-erupt-rain 2.9s ease-out infinite;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(2) {
  --erupt-x: -58px;
  --erupt-peak-y: -148px;
  animation-delay: -0.22s;
  width: 8px;
  height: 8px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(3) {
  --erupt-x: -18px;
  --erupt-peak-y: -120px;
  animation-delay: -0.46s;
  width: 12px;
  height: 12px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(4) {
  --erupt-x: -72px;
  --erupt-peak-y: -138px;
  animation-delay: -0.7s;
  width: 7px;
  height: 7px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(5) {
  --erupt-x: 8px;
  --erupt-peak-y: -126px;
  animation-delay: -0.94s;
  width: 10px;
  height: 10px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(6) {
  --erupt-x: 24px;
  --erupt-peak-y: -142px;
  animation-delay: -1.18s;
  width: 14px;
  height: 14px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(7) {
  --erupt-x: 42px;
  --erupt-peak-y: -116px;
  animation-delay: -1.38s;
  width: 9px;
  height: 9px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(8) {
  --erupt-x: 58px;
  --erupt-peak-y: -152px;
  animation-delay: -1.62s;
  width: 8px;
  height: 8px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(9) {
  --erupt-x: -40px;
  --erupt-peak-y: -110px;
  animation-delay: -1.84s;
  width: 6px;
  height: 6px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(10) {
  --erupt-x: -4px;
  --erupt-peak-y: -156px;
  animation-delay: -2.08s;
  width: 11px;
  height: 11px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(11) {
  --erupt-x: 34px;
  --erupt-peak-y: -132px;
  animation-delay: -2.32s;
  width: 7px;
  height: 7px;
}

body[theme="volcanic"] .xandersarcade-volcano-plume span:nth-child(12) {
  --erupt-x: 70px;
  --erupt-peak-y: -122px;
  animation-delay: -2.56s;
  width: 6px;
  height: 6px;
}

@keyframes xandersarcade-eclipse-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    opacity: 0.9;
  }
}

@keyframes xandersarcade-ash-rise-a {
  from {
    transform: translate3d(0, 14%, 0);
  }
  to {
    transform: translate3d(-4%, -12%, 0);
  }
}

@keyframes xandersarcade-ash-rise-b {
  from {
    transform: translate3d(0, 10%, 0);
  }
  to {
    transform: translate3d(5%, -14%, 0);
  }
}

@keyframes xandersarcade-lava-flow {
  0%,
  100% {
    opacity: 0.82;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.08);
  }
}

@keyframes xandersarcade-erupt-rain {
  0% {
    transform: translate(-3px, 0) scale(0.45);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  42% {
    transform: translate(calc(var(--erupt-x) * 0.35), calc(var(--erupt-peak-y) * 0.65)) scale(0.95);
    opacity: 0.96;
  }
  66% {
    transform: translate(var(--erupt-x), var(--erupt-peak-y)) scale(1.04);
    opacity: 0.92;
  }
  100% {
    transform: translate(calc(var(--erupt-x) * 1.45), 136px) scale(0.85);
    opacity: 0;
  }
}

/* Haunted Forest Theme */
body[theme="forest"] {
  --primary-color: #7fa36b;
  --secondary-color: #0f1511;
  --accent-color: #a0c787;
  --bg-2-color: rgba(10, 16, 12, 0.84);
  --bg-color: #060a07;
  --text-color: #eef7ea;
  --text-secondary-color: #9dae9d;
  --text-placeholder-color: #66776d;
  --border-color: rgba(127, 163, 107, 0.18);
  --border-radius: 22px;
  --blob-1: rgba(93, 123, 92, 0.2);
  --blob-2: rgba(43, 58, 47, 0.24);
  --blob-3: rgba(122, 145, 88, 0.16);
  background:
    radial-gradient(circle at 50% 16%, rgba(190, 224, 174, 0.05), transparent 14%),
    linear-gradient(180deg, #0a0f0b 0%, #060a07 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="forest"]::before,
body[theme="forest"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="forest"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 20% 28%, rgba(127, 163, 107, 0.08), transparent 16%),
    radial-gradient(circle at 82% 24%, rgba(160, 199, 135, 0.06), transparent 18%);
  filter: blur(26px);
}

body[theme="forest"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 10, 7, 0), rgba(6, 10, 7, 0.4) 60%, rgba(6, 10, 7, 0.82));
}

body[theme="forest"] > *:not(.xandersarcade-forest-scene) {
  position: relative;
  z-index: 1;
}

body[theme="forest"] #blobs,
body[theme="forest"] #particles-js {
  opacity: 0.2;
  filter: saturate(0.78) brightness(0.48);
}

body[theme="forest"] .navbar,
body[theme="forest"] .card,
body[theme="forest"] .section-card,
body[theme="forest"] .search-container,
body[theme="forest"] .input,
body[theme="forest"] .btn,
body[theme="forest"] .tab,
body[theme="forest"] .shortcut,
body[theme="forest"] .navbar-proxy,
body[theme="forest"] #tab-bar {
  border-color: rgba(127, 163, 107, 0.18) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(232, 246, 225, 0.04);
}

body[theme="forest"] .btn:hover,
body[theme="forest"] .shortcut:hover,
body[theme="forest"] .tab:hover,
body[theme="forest"] .navbar-link:hover {
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(160, 199, 135, 0.12),
    0 0 24px rgba(127, 163, 107, 0.08);
}

body[theme="forest"] .footer-version,
body[theme="forest"] #rng-text,
body[theme="forest"] h1,
body[theme="forest"] h2,
body[theme="forest"] h3 {
  text-shadow: 0 0 14px rgba(160, 199, 135, 0.08);
}

.xandersarcade-forest-scene {
  display: none;
}

body[theme="forest"] .xandersarcade-forest-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="forest"] .xandersarcade-forest-fog {
  position: absolute;
  inset: auto -10% -6% -10%;
  height: 48%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(179, 201, 163, 0.12), transparent 56%);
  filter: blur(28px);
  opacity: 0.34;
}

body[theme="forest"] .xandersarcade-forest-fog.fog-a {
  animation: xandersarcade-fog-drift-a 18s ease-in-out infinite;
}

body[theme="forest"] .xandersarcade-forest-fog.fog-b {
  opacity: 0.2;
  animation: xandersarcade-fog-drift-b 24s ease-in-out infinite;
}

body[theme="forest"] .xandersarcade-forest-scene::before,
body[theme="forest"] .xandersarcade-forest-scene::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4%;
  border-radius: 50%;
  pointer-events: none;
}

body[theme="forest"] .xandersarcade-forest-scene::before {
  height: 34%;
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 215, 180, 0.14), transparent 58%);
  filter: blur(26px);
  opacity: 0.42;
  animation: xandersarcade-ground-fog-a 18s ease-in-out infinite;
}

body[theme="forest"] .xandersarcade-forest-scene::after {
  height: 24%;
  background:
    radial-gradient(circle at 50% 50%, rgba(172, 196, 160, 0.18), transparent 62%);
  filter: blur(18px);
  opacity: 0.34;
  animation: xandersarcade-ground-fog-b 24s ease-in-out infinite;
}

body[theme="forest"] .xandersarcade-dead-tree {
  position: absolute;
  bottom: -3%;
  width: 46px;
  height: 52vh;
  background:
    linear-gradient(180deg, #141816 0%, #050605 60%, #020302 100%);
  border-radius: 22px 22px 4px 4px;
  opacity: 0.9;
  box-shadow:
    inset 6px 0 0 rgba(57, 63, 58, 0.28),
    inset -8px 0 0 rgba(0, 0, 0, 0.28);
}

body[theme="forest"] .xandersarcade-dead-tree::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -44px;
  width: 26px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, #151a17, #040504);
  box-shadow:
    inset 4px 0 0 rgba(65, 70, 66, 0.24),
    inset -4px 0 0 rgba(0, 0, 0, 0.3);
}

body[theme="forest"] .xandersarcade-dead-tree::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(14, 18, 14, 0.95), rgba(4, 5, 4, 0));
  clip-path: polygon(0 100%, 16% 70%, 26% 100%, 40% 64%, 54% 100%, 72% 68%, 84% 100%, 100% 78%, 100% 100%);
  opacity: 0.9;
}

body[theme="forest"] .xandersarcade-dead-tree.tree-left {
  left: 16%;
}

body[theme="forest"] .xandersarcade-dead-tree.tree-right {
  right: 16%;
  transform: scaleX(-1);
}

body[theme="forest"] .xandersarcade-dead-tree .branch {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 132px;
  height: 10px;
  transform-origin: left center;
  background:
    linear-gradient(90deg, #020302, #171b18);
  border-radius: 999px;
}

body[theme="forest"] .xandersarcade-dead-tree .branch::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -2px;
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: #0c100d;
  transform-origin: left center;
  transform: rotate(-38deg);
}

body[theme="forest"] .xandersarcade-dead-tree .branch::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 5px;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #121714;
  transform-origin: left center;
  transform: rotate(26deg);
}

body[theme="forest"] .xandersarcade-dead-tree .branch.b1 {
  width: 152px;
  transform: rotate(-34deg);
}

body[theme="forest"] .xandersarcade-dead-tree .branch.b2 {
  top: 24%;
  width: 168px;
  transform: rotate(12deg);
}

body[theme="forest"] .xandersarcade-dead-tree .branch.b3 {
  top: 40%;
  width: 146px;
  transform: rotate(-18deg);
}

body[theme="forest"] .xandersarcade-dead-tree .branch.b4 {
  top: 56%;
  width: 158px;
  transform: rotate(28deg);
}

body[theme="forest"] .xandersarcade-fireflies span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(216, 241, 168, 0.92);
  box-shadow: 0 0 12px rgba(216, 241, 168, 0.34);
  animation: xandersarcade-firefly 9s ease-in-out infinite;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(1) {
  left: 28%;
  top: 36%;
  animation-delay: -1s;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(2) {
  left: 74%;
  top: 32%;
  animation-delay: -4s;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(3) {
  left: 18%;
  top: 56%;
  animation-delay: -6s;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(4) {
  left: 82%;
  top: 58%;
  animation-delay: -2s;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(5) {
  left: 48%;
  top: 40%;
  animation-delay: -3.5s;
}

body[theme="forest"] .xandersarcade-fireflies span:nth-child(6) {
  left: 56%;
  top: 66%;
  animation-delay: -7s;
}

@keyframes xandersarcade-fog-drift-a {
  0%,
  100% {
    transform: translateX(-6%);
  }
  50% {
    transform: translateX(4%);
  }
}

@keyframes xandersarcade-fog-drift-b {
  0%,
  100% {
    transform: translateX(5%);
  }
  50% {
    transform: translateX(-4%);
  }
}

@keyframes xandersarcade-ground-fog-a {
  0%,
  100% {
    transform: translateX(-3%) scaleX(1);
  }
  50% {
    transform: translateX(3%) scaleX(1.06);
  }
}

@keyframes xandersarcade-ground-fog-b {
  0%,
  100% {
    transform: translateX(4%) scaleX(1.04);
  }
  50% {
    transform: translateX(-4%) scaleX(0.98);
  }
}

@keyframes xandersarcade-firefly {
  0%,
  100% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.32;
  }
  30% {
    transform: translate(14px, -10px) scale(1.1);
    opacity: 0.9;
  }
  55% {
    transform: translate(-8px, 10px) scale(0.95);
    opacity: 0.5;
  }
  80% {
    transform: translate(10px, -6px) scale(1.05);
    opacity: 0.82;
  }
}

@media (max-width: 900px) {
  body[theme="volcanic"] .xandersarcade-eclipse-halo {
    width: 180px;
    height: 180px;
  }

  body[theme="volcanic"] .xandersarcade-eclipse-core {
    width: 104px;
    height: 104px;
  }

  body[theme="volcanic"] .xandersarcade-volcano {
    right: -2%;
    bottom: -4%;
    transform: scale(0.82);
  }

  body[theme="forest"] .xandersarcade-dead-tree.tree-left {
    left: 8%;
  }

  body[theme="forest"] .xandersarcade-dead-tree.tree-right {
    right: 8%;
  }

  body[theme="forest"] .xandersarcade-dead-tree {
    transform: scale(0.82);
    transform-origin: bottom center;
  }

  body[theme="forest"] .xandersarcade-dead-tree.tree-right {
    transform: scale(0.82) scaleX(-1);
  }
}

/* Campfire Theme */
body[theme="campfire"] {
  --primary-color: #ffb15d;
  --secondary-color: #2a160f;
  --accent-color: #ff7a3d;
  --bg-2-color: rgba(22, 11, 8, 0.84);
  --bg-color: #0b0605;
  --text-color: #fff1e4;
  --text-secondary-color: #d7b59e;
  --text-placeholder-color: #8f6b5b;
  --border-color: rgba(255, 160, 97, 0.2);
  --border-radius: 22px;
  --blob-1: rgba(255, 134, 56, 0.34);
  --blob-2: rgba(255, 187, 98, 0.2);
  --blob-3: rgba(98, 34, 15, 0.32);
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 145, 77, 0.14), transparent 18%),
    radial-gradient(circle at 50% 92%, rgba(255, 187, 98, 0.08), transparent 24%),
    linear-gradient(180deg, #140a08 0%, #0b0605 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="campfire"]::before,
body[theme="campfire"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="campfire"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 166, 87, 0.12), transparent 14%),
    radial-gradient(circle at 50% 84%, rgba(255, 114, 61, 0.08), transparent 24%);
  filter: blur(28px);
}

body[theme="campfire"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 6, 5, 0.1), rgba(11, 6, 5, 0.34) 48%, rgba(11, 6, 5, 0.82)),
    radial-gradient(circle at 50% 74%, rgba(255, 162, 86, 0.06), transparent 16%);
}

body[theme="campfire"] > *:not(.xandersarcade-campfire-scene) {
  position: relative;
  z-index: 1;
}

body[theme="campfire"] #blobs,
body[theme="campfire"] #particles-js {
  opacity: 0.18;
  filter: saturate(1.2) brightness(0.55) hue-rotate(-24deg);
}

body[theme="campfire"] .navbar,
body[theme="campfire"] .card,
body[theme="campfire"] .section-card,
body[theme="campfire"] .search-container,
body[theme="campfire"] .input,
body[theme="campfire"] .btn,
body[theme="campfire"] .tab,
body[theme="campfire"] .shortcut,
body[theme="campfire"] .navbar-proxy,
body[theme="campfire"] #tab-bar {
  border-color: rgba(255, 162, 94, 0.18) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 236, 218, 0.04),
    0 0 24px rgba(255, 122, 61, 0.08);
}

body[theme="campfire"] .btn:hover,
body[theme="campfire"] .shortcut:hover,
body[theme="campfire"] .tab:hover,
body[theme="campfire"] .navbar-link:hover {
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 177, 93, 0.12),
    0 0 24px rgba(255, 122, 61, 0.14);
}

body[theme="campfire"] .footer-version,
body[theme="campfire"] #rng-text,
body[theme="campfire"] h1,
body[theme="campfire"] h2,
body[theme="campfire"] h3 {
  text-shadow:
    0 0 12px rgba(255, 177, 93, 0.16),
    0 0 28px rgba(255, 122, 61, 0.12);
}

body[theme="campfire"] .xandersarcade-credit {
  opacity: 0.88 !important;
}

.xandersarcade-campfire-scene {
  display: none;
}

body[theme="campfire"] .xandersarcade-campfire-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="campfire"] .xandersarcade-campfire-glow {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 340px;
  height: 220px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(255, 170, 84, 0.42), rgba(255, 111, 51, 0.14) 42%, transparent 72%);
  filter: blur(24px);
  opacity: 0.82;
  animation: xandersarcade-fire-glow 4.8s ease-in-out infinite;
}

body[theme="campfire"] .xandersarcade-campfire {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 260px;
  height: 220px;
  transform: translateX(-50%);
}

body[theme="campfire"] .xandersarcade-fire-shadow {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 180px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 147, 63, 0.34), rgba(0, 0, 0, 0) 72%);
  filter: blur(8px);
}

body[theme="campfire"] .xandersarcade-fire-core {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 62px;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 248, 195, 0.95), rgba(255, 197, 106, 0.92) 34%, rgba(255, 116, 48, 0.6) 64%, transparent 78%);
  filter: blur(1px);
  animation: xandersarcade-fire-flicker-core 2.2s ease-in-out infinite;
}

body[theme="campfire"] .xandersarcade-flame {
  position: absolute;
  bottom: 44px;
  left: 50%;
  border-radius: 55% 55% 38% 38%;
  transform-origin: bottom center;
  filter: drop-shadow(0 0 20px rgba(255, 117, 49, 0.18));
}

body[theme="campfire"] .xandersarcade-flame.flame-a {
  width: 94px;
  height: 118px;
  margin-left: -47px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 251, 213, 0.92), rgba(255, 181, 83, 0.92) 34%, rgba(255, 98, 43, 0.72) 68%, transparent 84%);
  animation: xandersarcade-fire-flicker-a 2.4s ease-in-out infinite;
}

body[theme="campfire"] .xandersarcade-flame.flame-b {
  width: 72px;
  height: 104px;
  margin-left: -58px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 229, 165, 0.88), rgba(255, 140, 61, 0.72) 44%, transparent 80%);
  animation: xandersarcade-fire-flicker-b 1.9s ease-in-out infinite;
}

body[theme="campfire"] .xandersarcade-flame.flame-c {
  width: 68px;
  height: 94px;
  margin-left: -6px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 235, 173, 0.84), rgba(255, 122, 61, 0.68) 48%, transparent 82%);
  animation: xandersarcade-fire-flicker-c 2.1s ease-in-out infinite;
}

body[theme="campfire"] .xandersarcade-log {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 104px;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(129, 82, 49, 0.95), rgba(67, 38, 21, 0.98));
  box-shadow:
    inset 0 2px 0 rgba(255, 191, 141, 0.12),
    inset 0 -4px 0 rgba(0, 0, 0, 0.24),
    0 10px 20px rgba(0, 0, 0, 0.28);
}

body[theme="campfire"] .xandersarcade-log::before,
body[theme="campfire"] .xandersarcade-log::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(184, 133, 94, 0.7), rgba(85, 53, 31, 0.96));
}

body[theme="campfire"] .xandersarcade-log::before {
  left: 6px;
}

body[theme="campfire"] .xandersarcade-log::after {
  right: 6px;
}

body[theme="campfire"] .xandersarcade-log.log-a {
  margin-left: -82px;
  transform: rotate(26deg) translateZ(0);
}

body[theme="campfire"] .xandersarcade-log.log-b {
  margin-left: -20px;
  transform: rotate(-24deg) translateZ(0);
}

body[theme="campfire"] .xandersarcade-log.log-c {
  width: 88px;
  margin-left: -96px;
  bottom: 30px;
  transform: rotate(-12deg) translateZ(0);
  opacity: 0.96;
}

body[theme="campfire"] .xandersarcade-log.log-d {
  width: 86px;
  margin-left: 8px;
  bottom: 28px;
  transform: rotate(14deg) translateZ(0);
  opacity: 0.96;
}

body[theme="campfire"] .xandersarcade-campfire-embers span {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 166, 0.95), rgba(255, 115, 53, 0.8) 58%, transparent 74%);
  box-shadow: 0 0 10px rgba(255, 150, 69, 0.26);
  animation: xandersarcade-ember-rise 4.2s ease-out infinite;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(1) {
  --ember-x: -16px;
  --ember-drift: -44px;
  animation-delay: -0.3s;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(2) {
  --ember-x: 12px;
  --ember-drift: 36px;
  animation-delay: -0.8s;
  width: 5px;
  height: 5px;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(3) {
  --ember-x: -28px;
  --ember-drift: -22px;
  animation-delay: -1.2s;
  width: 4px;
  height: 4px;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(4) {
  --ember-x: 22px;
  --ember-drift: 48px;
  animation-delay: -1.6s;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(5) {
  --ember-x: -6px;
  --ember-drift: 20px;
  animation-delay: -2.1s;
  width: 7px;
  height: 7px;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(6) {
  --ember-x: 34px;
  --ember-drift: 18px;
  animation-delay: -2.5s;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(7) {
  --ember-x: -34px;
  --ember-drift: -38px;
  animation-delay: -2.9s;
  width: 4px;
  height: 4px;
}

body[theme="campfire"] .xandersarcade-campfire-embers span:nth-child(8) {
  --ember-x: 0px;
  --ember-drift: -10px;
  animation-delay: -3.4s;
  width: 5px;
  height: 5px;
}

@keyframes xandersarcade-fire-glow {
  0%,
  100% {
    transform: translateX(-50%) scale(0.98);
    opacity: 0.76;
  }
  50% {
    transform: translateX(-50%) scale(1.06);
    opacity: 0.9;
  }
}

@keyframes xandersarcade-fire-flicker-core {
  0%,
  100% {
    transform: translateX(-50%) scale(1, 1);
  }
  50% {
    transform: translateX(-50%) scale(1.08, 0.92);
  }
}

@keyframes xandersarcade-fire-flicker-a {
  0%,
  100% {
    transform: translateY(0) scale(1, 1) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) scale(0.96, 1.08) rotate(3deg);
  }
}

@keyframes xandersarcade-fire-flicker-b {
  0%,
  100% {
    transform: translateY(0) scale(1, 1) rotate(-8deg);
  }
  50% {
    transform: translateY(-8px) scale(0.9, 1.08) rotate(-2deg);
  }
}

@keyframes xandersarcade-fire-flicker-c {
  0%,
  100% {
    transform: translateY(0) scale(1, 1) rotate(8deg);
  }
  50% {
    transform: translateY(-6px) scale(0.92, 1.06) rotate(2deg);
  }
}

@keyframes xandersarcade-ember-rise {
  0% {
    transform: translate(var(--ember-x), 0) scale(0.6);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--ember-x) + var(--ember-drift)), -180px) scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  body[theme="campfire"] .xandersarcade-campfire {
    top: 60%;
    transform: translateX(-50%) scale(0.84);
  }

  body[theme="campfire"] .xandersarcade-campfire-glow {
    top: 56%;
    width: 280px;
    height: 180px;
  }

  body[theme="campfire"] .xandersarcade-credit {
    width: min(calc(100vw - 20px), 560px);
  }
}

/* Hacker Theme */
body[theme="hacker"] {
  --primary-color: #66ff9c;
  --secondary-color: #0a2211;
  --accent-color: #28d764;
  --bg-2-color: rgba(6, 20, 10, 0.84);
  --bg-color: #030a05;
  --text-color: #dfffe8;
  --text-secondary-color: #8dc89e;
  --text-placeholder-color: #5f8a6b;
  --border-color: rgba(95, 169, 114, 0.22);
  --border-radius: 20px;
  --blob-1: rgba(76, 255, 151, 0.16);
  --blob-2: rgba(38, 168, 84, 0.12);
  --blob-3: rgba(9, 38, 17, 0.2);
  background:
    radial-gradient(circle at 20% 18%, rgba(93, 204, 118, 0.2), transparent 24%),
    linear-gradient(135deg, #163f20 0%, #08140b 56%, #030805 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="hacker"]::before,
body[theme="hacker"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="hacker"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 14%, rgba(94, 255, 146, 0.16), transparent 18%),
    radial-gradient(circle at 84% 84%, rgba(0, 0, 0, 0.48), transparent 28%);
  filter: blur(26px);
}

body[theme="hacker"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 8, 5, 0.06), rgba(3, 8, 5, 0.3) 52%, rgba(3, 8, 5, 0.82)),
    radial-gradient(circle at 72% 70%, rgba(21, 61, 31, 0.24), transparent 24%);
}

body[theme="hacker"] > *:not(.xandersarcade-hacker-scene) {
  position: relative;
  z-index: 1;
}

body[theme="hacker"] #blobs,
body[theme="hacker"] #particles-js {
  opacity: 0.1;
  filter: saturate(0.7) brightness(0.42) hue-rotate(56deg);
}

body[theme="hacker"] .navbar,
body[theme="hacker"] .card,
body[theme="hacker"] .section-card,
body[theme="hacker"] .search-container,
body[theme="hacker"] .input,
body[theme="hacker"] .btn,
body[theme="hacker"] .tab,
body[theme="hacker"] .shortcut,
body[theme="hacker"] .navbar-proxy,
body[theme="hacker"] #tab-bar {
  border-color: rgba(98, 255, 158, 0.18) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(221, 255, 230, 0.04),
    0 0 28px rgba(40, 215, 100, 0.08);
}

body[theme="hacker"] .btn:hover,
body[theme="hacker"] .shortcut:hover,
body[theme="hacker"] .tab:hover,
body[theme="hacker"] .navbar-link:hover {
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(102, 255, 156, 0.16),
    0 0 24px rgba(40, 215, 100, 0.12);
}

body[theme="hacker"] .footer-version,
body[theme="hacker"] #rng-text,
body[theme="hacker"] h1,
body[theme="hacker"] h2,
body[theme="hacker"] h3 {
  text-shadow:
    0 0 12px rgba(96, 255, 152, 0.12),
    0 0 30px rgba(40, 215, 100, 0.08);
}

.xandersarcade-hacker-scene {
  display: none;
}

body[theme="hacker"] .xandersarcade-hacker-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="hacker"] .xandersarcade-hacker-grid {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 180vw;
  height: 180vh;
  transform-origin: center;
  transform: translate(-48%, -40%) perspective(1200px) rotateX(74deg) rotateZ(-45deg);
  background-image:
    linear-gradient(rgba(205, 214, 209, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 214, 209, 0.18) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.48;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 16%, #000 38%, #000 82%, transparent 100%);
  animation: xandersarcade-hacker-grid-shift 9s linear infinite;
}

body[theme="hacker"] .xandersarcade-hacker-grid.glow-grid {
  background-image:
    linear-gradient(rgba(143, 255, 179, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 255, 179, 0.12) 1px, transparent 1px);
  filter: blur(2px);
  opacity: 0.34;
  animation-duration: 12s;
}

body[theme="hacker"] .xandersarcade-binary-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

body[theme="hacker"] .xandersarcade-binary-column {
  position: absolute;
  top: -110%;
  display: block;
  color: rgba(118, 255, 165, 0.44);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  line-height: 1.06;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(80, 255, 141, 0.12),
    0 0 18px rgba(80, 255, 141, 0.08);
  user-select: none;
  mix-blend-mode: screen;
  animation: xandersarcade-binary-rain 13s linear infinite;
}

body[theme="hacker"] .xandersarcade-binary-column.col-a {
  left: 4%;
  animation-delay: -1.2s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-b {
  left: 14%;
  animation-duration: 10.5s;
  animation-delay: -4.1s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-c {
  left: 24%;
  animation-duration: 13.5s;
  animation-delay: -7.6s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-d {
  left: 34%;
  animation-duration: 11.4s;
  animation-delay: -2.8s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-e {
  left: 44%;
  animation-duration: 12.8s;
  animation-delay: -6.5s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-f {
  left: 54%;
  animation-duration: 10.8s;
  animation-delay: -3.4s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-g {
  left: 64%;
  animation-duration: 13.2s;
  animation-delay: -8.3s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-h {
  left: 74%;
  animation-duration: 11.7s;
  animation-delay: -5.2s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-i {
  left: 84%;
  animation-duration: 12.4s;
  animation-delay: -9.1s;
}

body[theme="hacker"] .xandersarcade-binary-column.col-j {
  left: 92%;
  animation-duration: 10.2s;
  animation-delay: -6.8s;
}

@keyframes xandersarcade-hacker-grid-shift {
  0% {
    transform: translate(-48%, -40%) perspective(1200px) rotateX(74deg) rotateZ(-45deg) translateX(0);
  }
  100% {
    transform: translate(-48%, -40%) perspective(1200px) rotateX(74deg) rotateZ(-45deg) translateX(74px);
  }
}

@keyframes xandersarcade-binary-rain {
  0% {
    transform: translate3d(0, -120%, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.44;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(0, 165%, 0);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  body[theme="hacker"] .xandersarcade-hacker-grid {
    width: 220vw;
    height: 170vh;
    top: 58%;
    background-size: 58px 58px;
  }

body[theme="hacker"] .xandersarcade-binary-column {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
}

/* V8 Dark Theme */
body[theme="v8dark"] {
  --primary-color: #ff996b;
  --secondary-color: #15110f;
  --accent-color: #ff6b8f;
  --bg-2-color: rgba(24, 17, 15, 0.82);
  --bg-color: #090706;
  --text-color: #fff3ec;
  --text-secondary-color: #d8bbb0;
  --text-placeholder-color: #96746a;
  --border-color: rgba(255, 147, 100, 0.18);
  --border-radius: 18px;
  --blob-1: rgba(255, 125, 79, 0.18);
  --blob-2: rgba(255, 107, 143, 0.12);
  --blob-3: rgba(56, 21, 18, 0.22);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 133, 82, 0.18), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 107, 143, 0.12), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(122, 45, 24, 0.14), transparent 28%),
    linear-gradient(160deg, #211613 0%, #100c0b 48%, #060505 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="v8dark"]::before,
body[theme="v8dark"]::after,
body[theme="midnightoled"]::before,
body[theme="midnightoled"]::after,
body[theme="v8light"]::before,
body[theme="v8light"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="v8dark"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 162, 102, 0.16), transparent 16%),
    radial-gradient(circle at 82% 20%, rgba(255, 107, 143, 0.12), transparent 18%),
    radial-gradient(circle at 50% 102%, rgba(73, 28, 17, 0.26), transparent 24%);
  filter: blur(36px);
}

body[theme="v8dark"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, rgba(9, 7, 6, 0.04), rgba(9, 7, 6, 0.56) 70%, rgba(9, 7, 6, 0.86));
}

body[theme="v8dark"] .navbar,
body[theme="v8dark"] .card,
body[theme="v8dark"] .section-card,
body[theme="v8dark"] .search-container,
body[theme="v8dark"] .input,
body[theme="v8dark"] .btn,
body[theme="v8dark"] .tab,
body[theme="v8dark"] .shortcut,
body[theme="v8dark"] .navbar-proxy,
body[theme="v8dark"] #tab-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(18, 12, 11, 0.86) !important;
  border-color: rgba(255, 145, 101, 0.18) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 246, 241, 0.05),
    0 0 30px rgba(255, 107, 143, 0.07);
  backdrop-filter: blur(14px) saturate(1.05);
}

body[theme="v8dark"] .btn:hover,
body[theme="v8dark"] .shortcut:hover,
body[theme="v8dark"] .tab:hover,
body[theme="v8dark"] .navbar-link:hover {
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 153, 107, 0.12),
    0 0 28px rgba(255, 107, 143, 0.12);
}

body[theme="v8dark"] .btn,
body[theme="v8dark"] .tab,
body[theme="v8dark"] .shortcut,
body[theme="v8dark"] .navbar-link,
body[theme="midnightoled"] .btn,
body[theme="midnightoled"] .tab,
body[theme="midnightoled"] .shortcut,
body[theme="midnightoled"] .navbar-link,
body[theme="v8light"] .btn,
body[theme="v8light"] .tab,
body[theme="v8light"] .shortcut,
body[theme="v8light"] .navbar-link {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

body[theme="v8dark"] h1,
body[theme="v8dark"] h2,
body[theme="v8dark"] h3,
body[theme="v8dark"] #rng-text,
body[theme="v8dark"] .footer-version {
  text-shadow:
    0 0 14px rgba(255, 153, 107, 0.12),
    0 0 26px rgba(255, 107, 143, 0.08);
}

body[theme="v8dark"] .input::placeholder {
  color: rgba(223, 186, 171, 0.56);
}

body[theme="v8dark"] .navbar-link.active,
body[theme="v8dark"] .tab.active,
body[theme="v8dark"] .btn.active {
  border-color: rgba(255, 153, 107, 0.26) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 246, 241, 0.06),
    0 0 24px rgba(255, 107, 143, 0.12);
}

/* VSCode Theme */
body[theme="midnightoled"] {
  --primary-color: #66a8ff;
  --secondary-color: #030814;
  --accent-color: #9bd4ff;
  --bg-2-color: rgba(3, 9, 22, 0.86);
  --bg-color: #010206;
  --text-color: #edf6ff;
  --text-secondary-color: #8fa8c4;
  --text-placeholder-color: #50637b;
  --border-color: rgba(102, 168, 255, 0.16);
  --border-radius: 18px;
  --blob-1: rgba(51, 110, 255, 0.14);
  --blob-2: rgba(140, 205, 255, 0.09);
  --blob-3: rgba(5, 16, 44, 0.24);
  background:
    radial-gradient(circle at 16% 14%, rgba(60, 123, 255, 0.14), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(120, 203, 255, 0.09), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(9, 32, 76, 0.18), transparent 28%),
    linear-gradient(162deg, #050b17 0%, #02050d 44%, #000103 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="midnightoled"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 17% 15%, rgba(89, 149, 255, 0.14), transparent 16%),
    radial-gradient(circle at 82% 18%, rgba(155, 212, 255, 0.08), transparent 18%),
    radial-gradient(circle at 50% 102%, rgba(7, 20, 50, 0.34), transparent 24%);
  filter: blur(40px);
}

body[theme="midnightoled"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0) 12%),
    linear-gradient(180deg, rgba(0, 2, 8, 0.02), rgba(0, 2, 8, 0.54) 68%, rgba(0, 1, 4, 0.92));
}

body[theme="midnightoled"] .navbar,
body[theme="midnightoled"] .card,
body[theme="midnightoled"] .section-card,
body[theme="midnightoled"] .search-container,
body[theme="midnightoled"] .input,
body[theme="midnightoled"] .btn,
body[theme="midnightoled"] .tab,
body[theme="midnightoled"] .shortcut,
body[theme="midnightoled"] .navbar-proxy,
body[theme="midnightoled"] #tab-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(3, 9, 22, 0.9) !important;
  border-color: rgba(102, 168, 255, 0.16) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(231, 245, 255, 0.04),
    0 0 30px rgba(77, 146, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.02);
}

body[theme="midnightoled"] .btn:hover,
body[theme="midnightoled"] .shortcut:hover,
body[theme="midnightoled"] .tab:hover,
body[theme="midnightoled"] .navbar-link:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(102, 168, 255, 0.12),
    0 0 28px rgba(155, 212, 255, 0.1);
}

body[theme="midnightoled"] h1,
body[theme="midnightoled"] h2,
body[theme="midnightoled"] h3,
body[theme="midnightoled"] #rng-text,
body[theme="midnightoled"] .footer-version {
  text-shadow:
    0 0 12px rgba(102, 168, 255, 0.12),
    0 0 24px rgba(155, 212, 255, 0.08);
}

body[theme="midnightoled"] .input::placeholder {
  color: rgba(143, 168, 196, 0.52);
}

body[theme="midnightoled"] .navbar-link.active,
body[theme="midnightoled"] .tab.active,
body[theme="midnightoled"] .btn.active {
  border-color: rgba(102, 168, 255, 0.24) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(231, 245, 255, 0.05),
    0 0 24px rgba(102, 168, 255, 0.12);
}

/* V8 Light Theme */
body[theme="v8light"] {
  --primary-color: #ff7d6e;
  --secondary-color: #fff5ef;
  --accent-color: #7c8fff;
  --bg-2-color: rgba(255, 250, 246, 0.84);
  --bg-color: #fffdfb;
  --text-color: #342825;
  --text-secondary-color: #6f5a53;
  --text-placeholder-color: #a38f89;
  --border-color: rgba(255, 144, 109, 0.16);
  --border-radius: 18px;
  --blob-1: rgba(255, 159, 120, 0.14);
  --blob-2: rgba(124, 143, 255, 0.12);
  --blob-3: rgba(255, 214, 198, 0.2);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 187, 146, 0.26), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(151, 171, 255, 0.22), transparent 20%),
    linear-gradient(165deg, #fffdfb 0%, #fff5ef 48%, #fef0ea 100%);
  background-attachment: fixed;
  background-size: cover;
}

body[theme="v8light"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 193, 164, 0.22), transparent 16%),
    radial-gradient(circle at 84% 18%, rgba(145, 164, 255, 0.16), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255, 215, 196, 0.24), transparent 24%);
  filter: blur(34px);
}

body[theme="v8light"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0));
}

body[theme="v8light"] .navbar,
body[theme="v8light"] .card,
body[theme="v8light"] .section-card,
body[theme="v8light"] .search-container,
body[theme="v8light"] .input,
body[theme="v8light"] .btn,
body[theme="v8light"] .tab,
body[theme="v8light"] .shortcut,
body[theme="v8light"] .navbar-proxy,
body[theme="v8light"] #tab-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.54)),
    rgba(255, 250, 246, 0.82) !important;
  border-color: rgba(255, 150, 112, 0.14) !important;
  box-shadow:
    0 18px 40px rgba(183, 123, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 26px rgba(124, 143, 255, 0.08);
  backdrop-filter: blur(12px) saturate(1.06);
}

body[theme="v8light"] .btn:hover,
body[theme="v8light"] .shortcut:hover,
body[theme="v8light"] .tab:hover,
body[theme="v8light"] .navbar-link:hover {
  box-shadow:
    0 22px 44px rgba(183, 123, 96, 0.14),
    0 0 0 1px rgba(255, 125, 110, 0.1),
    0 0 24px rgba(124, 143, 255, 0.1);
}

body[theme="v8light"] h1,
body[theme="v8light"] h2,
body[theme="v8light"] h3,
body[theme="v8light"] #rng-text,
body[theme="v8light"] .footer-version {
  text-shadow:
    0 0 12px rgba(255, 125, 110, 0.08),
    0 0 22px rgba(124, 143, 255, 0.06);
}

body[theme="v8light"] .input::placeholder {
  color: rgba(126, 103, 96, 0.58);
}

body[theme="v8light"] .navbar-link.active,
body[theme="v8light"] .tab.active,
body[theme="v8light"] .btn.active {
  border-color: rgba(255, 125, 110, 0.18) !important;
  box-shadow:
    0 14px 32px rgba(183, 123, 96, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 22px rgba(124, 143, 255, 0.1);
}

/* SVG Fill Colors */
.st0 {
  fill: var(--accent-color) !important;
}

.st1 {
  fill: var(--primary-color) !important;
}

/* Special Theme Overrides */
body[theme="light"] #particles-js {
  filter: invert(100%);
}
/* 
body[theme="light"] .card {
  background-color: transparent;
} */

/* body[theme="light"] button,
body[theme="light"] select {
  background-color: transparent !important;
  border: #000 1px solid;
} */

body[theme="light"] .navbar-item {
  color: #000;
}

body[theme="light"] .navbar-item.active {
  color: #ffffff;
}

body[theme="yellow"] .btn {
  border-radius: 0px;
}

body[theme="yellow"] #particles-js {
  filter: invert(100%);
}

body[theme="new"] .card,
body[theme="new"] .section-card,
body[theme="grey"] .card,
body[theme="grey"] .section-card,
body[theme="greyblack"] .card,
body[theme="greyblack"] .section-card,
body[theme="ghost"] .card,
body[theme="ghost"] .section-card,
body[theme="bone"] .card,
body[theme="bone"] .section-card,
body[theme="gb"] .card,
body[theme="gb"] .section-card,
body[theme="gg"] .card,
body[theme="gg"] .section-card,
body[theme="brown"] .card,
body[theme="brown"] .section-card,
body[theme="dg"] .card,
body[theme="dg"] .section-card,
body[theme="moon"] .card,
body[theme="moon"] .section-card,
body[theme="red"] .card,
body[theme="red"] .section-card,
body[theme="sblue"] .card,
body[theme="sblue"] .section-card,
body[theme="mocha"] .card,
body[theme="mocha"] .section-card,
.section-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(3px) brightness(80%) !important;
}

/* Add background-filter to themes that originally had it */
body[theme="grey"],
body[theme="greyblack"],
body[theme="ghost"],
body[theme="bone"],
body[theme="gb"],
body[theme="gg"],
body[theme="brown"],
body[theme="dg"],
body[theme="moon"],
body[theme="red"],
body[theme="sblue"] {
  --background-filter: blur(3px) brightness(80%);
}

/* Font Family Overrides */
body[theme="audi"] h1,
body[theme="audi"] h4,
body[theme="audi"] a,
body[theme="audi"] p,
body[theme="audi"] span,
body[theme="audi"] select,
body[theme="audi"] button,
body[theme="audi"] input {
  font-family: "audi" !important;
}

body[theme="bone"] h1,
body[theme="bone"] a,
body[theme="bone"] p,
body[theme="bone"] span,
body[theme="bone"] select,
body[theme="bone"] input {
  font-family: "bone" !important;
}

@keyframes xandersarcade-theme-pan {
  from {
    transform: translate3d(-2%, 0, 0) scale(1.02);
  }

  to {
    transform: translate3d(2%, 0, 0) scale(1.05);
  }
}

@keyframes xandersarcade-theme-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 16px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes xandersarcade-theme-rotate {
  from {
    transform: rotate(0deg) scale(1.03);
  }

  to {
    transform: rotate(360deg) scale(1.08);
  }
}

@keyframes xandersarcade-theme-grid {
  from {
    background-position:
      0 0,
      0 0,
      center;
  }

  to {
    background-position:
      120px 0,
      0 120px,
      center;
  }
}

body[theme="nova"]::before,
body[theme="nova"]::after,
body[theme="flux"]::before,
body[theme="flux"]::after,
body[theme="rift"]::before,
body[theme="rift"]::after,
body[theme="echo"]::before,
body[theme="echo"]::after,
body[theme="drift"]::before,
body[theme="drift"]::after,
body[theme="coal"]::before,
body[theme="coal"]::after,
body[theme="mintx"]::before,
body[theme="mintx"]::after,
body[theme="bloom"]::before,
body[theme="bloom"]::after,
body[theme="frostx"]::before,
body[theme="frostx"]::after,
body[theme="duskx"]::before,
body[theme="duskx"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="nova"]::before,
body[theme="nova"]::after,
body[theme="flux"]::before,
body[theme="flux"]::after,
body[theme="rift"]::before,
body[theme="rift"]::after,
body[theme="echo"]::before,
body[theme="echo"]::after,
body[theme="drift"]::before,
body[theme="drift"]::after,
body[theme="coal"]::before,
body[theme="coal"]::after,
body[theme="mintx"]::before,
body[theme="mintx"]::after,
body[theme="bloom"]::before,
body[theme="bloom"]::after,
body[theme="frostx"]::before,
body[theme="frostx"]::after,
body[theme="duskx"]::before,
body[theme="duskx"]::after {
  inset: -14vmax;
  transform-origin: center;
  will-change: transform, opacity, background-position;
}

body[theme="nova"]::before,
body[theme="nova"]::after {
  inset: -20vmax;
}

body[theme="nova"],
body[theme="flux"],
body[theme="rift"],
body[theme="echo"],
body[theme="drift"],
body[theme="coal"],
body[theme="mintx"],
body[theme="bloom"],
body[theme="frostx"],
body[theme="duskx"] {
  --border-radius: 18px;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--bg-color);
}

body[theme="nova"] .navbar,
body[theme="nova"] .card,
body[theme="nova"] .section-card,
body[theme="nova"] .search-container,
body[theme="nova"] .input,
body[theme="nova"] .btn,
body[theme="nova"] .tab,
body[theme="nova"] .shortcut,
body[theme="nova"] .navbar-proxy,
body[theme="nova"] #tab-bar,
body[theme="flux"] .navbar,
body[theme="flux"] .card,
body[theme="flux"] .section-card,
body[theme="flux"] .search-container,
body[theme="flux"] .input,
body[theme="flux"] .btn,
body[theme="flux"] .tab,
body[theme="flux"] .shortcut,
body[theme="flux"] .navbar-proxy,
body[theme="flux"] #tab-bar,
body[theme="rift"] .navbar,
body[theme="rift"] .card,
body[theme="rift"] .section-card,
body[theme="rift"] .search-container,
body[theme="rift"] .input,
body[theme="rift"] .btn,
body[theme="rift"] .tab,
body[theme="rift"] .shortcut,
body[theme="rift"] .navbar-proxy,
body[theme="rift"] #tab-bar,
body[theme="echo"] .navbar,
body[theme="echo"] .card,
body[theme="echo"] .section-card,
body[theme="echo"] .search-container,
body[theme="echo"] .input,
body[theme="echo"] .btn,
body[theme="echo"] .tab,
body[theme="echo"] .shortcut,
body[theme="echo"] .navbar-proxy,
body[theme="echo"] #tab-bar,
body[theme="drift"] .navbar,
body[theme="drift"] .card,
body[theme="drift"] .section-card,
body[theme="drift"] .search-container,
body[theme="drift"] .input,
body[theme="drift"] .btn,
body[theme="drift"] .tab,
body[theme="drift"] .shortcut,
body[theme="drift"] .navbar-proxy,
body[theme="drift"] #tab-bar,
body[theme="coal"] .navbar,
body[theme="coal"] .card,
body[theme="coal"] .section-card,
body[theme="coal"] .search-container,
body[theme="coal"] .input,
body[theme="coal"] .btn,
body[theme="coal"] .tab,
body[theme="coal"] .shortcut,
body[theme="coal"] .navbar-proxy,
body[theme="coal"] #tab-bar,
body[theme="mintx"] .navbar,
body[theme="mintx"] .card,
body[theme="mintx"] .section-card,
body[theme="mintx"] .search-container,
body[theme="mintx"] .input,
body[theme="mintx"] .btn,
body[theme="mintx"] .tab,
body[theme="mintx"] .shortcut,
body[theme="mintx"] .navbar-proxy,
body[theme="mintx"] #tab-bar,
body[theme="bloom"] .navbar,
body[theme="bloom"] .card,
body[theme="bloom"] .section-card,
body[theme="bloom"] .search-container,
body[theme="bloom"] .input,
body[theme="bloom"] .btn,
body[theme="bloom"] .tab,
body[theme="bloom"] .shortcut,
body[theme="bloom"] .navbar-proxy,
body[theme="bloom"] #tab-bar,
body[theme="frostx"] .navbar,
body[theme="frostx"] .card,
body[theme="frostx"] .section-card,
body[theme="frostx"] .search-container,
body[theme="frostx"] .input,
body[theme="frostx"] .btn,
body[theme="frostx"] .tab,
body[theme="frostx"] .shortcut,
body[theme="frostx"] .navbar-proxy,
body[theme="frostx"] #tab-bar,
body[theme="duskx"] .navbar,
body[theme="duskx"] .card,
body[theme="duskx"] .section-card,
body[theme="duskx"] .search-container,
body[theme="duskx"] .input,
body[theme="duskx"] .btn,
body[theme="duskx"] .tab,
body[theme="duskx"] .shortcut,
body[theme="duskx"] .navbar-proxy,
body[theme="duskx"] #tab-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    var(--bg-2-color) !important;
  border-color: var(--border-color) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px color-mix(in srgb, var(--primary-color) 10%, transparent);
  backdrop-filter: blur(14px) saturate(1.04);
}

body[theme="nova"] .btn:hover,
body[theme="nova"] .shortcut:hover,
body[theme="nova"] .tab:hover,
body[theme="nova"] .navbar-link:hover,
body[theme="flux"] .btn:hover,
body[theme="flux"] .shortcut:hover,
body[theme="flux"] .tab:hover,
body[theme="flux"] .navbar-link:hover,
body[theme="rift"] .btn:hover,
body[theme="rift"] .shortcut:hover,
body[theme="rift"] .tab:hover,
body[theme="rift"] .navbar-link:hover,
body[theme="echo"] .btn:hover,
body[theme="echo"] .shortcut:hover,
body[theme="echo"] .tab:hover,
body[theme="echo"] .navbar-link:hover,
body[theme="drift"] .btn:hover,
body[theme="drift"] .shortcut:hover,
body[theme="drift"] .tab:hover,
body[theme="drift"] .navbar-link:hover,
body[theme="coal"] .btn:hover,
body[theme="coal"] .shortcut:hover,
body[theme="coal"] .tab:hover,
body[theme="coal"] .navbar-link:hover,
body[theme="mintx"] .btn:hover,
body[theme="mintx"] .shortcut:hover,
body[theme="mintx"] .tab:hover,
body[theme="mintx"] .navbar-link:hover,
body[theme="bloom"] .btn:hover,
body[theme="bloom"] .shortcut:hover,
body[theme="bloom"] .tab:hover,
body[theme="bloom"] .navbar-link:hover,
body[theme="frostx"] .btn:hover,
body[theme="frostx"] .shortcut:hover,
body[theme="frostx"] .tab:hover,
body[theme="frostx"] .navbar-link:hover,
body[theme="duskx"] .btn:hover,
body[theme="duskx"] .shortcut:hover,
body[theme="duskx"] .tab:hover,
body[theme="duskx"] .navbar-link:hover {
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.36),
    0 0 0 1px color-mix(in srgb, var(--primary-color) 18%, transparent),
    0 0 26px color-mix(in srgb, var(--accent-color) 14%, transparent);
}

body[theme="nova"] h1,
body[theme="nova"] h2,
body[theme="nova"] h3,
body[theme="nova"] #rng-text,
body[theme="nova"] .footer-version,
body[theme="flux"] h1,
body[theme="flux"] h2,
body[theme="flux"] h3,
body[theme="flux"] #rng-text,
body[theme="flux"] .footer-version,
body[theme="rift"] h1,
body[theme="rift"] h2,
body[theme="rift"] h3,
body[theme="rift"] #rng-text,
body[theme="rift"] .footer-version,
body[theme="echo"] h1,
body[theme="echo"] h2,
body[theme="echo"] h3,
body[theme="echo"] #rng-text,
body[theme="echo"] .footer-version,
body[theme="drift"] h1,
body[theme="drift"] h2,
body[theme="drift"] h3,
body[theme="drift"] #rng-text,
body[theme="drift"] .footer-version,
body[theme="coal"] h1,
body[theme="coal"] h2,
body[theme="coal"] h3,
body[theme="coal"] #rng-text,
body[theme="coal"] .footer-version,
body[theme="mintx"] h1,
body[theme="mintx"] h2,
body[theme="mintx"] h3,
body[theme="mintx"] #rng-text,
body[theme="mintx"] .footer-version,
body[theme="bloom"] h1,
body[theme="bloom"] h2,
body[theme="bloom"] h3,
body[theme="bloom"] #rng-text,
body[theme="bloom"] .footer-version,
body[theme="frostx"] h1,
body[theme="frostx"] h2,
body[theme="frostx"] h3,
body[theme="frostx"] #rng-text,
body[theme="frostx"] .footer-version,
body[theme="duskx"] h1,
body[theme="duskx"] h2,
body[theme="duskx"] h3,
body[theme="duskx"] #rng-text,
body[theme="duskx"] .footer-version {
  text-shadow:
    0 0 14px color-mix(in srgb, var(--primary-color) 14%, transparent),
    0 0 26px color-mix(in srgb, var(--accent-color) 10%, transparent);
}

body[theme="nova"] .input::placeholder,
body[theme="flux"] .input::placeholder,
body[theme="rift"] .input::placeholder,
body[theme="echo"] .input::placeholder,
body[theme="drift"] .input::placeholder,
body[theme="coal"] .input::placeholder,
body[theme="mintx"] .input::placeholder,
body[theme="bloom"] .input::placeholder,
body[theme="frostx"] .input::placeholder,
body[theme="duskx"] .input::placeholder {
  color: color-mix(in srgb, var(--text-secondary-color) 70%, transparent);
}

body[theme="nova"] .navbar-link.active,
body[theme="nova"] .tab.active,
body[theme="nova"] .btn.active,
body[theme="flux"] .navbar-link.active,
body[theme="flux"] .tab.active,
body[theme="flux"] .btn.active,
body[theme="rift"] .navbar-link.active,
body[theme="rift"] .tab.active,
body[theme="rift"] .btn.active,
body[theme="echo"] .navbar-link.active,
body[theme="echo"] .tab.active,
body[theme="echo"] .btn.active,
body[theme="drift"] .navbar-link.active,
body[theme="drift"] .tab.active,
body[theme="drift"] .btn.active,
body[theme="coal"] .navbar-link.active,
body[theme="coal"] .tab.active,
body[theme="coal"] .btn.active,
body[theme="mintx"] .navbar-link.active,
body[theme="mintx"] .tab.active,
body[theme="mintx"] .btn.active,
body[theme="bloom"] .navbar-link.active,
body[theme="bloom"] .tab.active,
body[theme="bloom"] .btn.active,
body[theme="frostx"] .navbar-link.active,
body[theme="frostx"] .tab.active,
body[theme="frostx"] .btn.active,
body[theme="duskx"] .navbar-link.active,
body[theme="duskx"] .tab.active,
body[theme="duskx"] .btn.active {
  border-color: color-mix(in srgb, var(--primary-color) 24%, transparent) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 22px color-mix(in srgb, var(--primary-color) 14%, transparent);
}

body[theme="nova"] {
  --primary-color: #ff61b6;
  --secondary-color: #29061d;
  --accent-color: #9b7bff;
  --bg-2-color: rgba(28, 7, 24, 0.84);
  --bg-color: #09030b;
  --text-color: #fff2fb;
  --text-secondary-color: #c7a7c8;
  --text-placeholder-color: #8f6d93;
  --border-color: rgba(255, 97, 182, 0.16);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 96, 182, 0.18), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(155, 123, 255, 0.16), transparent 22%),
    linear-gradient(165deg, #1a0616 0%, #0a0209 56%, #040105 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

body[theme="nova"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 122, 194, 0.18), transparent 16%),
    radial-gradient(circle at 78% 20%, rgba(155, 123, 255, 0.14), transparent 18%),
    linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.05) 48%, transparent 50%);
  filter: blur(28px);
  animation: xandersarcade-theme-pan 12s ease-in-out infinite alternate;
}

body[theme="nova"]::after {
  z-index: -1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.5px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%);
  opacity: 0.5;
  animation: xandersarcade-theme-drift 7s ease-in-out infinite;
}

body[theme="flux"] {
  --primary-color: #37d8ff;
  --secondary-color: #041623;
  --accent-color: #7af0ff;
  --bg-2-color: rgba(5, 20, 33, 0.84);
  --bg-color: #020a11;
  --text-color: #e9fcff;
  --text-secondary-color: #96c4cf;
  --text-placeholder-color: #5a8893;
  --border-color: rgba(55, 216, 255, 0.16);
  background:
    linear-gradient(160deg, #071722 0%, #030a11 50%, #01050a 100%);
}

body[theme="flux"]::before {
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 10%, rgba(55, 216, 255, 0.12) 14%, transparent 18%),
    linear-gradient(120deg, transparent 34%, rgba(122, 240, 255, 0.08) 38%, transparent 42%),
    linear-gradient(120deg, transparent 58%, rgba(55, 216, 255, 0.1) 62%, transparent 66%);
  filter: blur(8px);
  animation: xandersarcade-theme-pan 8s linear infinite alternate;
}

body[theme="flux"]::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, rgba(122, 240, 255, 0.06), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%);
}

body[theme="rift"] {
  --primary-color: #8b6fff;
  --secondary-color: #140a2e;
  --accent-color: #ff7ce6;
  --bg-2-color: rgba(20, 11, 42, 0.84);
  --bg-color: #06030f;
  --text-color: #f5efff;
  --text-secondary-color: #b7a8d1;
  --text-placeholder-color: #7d6fa0;
  --border-color: rgba(139, 111, 255, 0.18);
  background:
    linear-gradient(155deg, #1a1033 0%, #0b0617 52%, #030109 100%);
}

body[theme="rift"]::before {
  z-index: -2;
  background:
    linear-gradient(112deg, transparent 24%, rgba(139, 111, 255, 0.15) 30%, transparent 36%),
    linear-gradient(112deg, transparent 44%, rgba(255, 124, 230, 0.11) 50%, transparent 56%),
    linear-gradient(112deg, transparent 66%, rgba(139, 111, 255, 0.09) 72%, transparent 78%);
  filter: blur(16px);
  animation: xandersarcade-theme-pan 10s ease-in-out infinite alternate;
}

body[theme="rift"]::after {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 111, 255, 0.12), transparent 18%),
    radial-gradient(circle at 82% 24%, rgba(255, 124, 230, 0.08), transparent 20%);
}

body[theme="echo"] {
  --primary-color: #4ef0d0;
  --secondary-color: #07241f;
  --accent-color: #9efcff;
  --bg-2-color: rgba(7, 28, 25, 0.84);
  --bg-color: #020c0a;
  --text-color: #e9fff9;
  --text-secondary-color: #95c8bf;
  --text-placeholder-color: #5b9087;
  --border-color: rgba(78, 240, 208, 0.16);
  background:
    radial-gradient(circle at center, rgba(78, 240, 208, 0.08), transparent 30%),
    linear-gradient(160deg, #0d241f 0%, #04110f 58%, #010605 100%);
}

body[theme="echo"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(78, 240, 208, 0.16) 0 6%, transparent 7% 12%, rgba(158, 252, 255, 0.08) 13%, transparent 15% 20%, rgba(78, 240, 208, 0.06) 21%, transparent 23% 100%);
  filter: blur(6px);
  animation: xandersarcade-theme-rotate 16s linear infinite;
}

body[theme="echo"]::after {
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.015), transparent 42%);
}

body[theme="drift"] {
  --primary-color: #9ec6ff;
  --secondary-color: #10213b;
  --accent-color: #d4ebff;
  --bg-2-color: rgba(13, 25, 45, 0.8);
  --bg-color: #050b15;
  --text-color: #eff6ff;
  --text-secondary-color: #abc0d9;
  --text-placeholder-color: #7388a3;
  --border-color: rgba(158, 198, 255, 0.14);
  background:
    linear-gradient(165deg, #132745 0%, #09121f 54%, #03070d 100%);
}

body[theme="drift"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 22%, rgba(212, 235, 255, 0.11), transparent 18%),
    radial-gradient(circle at 74% 28%, rgba(158, 198, 255, 0.08), transparent 22%),
    radial-gradient(circle at 52% 78%, rgba(212, 235, 255, 0.06), transparent 26%);
  filter: blur(36px);
  animation: xandersarcade-theme-drift 9s ease-in-out infinite;
}

body[theme="drift"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%);
}

body[theme="coal"] {
  --primary-color: #8a8f99;
  --secondary-color: #131416;
  --accent-color: #d7dde8;
  --bg-2-color: rgba(18, 19, 21, 0.88);
  --bg-color: #050506;
  --text-color: #f1f3f7;
  --text-secondary-color: #9ea4ad;
  --text-placeholder-color: #666b72;
  --border-color: rgba(138, 143, 153, 0.15);
  background:
    linear-gradient(160deg, #16181c 0%, #0b0c0f 50%, #040404 100%);
}

body[theme="coal"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.04), transparent 16%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.03), transparent 18%);
  filter: blur(24px);
}

body[theme="coal"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 16%);
}

body[theme="mintx"] {
  --primary-color: #73f2c2;
  --secondary-color: #0f2b24;
  --accent-color: #c6ffeb;
  --bg-2-color: rgba(11, 29, 25, 0.84);
  --bg-color: #040c0a;
  --text-color: #ecfff7;
  --text-secondary-color: #9fc9bc;
  --text-placeholder-color: #698d83;
  --border-color: rgba(115, 242, 194, 0.15);
  background:
    linear-gradient(160deg, #14342d 0%, #081512 54%, #020706 100%);
}

body[theme="mintx"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 14%, rgba(115, 242, 194, 0.1), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(198, 255, 235, 0.07), transparent 20%);
  filter: blur(26px);
}

body[theme="mintx"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 14%);
}

body[theme="bloom"] {
  --primary-color: #ff83c5;
  --secondary-color: #2c0d24;
  --accent-color: #ffd3ea;
  --bg-2-color: rgba(32, 10, 27, 0.84);
  --bg-color: #080208;
  --text-color: #fff3fa;
  --text-secondary-color: #d2afc5;
  --text-placeholder-color: #956f89;
  --border-color: rgba(255, 131, 197, 0.16);
  background:
    linear-gradient(162deg, #3a1431 0%, #130613 52%, #060106 100%);
}

body[theme="bloom"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 131, 197, 0.16), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(255, 211, 234, 0.08), transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(255, 131, 197, 0.06), transparent 24%);
  filter: blur(28px);
}

body[theme="bloom"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18%);
}

body[theme="frostx"] {
  --primary-color: #9fd8ff;
  --secondary-color: #122434;
  --accent-color: #eef7ff;
  --bg-2-color: rgba(13, 25, 38, 0.82);
  --bg-color: #04101a;
  --text-color: #f3fbff;
  --text-secondary-color: #a8c4d8;
  --text-placeholder-color: #728ea3;
  --border-color: rgba(159, 216, 255, 0.15);
  background:
    linear-gradient(160deg, #1a3248 0%, #0a1620 54%, #03080d 100%);
}

body[theme="frostx"]::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 36px 36px,
    radial-gradient(circle at 20% 20%, rgba(159, 216, 255, 0.09), transparent 20%);
  animation: xandersarcade-theme-grid 12s linear infinite;
}

body[theme="frostx"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 15%);
}

body[theme="duskx"] {
  --primary-color: #f0a877;
  --secondary-color: #2d1e35;
  --accent-color: #f6d6b9;
  --bg-2-color: rgba(34, 21, 39, 0.84);
  --bg-color: #09050b;
  --text-color: #fff3ec;
  --text-secondary-color: #cfb0a5;
  --text-placeholder-color: #92746b;
  --border-color: rgba(240, 168, 119, 0.16);
  background:
    linear-gradient(164deg, #3c233d 0%, #18101d 48%, #080508 100%);
}

body[theme="duskx"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 168, 119, 0.12), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(246, 214, 185, 0.08), transparent 22%);
  filter: blur(28px);
}

body[theme="duskx"]::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 16%);
}

body[theme="heaven"] {
  --primary-color: #ffd36e;
  --secondary-color: #6d4d9b;
  --accent-color: #fff2c8;
  --bg-2-color: rgba(34, 26, 54, 0.8);
  --bg-color: #120d1f;
  --text-color: #fffaf0;
  --text-secondary-color: #dbcdb2;
  --text-placeholder-color: #a89a88;
  --border-color: rgba(255, 211, 110, 0.18);
  --blob-1: rgba(255, 213, 120, 0.38);
  --blob-2: rgba(255, 244, 205, 0.18);
  --blob-3: rgba(168, 134, 255, 0.22);
  background:
    radial-gradient(circle at 50% -4%, rgba(255, 244, 193, 0.32), transparent 32%),
    radial-gradient(circle at 50% 22%, rgba(255, 211, 110, 0.18), transparent 24%),
    linear-gradient(180deg, #3e2a68 0%, #201635 42%, #120d1f 78%, #0a0912 100%);
}

body[theme="heaven"]::before,
body[theme="heaven"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body[theme="heaven"]::before {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 246, 214, 0.28), transparent 18%),
    radial-gradient(circle at 20% 24%, rgba(255, 214, 130, 0.08), transparent 16%),
    radial-gradient(circle at 80% 28%, rgba(193, 171, 255, 0.1), transparent 18%);
  filter: blur(32px);
  animation: xandersarcade-heaven-halo 10s ease-in-out infinite alternate;
}

body[theme="heaven"]::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.1) 0 1.1px, transparent 1.9px),
    radial-gradient(circle at 82% 18%, rgba(255, 240, 200, 0.12) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 72%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.7px);
  opacity: 0.72;
}

body[theme="heaven"] #blobs,
body[theme="heaven"] #particles-js {
  opacity: 0.4;
  filter: saturate(1.12) brightness(1.08) hue-rotate(-12deg);
}

body[theme="heaven"] .navbar,
body[theme="heaven"] .card,
body[theme="heaven"] .section-card,
body[theme="heaven"] .search-container,
body[theme="heaven"] .input,
body[theme="heaven"] .btn,
body[theme="heaven"] .tab,
body[theme="heaven"] .shortcut,
body[theme="heaven"] .navbar-proxy,
body[theme="heaven"] #tab-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(255, 214, 126, 0.04), transparent 60%),
    var(--bg-2-color) !important;
  border-color: rgba(255, 211, 110, 0.22) !important;
  box-shadow:
    0 24px 58px rgba(4, 2, 14, 0.34),
    0 0 34px rgba(255, 211, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(1.08);
}

body[theme="heaven"] .btn:hover,
body[theme="heaven"] .shortcut:hover,
body[theme="heaven"] .tab:hover,
body[theme="heaven"] .navbar-link:hover {
  box-shadow:
    0 26px 54px rgba(8, 4, 22, 0.38),
    0 0 0 1px rgba(255, 211, 110, 0.16),
    0 0 28px rgba(255, 244, 200, 0.12);
}

body[theme="heaven"] h1,
body[theme="heaven"] h2,
body[theme="heaven"] h3,
body[theme="heaven"] #rng-text,
body[theme="heaven"] .footer-version {
  text-shadow:
    0 0 16px rgba(255, 231, 167, 0.12),
    0 0 30px rgba(255, 248, 225, 0.08);
}

.xandersarcade-heaven-scene {
  display: none;
}

body[theme="heaven"] > *:not(.xandersarcade-heaven-scene) {
  position: relative;
  z-index: 1;
}

body[theme="heaven"] .xandersarcade-heaven-scene {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body[theme="heaven"] .xandersarcade-heaven-glow {
  position: absolute;
  inset: -8% 0 auto;
  height: 58vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 249, 223, 0.72), rgba(255, 224, 148, 0.34) 24%, transparent 52%);
  filter: blur(16px);
  opacity: 0.9;
}

body[theme="heaven"] .xandersarcade-heaven-rays {
  position: absolute;
  inset: -14% -20% -22%;
  background:
    linear-gradient(100deg, transparent 34%, rgba(255, 244, 196, 0.22) 41%, transparent 49%),
    linear-gradient(84deg, transparent 28%, rgba(255, 217, 127, 0.16) 37%, transparent 46%),
    linear-gradient(118deg, transparent 45%, rgba(255, 250, 230, 0.16) 54%, transparent 64%),
    linear-gradient(90deg, transparent 46%, rgba(255, 245, 208, 0.08) 50%, transparent 54%);
  background-size: 120% 118%;
  background-position: center top;
  opacity: 0.82;
  transform-origin: top center;
  animation: xandersarcade-heaven-rays 12s ease-in-out infinite alternate;
}

body[theme="heaven"] .xandersarcade-heaven-orb {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.98), rgba(255, 248, 208, 0.92) 34%, rgba(255, 214, 126, 0.34) 58%, transparent 72%);
  box-shadow:
    0 0 48px rgba(255, 244, 194, 0.35),
    0 0 120px rgba(255, 214, 126, 0.18);
  opacity: 0.95;
  animation: xandersarcade-heaven-orb 8.5s ease-in-out infinite;
}

body[theme="heaven"] .xandersarcade-heaven-cloud {
  position: absolute;
  height: 160px;
  background-image: url("/media/heaven-cloud.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 18px 34px rgba(18, 10, 34, 0.12));
  opacity: 0.92;
}

body[theme="heaven"] .xandersarcade-heaven-cloud.cloud-a {
  width: 278px;
  left: 5%;
  top: 18%;
  animation: xandersarcade-heaven-cloud-a 28s ease-in-out infinite;
}

body[theme="heaven"] .xandersarcade-heaven-cloud.cloud-b {
  width: 368px;
  right: 7%;
  top: 15%;
  opacity: 0.86;
  animation: xandersarcade-heaven-cloud-b 34s ease-in-out infinite;
}

body[theme="heaven"] .xandersarcade-heaven-cloud.cloud-c {
  width: 324px;
  left: 18%;
  bottom: 13%;
  opacity: 0.8;
  animation: xandersarcade-heaven-cloud-c 30s ease-in-out infinite;
}

body[theme="heaven"] .xandersarcade-heaven-cloud.cloud-d {
  width: 408px;
  right: 14%;
  bottom: 9%;
  opacity: 0.72;
  animation: xandersarcade-heaven-cloud-d 38s ease-in-out infinite;
}

body[theme="heaven"] .xandersarcade-heaven-feathers {
  position: absolute;
  inset: 0;
}

body[theme="heaven"] .xandersarcade-heaven-feathers span {
  position: absolute;
  width: 12px;
  height: 34px;
  border-radius: 100% 100% 72% 72%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 233, 184, 0.34));
  box-shadow: 0 0 18px rgba(255, 247, 220, 0.16);
  opacity: 0.6;
  transform-origin: center;
  animation: xandersarcade-heaven-feather 15s linear infinite;
}

body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(1) { left: 12%; top: 18%; animation-delay: -2s; }
body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(2) { left: 28%; top: 8%; animation-delay: -7s; }
body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(3) { left: 52%; top: 12%; animation-delay: -4s; }
body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(4) { left: 68%; top: 10%; animation-delay: -10s; }
body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(5) { left: 82%; top: 16%; animation-delay: -1s; }
body[theme="heaven"] .xandersarcade-heaven-feathers span:nth-child(6) { left: 42%; top: 4%; animation-delay: -12s; }

@keyframes xandersarcade-heaven-halo {
  from { transform: scale(0.98) translateY(-6px); opacity: 0.82; }
  to { transform: scale(1.04) translateY(8px); opacity: 1; }
}

@keyframes xandersarcade-heaven-rays {
  from { transform: translateY(-12px) scale(0.98); opacity: 0.72; }
  to { transform: translateY(12px) scale(1.05); opacity: 0.94; }
}

@keyframes xandersarcade-heaven-orb {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

@keyframes xandersarcade-heaven-cloud-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(32px, -10px, 0); }
}

@keyframes xandersarcade-heaven-cloud-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-38px, 12px, 0); }
}

@keyframes xandersarcade-heaven-cloud-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -14px, 0); }
}

@keyframes xandersarcade-heaven-cloud-d {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-44px, 8px, 0); }
}

@keyframes xandersarcade-heaven-feather {
  0% {
    transform: translate3d(0, -16px, 0) rotate(-8deg);
    opacity: 0;
  }
  10% {
    opacity: 0.62;
  }
  55% {
    transform: translate3d(24px, 38vh, 0) rotate(18deg);
    opacity: 0.52;
  }
  100% {
    transform: translate3d(-18px, 78vh, 0) rotate(-16deg);
    opacity: 0;
  }
}

/* Shared full-screen coverage fix for theme layers that animate or blur beyond the viewport */
body[theme="ocean"],
body[theme="volcanic"],
body[theme="forest"],
body[theme="campfire"],
body[theme="hacker"],
body[theme="v8dark"],
body[theme="midnightoled"],
body[theme="v8light"],
body[theme="nova"],
body[theme="flux"],
body[theme="rift"],
body[theme="echo"],
body[theme="drift"],
body[theme="coal"],
body[theme="mintx"],
body[theme="bloom"],
body[theme="frostx"],
body[theme="duskx"],
body[theme="heaven"] {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: var(--bg-color);
}

body[theme="ocean"]::before,
body[theme="ocean"]::after,
body[theme="volcanic"]::before,
body[theme="volcanic"]::after,
body[theme="forest"]::before,
body[theme="forest"]::after,
body[theme="campfire"]::before,
body[theme="campfire"]::after,
body[theme="hacker"]::before,
body[theme="hacker"]::after,
body[theme="v8dark"]::before,
body[theme="v8dark"]::after,
body[theme="midnightoled"]::before,
body[theme="midnightoled"]::after,
body[theme="v8light"]::before,
body[theme="v8light"]::after,
body[theme="nova"]::before,
body[theme="nova"]::after,
body[theme="flux"]::before,
body[theme="flux"]::after,
body[theme="rift"]::before,
body[theme="rift"]::after,
body[theme="echo"]::before,
body[theme="echo"]::after,
body[theme="drift"]::before,
body[theme="drift"]::after,
body[theme="coal"]::before,
body[theme="coal"]::after,
body[theme="mintx"]::before,
body[theme="mintx"]::after,
body[theme="bloom"]::before,
body[theme="bloom"]::after,
body[theme="frostx"]::before,
body[theme="frostx"]::after,
body[theme="duskx"]::before,
body[theme="duskx"]::after,
body[theme="heaven"]::before,
body[theme="heaven"]::after {
  inset: -18vmax !important;
  transform-origin: center;
  will-change: transform, opacity, background-position;
}
