body{background:#eff0ea;color:#344452}.topbar{background:#f8f7f0}.topbar>span{color:#557077}main{max-width:1240px}h1{font-size:clamp(32px,4vw,51px)}.intro{margin-bottom:22px}.home-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:32px;align-items:center}.sky-scene{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;background:radial-gradient(ellipse at 65% 5%,#60759355,transparent 65%),linear-gradient(#132b43,#3a4567 65%,#637181);box-shadow:0 14px 40px #263d431c}.sky-scene:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#11273d55,#253b4433),url('assets/unicorn/moon.png') center/cover;opacity:.45}.home-view,.rest-view{height:420px}.moon{position:absolute;right:12%;top:10%;height:48px;width:48px;border-radius:50%;background:#f8ecd5;box-shadow:0 0 50px #f8ecd533}.distant-stars{position:absolute;inset:0;background-image:radial-gradient(circle at 10% 15%,#fff8 1px,transparent 2px),radial-gradient(circle at 70% 25%,#fff8 1px,transparent 2px),radial-gradient(circle at 35% 52%,#ffecc188 1px,transparent 2px),radial-gradient(circle at 90% 68%,#fff7 1px,transparent 2px);background-size:163px 147px,231px 193px,183px 219px,281px 239px;pointer-events:none}.departure h2{font-size:34px;margin-bottom:10px}.departure>p:not(.eyebrow){line-height:1.7}.departure .primary,.departure .secondary{width:100%;margin-top:10px}.departure .choices-row{grid-template-columns:1fr;gap:8px}.departure .choices-row button{text-align:left}.rig{position:absolute;--coat-light:#fffaf0;--coat-dark:#d6c9de;--hair-light:#e9cbe7;--hair-dark:#a69ad9;filter:drop-shadow(0 12px 18px #101d3344)}.rig[data-friend=fern]{--coat-light:#fff3d6;--coat-dark:#d9bd9a;--hair-light:#dbedc9;--hair-dark:#8dab9c}.rig[data-friend=nova]{--coat-light:#e7eafb;--coat-dark:#a9b3d5;--hair-light:#fbf7ee;--hair-dark:#bdc9e9}.pony{width:100%;height:100%;overflow:visible}.home-rig{width:76%;height:85%;left:8%;bottom:-5%}.scene-caption{position:absolute;bottom:22px;left:24px;color:#fff4e6;text-shadow:0 2px 8px #123}.scene-caption strong{display:block;font:26px Georgia,serif}.scene-caption span{display:block;font-size:12px;margin-top:5px}.pony-body{transform-origin:250px 240px;animation:pony-breathe 7s ease-in-out infinite}.tail{animation:tail-sway 7s ease-in-out infinite}.mane{animation:mane-sway 6s ease-in-out infinite}.ear{animation:ear-twitch 12s ease-in-out infinite}.eye{animation:blink 8s infinite}.head{animation:head-nod 10s ease-in-out infinite}.resting .eye{transform:scaleY(.12);animation:none}.resting .head{transform:rotate(8deg);animation:none}.resting{bottom:-8%}.journey-scene{height:clamp(300px,62dvh,610px)}.journey-scene:before{opacity:.18}.journey-scene[data-place=cloud]{background:radial-gradient(ellipse at 70% 80%,#aea4c177,transparent 55%),linear-gradient(#343652,#686e98)}.journey-scene[data-place=ocean]{background:radial-gradient(ellipse at 60% 70%,#569aab55,transparent 60%),linear-gradient(#0f3047,#285671)}.flight-rig{width:37%;height:62%;left:5%;bottom:3%;will-change:transform;z-index:2}.flight-rig .leg.front{transform:rotate(var(--front,0deg))}.flight-rig .leg.back{transform:rotate(var(--back,0deg))}.flight-rig .leg.far{opacity:.85}.constellation{position:absolute;right:5%;top:4%;width:54%;height:82%;overflow:visible;filter:drop-shadow(0 0 7px #fff2c733)}.star-line{stroke:#f5ddb5;stroke-width:.55;fill:none;stroke-linecap:round}.star-dot{fill:#fff4d2}.star-ghost{fill:#d2dced55}.breathing-cue{z-index:3;top:18px;left:20px;background:#f9f6e9ee;padding:12px 20px;min-width:190px}.breathing-cue h2{font-size:27px}.flight-trail{position:absolute;left:3%;bottom:18%;width:28%;height:2px;background:linear-gradient(90deg,transparent,#d8c6eb88);filter:blur(2px)}.journey{margin-top:14px}.home-sky{position:absolute;inset:0;z-index:3;pointer-events:none}.sky-token{position:absolute;top:4%;width:22%;height:120px;border:0;background:none;color:#fff2da;pointer-events:auto;border-radius:20px}.sky-token[data-slot="0"]{left:2%}.sky-token[data-slot="1"]{left:37%}.sky-token[data-slot="2"]{right:2%;top:24%}.sky-token svg{width:100%;height:80px;display:block}.sky-token span{font-size:11px;text-shadow:0 1px 6px #000}.sky-token:hover{background:#ffffff13}.sky-collection{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sky-collection button{border:1px solid #c8c7d4;border-radius:18px;background:#263d54;color:#fff2db;padding:12px}.sky-collection svg{width:100%;height:110px}.sky-collection strong{display:block;font-size:14px}.sky-collection small{display:block;margin-top:7px}.destination-choices{display:grid;gap:12px}.destination-choice{display:flex;align-items:center;gap:20px;text-align:left;border:2px solid transparent;border-radius:20px;background:#e9e9ef;padding:16px;color:#364657}.destination-choice[aria-pressed=true]{border-color:#776889}.destination-choice svg{width:86px;height:80px;background:#34465f;border-radius:16px;flex-shrink:0}.destination-choice strong{display:block;font:24px Georgia,serif}.destination-choice small{display:block;margin-top:6px}.friend-choice[aria-pressed=true]{border-color:#736382}.friend-choice .rig{position:relative;width:100%;height:145px;filter:none}#friendNickname{min-width:0;width:55%;border:1px solid #bdc3bd;padding:12px;border-radius:12px;color:#344452;background:#fff}#saveName{width:100%}#revealArt{background:radial-gradient(#586b87,#263951);border-radius:24px;margin:10px auto 22px;height:200px;position:relative;overflow:hidden}#revealArt svg{height:100%;width:100%}#revealArt .creature{position:absolute;inset:0;display:grid;place-items:center;font-size:74px;animation:meet-friend 5s ease-in-out infinite;text-shadow:0 0 25px #ffe9b777}#revealArt svg{opacity:.45}.placement-options{display:grid;gap:8px}.placement-options button[aria-pressed=true]{background:#ded6e7;border-color:#776289}.placement-options button{min-height:44px;font-size:13px}#arrival{max-width:470px}#rest{text-align:center}.rest-view{max-width:850px;margin:auto}.comfort-bar{gap:8px}#saveWarning{position:fixed;bottom:75px;left:10px;right:10px;z-index:9;background:#fff3d6;padding:12px;border-radius:12px;font-size:13px}.less-motion .rig *{animation:none!important}.less-motion .flight-rig{transform:none!important}.less-motion #revealArt .creature{animation:none}.paused .rig *{animation-play-state:paused!important}
@keyframes pony-breathe{50%{transform:scale(1.009,1.018)}}@keyframes tail-sway{50%{transform:rotate(7deg)}}@keyframes mane-sway{50%{transform:rotate(-3deg)}}@keyframes head-nod{50%{transform:rotate(-3deg)}}@keyframes ear-twitch{0%,70%,100%{transform:rotate(0)}75%,82%{transform:rotate(-9deg)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.08)}}@keyframes meet-friend{50%{transform:translateY(-8px) rotate(3deg)}}
@media(max-width:700px){main{padding:16px 16px 105px}.home-layout{grid-template-columns:1fr;gap:20px}.home-view{height:280px}.intro h1{font-size:33px}.intro>p:last-child{font-size:14px}.departure h2{font-size:27px}.departure .eyebrow{display:none}.departure>p{margin:8px 0}.departure .choices-row{grid-template-columns:1fr 1fr}.departure .choices-row button{font-size:12px;text-align:center;padding:10px}.departure .permission{font-size:12px}.journey-scene{height:calc(100dvh - 242px);min-height:290px}.constellation{width:72%;height:57%;right:0;top:19%}.flight-rig{width:64%;height:49%;left:-3%;bottom:0}.breathing-cue{top:12px;left:12px;transform:none;width:calc(100% - 24px);min-width:0;padding:8px}.breathing-cue h2{font-size:25px}.breathing-cue>span{font-size:18px}.breathing-cue p{font-size:12px;margin-top:2px}.journey-scene .moon{width:30px;height:30px;top:30%;right:9%}.comfort-bar .quiet{padding:10px 14px;font-size:12px}.sky-collection{grid-template-columns:1fr}.sky-collection button{display:grid;grid-template-columns:95px 1fr;align-items:center}.sky-collection svg{grid-row:1/3;height:80px}.friend-choice .rig{height:110px;grid-row:1/3}.sky-token{height:95px;width:28%}.sky-token svg{height:65px}.sky-token[data-slot="1"]{left:34%}.sky-token span{font-size:10px}.rest-view{height:300px}}
@media(max-height:500px) and (min-width:701px){.journey-scene{height:calc(100dvh - 192px);min-height:180px}.breathing-cue{padding:7px 12px}.breathing-cue h2{font-size:21px}.breathing-cue p{display:none}.flight-rig{left:20%;height:80%;width:32%}.constellation{height:95%;width:45%}.journey p{display:none}}
@media(prefers-reduced-motion:reduce){.rig *,.creature{animation:none!important}}

