@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/terminal/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/terminal/JetBrainsMono-Bold.woff2") format("woff2");
}
html[data-ui-theme="terminal"] {
  color-scheme: dark;
  background: #0a0a0a;
}
html[data-ui-theme="terminal"]
  *:not([data-theme-preview]):not([data-theme-preview] *) {
  border-radius: 0 !important;
  box-shadow: none !important;
  scrollbar-color: #33ff00 #0a0a0a;
}
html[data-ui-theme="terminal"]
  [dir="auto"]:not([style*="ionicons"]):not([data-theme-preview] *),
html[data-ui-theme="terminal"] input,
html[data-ui-theme="terminal"] textarea,
html[data-ui-theme="terminal"] [data-testid="spending-pet-message"] {
  font-family: "JetBrains Mono", monospace !important;
  font-variant-numeric: tabular-nums;
}
html[data-ui-theme="terminal"] [data-testid="glass-backdrop"],
html[data-ui-theme="terminal"] [data-testid="settings-screen"] {
  background: #0a0a0a !important;
}
html[data-ui-theme="terminal"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483646;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #33ff0007 3px 4px
  );
}
html[data-ui-theme="terminal"] [data-terminal-surface],
html[data-ui-theme="terminal"] [data-testid^="pocket-gradient-"],
html[data-ui-theme="terminal"] [data-testid="remaining-balance"],
html[data-ui-theme="terminal"] [data-testid="spending-remaining-balance"],
html[data-ui-theme="terminal"] [data-testid="spending-pet-message"] {
  background: #0a0a0a !important;
  border: 1px solid #1f521f !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-ui-theme="terminal"] [data-terminal-control],
html[data-ui-theme="terminal"]
  [data-testid^="ui-theme-"]:not([data-testid="ui-theme-picker"]):not(
    [data-testid="ui-theme-screen"]
  ),
html[data-ui-theme="terminal"] [data-testid="month-switcher"] {
  border: 1px solid #1f521f !important;
}
html[data-ui-theme="terminal"] [data-testid="liquid-sidebar-glass"],
html[data-ui-theme="terminal"] [data-testid="liquid-tab-glass"] {
  background: #173311 !important;
  border: 1px solid #33ff00 !important;
}
html[data-ui-theme="terminal"] [data-testid="monthly-metric-3"] {
  border-color: #ffb000 !important;
}
html[data-ui-theme="terminal"] [data-testid^="monthly-metric-"]::after,
html[data-ui-theme="terminal"] [data-testid^="pocket-gradient-"]::after,
html[data-ui-theme="terminal"] [data-testid="spending-summary"]::after {
  display: none !important;
}
html[data-ui-theme="terminal"] [role="progressbar"] {
  height: 9px !important;
  border: 1px solid #1f521f;
  background: #0a0a0a !important;
}
html[data-ui-theme="terminal"] [role="progressbar"] > * {
  background: repeating-linear-gradient(
    90deg,
    #33ff00 0 3px,
    transparent 3px 5px
  ) !important;
  animation: none !important;
}
html[data-ui-theme="terminal"] [data-terminal-heading] {
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 0 5px #33ff0030;
  animation: terminal-reveal 450ms steps(16, end) both;
}
@media (min-width: 980px) {
  html[data-ui-theme="terminal"] [data-testid="page-title"] {
    font-size: 20px !important;
    line-height: 28px !important;
  }
}
html[data-ui-theme="terminal"] [data-terminal-heading]::before {
  content: "> ";
  color: #ffb000;
}
html[data-ui-theme="terminal"] [data-terminal-heading]::after {
  content: "_";
  animation: terminal-cursor 1.2s steps(1, end) infinite;
}
html[data-ui-theme="terminal"] input,
html[data-ui-theme="terminal"] textarea {
  background: #0a0a0a !important;
  color: #33ff00 !important;
  caret-color: #33ff00;
  border: 0 !important;
  border-bottom: 1px solid #1f521f !important;
}
html[data-ui-theme="terminal"] input::placeholder,
html[data-ui-theme="terminal"] textarea::placeholder {
  color: #91b78a;
}
html[data-ui-theme="terminal"]
  :is([role="button"], [role="tab"]):not([aria-disabled="true"]):not(
    :disabled
  ):hover {
  background: #33ff00 !important;
}
html[data-ui-theme="terminal"]
  :is([role="button"], [role="tab"]):hover
  [dir="auto"]:not([data-theme-preview] *) {
  color: #0a0a0a !important;
  text-shadow: none;
}
html[data-ui-theme="terminal"] :focus-visible {
  outline: 2px solid #ffb000 !important;
  outline-offset: 3px;
}
@keyframes terminal-cursor {
  50% {
    opacity: 0;
  }
}
@keyframes terminal-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-ui-theme="terminal"] [data-terminal-heading],
  html[data-ui-theme="terminal"] [data-terminal-heading]::after {
    animation: none !important;
  }
}
@media (prefers-contrast: more) {
  html[data-ui-theme="terminal"] body::after {
    display: none;
  }
}
