:root {
  --bg: #f5f2ea;
  --halo: rgba(160, 190, 140, 0.32);
  --card: rgba(255, 253, 248, 0.86);
  --card-solid: #fdfbf6;
  --tile: rgba(255, 255, 255, 0.6);
  --line: rgba(47, 62, 44, 0.13);
  --text: #22281f;
  --muted: #59634f;
  --moss: #4a6d41;
  --moss-strong: #3a5733;
  --moss-soft: #e3ebd9;
  --ring: #5a8250;
  --track: rgba(47, 62, 44, 0.14);
  --glow: rgba(110, 150, 90, 0.34);
  --on-accent: #ffffff;
  --ad-bg: rgba(47, 62, 44, 0.04);
  --shadow: 0 1px 2px rgba(40, 50, 35, 0.05), 0 10px 34px rgba(40, 50, 35, 0.08);
  --grain: 0.05;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 24px;
  --g-sky1: #e9f0e1; --g-sky2: #f6f3ea; --g-hill: #dbe5cf; --g-bed: #c3d5ae; --g-soil: #b39a7c; --g-shade: rgba(47, 62, 44, 0.16);
  --g-m1: #4b7543; --g-m2: #6a955a; --g-m3: #97bb7b; --g-stem: #557a47; --g-trunk: #87684d; --g-cap: #c48a6a; --g-dot: #f4e8da;
  --g-p1: #e3a4b3; --g-p2: #b9a3dc; --g-p3: #ecc96b; --g-core: #f7f0d8; --g-seed: #8f7355; --g-pond: #a6c8cc; --g-pond2: #e4f0ef;
  --g-stone: #b4aea0; --g-light: #f6cf78; --g-drop: rgba(90, 120, 140, 0.35); --g-fly: #e9d76a; --g-glow: rgba(170, 220, 140, 0.55);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f130f; --halo: rgba(110, 150, 90, 0.16); --card: rgba(26, 33, 25, 0.86); --card-solid: #1a2119;
    --tile: rgba(255, 255, 255, 0.035); --line: rgba(220, 235, 210, 0.12); --text: #e6ebde; --muted: #a3af9b;
    --moss: #8fb97c; --moss-strong: #a9cf96; --moss-soft: rgba(143, 185, 124, 0.15); --ring: #8fb97c;
    --track: rgba(220, 235, 210, 0.15); --glow: rgba(143, 185, 124, 0.3); --on-accent: #0f150e; --ad-bg: rgba(220, 235, 210, 0.035);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 36px rgba(0, 0, 0, 0.35); --grain: 0.035; color-scheme: dark;
    --g-sky1: #121a14; --g-sky2: #18211a; --g-hill: #1b261b; --g-bed: #233420; --g-soil: #3a2f24; --g-shade: rgba(0, 0, 0, 0.35);
    --g-m1: #5c8c50; --g-m2: #7aa865; --g-m3: #a2c788; --g-stem: #6f9a5c; --g-trunk: #8f7158; --g-cap: #b98065; --g-dot: #e9dccb;
    --g-p1: #d895a6; --g-p2: #a893cf; --g-p3: #dcbb5e; --g-core: #efe6c8; --g-seed: #a0866a; --g-pond: #2e4c52; --g-pond2: #5d8288;
    --g-stone: #6f6a5f; --g-light: #ffd98a; --g-drop: rgba(170, 200, 220, 0.3); --g-fly: #f4e88f; --g-glow: rgba(160, 230, 130, 0.4);
  }
}
:root[data-theme="dark"] {
  --g-sky1: #121a14; --g-sky2: #18211a; --g-hill: #1b261b; --g-bed: #233420; --g-soil: #3a2f24; --g-shade: rgba(0, 0, 0, 0.35);
  --g-m1: #5c8c50; --g-m2: #7aa865; --g-m3: #a2c788; --g-stem: #6f9a5c; --g-trunk: #8f7158; --g-cap: #b98065; --g-dot: #e9dccb;
  --g-p1: #d895a6; --g-p2: #a893cf; --g-p3: #dcbb5e; --g-core: #efe6c8; --g-seed: #a0866a; --g-pond: #2e4c52; --g-pond2: #5d8288;
  --g-stone: #6f6a5f; --g-light: #ffd98a; --g-drop: rgba(170, 200, 220, 0.3); --g-fly: #f4e88f; --g-glow: rgba(160, 230, 130, 0.4);
  --bg: #0f130f; --halo: rgba(110, 150, 90, 0.16); --card: rgba(26, 33, 25, 0.86); --card-solid: #1a2119;
  --tile: rgba(255, 255, 255, 0.035); --line: rgba(220, 235, 210, 0.12); --text: #e6ebde; --muted: #a3af9b;
  --moss: #8fb97c; --moss-strong: #a9cf96; --moss-soft: rgba(143, 185, 124, 0.15); --ring: #8fb97c;
  --track: rgba(220, 235, 210, 0.15); --glow: rgba(143, 185, 124, 0.3); --on-accent: #0f150e; --ad-bg: rgba(220, 235, 210, 0.035);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 36px rgba(0, 0, 0, 0.35); --grain: 0.035; color-scheme: dark;
}
/* Breaks tint the page warm sand; short breaks ring in sky, long breaks in sand. */
body[data-mode="short"], body[data-mode="long"] { --halo: rgba(220, 186, 130, 0.3); }
body[data-mode="short"] { --ring: #4f8590; }
body[data-mode="long"] { --ring: #977c47; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 400 16px/1.6 var(--sans); color: var(--text);
  background: radial-gradient(1100px 560px at 50% -120px, var(--halo), transparent 72%), var(--bg);
  -webkit-font-smoothing: antialiased; transition: background-color 1.2s;
}
body { position: relative; }
/* Absolute, not fixed, so the grain spans the whole page and does not repaint on scroll. */
body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
strong, b, h1, h2, h3, dt, legend, summary { font-weight: 600; }
a { color: var(--moss-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
kbd { font: inherit; font-size: 0.9em; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--tile); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font: 600 19px/1 var(--round); }
.brand svg { width: 30px; height: 30px; color: var(--moss); }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--moss-soft); }
@media (min-width: 900px) { .nav { display: flex; } }
.top-btns { display: inline-flex; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: var(--tile); transition: background-color 0.2s, transform 0.15s;
}
.icon-btn:hover:not(:disabled) { background: var(--moss-soft); }
.icon-btn:active:not(:disabled) { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.4; }
.icon-btn.small, .top-btns .icon-btn { width: 44px; height: 44px; }
.icon-btn .ic.fill { width: 20px; height: 20px; }
#theme .ic { display: none; width: 20px; height: 20px; }
#theme[data-theme="auto"] .i-auto, #theme[data-theme="light"] .i-sun, #theme[data-theme="dark"] .i-moon { display: block; }
.i-pause, .is-running .i-play, [aria-pressed="true"] > .i-play { display: none; }
.is-running .i-pause, [aria-pressed="true"] > .i-pause { display: block; }

