html.dark {
  color-scheme: dark;
}

.site-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.site-nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.125rem;
}

[data-nav-link].site-nav-home.is-current {
  border-bottom: 0 !important;
  padding-bottom: 0.125rem;
}

[data-mobile-menu][hidden] {
  display: none !important;
}

.status-marquee {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.status-marquee-track {
  display: inline-flex;
  min-width: max-content;
  white-space: nowrap;
  align-items: center;
  will-change: transform;
}

.status-marquee-segment {
  display: inline-flex;
  align-items: center;
  padding-right: 3rem;
}

.pulsing-dot {
  animation: pulse-dot 1.8s ease-in-out infinite;
}

[data-nav-link].is-current {
  color: #d2541e !important;
  border-bottom: 2px solid #d2541e;
  padding-bottom: 0.25rem;
  font-weight: 500;
}

[data-filter-button].is-active {
  background-color: #a43700 !important;
  color: #ffffff !important;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes status-ticker {
  0%,
  12% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .status-marquee-track {
    animation: status-ticker 16s linear infinite;
  }
}

@media (min-width: 768px) {
  .status-marquee {
    overflow: visible;
  }

  .status-marquee-track {
    animation: none;
    transform: none;
  }

  .status-marquee-segment + .status-marquee-segment {
    display: none;
  }
}

html.dark body {
  background-color: #0e0e0c !important;
  background-image:
    radial-gradient(circle at top left, rgba(210, 84, 30, 0.14), transparent 28%),
    linear-gradient(180deg, #0a0a09 0%, #11110f 100%) !important;
  color: #f2f2ec;
}

html.dark .grain,
html.dark .grain-overlay {
  opacity: 0.05;
}

html.dark [data-nav-link].is-current {
  color: #ffb59b !important;
  border-color: #ffb59b;
}

html.dark [data-filter-button].is-active {
  background-color: #c84d16 !important;
  color: #ffffff !important;
}

html.dark body::before {
  opacity: 0.035;
  mix-blend-mode: screen;
}

html.dark [class*="bg-[#F9F9F6]"] {
  background-color: #0e0e0c !important;
}

html.dark [class*="bg-[#F9F9F6]/80"] {
  background-color: rgba(14, 14, 12, 0.82) !important;
}

html.dark [class*="bg-[#F4F4F1]"],
html.dark [class~="bg-surface-container-low"],
html.dark [class*="bg-surface-container-low"] {
  background-color: #1b1b18 !important;
}

html.dark [class*="bg-[#EEEEEB]"],
html.dark [class~="bg-surface-container"] {
  background-color: #21211d !important;
}

html.dark [class~="bg-surface"] {
  background-color: #0e0e0c !important;
}

html.dark [class~="bg-surface-container-lowest"] {
  background-color: #141412 !important;
}

html.dark [class~="bg-surface-container-high"] {
  background-color: #262622 !important;
}

html.dark [class~="bg-surface-container-highest"] {
  background-color: #2d2d28 !important;
}

html.dark [class*="bg-surface/90"] {
  background-color: rgba(20, 20, 18, 0.92) !important;
}

html.dark [class*="text-[#1A1C1B]"],
html.dark [class~="text-on-surface"] {
  color: #f2f2ec !important;
}

html.dark [class~="text-on-surface-variant"] {
  color: rgba(242, 242, 236, 0.74) !important;
}

html.dark [class*="text-[#1A1C1B]/80"] {
  color: rgba(242, 242, 236, 0.8) !important;
}

html.dark [class*="text-[#1A1C1B]/60"] {
  color: rgba(242, 242, 236, 0.6) !important;
}

html.dark [class*="text-[#1A1C1B]/50"] {
  color: rgba(242, 242, 236, 0.5) !important;
}

html.dark [class*="text-[#1A1C1B]/40"] {
  color: rgba(242, 242, 236, 0.4) !important;
}

html.dark [class*="text-on-surface/90"] {
  color: rgba(242, 242, 236, 0.9) !important;
}

html.dark [class*="text-on-surface/20"] {
  color: rgba(242, 242, 236, 0.2) !important;
}

html.dark [class*="border-surface-container-high"],
html.dark [class*="border-outline-variant/10"],
html.dark [class*="border-outline-variant/30"] {
  border-color: rgba(242, 242, 236, 0.14) !important;
}

html.dark [class*="ring-outline-variant/30"] {
  --tw-ring-color: rgba(242, 242, 236, 0.18) !important;
}

html.dark .prose,
html.dark .prose p,
html.dark .prose li {
  color: rgba(242, 242, 236, 0.86) !important;
}

html.dark .prose h1,
html.dark .prose h2,
html.dark .prose h3,
html.dark .prose h4,
html.dark .prose strong,
html.dark .prose blockquote,
html.dark .prose figcaption {
  color: #f2f2ec !important;
}

html.dark .prose blockquote {
  border-color: rgba(242, 242, 236, 0.14) !important;
}

html.dark input,
html.dark select,
html.dark textarea {
  color: #f2f2ec;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
  color: rgba(242, 242, 236, 0.32);
}
