:root {
  --bg: #020617;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --ring: #6366f1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 60;
  background: #111827;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.section-anchor {
  scroll-margin-top: 7rem;
}

[data-mobile-menu='true'][hidden] {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

#app-settings-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 7rem;
  height: 2rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #4f46e5;
  background-color: #4f46e5;
  color: #ffffff;
  line-height: 1;
}

#app-settings-trigger > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

#app-settings-trigger > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

#app-settings-trigger:hover {
  background-color: #4338ca;
  border-color: #4338ca;
}

#app-settings-menu {
  width: 100%;
  min-width: 100%;
}

#app-settings-menu a {
  white-space: nowrap;
}

.icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  font-size: 0.875em;
}

.noting-pet-live-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.noting-pet-live-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #34d399;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