/* Hero */
.hero { text-align: center; padding: 2px 0 18px; }
.hero h1 { margin: 0 auto; max-width: 18em; font: 600 clamp(25px, 6vw, 40px)/1.15 var(--round); letter-spacing: -0.02em; text-wrap: balance; }
.lede { margin: 8px auto 0; max-width: 36em; color: var(--muted); font-size: clamp(15px, 3.8vw, 17px); text-wrap: pretty; }

/* App layout. Mobile: the first card, then the second; the timer's Start sits in the lower middle. */
.app { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
/* Laptop: the timer on the left, sounds and tasks on the right, in one card. */
@media (min-width: 900px) {
  .player-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 36px; align-items: start; }
  .side-col { padding-top: 4px; }
}
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
@media (min-width: 480px) { .card { padding: 22px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title { margin: 0; font: 600 20px/1.2 var(--round); }
.noscript { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--moss-soft); }

/* Buttons */
.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 156px; min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--moss); color: var(--on-accent); font: 600 18px/1 var(--round);
  box-shadow: 0 6px 20px var(--glow); transition: background-color 0.2s, transform 0.15s;
}
.primary:hover { background: var(--moss-strong); }
.primary:active { transform: scale(0.97); }
.primary .ic { width: 20px; height: 20px; }
.primary.soft { background: var(--tile); color: var(--text); border: 1px solid var(--line); box-shadow: none; min-height: 54px; }
.primary.soft:hover { background: var(--moss-soft); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 999px; background: var(--moss); color: var(--on-accent);
  font-weight: 600; font-size: 15px; transition: background-color 0.2s, opacity 0.2s; max-width: 100%;
}
.pill:hover:not(:disabled) { background: var(--moss-strong); }
.pill:disabled { opacity: 0.45; }
.pill .ic { width: 18px; height: 18px; }
.pill .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.quiet { background: var(--tile); color: var(--text); border-color: var(--line); }
.pill.quiet:hover:not(:disabled) { background: var(--moss-soft); }
.pill.big { min-height: 56px; padding: 0 24px; font-size: 17px; box-shadow: 0 6px 20px var(--glow); }
.text-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--tile); font-size: 15px; transition: background-color 0.2s;
}
.text-btn:hover { background: var(--moss-soft); }
.text-btn .ic { width: 18px; height: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--tile); font-size: 14px; transition: background-color 0.25s, border-color 0.25s;
}
.chip:hover:not(:disabled) { border-color: var(--moss); }
.chip:disabled { color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--moss-soft); border-color: var(--moss); font-weight: 600; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--track); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
.seg input:checked + span { background: var(--card-solid); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: 1px; }
.seg input:disabled + span { opacity: 0.5; }
.wide-seg { display: flex; }
.wide-seg label { flex: 1; }
.wide-seg span { justify-content: center; width: 100%; }

