/* Quilofra appearance: hacker mainframe runtime */
:root {
  color-scheme: dark !important;
  --quilofra-appearance-id: hacker;
}

html {
  background: #020403 !important;
}

body[data-surface="quilofra-home"] {
  color: #b6ffc8 !important;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(6, 16, 6, 0.96), rgba(2, 4, 3, 1)) !important;
  overflow-x: hidden !important;
}

body[data-surface="quilofra-home"]::before,
body[data-surface="quilofra-home"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body[data-surface="quilofra-home"]::before {
  opacity: 0.34;
  background:
    linear-gradient(rgba(57, 255, 106, 0.06) 1px, transparent 1px) 0 0 / 100% 3px,
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(57, 255, 106, 0.04) 1px, transparent 1px) 0 0 / 72px 72px;
}

body[data-surface="quilofra-home"]::after {
  background:
    radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(182, 255, 200, 0.02), rgba(0, 0, 0, 0.18));
}

body[data-surface="quilofra-home"] main,
body[data-surface="quilofra-home"] .page {
  position: relative;
  z-index: 1;
}

body[data-surface="quilofra-home"] .page {
  width: min(1500px, calc(100% - 32px)) !important;
  max-width: 1500px !important;
}

body[data-surface="quilofra-home"][data-hacker-mainframe="on"] .panel {
  display: none !important;
}

body[data-surface="quilofra-home"][data-hacker-mainframe="on"] [data-hacker-mainframe] {
  display: block !important;
}

body[data-surface="quilofra-home"] [data-hacker-mainframe] ::selection {
  background: rgba(57, 255, 106, 0.24) !important;
  color: #eafff1 !important;
}

body[data-surface="quilofra-home"] [data-hacker-mainframe] :focus-visible {
  outline: 2px solid rgba(57, 255, 106, 0.68) !important;
  outline-offset: 2px !important;
}

@media (max-width: 720px) {
  body[data-surface="quilofra-home"] .page {
    width: min(100% - 20px, 100%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-surface="quilofra-home"]::before,
  body[data-surface="quilofra-home"]::after {
    animation: none !important;
  }
}
