:root {
  color-scheme: light;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Kaku Gothic ProN", "Malgun Gothic", Arial, sans-serif;
  --canvas: #faf7f2;
  --surface: #fffdf9;
  --text: #24201e;
  --subtext: #625a55;
  --outline: #d9d0c7;
  --soft-fill: #f0e9e2;
  --selection: #ffded4;
  --accent: #aa3825;
  --action: #bd3f28;
  --on-action: #ffffff;
  --action-hover: #a32f1c;
  --marker: #dd5038;
  --error: #942c31;
  --shadow: #38251620;
  --glow: #f7eee4;
  --type-bg: #f3e8de;
  --type-ink: #28211c;
  --type-muted: #867970;
  --doc-bg: #f5d69d;
  --doc-edge: #846744;
  --doc-sheet: #fff4d9;
  --wave-bg: #34475b;
  --wave-ink: #f6ebe0;
}
.appearance-control {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--outline);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
}
.appearance-control:hover { border-color: var(--accent); }
.appearance-control:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.appearance-control::before {
  content: "";
  height: 15px;
  width: 15px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.appearance-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0;
  cursor: pointer;
}
