@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #eef3ed;
  --muted: #94a29b;
  --panel: rgba(21, 31, 28, .86);
  --line: rgba(220, 236, 224, .12);
  --lime: #c6f36b;
  --lime-deep: #a9d753;
  --orange: #ff9f5a;
  font-family: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #0c1210;
  background-image: radial-gradient(circle at 80% 10%, rgba(116, 162, 91, .2), transparent 32rem), linear-gradient(135deg, #101b17, #09100e 65%);
}

.page { width: min(1060px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 48px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.brand { display: flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 31px; height: 31px; border: 2px solid var(--lime); border-radius: 50%; position: relative; }
.brand-mark::after { content: ''; position: absolute; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; left: 9px; top: 9px; }
.eyebrow { color: var(--lime); text-transform: uppercase; font: 500 11px 'DM Mono', monospace; letter-spacing: .18em; }
.status { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
h1 { font-size: clamp(42px, 8vw, 86px); line-height: .97; letter-spacing: -.08em; margin: 14px 0 20px; max-width: 760px; }
.intro { color: var(--muted); max-width: 500px; line-height: 1.7; margin-bottom: 54px; }
.timer-card { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 6vw, 64px); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.timer-wrap { text-align: center; }
.time { font: 500 clamp(74px, 16vw, 190px)/.92 'DM Mono', monospace; letter-spacing: -.1em; color: #f4f8f1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time .milliseconds { font-size: .43em; color: var(--lime); letter-spacing: -.12em; }
.state { margin: 22px 0 0; color: var(--muted); text-transform: uppercase; font: 500 11px 'DM Mono', monospace; letter-spacing: .17em; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
button { border: 0; cursor: pointer; font: 800 13px Manrope, sans-serif; letter-spacing: .08em; transition: transform .15s, background .15s; }
button:hover { transform: translateY(-2px); }
button:active { transform: translateY(0); }
.primary { min-width: 150px; border-radius: 999px; padding: 17px 30px; background: var(--lime); color: #172014; }
.primary:hover { background: #d4ff83; }
.secondary { min-width: 92px; border-radius: 999px; padding: 14px 19px; background: rgba(220,236,224,.08); color: var(--ink); border: 1px solid var(--line); }
.secondary:hover { background: rgba(220,236,224,.16); }
.adjustments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.adjustment-group { padding: 18px; border: 1px solid var(--line); border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.adjustment-label { font: 500 11px 'DM Mono', monospace; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; }
.adjustment-buttons { display: flex; gap: 8px; }
.footer-note { text-align: center; color: #617069; font-size: 12px; margin-top: 22px; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px auto 0; max-width: 520px; }
.score-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(220,236,224,.035); }
.score-name { color: var(--muted); text-transform: uppercase; font: 500 11px 'DM Mono', monospace; letter-spacing: .15em; }
.score-value { margin-top: 6px; color: var(--lime); font: 500 clamp(42px, 8vw, 70px)/1 'DM Mono', monospace; font-variant-numeric: tabular-nums; }
.score-controls { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.score-controls .secondary { min-width: 48px; padding: 11px 13px; }
@media (max-width: 620px) { .page { width: min(100% - 24px, 1060px); padding-top: 22px; } .topbar { margin-bottom: 48px; } .adjustments { grid-template-columns: 1fr; } .timer-card { padding: 34px 16px; } .time { font-size: clamp(54px, 17vw, 110px); } }
