.space-opening{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;overflow:hidden;color:#302b25;background:#fff8ee;font-family:Segoe UI,Microsoft YaHei,sans-serif}.space-opening::backdrop{background:#fff8ee}.space-opening-pending .space-opening{display:block;z-index:100}.space-opening-pending,.space-opening-active{overflow:hidden}.opening-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.opening-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0}.opening-art img{display:block;user-select:none}.opening-ground,.opening-night{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.opening-ground{object-position:center bottom}.opening-night{opacity:0}.opening-fire-wash{position:absolute;inset:0;background:#ffe9b4;opacity:0}.opening-boy,.opening-rocket{position:absolute;top:0;left:0;width:200px;transform-origin:50% 53%}.opening-boy>img,.opening-rocket-picture{position:relative;z-index:1;width:100%;height:auto}.opening-rocket{opacity:0}.opening-dream-light{position:absolute;left:56%;top:44%;z-index:2;width:24%;aspect-ratio:1;border-radius:50%;background:#ffe86c;opacity:0;mix-blend-mode:screen}.opening-heart-light{position:absolute;z-index:3;left:46%;top:57%;width:12%;aspect-ratio:1;border-radius:50%;background:#fff29a;opacity:0}.opening-effect{display:block;position:absolute;width:100px;aspect-ratio:1;overflow:hidden}.opening-effect img{position:absolute;width:200%;height:100%;max-width:none}.opening-flame{width:40%;left:30%;top:88%;transform-origin:50% 0;opacity:0}.opening-flame img{left:0}.opening-hand-flame{left:53%;top:31%;width:28%;z-index:3;opacity:0;transform-origin:50% 100%}.opening-hand-flame img{left:0;transform:rotate(180deg);transform-origin:25% 50%}.opening-meteor{opacity:0;width:clamp(150px,27vw,380px)}.opening-meteor img{left:-100%}.opening-planets{position:absolute;inset:0}.opening-planet{position:absolute;left:0;top:0;width:100px;opacity:0;transform-origin:50% 50%}.opening-planet-picture{display:block;width:100%;aspect-ratio:1;position:relative;overflow:hidden}.opening-planet-picture img{position:absolute;width:200%;height:200%;max-width:none;left:var(--sprite-x);top:var(--sprite-y)}.opening-planet-name{position:absolute;top:100%;left:50%;transform:translate(-50%);width:max-content;max-width:160px;text-align:center;color:#fff8ee;font-size:16px;font-weight:600;line-height:1.35;text-shadow:0 2px 4px #082351;white-space:nowrap}.opening-planet[data-tier=near]{z-index:4}.opening-planet[data-tier=near] .opening-planet-name{font-size:clamp(15px,1.4vw,20px)}.opening-planet[data-tier=middle]{z-index:2}.opening-planet[data-tier=middle] .opening-planet-name{opacity:0;font-size:14px}.opening-planet[data-tier=far]{z-index:1}.opening-planet[data-tier=far] .opening-planet-name{opacity:0;font-size:14px}.opening-light-paths{position:absolute;inset:0;width:100%;height:100%;z-index:5;stroke-width:3;overflow:visible}.opening-light-paths path{stroke:#fff097;opacity:0;stroke-linecap:round}.opening-light-paths path[data-family=field]{stroke:#96f1d8}.opening-light-paths path[data-family=thought]{stroke:#f9b8d7}.opening-wipe{position:absolute;inset:0;background:#fff8ee;transform:translate(-105%);z-index:7}.opening-controls{position:absolute;inset:0 0 auto;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px clamp(20px,4vw,64px)}.opening-actions{display:flex;gap:8px}.opening-actions button{min-height:44px;min-width:60px;padding:8px 14px;border:1px solid #67594b;border-radius:8px;color:#302b25;background:#fff8ee;font-size:.875rem}.opening-actions button:hover{background:#f2e5cd}.opening-actions button:disabled{opacity:.55;cursor:default}.space-opening.is-night .opening-actions button{color:#fff8ee;background:#102c60;border-color:#9cb7e0}.space-opening.is-night .opening-actions button:hover{background:#23417a}.opening-caption{position:absolute;z-index:9;left:20px;right:20px;bottom:max(24px,env(safe-area-inset-bottom));margin:0;text-align:center;font-size:clamp(16px,1.6vw,22px);font-weight:500;line-height:1.6;color:#302b25;pointer-events:none}.space-opening.is-night .opening-caption{color:#fff8ee}.space-replay{display:none}.space-opening-ready .space-replay{display:inline-flex}.space-buttons .space-replay{padding-inline:12px;font-size:.85rem}@media(max-width:650px){.opening-controls{padding:max(10px,env(safe-area-inset-top)) 16px 10px;gap:8px}.opening-actions{gap:6px}.opening-actions button{padding-inline:10px;min-width:52px;font-size:.8rem}.opening-planet-name{max-width:120px}.opening-caption{left:14px;right:14px;bottom:max(25px,env(safe-area-inset-bottom));font-size:16px}.space-buttons{flex-wrap:wrap}.space-opening-ready .space-buttons{gap:6px}.space-opening-ready .space-buttons [data-space-pause]{min-width:96px}.space-buttons .space-replay{margin-right:auto;padding-inline:8px}}@media(prefers-reduced-motion:reduce){.space-opening button,.space-opening a{transition:none}}:root{--space-paper: #fff8ee;--space-ink: #292620;--space-coral: #ef684f;--space-lemon: #f2df64;--space-blue: #3158c7;--space-pink: #ecabc4;--space-serif: Georgia, "Noto Serif CJK SC", "Songti SC", "SimSun", serif;--space-sans: "Segoe UI", "Microsoft YaHei", sans-serif;--paper: var(--space-paper);--white: #fffefa;--ink: #292620;--ink-soft: #474238;--ink-faint: #585146;--blue: #214f73;--blue-deep: #153b58;--blue-pale: #e7eef1;--line: #cdc9bd;--line-soft: #e2ddcf;--sans: var(--space-sans)}*,*:before,*:after{box-sizing:border-box}html{background:var(--space-paper);color:var(--space-ink)}body{margin:0;font:16px/1.6 var(--space-sans);overflow-x:clip}body::selection{background:var(--space-coral);color:var(--space-ink)}::selection{background:var(--space-coral);color:var(--space-ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--space-blue);outline-offset:5px}svg{display:block;width:24px;height:24px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.space-skip{position:fixed;left:1rem;top:-5rem;z-index:20;padding:.65rem 1rem;color:#fff;background:var(--space-blue)}.space-skip:focus{top:1rem}.space-nav{position:fixed;inset:0 0 auto;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:18px clamp(20px,4vw,64px);background:var(--space-paper)}.space-back{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.75rem 1.5rem;border-radius:2rem;background:#214f73;color:#fffefa;font-size:.95rem;font-weight:500;line-height:1.78;text-decoration:none;box-shadow:0 4px 12px #16416633;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.space-back svg{width:20px;height:20px;flex-shrink:0;stroke-width:2}.space-back:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1641664d}.space-back:focus-visible{outline-color:#075fad;outline-offset:2px}.space-owner{font-family:var(--space-serif);font-size:1.2rem}.space-heading-row{margin:100px clamp(20px,4vw,64px) 0;position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:32px}.space-intro{position:relative;pointer-events:none;flex-shrink:0}.space-intro h1{margin:0;font:500 clamp(2.7rem,5vw,4.5rem)/1.25 var(--space-serif);letter-spacing:-.03em}.space-intro h1 span{color:var(--space-coral)}.space-intro p{margin:.5rem 0 0;font-size:1rem}.space-stage{position:relative;min-height:550px;padding:3rem 2rem}.space-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:2rem;padding:0;margin:0;list-style:none}.space-card{--card-color: var(--space-coral);--card-ink: #342119;min-width:0}.space-card[data-color=blue]{--card-color: var(--space-blue);--card-ink: #fff8ee}.space-card[data-color=lemon]{--card-color: var(--space-lemon);--card-ink: #383019}.space-card[data-color=pink]{--card-color: var(--space-pink);--card-ink: #412d39}.space-card-button{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-height:245px;padding:0;border:0;border-radius:14px;overflow:hidden;color:var(--card-ink);background:var(--card-color);text-align:left;box-shadow:0 15px 28px #3f261a1f}.space-card-button:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 2px currentColor;opacity:0;transition:opacity .2s ease}.space-card-button:hover:after,.space-card-button:focus-visible:after{opacity:.5}.card-art{position:relative;display:block;flex:1;min-height:125px;overflow:hidden}.card-art i{display:block;position:absolute;border:1px solid currentColor;opacity:.6}.art-orbit i{width:65%;aspect-ratio:1;border-radius:50%;top:10%;left:18%}.art-orbit i:nth-child(2){left:39%;top:26%;width:45%}.art-orbit i:nth-child(3){top:3%;left:5%;width:38%;background:currentColor;opacity:.13}.art-window i{inset:20% 22% 0;transform:rotate(-8deg)}.art-window i:nth-child(2){transform:rotate(8deg);opacity:.3}.art-window i:nth-child(3){inset:35% 30% 15%;background:currentColor;opacity:.12}.art-fold i{width:58%;height:80%;top:15%;left:24%;transform:skew(-17deg) rotate(-10deg)}.art-fold i:nth-child(2){left:9%;transform:skew(17deg) rotate(10deg);opacity:.35}.art-fold i:nth-child(3){left:32%;width:40%;background:currentColor;opacity:.1}.card-copy{display:grid;gap:.15rem;padding:18px 20px 22px}.card-slot-label{font-size:.75rem}.card-copy strong{font:500 1.6rem/1.35 var(--space-serif)}.card-empty{margin-top:.4rem;font-size:.76rem}.space-controls{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;position:sticky;bottom:0;z-index:8;padding:16px clamp(20px,4vw,64px);background:var(--space-paper)}.space-controls p{margin:0;font-size:.85rem}.space-buttons{display:flex;gap:8px;align-items:center}.space-buttons button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px;border:1px solid #aca294;border-radius:8px;background:transparent}.space-buttons [data-space-pause]{min-width:112px;background:var(--space-ink);color:var(--space-paper);border-color:transparent;font-size:.85rem}.space-buttons button:hover{background:#eadfce}.space-buttons [data-space-pause]:hover{background:#4d443b}.space-noscript{padding:1rem 2rem}.space-enhanced .space-stage{min-height:0;height:max(470px,calc(100svh - 300px));padding:0;overflow:hidden;overflow:clip;touch-action:pan-y;cursor:grab}.space-enhanced .space-stage.is-dragging{cursor:grabbing}.space-enhanced .space-cards{display:block}.space-enhanced .space-card{position:absolute;left:0;top:0;width:var(--card-width);height:var(--card-height);contain:layout style;will-change:transform;transform-origin:center}.space-enhanced .space-card-button{min-height:0;user-select:none}.space-enhanced .card-art{min-height:0}.space-enhanced .is-dragging .space-card-button{cursor:grabbing}.space-enhanced .is-pressing .space-card-button:after{opacity:0;transition:none}.space-dialog{width:min(820px,calc(100% - 40px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:16px;color:var(--space-ink);background:var(--space-paper);box-shadow:0 30px 80px #1e191440;overflow-y:auto}.space-dialog::backdrop{background:#26211ea1}.dialog-close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--space-paper)}.dialog-art{min-height:300px;display:grid;place-items:center;background:var(--space-coral)}.space-dialog[data-color=blue] .dialog-art{background:var(--space-blue)}.space-dialog[data-color=lemon] .dialog-art{background:var(--space-lemon)}.space-dialog[data-color=pink] .dialog-art{background:var(--space-pink)}.dialog-art span{width:125px;height:160px;border:1px solid var(--space-ink);transform:rotate(-6deg)}.space-dialog[data-color=blue] .dialog-art span{border-color:var(--space-paper)}.dialog-copy{padding:28px 32px 36px}.dialog-copy h2{margin:.4rem 0 1rem;font:500 2rem/1.4 var(--space-serif)}.dialog-copy p{margin:0}.dialog-copy>p:first-child{font-size:.85rem}@media(max-width:768px){.space-back{padding:.6rem 1.2rem}}@media(max-width:650px){.space-nav{padding-block:10px}.space-owner{font-size:1rem}.space-heading-row{margin-top:88px;display:grid;gap:18px}.space-enhanced .space-stage{height:max(420px,calc(100svh - 420px))}.space-controls{position:relative;bottom:auto;flex-direction:column;gap:10px;align-items:stretch;padding-block:12px}.space-controls p{font-size:.76rem}.space-buttons{justify-content:flex-end}.card-copy{padding:12px 14px 16px}.card-copy strong{font-size:1.25rem}.dialog-art{min-height:230px}.dialog-copy{padding:24px}}@media(prefers-reduced-motion:reduce){.space-card-button:after,.space-back{transition:none}.space-back:hover{transform:none}}.card-photo{display:block;width:100%;height:100%;flex:1;min-height:0;object-fit:cover;pointer-events:none}.space-card-button:has(.card-photo){background:var(--space-paper);color:var(--space-ink)}.space-card-button:has(.card-photo) .card-copy{display:grid;gap:8px;padding:14px 16px;flex:0 0 auto}.space-card-button:has(.card-photo) strong{font-size:1.1rem}.card-title-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.card-photo-caption{font:.85rem/1.6 var(--space-serif);color:#514b41;overflow-wrap:anywhere}.card-photo-hint{font-size:.75rem;color:#514b41}.space-dialog:has(.dialog-photo){width:min(1100px,calc(100% - 24px));overflow:auto}.dialog-photo-stage{position:relative;width:100%;height:min(70dvh,700px);overflow:hidden;background:var(--space-paper)}.dialog-photo{display:block;position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:contain;transform:translate(-50%,-50%)}.dialog-photo-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px}.dialog-photo-description{min-width:0}.dialog-photo-description p{margin:6px 0 0;font:1rem/1.7 var(--space-serif);color:#514b41}.dialog-photo-footer h2{margin:0;font:500 1.2rem/1.4 var(--space-serif)}.dialog-photo-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.dialog-photo-actions button{min-height:44px;padding:8px 12px;border:1px solid #aca294;border-radius:8px;background:transparent}.dialog-photo-actions button:hover{background:#eadfce}@media(max-width:650px){.space-card-button:has(.card-photo) .card-copy{padding:12px;gap:6px}.card-title-line{flex-wrap:wrap;gap:2px 8px}.dialog-photo-footer{padding:12px;align-items:flex-start;flex-wrap:wrap}}#space-main:focus{outline:none}
