/* Values from archive_screen.dart / core/theme.dart / OCityNight. */

:root {
  color-scheme: light;
  --bg: #faf4ea; /* _archivePaper */
  --surface: #fffcf6;
  --sheet: #fbf5ef; /* cabinet entry sheet */
  --ink: #574439; /* OCityColors.textBrown */
  --muted: rgba(87, 68, 57, 0.65);
  --faint: rgba(87, 68, 57, 0.4);
  --line: rgba(139, 129, 121, 0.22); /* _archiveLineColor */
  --line-strong: rgba(139, 129, 121, 0.4);
  --accent: #b7837f; /* _archiveAccentDay */
  --accent-08: rgba(183, 131, 127, 0.08);
  --accent-14: rgba(183, 131, 127, 0.14);
  --accent-22: rgba(183, 131, 127, 0.22);
  --on-accent: #ffffff;
  --link: #1565c0; /* _archiveLinkColor */
  --redact: #1c1c1c;
  --card-paper: #fffcf6; /* archiveTemplatePaper */
  --card-line: #c3b9ab;
  --sleeve-ink: #726366;
  --sleeve-paper: #f0e4e0;
  --rain: #748a78;
  --dialog: #fffcf6;
  --scrim: rgba(60, 48, 42, 0.32);
  --shadow: 0 10px 34px -14px rgba(105, 88, 86, 0.35);

  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --script: 'WatermarkGreatVibes', 'Great Vibes', cursive;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r: 3px;
  --r-2: 5px;
  --r-3: 10px;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1); /* easeOutCubic */
  --t: 220ms;

  --bar: 76px;
  --gutter: 20px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

:root[data-theme='night'] {
  color-scheme: dark;
  --bg: #0b0b0b; /* OCityNight.background */
  --surface: #1c1c1c;
  --sheet: #303030;
  --ink: #eeeeee;
  --muted: #b6bdc8;
  --faint: rgba(182, 189, 200, 0.55);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #c7d2e2;
  --accent-08: rgba(199, 210, 226, 0.08);
  --accent-14: rgba(199, 210, 226, 0.14);
  --accent-22: rgba(199, 210, 226, 0.22);
  --on-accent: #101318;
  --link: #c7d2e2;
  --redact: #eeeeee;
  --card-paper: #252521;
  --card-line: #736d65;
  --sleeve-ink: #ffffff;
  --sleeve-paper: #2d2d2d;
  --dialog: #1c1c1c;
  --scrim: rgba(0, 0, 0, 0.55);
  --shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.8);
}

@media (max-width: 719px) {
  :root {
    --bar: 66px;
  }
}

:root {
  --side-bg: #f4ede2;
  --banner-bg: #f1e8db;
  --card-bg: #fffcf6;
  --hover: rgba(87, 68, 57, 0.06);
}

:root[data-theme='night'] {
  --side-bg: #111111;
  --banner-bg: #161616;
  --card-bg: #161616;
  --hover: rgba(255, 255, 255, 0.06);
}
