html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(214, 109, 63, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 104, 119, 0.12), transparent 24%),
    linear-gradient(180deg, #f6efe6 0%, #efe4d5 100%) !important;
  color: #17324a !important;
}

canvas.fixed.inset-0 {
  opacity: 0.12 !important;
}

.text-foreground {
  color: #17324a !important;
}

.text-muted {
  color: #637789 !important;
}

.text-gold {
  color: #c05f33 !important;
}

.bg-surface,
.bg-surface\/95,
.bg-surface\/90,
.bg-surface\/80,
[class*="bg-surface/"],
[class*="bg-surface-light/"],
.bg-surface-light {
  background: rgba(255, 249, 240, 0.9) !important;
}

.border-border,
[class*="border-border"],
[class*="border-gold/"],
[class*="border-blue/"] {
  border-color: rgba(184, 135, 107, 0.32) !important;
}

.bg-gold,
[class*="bg-gold/"] {
  background-color: rgba(192, 95, 51, 0.14) !important;
}

[class*="via-border"] {
  --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;
}

aside,
main,
section,
footer,
.rounded-lg,
.rounded-xl,
.rounded-2xl {
  box-shadow: none;
}

aside {
  background: rgba(252, 246, 238, 0.94) !important;
  backdrop-filter: blur(14px);
}

pre,
code,
.font-mono {
  color: #193042 !important;
}

pre {
  background: #f7efe5 !important;
}

button,
a {
  transition-duration: 0s !important;
}

.glow-card {
  background: rgba(255, 249, 240, 0.92) !important;
}

.fixed.bottom-4,
a[href="/api/logout"] {
  background: rgba(255, 248, 239, 0.95) !important;
  color: #c05f33 !important;
  border-color: rgba(192, 95, 51, 0.28) !important;
}

.dr-hero-card {
  overflow: hidden !important;
  padding-top: 0 !important;
}

.dr-hero-shell {
  min-height: 480px !important;
  height: 480px !important;
  align-items: stretch !important;
}

.dr-hero-copy {
  flex: 1 1 auto !important;
  max-width: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.dr-hero-badge {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1 !important;
  box-shadow: 0 12px 30px rgba(192, 95, 51, 0.08);
}

.dr-hero-copy h1 {
  max-width: none !important;
  font-size: clamp(1.875rem, 4.6vw, 3rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.04em !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.dr-hero-copy p {
  max-width: 32rem !important;
  font-size: clamp(1rem, 1.4vw, 1.125rem) !important;
}

.dr-hero-stats {
  max-width: 24rem !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.dr-hero-stats > div {
  background: rgba(255, 251, 245, 0.9) !important;
}

.dr-hero-cta {
  box-shadow: 0 16px 40px rgba(192, 95, 51, 0.14);
}

.dr-hero-spline {
  display: none !important;
}

.opacity-0 {
  opacity: 1 !important;
}

.translate-y-8,
.transform.translate-y-8 {
  transform: none !important;
}

.max-h-0 {
  max-height: none !important;
}

.overflow-hidden.transition-all.duration-300.ease-in-out.max-h-0.opacity-0 {
  opacity: 1 !important;
}

[class*="transition-"] {
  transition-duration: 0s !important;
}

.dr-session-chip {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(28, 9, 9, 0.96) 0%, rgba(10, 6, 6, 0.98) 100%);
  border: 1px solid rgba(255, 185, 120, 0.28);
  color: #f9e9d7;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
}

.dr-session-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 176, 71, 0.16), transparent 42%),
    linear-gradient(90deg, transparent 0%, rgba(255, 120, 71, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

.dr-session-chip-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dr-session-chip-label {
  color: rgba(249, 233, 215, 0.76);
}

.dr-session-chip-status {
  color: #ffb56b;
}

.dr-session-chip strong {
  position: relative;
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: #ffd38a;
  text-shadow:
    0 0 18px rgba(255, 164, 61, 0.24),
    0 0 42px rgba(255, 102, 61, 0.14);
  font-weight: 600;
}

.dr-session-chip-subtext {
  position: relative;
  color: rgba(249, 233, 215, 0.52);
  letter-spacing: 0.08em;
  font-size: 10px;
}

.dr-session-chip.is-warning strong {
  color: #ff8c5a;
  text-shadow:
    0 0 18px rgba(255, 112, 61, 0.34),
    0 0 48px rgba(255, 46, 46, 0.24);
  animation: dr-alert-pulse 1s steps(2, end) infinite;
}

.dr-session-chip.is-warning .dr-session-chip-status {
  color: #ff6b57;
}

.dr-session-chip.is-warning {
  border-color: rgba(255, 95, 63, 0.42);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 85, 58, 0.14),
    0 0 34px rgba(255, 85, 58, 0.12);
}

@keyframes dr-alert-pulse {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.76;
    transform: translateY(1px);
  }
}

@media (max-width: 1023px) {
  aside[data-static-nav].is-open {
    transform: translateX(0) !important;
  }

  .dr-hero-card {
    padding-top: 0 !important;
  }

  .dr-hero-copy {
    max-width: none;
    padding-top: 0 !important;
  }

  .dr-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.4rem) !important;
  }

  .dr-hero-copy p {
    max-width: none !important;
  }

  .dr-hero-stats {
    max-width: none !important;
  }

  .dr-session-chip {
    top: auto;
    bottom: 70px;
    right: 14px;
    left: 14px;
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .dr-hero-shell {
    min-height: 540px !important;
    height: 540px !important;
  }
}
