:root {
  --paper: #10131a;
  --card: #1a1f29;
  --ink: #ece6da;
  --muted: #969184;
  --line: #2b3240;
  --accent: #c9a26b;
  --accent-soft: #2b2a24;
  --sage: #7f9c8a;
  --sage-soft: #1e2a24;
  --danger: #c47a6e;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

body { background: #10131a; color: var(--ink); }

input[type="text"] { background: #141922; border-color: var(--line); color: var(--ink); }

.pro-link { background: #1a1f29; color: var(--ink); border-color: var(--line); }

.card { background: #1a1f29; border-color: var(--line); }

.locked { background: #221f1a; border-color: #3d352a; color: #c8a97f; }

.player-card { background: linear-gradient(160deg, #1d2430, #161a22); }

.clock {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 44px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.play-btn {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #17130d;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(201, 162, 107, 0.25);
}

.play-btn.playing { background: #e0c79a; }

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.chip.active { background: var(--accent); color: #17130d; border-color: var(--accent); }

.layer { padding: 11px 0; border-top: 1px dashed var(--line); }

.layer:first-child { border-top: 0; }

.layer-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }

.layer-name { font-size: 14px; }

.layer-name .pro-tag { font-size: 10px; color: var(--accent); border: 1px solid #4a3e2b; border-radius: 999px; padding: 1px 6px; margin-left: 6px; }

.layer-value { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  background: transparent;
}

.layer.pro-locked { opacity: 0.45; }

.sleep-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 12px; }

.sleep-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }

.sleep-bar { width: 100%; max-width: 30px; background: #2f3a46; border-radius: 6px 6px 2px 2px; min-height: 3px; }

.sleep-bar.today { background: var(--accent); }

.sleep-label { font-size: 10px; color: var(--muted); }

.mix-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 13px; }

.mix-item:first-child { border-top: 0; }

@media (max-width: 420px) {
  .clock { font-size: 36px; }
}
