.world-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.world-portals .activity-card{background:#fff9e9;border:1px solid #e5dabd}.world-portals .activity-card:first-child{background:#edf5dd}.journal-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.journal-prompt{background:#edf3df;border-radius:14px;padding:15px;font-size:16px!important;color:#3d5d42}
.explore-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px;background:#edeedf;border-radius:22px;margin-bottom:22px}.explore-tab{min-height:53px;border:0;background:transparent;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:9px;color:#5b6c4b;font-size:14px}.explore-tab.selected{background:#fffdf4;box-shadow:0 2px 10px #3e5c3112;color:#315a43;font-weight:600}.explore-grid~.button.full{margin-top:18px}.explore-tabs~.explore-section{margin-top:24px}@media(max-width:650px){.explore-tabs{gap:4px;padding:5px}.explore-tab{font-size:11px;flex-direction:column;gap:6px;min-height:61px;padding:8px 4px}.explore-tab svg{width:20px;height:20px}}
.explore-preferences{background:linear-gradient(120deg,#eaf3dc,#fff1d7);border:1px solid #dce7cc;border-radius:25px;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0}.explore-preferences strong{display:block;font-size:14px;margin-bottom:12px}.explore-preferences>p{grid-column:1/-1;font-size:12px;margin:0;color:#57694d}.choice-row{display:flex;gap:9px;flex-wrap:wrap}.choice{border:1px solid #d2ddc8;background:#fffdf5;border-radius:20px;min-height:44px;padding:10px 15px;color:#48603d;font-size:13px}.choice.selected{background:#3a6955;color:white;border-color:#3a6955}.choice:hover{box-shadow:0 3px 12px #47643c15}.explore-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:25px 0 13px}.explore-heading h2{margin:0}.explore-filters{margin-bottom:20px}.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.explore-card{padding:22px;border:1px solid #dfe5d5;background:#fffef7;border-radius:23px;display:flex;flex-direction:column;min-width:0}.explore-icon{display:grid;place-items:center;background:#eceaf8;border-radius:16px;width:52px;height:52px;color:#766591}.explore-card.momentum .explore-icon{background:#fbe6b7;color:#8c6b34}.explore-card.joy .explore-icon{background:#f7dcd2;color:#a46458}.explore-card h3{font-size:20px;line-height:1.35;margin:19px 0 8px}.explore-card p{font-size:13px;line-height:1.65;margin:0 0 15px;flex:1;color:#5e6d55}.explore-card small{font-size:11px;color:#637153;line-height:1.5}.explore-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.explore-card-actions .text-button{font-size:12px}.is-favorite{color:#b45c6e;background:#fce4e8}.is-favorite svg{fill:#f3c9d3}.explore-section{margin-top:37px}.explore-section>p{font-size:14px;color:#5e7055}.ritual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.ritual-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border-radius:22px;border:1px solid #e2dfd5;background:#f6f2e8;gap:13px;min-width:0}.ritual-card h3{font-size:19px;line-height:1.4;margin:0}.ritual-card span,.ritual-card p{font-size:13px;color:#637357;margin:0}.ritual-card .button{margin-top:auto}.ritual-card.collected{background:#eaf3dc;border-color:#bfcfb0}.play-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}.play-option{border:1px solid #e1dce7;background:#f2edf9;border-radius:22px;padding:25px;display:flex;gap:20px;align-items:center;text-align:left;color:#4b4962}.play-option:nth-child(2){background:#e9f2e1;color:#48613a}.play-symbol{font-size:43px;flex:none;color:#b79655}.play-option strong{display:block;font-size:18px;line-height:1.4}.play-option small{display:block;font-size:13px;line-height:1.6;margin-top:8px}.play-option:hover{transform:translateY(-2px);box-shadow:0 5px 20px #4c584212}.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.theme-choice{padding:0 0 17px;background:#fffdf5;border:1px solid #e0e4d5;border-radius:21px;overflow:hidden;text-align:left;color:#46633c}.theme-choice strong,.theme-choice small{display:block;margin:14px 15px 0}.theme-choice strong{font-size:14px}.theme-choice small{font-size:11px;margin-top:6px;color:#627557}.theme-art{height:170px;position:relative;background:var(--theme-sky);overflow:hidden;isolation:isolate}.theme-orb{position:absolute;top:22px;right:25px;width:42px;height:42px;border-radius:50%;background:var(--theme-accent);box-shadow:0 0 0 9px #fff5cd33}.theme-hill{position:absolute;bottom:-50px;left:-30%;width:150%;height:130px;border-radius:50% 60% 0 0;background:var(--theme-floor)}.theme-art>div{position:absolute;inset:12px 0 0;display:grid;place-items:center}.theme-art svg{width:155px;height:155px;animation:companion-breathe 5s ease-in-out infinite;transform-origin:50% 85%}dialog .theme-art{height:235px;border-radius:20px}dialog .theme-art svg{height:210px;width:210px}
.resume-strip{display:flex;align-items:center;gap:17px;padding:17px 20px;border-radius:18px;background:#f6ebd1;border:1px solid #e6d6b2}.resume-strip>div{flex:1}.resume-strip strong,.resume-strip span{display:block}.resume-strip span{font-size:12px;margin-top:5px}.guided-step{text-align:center}.step-dots{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:25px}.step-dots>span{height:7px;width:44px;background:#e4e9db;border-radius:10px}.step-dots>span.done{background:#72966a}.step-dots small{font-size:12px;margin-left:7px}.guided-art{width:100px;height:100px;display:grid;place-items:center;margin:0 auto 23px;border-radius:35px;background:#ebe7f4;color:#837094;animation:guided-float 6s ease-in-out infinite}.guided-art.momentum{background:#f9e5b8;color:#96753e}.guided-art.joy{background:#f7ddd4;color:#b47369}.guided-step h3{font-size:23px;line-height:1.55;margin:12px 0 22px;font-weight:550}.easy-version{padding:14px 17px;background:#f2f5e9;border-radius:15px;text-align:left}.easy-version summary{font-size:13px;color:#48663d;cursor:pointer}.easy-version p{font-size:14px;line-height:1.6;color:#4f6843}.guided-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.activity-finished{text-align:center;padding:15px 0}.finished-bloom{font-size:75px;color:#b68c4b;line-height:1.4;animation:joy-twinkle 1s ease-out}.ritual-steps{list-style:none;padding:0;display:grid;gap:14px;margin:22px 0}.ritual-steps li{display:flex;align-items:center;gap:13px;background:#f4f5eb;padding:15px;border-radius:15px;font-size:15px}.ritual-steps li>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e1e8d6;flex:none}.ritual-steps li.finished{background:#eaf3de}.ritual-steps li.finished>span{background:#547b49;color:white}.firefly-garden{height:310px;background:radial-gradient(ellipse at 50% 100%,#63726b,#313e57 75%);border-radius:25px;position:relative;overflow:hidden;margin-top:20px}.firefly-moon{position:absolute;top:15px;right:25px;color:#f1dfaa;font-size:45px}.firefly{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:56px;height:56px;background:#ffffff08;border:1px solid #ffffff33;border-radius:50%;color:#eee5b7;font-size:34px;display:grid;place-items:center}.firefly>span{animation:firefly-glow 4s ease-in-out infinite;animation-delay:var(--delay);pointer-events:none}.firefly.awake{background:#f5dd9833;color:#fff0b4;border-color:#e5d27e;box-shadow:0 0 22px #edd99d55}.firefly:focus-visible{outline-color:#ffeeb4}.discovery-copy{margin-top:21px}.discovery-copy p{font-size:18px;line-height:1.7;color:#4b6241}.discovery-copy small{color:#6d7c60;font-size:13px}.progress-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:24px 0}.progress-totals article{border-radius:23px;padding:24px;background:#ecf3de;border:1px solid #dce7ce}.progress-totals article:nth-child(2){background:#f8e8dc;border-color:#e8dacf}.progress-totals article:nth-child(3){background:#eee9f5;border-color:#e0d9e9}.progress-totals strong{display:block;font-size:38px;line-height:1.5}.progress-totals span{font-size:13px}.mood-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:22px 0}.mood-day{background:#f5f4e9;border:1px solid #e2e4d4;border-radius:18px;padding:17px 6px;display:flex;flex-direction:column;align-items:center;gap:14px;color:#566c47;min-width:0}.mood-day span{font-size:12px}.mood-day strong{font-size:33px;font-weight:400}.mood-day small{font-size:11px}.mood-day:hover{background:#eaf1dc}
@keyframes guided-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}@keyframes firefly-glow{0%,100%{opacity:.6;scale:.85}50%{opacity:1;scale:1.05}}

.firefly-garden { isolation:isolate; touch-action:none; user-select:none; border:1px solid #56645c; }
.firefly-meadow { position:absolute; inset:57% -20% -25%; border-radius:47% 45% 0 0; background:linear-gradient(155deg,#536553,#303e41); rotate:-8deg; pointer-events:none; }
.firefly-garden .firefly-friend { top:35%; z-index:1; filter:drop-shadow(0 5px 8px #1219287f); }
.firefly-garden .firefly-friend .pet-head { rotate:var(--firefly-look,0deg); }
.firefly-lantern { position:absolute; left:50%; top:82%; width:27px; height:35px; translate:-50% -50%; background:#fbdd9b; border:3px solid #967347; border-radius:7px; z-index:2; }
.firefly-lantern::before { content:''; position:absolute; width:10px; height:7px; border:2px solid #c2a36e; border-radius:8px 8px 0 0; left:50%; bottom:100%; translate:-50% 0; }
.firefly-lantern::after { content:''; position:absolute; left:50%; top:50%; width:180px; height:150px; translate:-50% -50%; background:radial-gradient(ellipse,#ffda8960 5%,#ffda8933 40%,transparent 70%); opacity:var(--lamp-glow); pointer-events:none; transition:opacity .32s ease; }
.firefly-garden .firefly { z-index:3; touch-action:none; cursor:pointer; }
.firefly-garden .firefly span { position:relative; width:18px; height:9px; border-radius:60% 65%; background:linear-gradient(90deg,#b8c788 30%,#fbe98e 36%); box-shadow:3px 0 12px #ffe89d9f; }
.firefly-garden .firefly span::before { content:''; position:absolute; top:-4px; left:3px; width:11px; height:7px; border-radius:80% 20%; background:#ffffd7a8; rotate:-18deg; }
.firefly-garden .firefly.awake { background:#f3d98739; color:#fff4cd; box-shadow:0 0 24px #f9d67477,inset 0 0 13px #ffdc9c4f; }
.firefly-flight { position:absolute; z-index:4; width:11px; height:11px; border-radius:50%; background:#fff2bc; box-shadow:0 0 13px 4px #ffe098c2; pointer-events:none; animation:fly-to-lantern .8s cubic-bezier(.23,.56,.36,1) forwards; }
@keyframes fly-to-lantern {
  0% { left:var(--from-x); top:var(--from-y); transform:translate(-50%,-50%); opacity:1; }
  48% { left:calc((var(--from-x) + 50%) / 2); top:calc((var(--from-y) + 60%) / 2); transform:translate(7px,-22px); opacity:1; }
  100% { left:50%; top:82%; transform:translate(-50%,-50%) scale(.2); opacity:.1; }
}
.firefly-stop[hidden],[data-action="exp-game-done"][hidden] { display:none; }
.reduced-motion .firefly-flight { display:none; }
.reduced-motion .firefly-lantern::after { transition:none; }
@media(prefers-reduced-motion:reduce){.firefly-flight{display:none}.firefly-lantern::after{transition:none}}
@media(max-width:1180px){.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-portals{grid-template-columns:1fr}.ritual-card{padding:20px}}
@media(max-width:650px){.explore-preferences{grid-template-columns:1fr;padding:20px;gap:20px}.explore-preferences>p{font-size:12px}.choice{padding:10px 12px;font-size:12px}.explore-heading{align-items:flex-start}.explore-heading h2{font-size:23px}.explore-heading .text-button{font-size:12px;max-width:130px}.explore-grid,.ritual-grid,.play-options{grid-template-columns:1fr}.explore-card{padding:21px}.explore-card h3{font-size:21px}.explore-card small{font-size:12px}.explore-section{margin-top:30px}.play-option{padding:22px 19px}.theme-grid{gap:12px}.theme-art{height:145px}.theme-art svg{width:135px;height:135px}.theme-choice strong{font-size:13px;margin-left:12px;margin-right:12px}.theme-choice small{font-size:11px;margin-left:12px;margin-right:12px}.resume-strip{flex-wrap:wrap}.resume-strip .button{width:100%}.guided-step h3{font-size:21px}.guided-controls .button{flex:1;min-width:120px}.guided-controls .text-button{width:100%}.firefly-garden{height:300px}.progress-totals{gap:10px}.progress-totals article{padding:14px 12px;border-radius:18px}.progress-totals strong{font-size:29px}.progress-totals span{font-size:12px;line-height:1.5;display:block}.mood-week{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mood-day{padding:13px 4px}.mood-day small{font-size:10px}.world-portals{gap:12px}.journal-shortcuts .button{width:100%}.discovery-copy p{font-size:16px}.ritual-card .button{min-width:160px}}
.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;white-space:nowrap}
