:root {
  --ritual-duration: 5s;
}

[data-controller="indulgence"] {
  --part-duration: calc(var(--ritual-duration) * 0.382);
  --ray-duration: calc(var(--ritual-duration) * 0.382);
  --particle-duration: calc(var(--ritual-duration) * 0.7);
  --pulse-duration: calc(var(--ritual-duration) * 0.24);
}

/* ==========================================
   INDULGENCE - SOLEMN CINEMATIC ANIMATIONS
   ========================================== */

@layer utilities {
  /* Ambient drifts for back layers (3-8px) */
  @keyframes driftBackLeft {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-5px, 2px, 0) scale(1.01); }
  }
  @keyframes driftBackRight {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(5px, -2px, 0) scale(1.01); }
  }

  /* Ambient drifts for middle layers (6-14px) */
  @keyframes driftMidLeft {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-10px, 4px, 0) scale(1.015); }
  }
  @keyframes driftMidRight {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(10px, -4px, 0) scale(1.015); }
  }

  /* Ambient drifts for front layers (8-18px) */
  @keyframes driftFrontLeft {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-14px, 6px, 0) scale(1.02); }
  }
  @keyframes driftFrontRight {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(14px, -6px, 0) scale(1.02); }
  }
  @keyframes driftFrontBottom {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 8px, 0) scale(1.01); }
  }

  /* Upward Particle Float */
  @keyframes floatUp {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    30% { opacity: 0.7; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
  }

  /* Fade In Up for Secondary Action */
  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
  }
}

/* Ambient Drifting Classes */
.animate-cloud-back-left { animation: driftBackLeft 42s ease-in-out infinite; }
.animate-cloud-back-right { animation: driftBackRight 46s ease-in-out infinite; }
.animate-cloud-mid-left { animation: driftMidLeft 32s ease-in-out infinite; }
.animate-cloud-mid-right { animation: driftMidRight 36s ease-in-out infinite; }
.animate-cloud-front-left { animation: driftFrontLeft 26s ease-in-out infinite; }
.animate-cloud-front-right { animation: driftFrontRight 28s ease-in-out infinite; }
.animate-cloud-front-bottom { animation: driftFrontBottom 30s ease-in-out infinite; }

/* Cloud & Visual Layers Base Styles & GPU-accelerated Transitions */
.cloud-mid-left-wrap,
.cloud-mid-right-wrap,
.cloud-front-left-wrap,
.cloud-front-right-wrap,
.cloud-front-bottom-wrap,
.cloud-portrait-mid-wrap,
.cloud-portrait-frame-wrap,
.light-bloom-wrap {
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform var(--part-duration, 3.05s) cubic-bezier(0.33, 0, 0.2, 1),
              opacity var(--part-duration, 3.05s) ease;
}

.cloud-portrait-frame-wrap,
.cloud-portrait-mid-wrap {
  display: none;
}

.light-rays-wrap {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.95);
  transition: opacity var(--ray-duration, 1.4s) cubic-bezier(0.4, 0, 0.2, 1),
              transform var(--ray-duration, 1.4s) cubic-bezier(0.33, 0, 0.2, 1);
}

/* Pause ambient drift during parting / absolution */
.is-parting [class*="animate-cloud-"],
.is-absolved [class*="animate-cloud-"] {
  animation-play-state: paused;
}

/* Parting and Absolved states */
.is-parting .cloud-mid-left-wrap,
.is-absolved .cloud-mid-left-wrap {
  transform: translate3d(-48px, -8px, 0) scale(1.02);
}

.is-parting .cloud-mid-right-wrap,
.is-absolved .cloud-mid-right-wrap {
  transform: translate3d(48px, -8px, 0) scale(1.02);
}

.is-parting .cloud-front-left-wrap,
.is-absolved .cloud-front-left-wrap {
  transform: translate3d(-30px, 8px, 0) scale(1.015);
}

.is-parting .cloud-front-right-wrap,
.is-absolved .cloud-front-right-wrap {
  transform: translate3d(30px, 8px, 0) scale(1.015);
}

.is-parting .cloud-front-bottom-wrap,
.is-absolved .cloud-front-bottom-wrap {
  transform: translate3d(0, 40px, 0) scale(0.98);
}

.is-parting .cloud-portrait-mid-wrap,
.is-absolved .cloud-portrait-mid-wrap {
  transform: translate3d(0, -22px, 0) scale(1.05);
}

.is-parting .cloud-portrait-frame-wrap,
.is-absolved .cloud-portrait-frame-wrap {
  transform: translate3d(0, 26px, 0) scale(1.04);
}