/* Timer */
.modes { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--track); min-width: 0; }
.mode { min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.mode[aria-pressed="true"] { background: var(--card-solid); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.mode .wide { display: none; }
@media (min-width: 400px) { .mode { padding: 0 13px; } .mode .wide { display: inline; } }
.dial { position: relative; width: min(100%, 236px); aspect-ratio: 1; margin: 12px auto 8px; }
@media (min-width: 480px) and (min-height: 760px) { .dial { width: min(100%, 280px); margin-top: 14px; } }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-track { stroke: var(--track); }
.ring-bar { stroke: var(--ring); stroke-linecap: round; stroke-dasharray: 628.32; transition: stroke 0.8s; }
.breath { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 68%); opacity: 0.25; transform: scale(0.92); }
.dial.running .breath { animation: breathe 8s ease-in-out infinite; }
.dial.running .ring { filter: drop-shadow(0 0 8px var(--glow)); }
@keyframes breathe { 0%, 100% { transform: scale(0.9); opacity: 0.35; } 50% { transform: scale(1.06); opacity: 1; } }
.dial.pulse .ring { animation: pulse 0.8s ease-out 3; }
@keyframes pulse { 0% { transform: rotate(-90deg) scale(1); } 40% { transform: rotate(-90deg) scale(1.05); filter: drop-shadow(0 0 16px var(--glow)); } 100% { transform: rotate(-90deg) scale(1); } }
.readout { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.time { font: 400 clamp(54px, 16vw, 80px)/1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.phase { margin-top: 6px; color: var(--muted); font-size: 15px; }
.dial.breathing .readout { visibility: hidden; }
.breathe { position: absolute; inset: 6%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background: var(--card-solid); text-align: center; }
.orb { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, var(--ring), transparent 70%); transform: scale(0.55); transition: transform var(--secs, 4s) ease-in-out; }
.breathe[data-phase="0"] .orb, .breathe[data-phase="1"] .orb { transform: scale(1); }
.breathe[data-phase="2"] .orb { transform: scale(0.55); }
.breathe-label { margin: 6px 0 0; font: 600 18px/1.2 var(--round); }
.breathe-count { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.current-task { margin: 0 auto 10px; max-width: 30em; text-align: center; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.current-task span { color: var(--text); font-weight: 600; }
.controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.controls .icon-btn { width: 52px; height: 52px; }
/* Hidden "while running" controls keep their space, so Start never jumps. */
.when-active[hidden] { display: inline-grid !important; visibility: hidden; }
.text-btn.when-active[hidden] { display: inline-flex !important; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 12px 0 0; padding: 10px 12px; border-radius: 16px; background: var(--moss-soft); font-size: 15px; text-align: center; }
.confirm-btns { display: inline-flex; gap: 8px; }
.timer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.timer-meta .text-btn { min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--text); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--track); transition: background-color 0.4s; }
.dots i.done { background: var(--ring); }
.dots i.now { box-shadow: inset 0 0 0 2px var(--ring); background: transparent; }
.lengths { margin-top: 8px; }
.lengths .chips { justify-content: center; }
.breakbox { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); text-align: center; }
.tip { margin: 0 0 8px; font-size: 15px; }
.hint { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
@media (hover: none) { .hint { display: none; } }
.install { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--moss-soft); font-size: 14px; }
.install span { flex: 1; }

/* Mixer */
@keyframes bars { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.tone { padding-bottom: 2px; }
.tone-label { display: block; font-size: 14px; font-weight: 600; }
.tone-ends { display: flex; justify-content: space-between; gap: 8px; margin-top: -8px; color: var(--muted); font-size: 13px; }
.mixer-status:empty { display: none; }
.mixer-status { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.custom { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line); }
.custom section { padding: 12px 0 4px; }
.custom h3 { margin: 0 0 10px; font: 600 15px/1.3 var(--round); color: var(--muted); }
.drift-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.drift-row + .small { margin: 4px 0 10px; }
.share-url { width: 100%; min-height: 44px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); font-size: 14px; }
.master { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; }
.master .rng { flex: 1; }

/* Equalizer: one row per band on narrow cards, vertical faders when there is room. Zone names
   (Rumble, Body, Voice, Hiss) head each group of rows, or sit under the faders. */
.eq { display: grid; gap: 0 12px; margin-top: 8px; grid-template-columns: minmax(0, 1fr); }
.band { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 0 8px; }
.band-f { order: -1; color: var(--muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.band[data-zone]::before { content: attr(data-zone); grid-column: 1 / -1; order: -2; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.zones { display: none; }
@container (min-width: 560px) {
  .eq { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0 2px; }
  .band { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .band[data-zone]::before { content: none; }
  .band-f { order: 0; text-align: center; }
  .band .rng { width: 44px; height: 150px; }
  .band input[type="range"] { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%) rotate(-90deg); }
  .band .bubble { left: 50%; bottom: calc(var(--p) * 130px + 22px); }
  .zones { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; margin-top: 6px; }
  .zones span { padding-top: 4px; border-top: 2px solid var(--track); margin: 0 4px; text-align: center; color: var(--muted); font-size: 12px; }
}

/* Sliders */
.rng { position: relative; display: block; min-width: 0; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: pointer; --fill: 60%; --bar: var(--moss);
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--bar) var(--fill), var(--track) var(--fill)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: var(--card-solid); border: 2px solid var(--bar); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--bar); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--card-solid); border: 2px solid var(--bar); }
@media (pointer: coarse) {
  input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; }
  input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }
}
.bubble {
  position: absolute; bottom: 34px; left: calc(11px + var(--p, 0.5) * (100% - 22px)); z-index: 3; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.bubble.show { opacity: 1; }

.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 15px; }
.switch input {
  -webkit-appearance: none; appearance: none; position: relative; width: 44px; height: 26px; margin: 0; flex: none;
  border-radius: 13px; background: var(--track); cursor: pointer; transition: background-color 0.25s;
}
.switch input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--card-solid); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s; }
.switch input:checked { background: var(--moss); }
.switch input:checked::before { transform: translateX(18px); }

