:root{--accent:#477c71}.title-dot{color:#548879}.garden-frame{padding:22px;background:#e6e9df;border:1px solid #bcc8b6;box-shadow:0 3px 0 #d8dfd1}.frame-top,.frame-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;line-height:1.6;color:#6b8276}.frame-top{letter-spacing:1.5px;margin-bottom:20px}.frame-top span:last-child{letter-spacing:0}.frame-bottom{margin-top:19px;font-variant-numeric:tabular-nums}.pipe-grid{display:grid;grid-template-columns:repeat(var(--size,4),minmax(0,1fr));border:1px solid #aebeb0;background:#bccbbb;gap:1px;isolation:isolate}.pipe{display:block;position:relative;aspect-ratio:1;min-width:44px;min-height:44px;padding:0;border:0;background:#eef0e7;transition:background .2s;touch-action:manipulation}.pipe.wet{background:#dce9dd}.pipe svg{width:100%;height:100%;display:block;overflow:hidden}.pipe-outline{stroke:#c0cbbb;stroke-width:18;fill:none;stroke-linejoin:round}.pipe-line{stroke:#a0afa0;stroke-width:8;fill:none;stroke-linejoin:round;transition:stroke .25s}.pipe.wet .pipe-outline{stroke:#b0cabc}.pipe.wet .pipe-line{stroke:#4e8e7b}.pipe-hub{fill:#a0afa0;transition:fill .2s}.pipe.wet .pipe-hub{fill:#4e8e7b}.garden-disc{fill:#edf0e6;stroke:#a9b6a2;stroke-width:1.5}.garden-petal{fill:#b6c0a9;transition:fill .3s}.pipe.wet .garden-disc{fill:#e6efdc;stroke:#8dac87}.pipe.wet .garden-petal{fill:#699358}.garden-heart{fill:#edf0e6}.source-disc{fill:#477c71;stroke:#e5eee0;stroke-width:4}.source-drop{fill:#f2f0d8}.pipe.hinted{z-index:2;outline:3px solid #b68b45;outline-offset:-4px}.pipe.hinted:after{content:'↻';position:absolute;right:3px;top:0;font-size:17px;color:#8c6426;font-weight:600}.pipe:focus-visible{z-index:3;outline:3px solid #ad7645;outline-offset:-4px}.pipe:active{background:#c8ddce}.pipe:disabled{opacity:1}.pipe-grid.solved{border-color:#74937b}.completion{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:21px 0;margin:8px 0 18px;border-top:1px solid #b8c8ae;border-bottom:1px solid #b8c8ae}.completion-mark{font-size:36px;color:#7d975b}.completion h2{font-family:var(--serif);font-size:23px;letter-spacing:-1px;font-weight:400;margin:0 0 7px}.completion p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.completion .primary-button{white-space:nowrap}.game-toolbar .icon-button{flex:0 0 44px}.status-line{min-height:43px;margin:0}.board-legend,.garden-key{display:flex;align-items:center;gap:16px;color:#7a8575;font-size:10px;line-height:1.7}.garden-key{margin:25px 0;flex-wrap:wrap;gap:13px}.board-legend{margin-top:19px;justify-content:center}.board-legend span,.garden-key span{display:flex;align-items:center;gap:6px}.board-legend span:last-child{margin-left:auto;font-variant-numeric:tabular-nums}.key-source{font-size:17px;color:#477c71;font-style:normal}.key-leaf{font-size:21px;color:#7d975b;font-style:normal}.key-water{height:3px;width:17px;background:#477c71;display:inline-block}.game-intro .rules .margin-note{font-size:10px;color:#87907f}.level-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 0}.level-list button{border:1px solid #b8c5af;background:none;min-height:48px;font-size:12px}.level-list button.current{background:var(--accent);color:var(--paper);border-color:var(--accent)}@media(hover:hover){.pipe:not(:disabled):hover{background:#d3e2d4}.button:hover{background:#e6e9df}}@media(max-width:700px){.game-intro .tagline{font-size:13px;line-height:1.8}.garden-frame{padding:17px}.frame-top{font-size:9px;margin-bottom:17px;letter-spacing:1.2px}.frame-bottom{font-size:10px;margin-top:16px}.completion{gap:11px;padding:17px 0}.completion h2{font-size:21px}.completion-mark{font-size:29px}.board-legend{margin-top:15px}}@media(max-width:360px){.garden-frame{padding:14px}.frame-top{font-size:8px;letter-spacing:1px;margin-bottom:14px}.frame-bottom{font-size:9px;margin-top:14px}.game-toolbar button{font-size:10px;padding:9px 5px}.completion{grid-template-columns:auto 1fr;gap:10px}.completion .primary-button{grid-column:1/-1}.pipe.hinted:after{font-size:15px;right:1px}}

@media(max-width:700px) and (max-height:700px) and (orientation:portrait){.game-header{min-height:50px}.game-layout{padding-top:12px}.game-intro{display:flex;align-items:center;gap:20px;margin-bottom:10px}.game-intro .eyebrow{display:none}.game-intro h1{font-size:31px;margin:0;flex-shrink:0}.game-intro .tagline{font-size:11px;line-height:1.7}.play-panel{max-width:360px;margin:0 auto}.stage-bar{min-height:44px;margin-bottom:8px}.stage-bar h2{font-size:14px}.stage-bar p{font-size:10px;margin-top:3px}.stage-bar .text-button{font-size:10px;padding:8px}.lamp-frame,.garden-frame{padding:14px}.frame-top{margin-bottom:8px;font-size:8px}.frame-bottom{margin-top:8px;font-size:9px}.game-toolbar{margin-top:10px;margin-bottom:10px}}

/* Water washes out from the spring, then every planted end flowers. */
.victory-complete.garden-frame{border-color:#759d86;background:#dfeadd;box-shadow:0 3px 0 #c8d9c5}.victory-complete .frame-top #garden-count{color:#315f4d;font-weight:600}.victory-complete .pipe.wet{background:#dfeddc}.victory-complete .pipe.wet .pipe-line{stroke:#337d68}.victory-complete .pipe.wet .garden-petal{fill:#c98776}.victory-complete .pipe.wet .garden-heart{fill:#f5d487}.victory-complete .pipe.wet .garden-disc{fill:#f3ead9;stroke:#bba985}.victory-finishing.garden-frame{animation:victory-water-ring 1.5s ease both}.victory-finishing .pipe.wet{animation:victory-water-wash 1s ease var(--victory-delay) both}.victory-finishing .pipe.wet .pipe-line{animation:victory-water-flow 1.1s ease var(--victory-delay) both}.victory-finishing .garden-petal{transform-box:fill-box;transform-origin:center;animation:victory-garden-bloom .85s cubic-bezier(.16,.9,.26,1.3) calc(var(--victory-delay) + .13s) both}@keyframes victory-water-ring{0%{box-shadow:0 0 0 0 #588e7770}50%{box-shadow:0 0 0 8px #588e7720,0 0 30px #8db18b44}100%{box-shadow:0 0 0 16px transparent}}@keyframes victory-water-wash{0%{background:#e9eade}35%{background:#aacfb6}100%{background:#dfeddc}}@keyframes victory-water-flow{0%{stroke:#b4c2ac;stroke-dasharray:100;stroke-dashoffset:100}70%{stroke:#2d816a;stroke-dashoffset:0}100%{stroke:#337d68;stroke-dashoffset:0}}@keyframes victory-garden-bloom{0%{transform:scale(.2) rotate(-45deg);opacity:.4}70%{transform:scale(1.25) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}
