/* Random Image design tokens — shared by the gallery, the admin page and the
   legacy /pc viewer (which inlines the same values). Dark is the default
   because wallpapers read best on a dark stage; light follows the system. */
:root {
  color-scheme: dark light;
  --bg: #0d0e11;
  --bg-raised: #15171c;
  --surface: #1b1e24;
  --surface-hover: #23262e;
  --line: rgb(255 255 255 / 8%);
  --line-strong: rgb(255 255 255 / 16%);
  --text: #eceef2;
  --text-2: #a4aab6;
  --text-3: #6f7684;
  --accent: #7c8cff;
  --accent-hover: #97a3ff;
  --accent-ink: #0d0e11;
  --accent-soft: rgb(124 140 255 / 14%);
  --danger: #ff7a7a;
  --danger-soft: rgb(255 122 122 / 12%);
  --ok: #5bd69a;
  --ok-soft: rgb(91 214 154 / 12%);
  --warn: #f5b94f;
  --warn-soft: rgb(245 185 79 / 12%);
  --scrim: rgb(8 9 12 / 82%);
  --glass: rgb(21 23 28 / 72%);
  --shadow: 0 18px 50px rgb(0 0 0 / 45%);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(14px, 2vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f6f8;
    --bg-raised: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f0f1f5;
    --line: rgb(16 20 30 / 9%);
    --line-strong: rgb(16 20 30 / 18%);
    --text: #14161b;
    --text-2: #545b69;
    --text-3: #8b92a0;
    --accent: #4f5bd5;
    --accent-hover: #4350c4;
    --accent-ink: #ffffff;
    --accent-soft: rgb(79 91 213 / 10%);
    --danger: #d43b3b;
    --danger-soft: rgb(212 59 59 / 9%);
    --ok: #13875a;
    --ok-soft: rgb(19 135 90 / 10%);
    --warn: #b26a00;
    --warn-soft: rgb(178 106 0 / 10%);
    --glass: rgb(255 255 255 / 78%);
    --shadow: 0 18px 50px rgb(16 20 30 / 16%);
  }
}