/* Tasks */
.eta { color: var(--muted); font-size: 14px; }
.task-add { display: flex; gap: 8px; margin-top: 12px; }
.task-add input, .field input, .field textarea, select {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); min-width: 0;
}
.task-add input { flex: 1; }
.task-add input::placeholder { color: var(--muted); opacity: 1; }
.est select { width: 72px; padding: 0 6px; }
.task-list { margin: 10px 0 0; padding: 0; list-style: none; }
.task { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px; align-items: center; gap: 4px; margin-bottom: 8px; padding: 2px 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--tile); transition: transform 0.15s, box-shadow 0.2s; }
.task.current { border-color: var(--moss); background: var(--moss-soft); }
.task.dragging { z-index: 2; position: relative; box-shadow: var(--shadow); transition: none; }
.check { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.check .ic { width: 26px; height: 26px; padding: 3px; border: 2px solid var(--muted); border-radius: 50%; stroke: transparent; stroke-width: 2.4; transition: background-color 0.2s; }
.check[aria-pressed="true"] .ic { background: var(--moss); border-color: var(--moss); stroke: var(--on-accent); }
.task-main { display: flex; flex-direction: column; align-items: flex-start; min-height: 44px; padding: 6px 4px; border: 0; background: none; text-align: left; min-width: 0; border-radius: 10px; }
.task-title { max-width: 100%; overflow-wrap: anywhere; }
.task.done .task-title { color: var(--muted); text-decoration: line-through; }
.task-meta, .task-note { color: var(--muted); font-size: 13px; }
.task-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.task .icon-btn.small { border-color: transparent; background: none; }
.handle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); cursor: grab; touch-action: none; border-radius: 10px; }
.task-edit { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; padding: 6px 6px 8px; }
.field { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.field input, .field textarea { color: var(--text); font-size: 15px; }
.field textarea { padding: 8px 12px; resize: vertical; }
.field.wide, .edit-foot { grid-column: 1 / -1; }
.edit-foot { display: flex; justify-content: space-between; gap: 8px; }
.task-undo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 8px; padding: 4px 4px 4px 14px; border-radius: 14px; background: var(--moss-soft); font-size: 14px; }
.stats { margin-top: 14px; border-top: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 12px; }
@media (min-width: 480px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-grid div { padding: 8px 10px; border-radius: 12px; background: var(--tile); }
.stat-grid dt { color: var(--muted); font-size: 13px; font-weight: 400; }
.stat-grid dd { margin: 0; font: 600 18px/1.3 var(--round); }
.chart { width: 100%; max-width: 360px; height: auto; display: block; }
.chart rect { fill: var(--track); }
.chart rect.today { fill: var(--ring); }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--sans); }

