html, body {
  height: 100%;
  margin: 0;
  background: radial-gradient(1200px 600px at 20% 10%, #1a1a2e 0%, #0f0f1a 60%, #0b0b14 100%);
  color: #e6e6f0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 16px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body {
    padding: 24px;
  }
}

/* Decor */
#web-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.top-gradient {
  position: absolute;
  inset: 0 0 auto 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(233,69,96,0.35) 0%, rgba(233,69,96,0.06) 100%);
  filter: blur(0.5px);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
}
.page-frame {
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 10px 40px rgba(0,0,0,0.35) inset;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.34);
}

::selection {
  background: #E94560;
  color: #ffffff;
}

/* Center and constrain Flutter surface (best-effort) */
.flt-glass-pane {
  max-width: 1200px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
