:root {
  --bg: #f4f1ea;
  --bg-card: #ffffffcc;
  --ink: #1c1b18;
  --ink-soft: #5a564d;
  --line: #e3ddcf;
  --accent: #b1593a;
  --shadow: 0 1px 0 #fff inset, 0 12px 30px -18px rgba(28,27,24,0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131210;
    --bg-card: #1c1b18cc;
    --ink: #f0ece2;
    --ink-soft: #b8b1a2;
    --line: #2a2824;
    --accent: #e09275;
    --shadow: 0 1px 0 #2a2824 inset, 0 18px 40px -22px #000;
  }
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; min-height:100%; background: var(--bg); color: var(--ink); font-family: ui-rounded, "SF Pro Rounded", "Inter", system-ui, -apple-system, sans-serif; }
body { display:grid; place-items:center; padding:24px; }
.shell { width:100%; max-width:460px; background:var(--bg-card); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); padding:28px 26px 22px; }
.topbar { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:18px; }
.eyebrow { margin:0; text-transform:uppercase; letter-spacing:0.28em; font-size:11px; color:var(--ink-soft); }
h1 { margin:0; font-size:18px; font-weight:600; color:var(--ink-soft); }
.display { display:grid; place-items:center; gap:8px; padding:22px 8px 18px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(180deg, transparent, rgba(0,0,0,0.015)); margin-bottom:18px; }
.time { font-size:clamp(40px,12vw,64px); font-variant-numeric:tabular-nums; }
.state { font-size:11px; text-transform:uppercase; color:var(--ink-soft); }
.controls { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-bottom:16px; }
button { font:inherit; font-weight:500; font-size:14px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; cursor:pointer; }
button:disabled { opacity:0.45; cursor:not-allowed; }
