:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", sans-serif; color: #243e36; background: #f4f5f0; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
header { display: flex; align-items: center; gap: 10px; padding: 32px 40px; font-size: 13px; font-weight: 700; letter-spacing: .15em; }
.mark { font-size: 28px; line-height: 1; font-weight: 400; }
main { width: min(100%, 1050px); margin: auto; padding: 44px 24px 84px; text-align: center; }
h1 { font-size: 22px; font-weight: 600; letter-spacing: .08em; margin: 0 0 25px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #56675c; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #819183; }
.running .dot { background: #3d7439; box-shadow: 0 0 0 4px #dce8cd; }
.clock { margin: 43px auto 48px; }
.time { display: flex; justify-content: center; align-items: baseline; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(34px, 9.3vw, 100px); font-weight: 400; line-height: 1.12; letter-spacing: -.065em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.colon { color: #a9b5a7; padding: 0 .03em; }
.fraction { font-size: .43em; color: #667768; letter-spacing: -.04em; margin-left: .12em; }
.units { margin-top: 18px; font-size: 12px; letter-spacing: .18em; color: #657365; }
.units span { padding: 0 22px; color: #a5afa0; }
.controls { display: flex; justify-content: center; gap: 14px; }
button { min-height: 60px; border: 1px solid transparent; border-radius: 16px; padding: 17px 30px; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 13px; touch-action: manipulation; transition: background .15s, transform .15s; }
button:active:not(:disabled) { transform: translateY(1px); }
button:focus-visible { outline: 3px solid #577748; outline-offset: 5px; }
.primary { min-width: 200px; background: #243e36; color: #e2f7b8; box-shadow: 0 5px 12px #243e3610; }
.primary:hover { background: #325245; }
.secondary { min-width: 160px; color: #334c40; background: transparent; border-color: #c3ccbf; }
.secondary:hover:not(:disabled) { background: #e5e9df; }
.secondary:disabled { opacity: .42; cursor: default; }
.shortcut { margin: 28px 0 0; font-size: 13px; color: #647261; }
.shortcut > span { margin: 0 12px; }
kbd { font-family: inherit; font-size: 12px; display: inline-block; padding: 4px 7px; background: #e8ebe2; border-radius: 5px; margin-right: 5px; }
footer { padding: 24px; text-align: center; font-size: 12px; line-height: 1.8; color: #727b6e; }
@media (max-width: 540px) { header { padding: 24px; } main { padding: 36px 16px 55px; } h1 { font-size: 19px; } .clock { margin: 40px auto; } .controls { gap: 10px; } .primary { min-width: 155px; } .secondary { min-width: 125px; padding-inline: 18px; } button { font-size: 16px; } .shortcut { font-size: 12px; } footer { padding: 20px 22px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
