/* A calm, replayable logic challenge. No deadline or speed-based reward. */
.pipe-brief{padding:15px 17px;background:#1a251c;border:1px solid #40513a;border-radius:7px;margin:16px 0}.pipe-brief p{font-size:12px;line-height:1.7;color:#bdcbb1;margin:5px 0}.pipe-brief strong{color:#eff2e4}.pipe-run-stats{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0;color:#c6d5b6;font-size:12px}.pipe-run-stats span{display:flex;gap:7px;padding:8px 10px;border:1px solid #3e4b36;border-radius:5px;background:#141d15}.pipe-run-stats strong{color:#f1f3e8}.pipe-tile.connected{color:#c7e795;border-color:#b9d777;background:#344c2a;box-shadow:inset 0 0 0 1px #a1c36b;animation:pipe-arrival .6s ease-out both}.pipe-tile.hint-tile{outline:2px solid var(--signal);outline-offset:1px}.pipe-tile:disabled{opacity:1;cursor:default}.pipe-tile:focus-visible{outline:3px solid var(--signal);outline-offset:3px}.pipe-tile.flow-step-1{animation-delay:.04s}.pipe-tile.flow-step-2{animation-delay:.08s}.pipe-tile.flow-step-3{animation-delay:.12s}.pipe-tile.flow-step-4{animation-delay:.16s}.pipe-tile.flow-step-5{animation-delay:.20s}.pipe-tile.flow-step-6{animation-delay:.24s}.pipe-tile.flow-step-7{animation-delay:.28s}.pipe-tile.flow-step-8{animation-delay:.32s}.pipe-tile.flow-step-9{animation-delay:.36s}.pipe-tile.flow-step-10{animation-delay:.40s}.pipe-tile.flow-step-11{animation-delay:.44s}.pipe-result{padding:21px;margin:16px 0;border:1px solid #7c9b54;background:linear-gradient(130deg,#263b23,#19241c);border-radius:8px}.pipe-result h3{font-size:23px;margin:8px 0;color:#eef4de}.pipe-result p{font-size:12px;line-height:1.7;margin:8px 0;color:#c5d3b6}.pipe-stars{font-size:28px;letter-spacing:5px;color:#d5c36c}.pipe-result .actions{margin-top:17px}.pipe-record{margin:14px 0 0;font-size:11px;color:#b8c8a8;line-height:1.7}.pipe-controls{flex-wrap:wrap;gap:12px}.pipe-controls button{min-height:38px}.pipe-reward{color:var(--soft);font-weight:700}.pipe-training-note{font-size:11px;color:#9bad8d;line-height:1.7}.pipe-wrap{margin-block:14px}.pipe-tile{transition:background .16s,color .16s,border-color .16s}.pipe-tile svg{filter:drop-shadow(0 2px 2px #0003)}
@keyframes pipe-arrival{from{box-shadow:inset 0 0 0 2px #edf7ce,0 0 18px #d7f9a5;transform:scale(.97)}to{box-shadow:inset 0 0 0 1px #a1c36b;transform:scale(1)}}
@media(max-width:500px){.pipe-run-stats{gap:6px}.pipe-run-stats span{font-size:10px;padding:7px}.pipe-brief{padding:12px}.pipe-result{padding:16px}.pipe-result h3{font-size:21px}.pipe-result .actions{display:grid;gap:8px}.pipe-controls{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pipe-tile.connected{animation:none}.pipe-tile{transition:none}}
