/* foundation.css */
:root {
  color-scheme: light;
  --desk: #efb6d5;
  --body: #f3e1ec;
  --panel: #fbf2f7;
  --input: #fbf3f8;
  --card: #ffffff;
  --hover: #ead0df;
  --soft: #f7e9f1;
  --line: #ecd3e2;
  --line2: #f0dbe7;
  --line3: #e2c6d6;
  --ink: #3a2433;
  --ink2: #4a3042;
  --mute2: #6f5264;
  --mute: #8a6c7e;
  --acc: #a24d84;
  --link: #8e3d72;
  --link-h: #5e2249;
  --err: #9c2f45;
  --ok: #23866a;
  --pri: #3a2433;
  --pri-fg: #fbeef6;
  --pri-h: #4d3044;
  --tab: rgba(251, 238, 246, 0.55);
  --tab-h: rgba(251, 238, 246, 0.8);
  --menu: rgba(251, 242, 247, 0.98);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --desk: #2b1626;
  --body: #251621;
  --panel: #1c1119;
  --input: #291923;
  --card: #2d1b28;
  --hover: #3a2434;
  --soft: #2f1e29;
  --line: #43293a;
  --line2: #34202c;
  --line3: #563548;
  --ink: #fbeef6;
  --ink2: #e6d2de;
  --mute2: #b99dae;
  --mute: #a98d9e;
  --acc: #d889b8;
  --link: #f4a9d4;
  --link-h: #ffd3ea;
  --err: #ff8ca4;
  --ok: #5fd3a9;
  --pri: #fbeef6;
  --pri-fg: #2a1621;
  --pri-h: #ffffff;
  --tab: rgba(255, 255, 255, 0.06);
  --tab-h: rgba(255, 255, 255, 0.11);
  --menu: rgba(38, 23, 33, 0.98);
}

/* start-page.css */
.st-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.st-bg i {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  will-change: transform;
  opacity: 0.55;
}
.st-bg .a1 {
  width: 520px;
  height: 520px;
  left: -120px;
  top: -160px;
  background: #ff9fcf;
  transform: translate(calc(var(--mx) * -34px), calc(var(--my) * -26px));
  animation: stA 16s ease-in-out infinite alternate;
}
.st-bg .a2 {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 10%;
  background: #b79cf2;
  transform: translate(calc(var(--mx) * 40px), calc(var(--my) * 30px));
  animation: stB 19s ease-in-out infinite alternate;
}
.st-bg .a3 {
  width: 420px;
  height: 420px;
  left: 30%;
  bottom: -200px;
  background: #ffd0a6;
  opacity: 0.42;
  transform: translate(calc(var(--mx) * -24px), calc(var(--my) * 36px));
  animation: stC 14s ease-in-out infinite alternate;
}
.st-bg .a4 {
  width: 260px;
  height: 260px;
  right: 22%;
  bottom: 12%;
  background: #9fd8ff;
  opacity: 0.35;
  transform: translate(calc(var(--mx) * 28px), calc(var(--my) * -22px));
  animation: stA 21s ease-in-out infinite alternate-reverse;
}
:root[data-theme='dark'] .st-bg i {
  opacity: 0.34;
}
:root[data-theme='dark'] .st-bg .a1 {
  background: #b3418a;
}
:root[data-theme='dark'] .st-bg .a2 {
  background: #4b3a9e;
}
:root[data-theme='dark'] .st-bg .a3 {
  background: #7a3a5a;
  opacity: 0.3;
}
:root[data-theme='dark'] .st-bg .a4 {
  background: #2f6aa8;
  opacity: 0.25;
}
@keyframes stA {
  to {
    margin: 60px 0 0 70px;
    scale: 1.18;
  }
}
@keyframes stB {
  to {
    margin: -50px 0 0 -60px;
    scale: 1.22;
  }
}
@keyframes stC {
  to {
    margin: -40px 0 0 80px;
    scale: 0.82;
  }
}

/* start-page.css */
.st-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* browser-enhancements.css */
.color-themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 12px;
}
.color-theme {
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  text-align: left;
  transition:
    transform 0.18s,
    border-color 0.18s;
  min-width: 0;
}
.color-theme:hover {
  transform: translateY(-2px);
  border-color: var(--mute);
}
.color-theme:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 3px;
}
.color-theme[aria-pressed='true'] {
  border-color: var(--acc);
}
.palette-preview {
  height: 76px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  background: hsl(var(--preview-h) var(--preview-s) 82%);
  padding: 5px 9px 0;
}
.palette-dots {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 2px;
  color: hsl(var(--preview-h) var(--preview-s) 36%);
  line-height: 15px;
}
.palette-window {
  display: flex;
  gap: 6px;
  height: 55px;
  padding: 8px;
  border-radius: 6px 6px 0 0;
  background: hsl(var(--preview-h) var(--preview-s) 96%);
}
.palette-window > i:first-child {
  width: 23%;
  border-radius: 3px;
  background: hsl(var(--preview-h) var(--preview-s) 87%);
}
.palette-window > i:last-child {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(
    hsl(var(--preview-h) var(--preview-s) 72%) 0 7px,
    transparent 7px 13px,
    hsl(var(--preview-h) var(--preview-s) 90%) 13px 18px,
    transparent 18px
  );
}
.palette-name {
  display: block;
  padding: 9px 3px 4px;
  font-size: 12px;
  font-weight: 750;
}
.palette-check {
  display: none;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--card);
  text-align: center;
  line-height: 21px;
  font-weight: 800;
}
.color-theme[aria-pressed='true'] .palette-check {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .color-theme {
    transition: none;
  }
  .color-theme:hover {
    transform: none;
  }
}

/* luna-glass.css */
.color-theme.ct-abyss .palette-preview {
  background: #07080d;
  box-shadow: inset 0 0 0 1px #1a1d2a;
}
.color-theme.ct-abyss .palette-dots {
  color: #8f9bff;
}
.color-theme.ct-abyss .palette-window {
  background: #10121b;
  box-shadow: 0 0 18px -4px #5b66ff;
}