/* Ad slots: collapsed to a thin gap until an ad fills them; ?adpreview=1 shows the reserved box. */
.ad-slot { position: relative; display: block; width: 100%; max-width: 320px; margin: 12px auto; min-height: 0; border-radius: 14px; }
@media (min-width: 768px) { .ad-slot { max-width: 728px; } }
html.ads-on .ad-slot, html.ad-preview .ad-slot { min-height: 100px; margin: 28px auto 12px; }
@media (min-width: 768px) { html.ads-on .ad-slot, html.ad-preview .ad-slot { min-height: 90px; } }
html.ad-preview .ad-slot { background: var(--ad-bg); border: 1px dashed var(--line); }
html.ads-on .ad-slot.is-empty { min-height: 0; margin: 12px auto; }
html.ad-preview .ad-slot::before, .ad-slot.is-filled::before { content: "Advertisement"; position: absolute; top: -18px; left: 0; color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.prose .ad-slot { margin-top: 24px; margin-bottom: 24px; }

/* Dialogs */
dialog {
  width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line);
  border-radius: 22px; background: var(--card-solid); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}
dialog[open] { animation: rise 0.22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
dialog::backdrop { background: rgba(12, 16, 12, 0.45); }
.dlg { padding: 18px 18px 20px; }
.dlg h2 { margin: 0; font: 600 20px/1.2 var(--round); }
.dlg fieldset { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.dlg legend { padding: 0; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); }
.row > span:first-child { min-width: 0; }
.row input[type="number"] { width: 84px; flex: none; text-align: center; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.row select { flex: none; max-width: 55%; }
.row .rng { width: 160px; flex: none; }
.alarm-list { margin: 6px 0; }
.alarm { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(70px, 120px) 64px; align-items: center; gap: 8px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 15px; }
.rep select { width: 64px; padding: 0 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:focus-within { outline: 2px solid var(--moss); outline-offset: 2px; }
.dlg-foot { display: flex; justify-content: flex-end; margin-top: 16px; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 16px 0 4px; align-items: center; }
.keys dt { font-weight: 400; }
.keys dd { margin: 0; }

/* Full-screen focus: the clock and the current task only. */
.zen { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: radial-gradient(900px 500px at 50% 30%, var(--halo), transparent 70%), var(--bg); text-align: center; }
.zen-time { font: 400 clamp(84px, 24vw, 220px)/1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.zen-phase { margin: 0; color: var(--muted); font-size: 18px; }
.zen-task { margin: 0 0 12px; max-width: 30em; font-size: 18px; }
body.zen-on { overflow: hidden; }

/* Mini-bar: Sound on the left, a timer pill on the right. */
.minibar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--card-solid); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08); opacity: 0; pointer-events: none; translate: 0 110%; transition: translate 0.3s, opacity 0.3s, transform 0.25s;
}
.minibar.show { opacity: 1; pointer-events: auto; translate: 0 0; }
@media (min-width: 640px) { .minibar { left: 50%; right: auto; width: 560px; bottom: 16px; margin-left: -280px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; } }
.mb-sound-btn { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 48px; padding: 4px 12px 4px 4px; border: 0; border-radius: 999px; background: none; text-align: left; }
.mb-sound-btn .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--track); color: var(--muted); flex: none; }
.mb-sound-btn[aria-pressed="true"] .ic { background: var(--moss); color: var(--on-accent); }
.mb-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mb-text b { font-size: 14px; }
.mb-sound { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.mb-pill { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 48px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--tile); color: var(--muted); font-size: 13px; }
.mb-pill b { color: var(--text); font: 600 17px/1 var(--round); font-variant-numeric: tabular-nums; }
.mb-pill .ic { width: 16px; height: 16px; color: var(--text); }
.mb-pill.is-running { border-color: var(--moss); background: var(--moss-soft); }
body:has(.minibar) .foot { padding-bottom: 110px; }