.is-parting .light-bloom-wrap,
.is-absolved .light-bloom-wrap,
.is-glowing .light-bloom-wrap {
  transform: translate3d(0, 0, 0) scale(1.08);
}

.is-rays-revealed .light-rays-wrap,
.is-absolved .light-rays-wrap {
  opacity: 0.75;
  transform: translate3d(0, 0, 0) scale(1.0);
}

/* Graceful smooth return on ritual reset */
.is-resetting .cloud-back-left-wrap,
.is-resetting .cloud-back-right-wrap,
.is-resetting .cloud-mid-left-wrap,
.is-resetting .cloud-mid-right-wrap,
.is-resetting .cloud-front-left-wrap,
.is-resetting .cloud-front-right-wrap,
.is-resetting .cloud-front-bottom-wrap,
.is-resetting .sky-background-wrap,
.is-resetting .light-rays-wrap,
.is-resetting .light-bloom-wrap,
.is-resetting .cloud-portrait-mid-wrap,
.is-resetting .cloud-portrait-frame-wrap {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.is-absolved .particle-item {
  animation: floatUp var(--particle-duration, 4s) ease-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Particle Stagger Delays */
.particle-item:nth-child(1) { animation-delay: 0.1s; left: 25%; }
.particle-item:nth-child(2) { animation-delay: 0.4s; left: 45%; }
.particle-item:nth-child(3) { animation-delay: 0.7s; left: 60%; }
.particle-item:nth-child(4) { animation-delay: 0.2s; left: 75%; }
.particle-item:nth-child(5) { animation-delay: 0.9s; left: 35%; }

/* Custom Solemn Button Styling */
.indulgence-button {
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(255, 248, 220, 0.05);
}

.indulgence-button:hover:not(:disabled) {
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.4), inset 0 0 25px rgba(255, 248, 220, 0.15);
  transform: translateY(-1px) scale(1.015);
  border-color: rgba(234, 198, 92, 0.8);
}

.indulgence-button:active:not(:disabled) {
  transform: scale(0.985);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.indulgence-button.is-absolved-state {
  box-shadow: 0 0 50px rgba(255, 250, 230, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(18, 16, 24, 0.85);
}

.indulgence-button:disabled,
.indulgence-button.is-processing-state,
.indulgence-button.is-pulsing-state {
  transform: none !important;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), inset 0 0 15px rgba(255, 248, 220, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  cursor: default;
}

/* Overlapping Grid Layout inside Button */
.button-labels-grid {
  display: inline-grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
}

.button-label {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translate3d(0, 0.15em, 0);
  filter: blur(2px);
  pointer-events: none;
  transition: opacity 360ms ease-out 80ms, transform 360ms cubic-bezier(0.16, 1, 0.3, 1) 80ms, filter 360ms ease-out 80ms;
}

.button-label.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  pointer-events: auto;
  transition: opacity 300ms ease-out, transform 300ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease-out;
}

.button-label.is-outgoing {
  opacity: 0;
  transform: translate3d(0, -0.15em, 0);
  filter: blur(2px);
  pointer-events: none;
  transition: opacity 200ms ease-in, transform 200ms ease-in, filter 200ms ease-in;
}

/* Top utility control atmospheric scrim */
.top-utility-scrim {
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(4, 6, 10, 0.65) 0%,
    rgba(4, 6, 10, 0.4) 40%,
    rgba(4, 6, 10, 0.12) 75%,
    transparent 100%
  );
  z-index: 10;
}

/* Language link custom contrast designs */
.locale-link {
  color: rgba(248, 242, 226, 0.76);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
  font-weight: 500;
  transition: all 0.3s ease;
}

.locale-link:hover {
  color: rgba(255, 248, 220, 1);
  text-shadow: 0 1px 8px rgba(212, 175, 55, 0.4);
}

.locale-link-active {
  color: rgba(252, 232, 178, 1) !important;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(252, 232, 178, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95), 0 0 8px rgba(212, 175, 55, 0.3);
}

.locale-separator {
  color: rgba(248, 242, 226, 0.4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  margin: 0 2px;
}

/* Sound control high-visibility button */
.sound-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  color: rgba(248, 242, 226, 0.82);
  background: rgba(8, 12, 20, 0.65);
  border: 1px solid rgba(248, 242, 226, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
  color: rgba(252, 232, 178, 1);
  background: rgba(8, 12, 20, 0.85);
  border-color: rgba(252, 232, 178, 0.4);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* Circular Golden Progress Rays Overlay */
.button-rays-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  transition: opacity 300ms ease-out;
  overflow: visible;
}

.ray-track {
  opacity: 0.8;
}

.ray-stream {
  opacity: 0.95;
  stroke-linecap: round;
}

.ray-head {
  display: none;
}

.button-rays-overlay.is-fully-closed {
  filter: drop-shadow(0 0 10px rgba(255, 235, 150, 0.7)) !important;
  transition: filter 500ms ease-out, opacity 400ms ease-out;
}

.donation-link {
  color: rgba(252, 232, 178, 0.95) !important;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  border-bottom: 1.5px solid rgba(252, 232, 178, 0.6);
  transition: all 0.3s ease;
}

.donation-link:hover {
  color: rgba(255, 248, 220, 1) !important;
  border-bottom-color: rgba(255, 248, 220, 1);
  text-shadow: 0 1px 12px rgba(212, 175, 55, 0.5);
}

.reset-btn {
  color: rgba(239, 232, 216, 0.8) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.reset-btn:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(255, 255, 255, 0.3);
}

/* Responsive and orientation rules */
@media (max-width: 400px) {
  .indulgence-button {
    font-size: 0.875rem !important;
    letter-spacing: 0.08em !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

main {
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
}

@media (orientation: portrait) and (max-width: 1024px) {
  header {
    padding-top: calc(1.25rem + env(safe-area-inset-top)) !important;
    padding-left: calc(1.25rem + env(safe-area-inset-left)) !important;
    padding-right: calc(1.25rem + env(safe-area-inset-right)) !important;
  }
  
  main {
    padding-bottom: calc(1.0rem + env(safe-area-inset-bottom)) !important;
  }

  /* Reset landscape-specific cloud layouts */
  .cloud-back-left-wrap,
  .cloud-back-right-wrap,
  .cloud-mid-left-wrap,
  .cloud-mid-right-wrap,
  .cloud-front-left-wrap,
  .cloud-front-right-wrap,
  .cloud-front-bottom-wrap,
  .light-bloom-wrap {
    display: none !important;
  }

  /* Portrait Clouds: Mid Depth & Foreground Frame */
  .cloud-portrait-mid-wrap {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9;
    pointer-events: none;
  }

  .cloud-portrait-frame-wrap {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 10;
    pointer-events: none;
  }

  .central-container {
    padding-bottom: 4.5rem;
  }

  /* Seamless light rays covering the whole screen without any top cutoff */
  .light-rays-wrap {
    z-index: 12 !important;
    mix-blend-mode: screen;
    position: absolute !important;
    top: -6vh !important;
    left: -5vw !important;
    width: 110vw !important;
    height: 115vh !important;
    transform-origin: center top !important;
    transform: scale(1.0) !important;
  }

  .is-rays-revealed .light-rays-wrap,
  .is-absolved .light-rays-wrap {
    opacity: 0.85 !important;
    transform: scale(1.06) !important;
  }

  .light-rays-wrap img {
    mix-blend-mode: normal;
  }
}

@media (min-width: 1025px) {
  .light-rays-wrap,
  .light-bloom-wrap {
    mix-blend-mode: screen;
  }

  .light-rays-wrap img,
  .light-bloom-wrap img {
    mix-blend-mode: normal;
  }

  .indulgence-button {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Accessibility: Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
  .animate-cloud-back-left,
  .animate-cloud-back-right,
  .animate-cloud-mid-left,
  .animate-cloud-mid-right,
  .animate-cloud-front-left,
  .animate-cloud-front-right,
  .animate-cloud-front-bottom,
  .is-absolved .particle-item,
  .animate-fade-in-up {
    animation: none !important;
    transition: opacity 0.3s ease-in-out !important;
  }
  .button-label {
    transition: opacity 0.2s ease-in-out !important;
    transform: none !important;
    filter: none !important;
  }
  .cloud-mid-left-wrap,
  .cloud-mid-right-wrap,
  .cloud-front-left-wrap,
  .cloud-front-right-wrap,
  .cloud-front-bottom-wrap,
  .cloud-portrait-frame-wrap,
  .light-rays-wrap,
  .light-bloom-wrap {
    transition-duration: 0.01ms !important;
  }
}

/* Pause animations when tab is hidden */
.is-hidden-tab .animate-cloud-back-left,
.is-hidden-tab .animate-cloud-back-right,
.is-hidden-tab .animate-cloud-mid-left,
.is-hidden-tab .animate-cloud-mid-right,
.is-hidden-tab .animate-cloud-front-left,
.is-hidden-tab .animate-cloud-front-right,
.is-hidden-tab .animate-cloud-front-bottom {
  animation-play-state: paused !important;
}

/* Compact quality control and guidance buttons */
.quality-toggle-btn,
.guidance-toggle-btn,
.share-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  color: rgba(248, 242, 226, 0.82);
  background: rgba(8, 12, 20, 0.65);
  border: 1px solid rgba(248, 242, 226, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.quality-toggle-btn:hover,
.guidance-toggle-btn:hover,
.share-toggle-btn:hover {
  color: rgba(252, 232, 178, 1);
  background: rgba(8, 12, 20, 0.85);
  border-color: rgba(252, 232, 178, 0.4);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* Ritual Medallions attached to the main action */
.guidance-toggle-btn,
.share-toggle-btn {
  --medallion-angle: -8deg;
  color: rgba(252, 232, 178, 0.92);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) rotate(var(--medallion-angle)) scale(1);
  isolation: isolate;
  transition: opacity 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.guidance-toggle-btn::before,
.share-toggle-btn::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  border-radius: 9999px;
  background: rgba(8, 12, 20, 0.84);
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.48), 0 0 9px rgba(212, 175, 55, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.share-toggle-btn {
  --medallion-angle: 6deg;
  color: rgba(252, 232, 178, 0.94);
  transform: translate3d(0, 0, 0) rotate(var(--medallion-angle)) scale(1);
}

.guidance-toggle-btn.medallion-hidden,
.share-toggle-btn.medallion-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(24px, 20px, 0) rotate(var(--medallion-angle)) scale(0.6);
  transition: opacity 200ms ease, transform 250ms ease, visibility 0s linear 250ms;
}

.guidance-toggle-btn.medallion-exiting,
.share-toggle-btn.medallion-exiting {
  opacity: 0;
  transform: translate3d(24px, 20px, 0) rotate(var(--medallion-angle)) scale(0.6);
  transition: opacity 250ms ease, transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.guidance-toggle-btn.medallion-entering,
.share-toggle-btn.medallion-entering {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--medallion-angle)) scale(1);
  transition: opacity 300ms ease, transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.guidance-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1;
  transform: rotate(8deg) translateY(-0.5px);
}

.share-glyph {
  width: 16px;
  height: 16px;
  stroke-width: 1.65;
  transform: rotate(-6deg);
}

.guidance-toggle-btn:hover,
.share-toggle-btn:hover {
  color: rgba(255, 239, 194, 1);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.guidance-toggle-btn:hover::before,
.guidance-toggle-btn:focus-visible::before,
.share-toggle-btn:hover::before,
.share-toggle-btn:focus-visible::before {
  background: rgba(8, 12, 20, 0.94);
  border-color: rgba(252, 232, 178, 0.86);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.52), 0 0 12px rgba(212, 175, 55, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .guidance-toggle-btn,
  .share-toggle-btn,
  .guidance-toggle-btn.medallion-hidden,
  .share-toggle-btn.medallion-hidden,
  .guidance-toggle-btn.medallion-exiting,
  .share-toggle-btn.medallion-exiting,
  .guidance-toggle-btn.medallion-entering,
  .share-toggle-btn.medallion-entering {
    transition-duration: 0.01ms;
  }
}

.share-toast {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 9999px;
  color: rgba(252, 232, 178, 0.95);
  background: rgba(8, 12, 20, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Modal Guidance Backdrop and Card Transition */
.guidance-dialog-backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  transition: opacity 250ms ease-out;
}

.guidance-card {
  background: rgba(10, 12, 18, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), opacity 250ms ease-out;
}

.guidance-card-active {
  transform: scale(1) translate3d(0, 0, 0) !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .guidance-dialog-backdrop,
  .guidance-card {
    transition: opacity 0.1s ease-in-out !important;
    transform: none !important;
  }
  .settings-popover-transition {
    transition: opacity 0.1s ease-in-out !important;
    transform: none !important;
  }
}

.indulgence-button.is-pulsing-state {
  animation: buttonPulseHalo var(--pulse-duration, 1.2s) ease-out forwards !important;
}

.active-setting {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #fde68a !important;
  font-weight: 600 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.active-severity-bullet {
  background-color: #fbbf24 !important;
}

.settings-popover-transition {
  transition: opacity 200ms ease-out, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.locale-toggle-btn {
  color: rgba(248, 242, 226, 0.76);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
  font-weight: 500;
  transition: all 0.3s ease;
}

.locale-toggle-btn:hover,
.locale-toggle-btn[aria-expanded="true"] {
  color: rgba(255, 248, 220, 1);
  text-shadow: 0 1px 8px rgba(212, 175, 55, 0.4);
}
