:root{color-scheme:light;--paper:#faf8f4;--foreground:#29251f;--background:var(--paper);--ink:var(--foreground);--bg:var(--background)}
:root.dark{color-scheme:dark;--paper:#1c1814;--foreground:#f2eee7}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--foreground);font:14px/1.5 system-ui,sans-serif;min-height:100vh}
main{max-width:1248px;margin:0 auto;padding:64px 32px}header{max-width:540px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;opacity:.55}h1{font-family:Georgia,serif;font-size:clamp(32px,5vw,52px);font-weight:400;line-height:1.1;letter-spacing:-.04em;margin:20px 0 12px}header p{opacity:.7;margin:0}
.viewport{margin:96px 0 44px;overflow-x:auto;padding:8px 0 12px}[data-scene]{width:1152px;height:104px;max-width:none}[data-scene][data-phone=true]{width:358px;height:80px}svg{display:block;overflow:hidden}[data-water-hit]{cursor:crosshair}
.controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;padding-top:20px;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}button{min-width:96px;min-height:44px;padding:8px 14px;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:22px;background:transparent;color:inherit;font:inherit;cursor:pointer}button:hover{background:color-mix(in srgb,currentColor 6%,transparent)}button:focus-visible,input:focus-visible{outline:2px solid currentColor;outline-offset:4px}.time{display:flex;align-items:center;gap:12px;min-height:44px;flex:1;max-width:460px}input{height:44px;min-width:140px;width:100%;accent-color:var(--foreground)}output{font-variant-numeric:tabular-nums}.note{font-size:12px;opacity:.55;margin-top:24px}.reduced{display:none}@media (prefers-reduced-motion: reduce) { :root:not([data-motion="on"]) .reduced{display:inline} }
:root[data-motion="off"] .reduced{display:inline}
@media(max-width:600px){main{padding:40px 16px}[data-scene]{max-width:100%;height:auto;aspect-ratio:1152 / 104}[data-scene][data-phone=true]{max-width:100%;height:auto;aspect-ratio:358 / 80}[data-scene]>svg{width:100%;height:auto}.time{min-width:0}.time input{min-width:0}.viewport{margin-top:72px}.controls{gap:12px}.time{flex-basis:100%;max-width:none}button{flex:1;white-space:nowrap}}
