:root { --background: oklch(0.985 0.006 85); --foreground: oklch(0.32 0.02 60); --primary: oklch(0.64 0.1 39); --primary-foreground: oklch(0.99 0.006 80); --border: oklch(0.92 0.012 80); --muted-foreground: oklch(0.58 0.018 70); --accent: oklch(0.955 0.02 60); --glow: oklch(0.9 0.06 50 / .55); }
* { box-sizing:border-box; } [hidden] { display:none !important; }
body { width:340px; margin:0; background:var(--background); color:var(--foreground); font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif; }
header { display:flex; align-items:center; justify-content:space-between; padding:18px 22px 0; } header strong { font-size:18px; font-weight:600; } header span { color:var(--primary); }
main { padding:8px 26px 26px; text-align:center; }
button { cursor:pointer; font:inherit; border:0; border-radius:999px; } button:focus-visible,select:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
.ghost { background:transparent; color:var(--muted-foreground); font-size:18px; width:36px; height:36px; } .ghost:hover { background:var(--accent); color:var(--foreground); }
.primary, form button[type=submit] { display:block; width:100%; background:var(--primary); color:var(--primary-foreground); padding:11px; margin-top:18px; font-weight:550; }
#cancel { display:block; width:100%; background:transparent; color:var(--muted-foreground); padding:8px; margin-top:4px; }
.quiet { display:flex; justify-content:center; gap:6px; margin-top:8px; }
h1 { font-size:56px; font-weight:300; font-variant-numeric:tabular-nums; line-height:1.1; margin:6px 0 4px; letter-spacing:-.02em; }
h2 { font-size:19px; font-weight:600; line-height:1.3; margin:6px 0; } p { margin:6px 0; }
.eyebrow { font-size:10.5px; letter-spacing:.12em; color:var(--primary); font-weight:600; margin-top:14px; } .muted { font-size:12.5px; color:var(--muted-foreground); }
.shrimp { display:block; width:170px; height:140px; margin:22px auto 4px; }
.coach { margin:14px 0 0; border-radius:20px; overflow:hidden; aspect-ratio:4/3; background:var(--accent); box-shadow:0 18px 40px -22px var(--glow); } .coach img { width:100%; height:100%; object-fit:cover; display:block; }
details { margin-top:14px; font-size:12px; color:var(--muted-foreground); } summary { cursor:pointer; list-style:none; } summary::-webkit-details-marker { display:none; }
form { text-align:left; } form h2 { margin:10px 0 16px; }
nav { display:flex; background:var(--accent); border-radius:999px; padding:3px; margin-bottom:18px; } nav button { flex:1; padding:6px 2px; font-size:12px; background:transparent; color:var(--muted-foreground); } nav button[aria-pressed=true] { background:var(--background); color:var(--foreground); box-shadow:0 1px 3px oklch(0 0 0 / .08); }
form label { display:block; margin:12px 0; font-size:12.5px; color:var(--muted-foreground); } select { display:block; width:100%; margin-top:4px; padding:8px 10px; background:var(--background); border:1px solid var(--border); color:var(--foreground); border-radius:10px; font:inherit; font-size:13.5px; }
fieldset { border:0; padding:0; margin:16px 0; } legend { font-size:12.5px; color:var(--muted-foreground); margin-bottom:4px; } .check { display:flex; align-items:center; gap:8px; margin:6px 0; color:var(--foreground); } input { accent-color:var(--primary); } #message:empty { display:none; }
.in-overlay body { background:transparent; }
.ghost.on { color:var(--primary); }
header .tools { display:flex; gap:2px; }
#library { text-align:left; } #library h2 { margin:10px 0 12px; }
#lib-search { width:100%; padding:9px 12px; border:1px solid var(--border); border-radius:999px; background:var(--background); color:var(--foreground); font:inherit; margin-bottom:10px; }
#library nav { margin-bottom:12px; }
#lib-list { list-style:none; padding:0; margin:0; max-height:420px; overflow:auto; }
#lib-list button { display:flex; align-items:center; gap:12px; width:100%; background:transparent; color:var(--foreground); padding:6px; border-radius:14px; text-align:left; font-size:13.5px; }
#lib-list button:hover { background:var(--accent); } #lib-list img { width:52px; height:40px; object-fit:cover; border-radius:10px; flex:none; }

.pill { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:4px 12px; font-size:11.5px; font-weight:600; background:oklch(0.94 0.05 145); color:oklch(0.4 0.08 150); }
.pill::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.pill[data-state=silent] { background:var(--accent); color:var(--primary); }
.pill[data-state=snooze] { background:oklch(0.93 0.008 80); color:var(--muted-foreground); }
body[data-state=snooze] #timer-view .shrimp { opacity:.55; filter:grayscale(.4); } body[data-state=snooze] #countdown { color:var(--muted-foreground); }
.link { background:transparent; color:var(--muted-foreground); font-size:12.5px; text-decoration:underline; text-underline-offset:3px; margin-top:4px; padding:4px 8px; }
.note { font-size:11.5px; line-height:1.5; margin:10px 0; }
#celebrate { padding:30px 0 14px; } .hop { animation:hop 1s ease-in-out 2; }
@keyframes hop { 0%,100% { transform:translateY(0); } 40% { transform:translateY(-16px) rotate(-4deg); } 70% { transform:translateY(0) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .hop { animation:none; } }
.remote { width:max-content; margin:14px auto 0; font-size:12.5px; } .remote button { padding:5px 14px; }
.shrimp.small { width:120px; height:100px; margin-top:10px; } .choices { display:grid; gap:8px; margin:16px 0 12px; } .choices button { background:var(--accent); color:var(--foreground); padding:12px 16px; border-radius:16px; font-weight:550; text-align:left; } .choices button:hover { box-shadow:inset 0 0 0 1.5px var(--primary); } .choices small { display:block; font-weight:400; font-size:12px; color:var(--muted-foreground); }
.ob-limit { display:flex; gap:10px; align-items:center; background:var(--accent); padding:10px 14px; border-radius:14px; font-size:14px; } .choices button.plain { background:transparent; text-align:center; color:var(--muted-foreground); }