.home-view>.moon{display:none}.journey-scene:before{background:none}#revealArt .creature-art{opacity:1;width:85%;height:85%}.butterfly-wings{transform-origin:50px 50px;animation:wing-fold 4s ease-in-out infinite}.less-motion .butterfly-wings{animation:none!important}@keyframes wing-fold{50%{transform:scaleX(.66)}}

.less-motion .leg{transform:none!important}#rest:not([hidden]) .resting{animation:gentle-landing 2.5s ease-out both}@keyframes gentle-landing{from{transform:translateY(-20px)}to{transform:translateY(0)}}.less-motion .resting{animation:none!important}@media(prefers-reduced-motion:reduce){.resting{animation:none!important}}

/* One coordinate plane for the unicorn and the stars: no independent floating illustration. */
.flight-map{position:absolute;left:14%;right:14%;top:34%;bottom:16%}.flight-map .constellation{inset:0;width:100%;height:100%;overflow:visible}.flight-map .flight-rig{width:clamp(95px,16vw,185px);height:auto;aspect-ratio:520/430;bottom:auto;left:0;top:0;transform:translate(-72%,-30%);transform-origin:72% 30%;z-index:2}.flight-rig .pony-body{animation:none;transform:rotate(var(--flight-tilt,0deg));transform-origin:374px 132px}.flight-trail{display:none}.less-motion .flight-map .flight-rig{transform:translate(-72%,-30%)!important}.star-progress{height:12px;background:#d8dedc;border:1px solid #b6c0ba;border-radius:99px;overflow:hidden;width:100%;margin:12px 0}.star-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#716184,#af8faf);border-radius:inherit;min-width:0}.departure-progress{margin-top:16px;color:#586b62}.departure-progress .star-progress{height:8px;margin:8px 0}.journey-scene .breathing-cue{left:50%;transform:translateX(-50%);min-width:280px}.journey-scene>.moon{right:7%;top:12%}
@media(max-width:700px){.flight-map{left:20%;right:15%;top:37%;bottom:16%}.flight-map .flight-rig{width:115px}.journey-scene .breathing-cue{width:calc(100% - 24px);min-width:0}.breathing-cue h2{font-size:23px}.journey-scene>.moon{width:25px;height:25px;top:25%;right:9%}}
@media(max-height:500px) and (min-width:701px){.flight-map{left:20%;right:12%;top:35%;bottom:20%}.flight-map .flight-rig{width:95px}.journey-scene .breathing-cue{top:5px;padding:4px 12px}.journey-scene .breathing-cue>span{display:none}}

.flight-map{left:50%;right:auto;top:32%;bottom:auto;width:min(64%,36dvh);height:auto;aspect-ratio:1;transform:translateX(-50%)}.flight-map .flight-rig{width:120px}.flight-rig[data-facing=left]>.pony{transform:scaleX(-1)}.less-motion .flight-map .flight-rig{transform:translate(-80%,-40%)!important}.flight-rig .pony-body{transform-origin:420px 180px}
@media(max-width:700px){.flight-map{top:37%;width:65%}.flight-map .flight-rig{width:98px}}
@media(max-height:500px) and (min-width:701px){.flight-map{top:33%;width:25dvh}.flight-map .flight-rig{width:65px}}
.flight-map .flight-rig{width:160px}@media(max-width:700px){.flight-map .flight-rig{width:130px}}@media(max-height:500px) and (min-width:701px){.flight-map .flight-rig{width:75px}}

.departure .selection-control{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 36px 12px 16px;min-width:0;text-align:left}.selection-control small{font-size:11px;color:#64746d}.selection-control strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}.selection-control>span{position:absolute;right:14px;top:22px;color:#756781}@media(max-width:700px){.departure .selection-control{padding:10px 24px 10px 12px}.selection-control strong{font-size:14px}.selection-control>span{right:9px}}

.journey-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.journey-pages span{font-size:12px;text-align:center}.journey-pages button{font-size:12px;padding:10px}.destination-choices{gap:8px}.destination-choice{padding:10px 14px}.destination-choice svg{height:56px;width:66px}.destination-choice strong{font-size:21px}.destination-choice small{font-size:12px}@media(max-width:600px){.journey-pages button{font-size:11px;padding:8px}.destination-choice strong{font-size:19px}}
/* Follow-camera flight: the companion stays close while the world moves past. */
.flight-wing{display:none}.flight-rig .flight-wing{display:block;transform:rotate(var(--wing,-8deg))}.flight-rig .far-wing{opacity:.7;transform:rotate(calc(var(--wing,-8deg) * .7 - 8deg))}.flight-map{inset:0;width:100%;height:100%;aspect-ratio:auto;transform:none}.flight-map .flight-rig{width:clamp(245px,33vw,410px);height:auto;transition:opacity 2s,filter 2s;z-index:2}.flight-map .constellation{display:none}.flight-rig .head{animation:none}.journey-scene{background:radial-gradient(ellipse at 75% 55%,#88769b55,transparent 60%),linear-gradient(#23344f,#54678c 70%,#a0a7bd)}.journey-scene[data-place=cloud]{background:radial-gradient(ellipse at 75% 45%,#d4a5c533,transparent 65%),linear-gradient(#39405f,#7d82a8 75%,#b7b3cd)}.journey-scene .distant-stars{opacity:.4}.flight-star{position:absolute;width:62px;height:62px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;background:radial-gradient(#fff2c12b,transparent 70%);filter:drop-shadow(0 0 16px #fff0c266);color:#fff3c9;font-size:47px;line-height:1;z-index:1}.cloud-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}.travel-cloud{position:absolute;width:260px;height:75px;border-radius:50%;background:linear-gradient(#ece7f047,#ecedf00c);filter:blur(4px)}.travel-cloud:before,.travel-cloud:after{content:'';position:absolute;border-radius:50%;background:inherit;width:48%;height:110%;top:-30%;left:17%}.travel-cloud:after{left:45%;top:-10%;height:80%}.cloud-one{top:79%;transform:scale(1.5)}.cloud-two{top:38%;transform:scale(.65);opacity:.45}.cloud-three{top:90%;opacity:.65}.journey-scene>.moon{opacity:.65;width:35px;height:35px;top:17%;right:10%}.flight-map .flight-rig[data-facing=left]>.pony{transform:none}.revealing .flight-star,.revealing .cloud-layer{opacity:0!important;transition:opacity 1.5s}.revealing .flight-rig{opacity:.12;filter:blur(3px)}.revealing .constellation{display:block;left:50%;top:32%;width:35%;height:60%;transform:translateX(-50%);animation:sky-reveal 2.5s ease-out both}.less-motion .revealing .constellation{animation:none}.less-motion .flight-wing{transform:rotate(-8deg)!important}.less-motion .travel-cloud{opacity:.3}.less-motion .revealing *{transition:none!important}@keyframes sky-reveal{from{opacity:0;scale:1.25}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){.revealing .constellation{animation:none}.revealing *{transition:none!important}}
@media(max-width:700px){.flight-map{inset:0;width:100%;height:100%;transform:none}.flight-map .flight-rig{width:235px}.flight-star{width:48px;height:48px;font-size:38px}.travel-cloud{width:190px;height:55px}.revealing .constellation{width:74%;height:48%;top:37%}.journey-scene .breathing-cue h2{font-size:23px}}
@media(max-height:500px) and (min-width:701px){.flight-map .flight-rig{width:180px}.flight-star{font-size:30px;width:40px;height:40px}.travel-cloud{height:35px}.revealing .constellation{width:30%;height:60%;top:35%}}

/* The SVG and companion share the same slowly moving world camera. */
.flight-map{inset:28% 5% 10%;width:90%;height:62%;transform:none;aspect-ratio:auto}
.flight-map .constellation,.revealing .flight-map .constellation{display:block;inset:0;width:100%;height:100%;transform:none;animation:none;overflow:visible}
.flight-map .flight-rig{width:clamp(115px,17vw,195px)}
.flight-map .flight-rig[data-facing=left]>.pony{transform:scaleX(-1)}
.flight-star{display:none}.trace-guide{stroke:#e3ddec;stroke-width:.35;stroke-dasharray:1 2;opacity:.22}.trace-ink{stroke:#ffe6b0;stroke-width:.8;stroke-linecap:round;filter:drop-shadow(0 0 2px #ffecbf)}
.less-motion .flight-map .flight-rig{transform:translate(-20%,-40%)!important}
@media(max-width:700px){.flight-map{inset:33% 5% 10%;width:90%;height:57%}.flight-map .flight-rig{width:112px}}
@media(max-height:500px) and (min-width:701px){.flight-map{inset:35% 5% 8%;height:57%}.flight-map .flight-rig{width:85px}}

/* A steady, explicit breathing guide stays independent of the travelling sky. */
.journey-scene .breathing-cue{display:grid;grid-template-columns:76px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:16px;text-align:left;min-width:340px;padding:16px 24px;background:#fffaf1;box-shadow:0 5px 24px #14213722}
.journey-scene .breathing-cue>span{grid-row:1/3;width:70px;height:70px;display:grid;place-items:center;position:relative;font-size:30px;margin:0;border:1px solid #a39abc;border-radius:50%;background:#eee9f5;color:#635276}
.breathing-cue[data-phase=in]>span:before,.breathing-cue[data-phase=out]>span:before{content:'';position:absolute;inset:5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efddff,#a993cc);transform:scale(var(--breath-scale,.55));box-shadow:0 0 10px #b9a0d655}
.journey-scene .breathing-cue h2{font-size:32px;margin:0;line-height:1.2}.journey-scene .breathing-cue p{font-size:14px;margin:5px 0 0}
@media(max-width:700px){.journey-scene .breathing-cue{min-width:0;grid-template-columns:62px 1fr;column-gap:12px;padding:12px}.journey-scene .breathing-cue>span{width:60px;height:60px}.journey-scene .breathing-cue h2{font-size:28px}.journey-scene .breathing-cue p{font-size:12px}}
@media(max-height:500px) and (min-width:701px){.journey-scene .breathing-cue{padding:6px 16px;grid-template-columns:48px 1fr}.journey-scene .breathing-cue>span{width:44px;height:44px}.journey-scene .breathing-cue h2{font-size:25px}}

.flight-prototype-link{display:block;text-align:center;padding:14px;margin-top:10px;border:1px solid #b5a6c3;border-radius:14px;color:#625173;font-size:14px;text-decoration:none;background:#eee8f1}
