@import url("comunes/components.css");

:root {
  color-scheme: dark;
  --bg: #050a08;
  --surface: #09120e;
  --surface-2: #0d1913;
  --surface-3: #12231a;
  --line: #193527;
  --line-soft: rgba(57, 255, 156, 0.12);
  --text: #d7f6e4;
  --muted: #789887;
  --accent: #39ff9c;
  --cyan: #19d2ff;
  --amber: #ffd166;
  --red: #ff6b6b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  font-family: "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

:root[data-tema="claro"] {
  color-scheme: light;
  --bg: #e4eae5;
  --surface: #f1f5f1;
  --surface-2: #e9efe9;
  --surface-3: #dfe7e0;
  --line: #c8d5cb;
  --line-soft: rgba(17, 120, 70, 0.12);
  --text: #1b3527;
  --muted: #5b7366;
  --accent: #087a45;
  --cyan: #087e9e;
  --amber: #986200;
  --red: #bd3a3a;
  --shadow: 0 18px 50px rgba(26, 60, 40, 0.07);
}

* {
  box-sizing: border-box;
}
html,
body,
#app {
  min-height: 100%;
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
::selection {
  color: var(--bg);
  background: var(--accent);
}
a {
  color: var(--cyan);
}
.scanline::after {
  position: fixed;
  z-index: 10;
  pointer-events: none;
  content: "";
  inset: 0;
  opacity: 0.12;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(100, 255, 170, 0.025) 4px);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
  }
}
