@font-face {
  font-family: Mali;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/hand-drawn/Mali-Regular.ttf") format("truetype");
}
[data-theme-preview="hand-drawn"] {
  border-radius: 18px 4px 16px 5px / 5px 18px 4px 16px !important;
}
@font-face {
  font-family: Mali;
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/hand-drawn/Mali-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: Kalam;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/hand-drawn/Kalam-Bold.ttf") format("truetype");
}
html[data-ui-theme="hand-drawn"] {
  --hand-shadow: #c7c0b3;
  --hand-note: #fff3a6;
  --hand-tape: #e5e0d8cc;
  --hand-dot: #dcd5c9;
  --hand-wobbly: 255px 15px 225px 18px / 18px 225px 18px 255px;
  --hand-scroll-track: #e5e0d8;
}
html[data-ui-theme="hand-drawn"][data-color-mode="dark"] {
  --hand-shadow: #131512;
  --hand-note: #514a2d;
  --hand-tape: #77746888;
  --hand-dot: #4a4b44;
  --hand-scroll-track: #3d3e37;
}
html[data-ui-theme="hand-drawn"] * {
  scrollbar-color: var(--hand-ink) var(--hand-scroll-track);
}
html[data-ui-theme="hand-drawn"] *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html[data-ui-theme="hand-drawn"] *::-webkit-scrollbar-track {
  background: var(--hand-scroll-track);
  border-radius: var(--hand-wobbly);
}
html[data-ui-theme="hand-drawn"] *::-webkit-scrollbar-thumb {
  background: var(--hand-ink);
  border: 2px solid var(--hand-scroll-track);
  border-radius: var(--hand-wobbly);
}
html[data-ui-theme="hand-drawn"] *::-webkit-scrollbar-thumb:hover {
  background: var(--hand-blue);
}
html[data-ui-theme="hand-drawn"] *::-webkit-scrollbar-corner {
  background: transparent;
}
html[data-ui-theme="hand-drawn"] [data-testid="glass-backdrop"],
html[data-ui-theme="hand-drawn"] [data-testid="settings-screen"] {
  background-color: var(--hand-background) !important;
  background-image: radial-gradient(
    var(--hand-dot) 0.75px,
    transparent 0.75px
  ) !important;
  background-size: 20px 20px !important;
}
html[data-ui-theme="hand-drawn"] [data-hand-drawn-surface] {
  background-color: var(--hand-paper) !important;
  background-image: none !important;
  border: 2px solid var(--hand-ink) !important;
  border-radius: var(--hand-wobbly) !important;
  box-shadow: 3px 4px 0 var(--hand-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-ui-theme="hand-drawn"] [data-hand-drawn-control] {
  border-radius: var(--hand-wobbly) !important;
}
html[data-ui-theme="hand-drawn"] input,
html[data-ui-theme="hand-drawn"] textarea,
html[data-ui-theme="hand-drawn"] [data-testid="ui-theme-classic"],
html[data-ui-theme="hand-drawn"] [data-testid="ui-theme-hand-drawn"],
html[data-ui-theme="hand-drawn"] [data-testid="ui-theme-terminal"],
html[data-ui-theme="hand-drawn"] [data-testid="ui-theme-neo-brutalist"],
html[data-ui-theme="hand-drawn"] [data-testid="ui-theme-clay"],
html[data-ui-theme="hand-drawn"] [data-testid="month-switcher"],
html[data-ui-theme="hand-drawn"] [data-testid="mobile-add-circle"] {
  border: 2px solid var(--hand-ink) !important;
  border-radius: var(--hand-wobbly) !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="liquid-tab-glass"],
html[data-ui-theme="hand-drawn"] [data-testid="liquid-sidebar-glass"] {
  background: var(--hand-note) !important;
  border-radius: 13px 6px 15px 8px / 7px 14px 8px 15px !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="remaining-balance"],
html[data-ui-theme="hand-drawn"] [data-testid="spending-remaining-balance"] {
  background: var(--hand-note) !important;
  border-radius: 4px 12px 7px 15px / 10px 5px 14px 6px !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="monthly-budget"]::before {
  content: "";
  position: absolute;
  left: calc(50% - 35px);
  top: -8px;
  width: 70px;
  height: 17px;
  background: var(--hand-tape);
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 1;
}
html[data-ui-theme="hand-drawn"] [data-testid^="pocket-gradient-"] {
  background: var(--hand-paper) !important;
}
html[data-ui-theme="hand-drawn"] [data-testid^="pocket-gradient-"]::after,
html[data-ui-theme="hand-drawn"] [data-testid^="monthly-metric-"]::after,
html[data-ui-theme="hand-drawn"] [data-testid="spending-summary"]::after {
  display: none !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="monthly-metric-3"] {
  background: var(--hand-note) !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="monthly-budget"] {
  border-radius: var(--hand-wobbly) !important;
}
html[data-ui-theme="hand-drawn"] [data-testid="spending-pet-message"] {
  font-family: Mali, cursive;
  background: var(--hand-paper) !important;
  border: 2px solid var(--hand-ink) !important;
  border-radius: var(--hand-wobbly);
  box-shadow: 3px 4px 0 var(--hand-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-ui-theme="hand-drawn"] [data-testid="spending-pet-message"] strong {
  font-family: Kalam, cursive;
}