/* Content */
.prose { max-width: 720px; margin: 0 auto; padding: 18px 0 8px; font-size: 17px; }
.prose h2 { margin: 1.8em 0 0.4em; font: 600 25px/1.25 var(--round); letter-spacing: -0.01em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.3em 0; }
.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 22px; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; }
.more { max-width: 720px; margin: 36px auto 0; }
.more h2 { font: 600 20px/1.3 var(--round); margin: 0 0 12px; }
.links { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.links a { display: block; min-height: 44px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--tile); color: var(--text); text-decoration: none; transition: border-color 0.2s; }
.links a:hover { border-color: var(--moss); }
.links strong { display: block; font-family: var(--round); }
.links span { color: var(--muted); font-size: 14px; }

/* Footer */
.foot { margin-top: 56px; padding: 22px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 6px; }
.foot a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot p { margin: 10px 0 0; }

/* Start confirmation: the button swells once and the ring flashes. Reduced motion turns both off below. */
.tap { animation: tap 0.35s ease-out; }
@keyframes tap { 40% { transform: scale(1.06); box-shadow: 0 0 0 8px var(--glow); } }
.dial.kick .ring { animation: kick 0.7s ease-out; }
@keyframes kick { 30% { filter: drop-shadow(0 0 14px var(--glow)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .breathe .orb { transform: scale(0.8) !important; }
}

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 10px 16px; border-radius: 12px; background: var(--card-solid); color: var(--text); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
#timer:focus, #sounds:focus, #main:focus, #page-head h1:focus { outline: none; }


.timer-tasks { margin: 6px 0 0; text-align: center; }
.readout .plus { min-height: 44px; margin-top: 6px; padding: 0 12px; font-size: 14px; }

.sleep-menu { margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); }
.sleep-menu > p { margin: 0 0 8px; }
.sleep-menu #sleep-left { margin: 8px 0 4px; }

/* Customize tabs */
.tabs { display: flex; gap: 2px; padding: 3px; margin: 4px 0 4px; border-radius: 999px; background: var(--track); }
.tabs [role="tab"] { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--card-solid); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* Stats */
.stat-grid dt { white-space: nowrap; }

/* Settings: alarms not in use wait behind "Show all". */
.alarm-list:not(.show-all) .alarm:not(.in-use) { display: none; }

/* Breathing: a seconds count for everyone; with reduced motion the orb steps instead of growing. */
.breathe-secs { margin: 0; font: 400 28px/1 var(--round); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .breathe .orb { opacity: 0.45; }
  .breathe[data-phase="0"] .orb, .breathe[data-phase="1"] .orb { opacity: 1; }
}

/* Night view: dark whatever the theme, and dim. */
.night { position: fixed; inset: 0; z-index: 61; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; background: #000; color: #8f9a88; text-align: center; color-scheme: dark; }
.night-left { font: 400 clamp(72px, 22vw, 180px)/1 var(--round); font-variant-numeric: tabular-nums; color: #7d8876; }
.night-sound, .night-at { margin: 0; font-size: 16px; }
.night-plus { min-width: 160px; min-height: 64px; margin: 18px 0 8px; border: 1px solid #2c3329; border-radius: 999px; background: #0d100c; color: #c4cfbb; font: 600 20px/1 var(--round); }
.night .text-btn { background: #0d100c; border-color: #2c3329; color: #a6b29e; }
.zen .btn-row, .night .btn-row { justify-content: center; }

/* Sounds: one row of icons. A sound that is on gets a volume slider below the row. */
.sounds { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sounds { margin-top: 0; padding-top: 0; border-top: 0; } }
.snd-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
/* Under 400 px the row borrows the card's side padding so six icons stay 44 px wide at 320 px. */
@media (max-width: 399px) { .snd-row { gap: 0; margin-inline: -10px; } }
.snd { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 64px; padding: 6px 0; border: 0; border-radius: 16px; background: none; color: var(--muted); }
.snd .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--track); transition: background-color 0.3s, color 0.3s; }
.snd-name { font-size: 12px; font-weight: 600; }
.snd.on { color: var(--text); }
.snd.on .ic { background: var(--moss); color: var(--on-accent); }
.sounds.playing .snd.on .ic { box-shadow: 0 0 0 4px var(--moss-soft), 0 6px 18px var(--glow); }
.snd.featured:not(.on) .ic { box-shadow: inset 0 0 0 2px var(--moss); }
.levels { display: grid; gap: 0 14px; margin-top: 6px; }
@media (min-width: 560px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lvl { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); align-items: center; column-gap: 10px; }
.lvl-name { font-size: 14px; font-weight: 600; }
.lvl[data-sound="noise"] { grid-column: 1 / -1; }
.lvl .tone-ends { grid-column: 1 / -1; }
.tone { min-width: 0; }
.sound-tools { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--tile); color: var(--muted); font-size: 14px; font-weight: 600; }
.tool-btn .label:empty { display: none; }
.tool-btn[aria-expanded="true"], .tool-btn[aria-pressed="true"] { background: var(--moss-soft); border-color: var(--moss); color: var(--moss-strong); }
#qs-play.is-running { background: var(--moss); color: var(--on-accent); }
.sleep-menu { margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); }
.sleep-menu > p { margin: 0 0 8px; }
.sleep-menu #sleep-left { margin: 8px 0 4px; }
.page-play { margin-top: 12px; }

/* Tasks: one "Add task" line until there is a task. */
.tasks { margin-top: 14px; }
.add-task { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1px dashed var(--line); border-radius: 16px; background: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.tasks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.timer-tasks { margin: 6px 0 0; text-align: center; }

/* Moss Garden. Plant parts are drawn with these classes, in the timer and in the garden. */
.gm1 { fill: var(--g-m1); } .gm2 { fill: var(--g-m2); } .gm3 { fill: var(--g-m3); }
.gstem { fill: none; stroke: var(--g-stem); stroke-width: 1.3; stroke-linecap: round; }
.gtrunk { fill: var(--g-trunk); } .gstalk { fill: var(--g-dot); } .gcap { fill: var(--g-cap); } .gdot { fill: var(--g-dot); }
.gp1 { fill: var(--g-p1); } .gp2 { fill: var(--g-p2); } .gp3 { fill: var(--g-p3); } .gcore { fill: var(--g-core); }
.gseed { fill: var(--g-seed); } .gglow { fill: url(#gglow); } .gspark { fill: var(--g-fly); }
.gglow1 { stop-color: var(--g-glow); } .gglow2 { stop-color: var(--g-glow); stop-opacity: 0; }

/* The plant in the timer grows slowly, rests with a gentle sway in breaks, and holds still when paused. */
.sprout { display: block; width: 44px; height: 40px; margin: 0 auto 2px; overflow: visible; }
.sprout [data-stage] { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 2.4s cubic-bezier(.3, 0, .2, 1), opacity 2.4s ease; }
.sway { transform-box: fill-box; transform-origin: 50% 100%; }
.sprout.resting .sway, .scene .sway { animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.sprout.flying { position: fixed; z-index: 70; margin: 0; pointer-events: none; }

/* Header garden button: a leaf with today's count. */
.garden-btn { position: relative; }
.garden-count:empty { display: none; }
.garden-count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--moss); color: var(--on-accent); font-size: 11px; font-weight: 700; line-height: 18px; }
.garden-btn.got { animation: got 0.9s ease-out; }
@keyframes got { 30% { box-shadow: 0 0 0 8px var(--moss-soft); transform: scale(1.08); } }
.garden-btn.sparkle::after, .goal.met::after { content: "✦"; position: absolute; top: -8px; left: -6px; color: var(--g-p3); font-size: 13px; animation: sparkle 1.6s ease-out 2; }
@keyframes sparkle { 0% { opacity: 0; transform: scale(0.4) rotate(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.2) rotate(40deg); } }
.top-btns { display: inline-flex; gap: 8px; }

/* Garden sheet */
.garden-dlg { width: min(560px, calc(100vw - 24px)); }
.garden-dlg .card-head { gap: 10px; }
.garden-dlg h2 { flex: 1; }
.goal { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; font-size: 11px; font-weight: 700; }
.goal svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.goal circle { fill: none; stroke-width: 3; }
.goal-track { stroke: var(--track); }
.goal-bar { stroke: var(--ring); stroke-linecap: round; stroke-dasharray: 94.25; transition: stroke-dashoffset 1.2s ease; }
.week { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; font-weight: 600; font-size: 15px; }
.week #week-label { min-width: 9em; text-align: center; }
.week .icon-btn { font-size: 22px; line-height: 1; }
.week .icon-btn:disabled { opacity: 0.35; }
.scene-wrap { position: relative; }
.scene { display: block; width: 100%; height: auto; border-radius: 18px; }
.gbg { fill: url(#gsky); } .gsky1 { stop-color: var(--g-sky1); } .gsky2 { stop-color: var(--g-sky2); }
.ghill { fill: var(--g-hill); } .gbed { fill: var(--g-bed); } .gsoil { fill: var(--g-soil); opacity: 0.55; } .gshade { fill: var(--g-shade); }
.gpond { fill: var(--g-pond); } .gpond2 { fill: var(--g-pond2); opacity: 0.6; }
.glantern { fill: var(--g-stone); } .glight { fill: var(--g-light); }
.gdrop { stroke: var(--g-drop); stroke-width: 1.2; stroke-linecap: round; animation: rain 1.6s linear infinite; }
@keyframes rain { from { transform: translate(0, -20px); opacity: 0; } 20% { opacity: 1; } to { transform: translate(-4px, 70px); opacity: 0; } }
.gfly { fill: var(--g-fly); filter: drop-shadow(0 0 3px var(--g-fly)); animation: fly 8s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0); opacity: 0.2; } 30% { opacity: 1; } 50% { transform: translate(10px, -8px); opacity: 0.5; } 75% { transform: translate(-6px, 4px); opacity: 1; } }
.scene .plant { cursor: pointer; outline: none; }
.scene .plant:focus-visible .gshade, .scene .plant.picked .gshade { fill: var(--moss); opacity: 0.5; }
.scene-empty { position: absolute; left: 0; right: 0; top: 34%; margin: 0; padding: 0 24px; text-align: center; font: 600 16px/1.35 var(--round); color: var(--muted); }
.plant-info { min-height: 1.4em; margin: 10px 0 4px; text-align: center; font-size: 15px; }
.garden-dlg #garden-next, .garden-dlg #garden-streak { margin: 2px 0; text-align: center; }
.garden-dlg #stats { margin-top: 14px; }

.toast { position: fixed; left: 50%; bottom: 84px; z-index: 75; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  .sprout [data-stage] { transition: opacity 0.6s ease !important; }
  .gdrop { opacity: 0.5; transform: none; }
  .gfly { opacity: 0.8; }
}
