/* Experimento del jardín: componentes aislados del resto de laboratorios. */
.universe-view-switch{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:4px}
.universe-view-switch button{border:1px solid var(--line);border-radius:999px;background:#111326;color:var(--muted);font:inherit;font-size:13px;padding:12px 19px;cursor:pointer}
.universe-view-switch button.active{color:var(--ink);background:#25263c;border-color:#b4a17d}
.universe-view-switch button:focus-visible,.earth-memory button:focus-visible,.earth-memory input:focus-visible,.earth-memory a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.universe-observation{display:contents}
.universe-observation[hidden],.earth-memory[hidden],.memory-change-front[hidden]{display:none!important}
.earth-memory{grid-column:1/-1;min-width:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:linear-gradient(135deg,#171c2c,#101423 70%);color:var(--ink)}
.memory-heading{padding:30px 32px 24px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.memory-heading h2{font-size:clamp(28px,4vw,46px);letter-spacing:-.045em;line-height:1.08;margin:9px 0 13px}
.memory-heading p:last-child{font-size:14px;color:#b9bdcd;line-height:1.75;max-width:720px;margin:0}
.memory-heading .tag{flex-shrink:0;margin-top:5px;white-space:nowrap}
.memory-scenes{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 30px}
.memory-scene{min-width:0;overflow:hidden;border:1px solid #3a4350;border-radius:17px;background:#101724}
.memory-scene header{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.memory-scene header span{color:#b7c5ca;font-size:10px;font-weight:750;letter-spacing:.11em;line-height:1.5}
.memory-scene header strong{font-size:12px;color:var(--gold);white-space:nowrap}
.memory-scene.received header strong{color:var(--cyan)}
.memory-garden{width:100%;height:auto;display:block}
.memory-grandpa{transition:opacity .2s}
[data-alive="false"] .memory-grandpa{display:none}
.memory-scene footer{padding:15px 18px 18px;display:block;border:0;margin:0;min-height:100px}
.memory-scene footer strong{display:block;font-size:15px;font-weight:650;line-height:1.45;color:var(--ink)}
.memory-scene footer p{font-size:11px;line-height:1.65;color:#aebbc8;margin:7px 0 0}
.memory-signal{margin:22px 30px 0;padding:19px 22px 17px;border:1px solid #333d4e;border-radius:15px;background:#0d1321}
.memory-signal-labels{display:flex;justify-content:space-between;gap:20px;font-size:10px;font-weight:750;color:#c3cfda;letter-spacing:.08em}
.memory-signal-track{height:4px;position:relative;margin:28px 18px 22px;background:linear-gradient(90deg,#5be1d065,#f2c56f75);border-radius:3px}
.memory-signal-track:after{content:'→';position:absolute;right:-15px;top:-11px;color:#a6b6c0;font-size:18px}
.memory-packet{position:absolute;display:block;top:50%;transform:translate(-50%,-50%);width:9px;height:9px;border-radius:50%;box-shadow:0 0 9px currentColor}
.memory-packet.before{background:var(--gold);color:#f2c56f88}
.memory-packet.after{background:var(--cyan);color:#5be1d088}
.memory-change-front{position:absolute;top:-11px;height:26px;width:2px;background:#e5e8f3}
.memory-change-front:before{content:'Cambio';position:absolute;bottom:30px;left:0;transform:translateX(-50%);font-size:9px;color:#e5e8f3;letter-spacing:.03em}
.memory-signal-key{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;font-size:10px;color:#aebbc8;line-height:1.5}
.memory-signal-key span{display:inline-flex;align-items:center;gap:7px}
.memory-signal-key i{width:6px;height:6px;background:var(--gold);border-radius:50%}
.memory-signal-key span:nth-child(2) i{background:var(--cyan)}
.memory-signal-key b{font-weight:500;color:#dce3e9;margin-left:auto}
.memory-controls{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:25px 32px 16px}
.memory-control{min-width:0}
.memory-control label{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#c2c8d4;margin-bottom:16px}
.memory-control output{font-size:13px;font-weight:750;color:var(--gold);text-align:right}
.memory-control input[type="range"]{accent-color:var(--gold);width:100%;margin:0;cursor:pointer;min-height:24px}
.memory-range-labels{display:flex;justify-content:space-between;font-size:10px;color:#8f9bab;margin-top:3px}
.memory-range-labels button{background:none;border:0;color:var(--cyan);font:inherit;font-size:10px;cursor:pointer;padding:0}
.memory-timeline{position:relative;height:48px;margin:1px 8px 0;color:#9caabd;font-size:9px}
.memory-timeline i{position:absolute;top:0;height:9px;width:1px;background:#8992a2}
.memory-timeline span{position:absolute;top:12px;width:85px;transform:translateX(-50%);text-align:center;line-height:1.45}
.memory-death-marker{left:20%}.memory-today-marker{left:33.3333%}
.memory-received-marker{position:absolute;top:0;color:var(--cyan)}
.memory-received-marker:before{content:'';position:absolute;top:0;height:9px;width:2px;background:var(--cyan)}
.memory-actions{display:flex;flex-wrap:wrap;gap:9px;padding:0 32px 25px}
.memory-actions button{cursor:pointer;border:1px solid #3a4856;border-radius:9px;font:inherit;font-size:12px;padding:12px 16px;background:#1c2735;color:#e3e8eb}
.memory-actions button:first-child{color:#151b23;background:var(--gold);border-color:var(--gold);font-weight:750;min-width:188px}
.memory-actions button:hover{filter:brightness(1.13)}
.memory-conclusion{padding:22px 32px;border-top:1px solid #344051;background:#1d2c36;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.memory-conclusion p{font-size:14px;line-height:1.75;max-width:820px;margin:0;color:#e6e8df}
.memory-conclusion small{font-size:10px;color:#acbdc6;display:block;margin-bottom:5px}
.memory-conclusion>div{font-size:13px;line-height:1.6;color:var(--cyan);text-align:right;max-width:170px}
.memory-explanation{margin:0;padding:20px 32px 25px;font-size:12px;color:#aeb9c7;line-height:1.8}
.memory-explanation summary{cursor:pointer;color:#d0d7df;font-size:12px;font-weight:650}
.memory-explanation p{max-width:950px;margin:14px 0 0}
.memory-explanation a{color:#92d9d1;text-underline-offset:3px}
.memory-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.earth-memory[data-playing="true"] [data-alive="true"] .memory-grandpa{animation:memory-mowing 4s ease-in-out infinite alternate}
@keyframes memory-mowing{from{transform:translateX(-16px)}to{transform:translateX(12px)}}
@media(max-width:760px){.memory-heading{padding:24px 22px 20px}.memory-heading .tag{display:none}.memory-scenes{padding:0 20px;gap:12px}.memory-scene header{padding:12px;display:block;min-height:77px}.memory-scene header span{display:block;font-size:9px}.memory-scene header strong{display:block;margin-top:5px;font-size:11px}.memory-scene footer{padding:13px 12px;min-height:137px}.memory-scene footer strong{font-size:12px}.memory-scene footer p{font-size:10px}.memory-signal{margin:18px 20px 0;padding:18px 15px}.memory-controls{padding:22px 22px 14px;grid-template-columns:1fr;gap:18px}.memory-actions{padding:0 22px 22px}.memory-conclusion{padding:20px 22px;grid-template-columns:1fr;gap:12px}.memory-conclusion>div{text-align:left;max-width:none}.memory-conclusion p{font-size:13px}.memory-explanation{padding:18px 22px 23px}.memory-signal-key b{width:100%;margin:0}.universe-view-switch button{font-size:12px;padding:11px 15px}}
@media(max-width:440px){.memory-scenes{grid-template-columns:1fr}.memory-scene header{display:flex;min-height:0}.memory-scene header strong{margin:0}.memory-garden{max-height:200px}.memory-scene footer{min-height:0}.memory-heading p:last-child{font-size:12px}.memory-actions button{flex:1}.memory-actions button:first-child{flex-basis:100%}.memory-signal-labels{font-size:8px;gap:10px}.memory-control label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.earth-memory .memory-grandpa{animation:none!important}.earth-memory *{transition:none!important}}

/* Primero una historia con una sola imagen; la exploración aparece al terminar. */
.earth-memory [hidden]{display:none!important}
.memory-guide{padding:0 32px 25px}
.memory-guide-progress{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:0 0 23px}
.memory-guide-progress li{display:flex;align-items:center;gap:9px;border-top:3px solid #34414f;padding-top:13px;color:#8f9dac;font-size:11px;line-height:1.4}
.memory-guide-progress b{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;background:#263342;color:#b4c0ce;font-size:11px}
.memory-guide-progress li.active{border-color:var(--gold);color:#f1e1be}
.memory-guide-progress li.active b{background:var(--gold);color:#1b2330}
.memory-guide-progress li.completed{border-color:#5c887f}
.memory-guide-reading{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.memory-guide-reading h3{font-size:clamp(21px,2.5vw,29px);line-height:1.25;letter-spacing:-.025em;margin:8px 0 12px;font-weight:650}
.memory-guide-reading p{font-size:17px;line-height:1.75;color:#d0d6dd;max-width:790px;margin:0}
.memory-guide-reading .eyebrow{font-size:10px;color:var(--gold)}
.memory-guide-navigation{display:grid;gap:13px;justify-items:stretch;min-width:160px}
.memory-guide-navigation>button{border:0;background:var(--gold);color:#17202a;border-radius:10px;font:inherit;font-weight:750;font-size:14px;padding:15px 18px;cursor:pointer;min-height:48px}
.memory-guide-navigation>div{display:flex;gap:14px;justify-content:space-between}
.memory-guide-navigation>div button{border:0;background:none;padding:5px 0;color:#b3c2cd;font:inherit;font-size:10px;cursor:pointer}
.memory-guide-navigation button:disabled{opacity:.4;cursor:default}
.memory-observer-illustration{display:block;width:100%;height:auto}
.memory-story-photo{display:none;position:absolute;top:50%;width:108px;transform:translate(-50%,-50%);border:3px solid var(--gold);border-radius:8px;background:#e6ddba;box-shadow:0 0 19px #f2c56f40;z-index:2}
.memory-story-photo .memory-garden{display:block;width:100%;height:auto;max-height:none}
.memory-story-photo>span{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:155px;text-align:center;color:#f3daaa;font-size:10px;line-height:1.4;padding-top:8px}
#memory-story-photo .memory-grandpa{animation:none!important}
.memory-guide-signal-copy{display:none;font-size:12px;line-height:1.7;color:#b8c8d3;max-width:760px;margin:0}
.earth-memory[data-mode="guide"] .memory-signal-track{margin:63px 58px 63px}
.earth-memory[data-mode="guide"] .memory-story-photo{display:block}
.earth-memory[data-mode="guide"] .memory-guide-signal-copy{display:block}
.earth-memory[data-mode="guide"] #memory-signal-packets,.earth-memory[data-mode="guide"] .memory-change-front,.earth-memory[data-mode="guide"] .memory-signal-key{display:none!important}
.earth-memory[data-mode="guide"] .memory-scene header strong{white-space:normal;text-align:right;font-size:11px}
.earth-memory[data-mode="guide"] .memory-scene header span{font-size:10px}
.memory-guide-takeaway{padding:23px 32px;margin:22px 0 0;border-top:1px solid #3a4c54;border-bottom:1px solid #3a4c54;background:#21383b;color:#e7ece4;line-height:1.7}
.memory-guide-takeaway strong{display:block;font-size:19px;font-weight:650;letter-spacing:-.015em}
.memory-guide-takeaway span{font-size:14px;color:#bfd5d0}
.memory-free-heading{padding:24px 32px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:25px}
.memory-free-heading h3{font-size:20px;line-height:1.4;margin:0 0 8px}
.memory-free-heading p{font-size:12px;line-height:1.7;max-width:650px;color:#b3c1cd;margin:0}
.memory-free-heading button{border:1px solid #405260;background:transparent;border-radius:8px;font:inherit;font-size:11px;padding:11px;color:#b8d5d3;white-space:nowrap;cursor:pointer}
@media(max-width:760px){.memory-guide{padding:0 22px 22px}.memory-guide-progress{gap:6px;margin-bottom:20px}.memory-guide-progress li{font-size:9px;gap:5px;align-items:flex-start}.memory-guide-progress b{width:20px;height:20px;font-size:10px}.memory-guide-reading{grid-template-columns:1fr;gap:20px}.memory-guide-reading p{font-size:15px;line-height:1.75}.memory-guide-navigation{grid-template-columns:1fr auto;align-items:center;gap:20px}.memory-guide-navigation>div{gap:16px}.memory-guide-navigation>button{font-size:13px;padding:13px 14px}.memory-free-heading{padding:22px 22px 0;display:block}.memory-free-heading button{margin-top:15px}.memory-guide-takeaway{padding:20px 22px}.memory-guide-takeaway strong{font-size:17px}.memory-guide-takeaway span{font-size:12px}}
@media(max-width:440px){.memory-guide-progress li{display:block}.memory-guide-progress li>span{display:block;margin-top:7px}.memory-guide-navigation{grid-template-columns:1fr;gap:8px}.memory-guide-navigation>div{justify-content:space-between}.memory-story-photo{width:92px}.memory-story-photo>span{width:135px;font-size:9px}.earth-memory[data-mode="guide"] .memory-scene header{gap:8px}.earth-memory[data-mode="guide"] .memory-scene header span{font-size:9px}.earth-memory[data-mode="guide"] .memory-scene header strong{max-width:130px;font-size:10px}.memory-observer-illustration{max-height:200px}.memory-guide-signal-copy{font-size:11px}}
