*{box-sizing:border-box} :root{color-scheme:dark;--ink:#f2efff;--line:#ffffff24}body{margin:0;background:#121426;color:var(--ink);font:14px system-ui,-apple-system,"Helvetica Neue",sans-serif;overflow:hidden;height:100dvh}button,input,textarea,select{font:inherit;color:inherit}button,select{cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #c5f1f5;outline-offset:5px}button{border:0}select{background:#202237;border:1px solid var(--line);border-radius:20px;padding:8px 12px}option{background:#24243b}.sky,#cosmos,#atoms{position:fixed;inset:0;width:100%;height:100%;overflow:hidden}.sky{background:radial-gradient(ellipse at 65% 45%,#547d9744,transparent 50%),radial-gradient(ellipse at 20% 50%,#7e64bc55,transparent 54%),linear-gradient(165deg,#101527 4%,#252141 47%,#43385b 75%,#1c2738)}.mist{position:absolute;width:130vw;height:75vh;left:-15vw;top:26vh;filter:blur(55px);opacity:.62;border-radius:50%;background:radial-gradient(ellipse at 25% 40%,#a687da55,transparent 30%),radial-gradient(ellipse at 65% 55%,#a2c5cd55,transparent 36%),radial-gradient(ellipse at 48% 30%,#c28aa944,transparent 28%);transform:rotate(-18deg);animation:clouds 45s ease-in-out infinite alternate}.mist.two{top:9vh;transform:rotate(22deg);opacity:.4;animation-delay:-22s;background:radial-gradient(ellipse at 70% 40%,#abd4dc66,transparent 35%),radial-gradient(ellipse at 25% 70%,#b8a2de55,transparent 35%)}.horizon{position:absolute;bottom:-47vh;left:-20%;width:140%;height:70vh;border-radius:50%;border-top:1px solid #ddc7ef55;box-shadow:0 -25px 100px #c1b4eb22,0 -1px 35px #c1d9eb33;background:linear-gradient(#7d77971a,#0b1120)}.planet{position:absolute;top:19%;right:19%;width:92px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 30% 24%,#d7d4e255,#a6bac91b 45%,#18243c88 74%);box-shadow:-6px -3px 25px #d9dcff11,inset 2px 2px 2px #e4dfff66}#cosmos{touch-action:none;cursor:grab}#cosmos:active{cursor:grabbing}#atoms{pointer-events:none}.atom{position:absolute;left:0;top:0;pointer-events:auto;background:none;padding:0;display:flex;align-items:center;flex-direction:column;gap:13px;will-change:transform;width:130px;height:85px;transform-origin:50% 25px}.nucleus{position:relative;display:block;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffffff,var(--atom) 24%,color-mix(in srgb,var(--atom),#121525 45%) 78%);box-shadow:0 0 16px var(--atom),0 0 45px color-mix(in srgb,var(--atom),transparent 65%),inset 1px 1px 4px #fff9}.nucleus:before,.nucleus:after{content:"";position:absolute;inset:-10px -19px;border:1px solid color-mix(in srgb,var(--atom),transparent 55%);border-radius:50%;transform:rotate(-35deg) scaleY(.38)}.nucleus:after{transform:rotate(55deg) scaleY(.38)}.atom-label{font-size:11px;line-height:1.4;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.75;text-shadow:0 2px 8px #11152b}.atom:hover .nucleus,.atom:focus-visible .nucleus{box-shadow:0 0 24px var(--atom),0 0 70px var(--atom)}.atom:hover .atom-label{opacity:1}.atom.done .nucleus{filter:saturate(.4)}.atom.done .atom-label{text-decoration:line-through}header{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:29px 4vw;z-index:4;pointer-events:none}header>*{pointer-events:auto}.logo{text-decoration:none;color:var(--ink);font-size:28px;font-weight:500;letter-spacing:-1.8px}.logo span{font-weight:250;margin-left:7px}.header-right{display:flex;align-items:center;gap:25px}.live{font:9px ui-monospace,monospace;letter-spacing:2px;color:#cacadd}.live i{display:inline-block;width:4px;height:4px;background:#bee8d9;border-radius:50%;box-shadow:0 0 8px #c6fce7;margin-right:9px}.intro{position:fixed;top:19%;left:7%;pointer-events:none;max-width:470px}.overline{font-size:9px;letter-spacing:3px;color:#cac8dd}h1{font-size:clamp(32px,4vw,59px);font-weight:250;letter-spacing:3px;line-height:1.4;margin:19px 0 16px;white-space:pre-line}.intro p{font-size:13px;color:#c2bed3;line-height:2;white-space:pre-line;max-width:360px}.coordinate{position:fixed;left:4vw;bottom:32%;font:9px/2 ui-monospace,monospace;letter-spacing:2px;color:#a29db8;pointer-events:none}.coordinate span{font-size:8px;color:#858298}.space-caption{position:fixed;right:4vw;bottom:33%;font-size:8px;letter-spacing:2px;writing-mode:vertical-rl;color:#b4b1cc;pointer-events:none}.space-caption span{font-size:25px;margin-bottom:22px}.controls{position:fixed;right:4vw;top:43%;display:grid;gap:6px}.controls button{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#20223855;backdrop-filter:blur(10px);font-size:18px}.dock{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);width:min(740px,calc(100% - 40px));z-index:5;background:linear-gradient(140deg,#eee7ff10,#b6dce608);border:1px solid #ece8ff33;border-radius:23px;padding:18px 23px 12px;backdrop-filter:blur(28px);box-shadow:0 15px 60px #08091733,inset 0 1px #ffffff13}.dock-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#c5c1d8;letter-spacing:1px}.quiet{background:transparent;color:#d2d0e0;padding:7px 9px;font-size:11px}.quiet:hover{color:white}.dock form{display:flex;align-items:center;gap:14px;margin:14px 0 10px}.dock textarea{resize:none;max-height:110px;min-height:40px;width:100%;border:0;background:transparent;font-size:16px;padding:9px 0;line-height:1.5}.dock textarea::placeholder{color:#c8c4da88}.dock textarea:focus{outline:none}.entry-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.entry-actions select{font-size:11px;border:0;background:#ffffff0c;padding:10px}.launch{background:#e4e0f2;color:#262339;border-radius:25px;padding:12px 19px;white-space:nowrap;font-size:12px;box-shadow:0 0 24px #e1d1ff11}.launch:hover{background:#fff}.dock-bottom{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#aaa5be;border-top:1px solid #ffffff10;padding-top:12px;line-height:1.5}#status{font-size:11px;color:#d5f4e5;line-height:1.5}#status:not(:empty){padding-top:8px}dialog{border:1px solid #e4ddff44;background:#222139eF;color:var(--ink);border-radius:24px;padding:25px;width:min(480px,calc(100% - 32px));backdrop-filter:blur(25px);box-shadow:0 30px 150px #0007}dialog::backdrop{background:#090c2177;backdrop-filter:blur(7px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#c6bedc}.dialog-top h2{font-size:20px;font-weight:400;margin:0}.detail-orb{display:block;width:40px;height:40px;margin:25px auto;border-radius:50%;background:var(--atom);box-shadow:0 0 55px var(--atom)}#editText{width:100%;background:transparent;border:0;resize:vertical;line-height:1.8;font-size:18px;padding:10px} .detail-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.storage{font-size:10px;line-height:1.8;color:#a7a2ba;margin-top:25px}#search{width:100%;padding:12px 15px;margin:20px 0;background:#ffffff08;border:1px solid var(--line);border-radius:14px}#items{max-height:50dvh;overflow:auto}.list-item{display:flex;text-align:left;align-items:center;gap:14px;width:100%;padding:15px 4px;background:none;border-bottom:1px solid #ffffff14}.list-item i{width:10px;height:10px;border-radius:50%;background:var(--atom);box-shadow:0 0 15px var(--atom);flex-shrink:0}.list-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-item small{margin-left:auto;white-space:nowrap;color:#aaa6bf}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes clouds{to{transform:translate(7%,5%) rotate(0deg) scale(1.15)}}@media(prefers-reduced-motion:reduce){.mist{animation:none}}@media(max-width:650px){header{padding:23px}.logo{font-size:25px}.live{display:none}.intro{left:25px;top:14%;max-width:80%}.intro h1{font-size:34px}.intro p{font-size:12px;max-width:270px}.overline{font-size:7px;letter-spacing:2px}.planet{width:55px;right:12%;top:38%}.coordinate{display:none}.space-caption{display:none}.dock{bottom:18px;padding:15px 16px 10px}.dock form{flex-wrap:wrap;gap:4px;margin-top:8px}.entry-actions{width:100%;justify-content:space-between}.dock textarea{font-size:15px}.dock-bottom{font-size:8px}.controls{right:15px;top:44%}.atom-label{font-size:10px}.dock-top{font-size:9px}.quiet{font-size:10px}.dock-bottom span{max-width:55%}}

/* The large guide sphere belongs only to the first-visit introduction. */
.planet{display:none}.tour-active .planet{display:block;transition:opacity .6s,filter .6s,transform 1.4s}.tour-active .intro{visibility:hidden}.tour-guide{position:fixed;top:19%;left:7%;width:min(470px,73vw);z-index:4}.tour-guide[hidden]{display:none}.tour-guide h2{font-size:clamp(28px,3.6vw,48px);font-weight:250;letter-spacing:2px;line-height:1.5;white-space:pre-line;margin:17px 0}.tour-guide p{font-size:13px;color:#d1cadf;line-height:2;white-space:pre-line;max-width:380px}.tour-guide .launch{margin-top:10px}.tour-input .dock{border-color:#d8cbff88;box-shadow:0 0 48px #c5adff22,inset 0 1px #ffffff44}.tour-input .dock:before{content:'↓';position:absolute;top:-38px;left:50%;color:#e9e3ff;font-size:23px;animation:guideNudge 1.8s ease-in-out infinite}.tour-ready .planet{box-shadow:-6px -3px 25px #d9dcff55,inset 2px 2px 2px #e4dfffaa}.tour-leaving .planet{opacity:0;filter:blur(18px);transform:scale(1.6)}.tour-leaving .tour-guide{opacity:0;transition:opacity .5s;pointer-events:none}.guide-spark{position:fixed;pointer-events:none;width:4px;height:4px;border-radius:50%;z-index:3;box-shadow:0 0 12px currentColor;background:currentColor;animation:guideScatter 1.8s ease-out both}.tour-leaving .guide-spark:nth-child(3n){filter:blur(2px);width:7px;height:7px}@keyframes guideScatter{0%{opacity:0;transform:translate(0,0) scale(.2)}12%{opacity:.9}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.2);filter:blur(3px)}}@keyframes guideNudge{50%{transform:translateY(7px);opacity:.5}}@media(max-width:650px){.tour-guide{top:14%;left:25px;width:calc(100% - 50px)}.tour-guide h2{font-size:27px;max-width:340px;margin:12px 0}.tour-guide p{font-size:12px;max-width:290px}.tour-guide .launch{margin-top:1px}.tour-active .planet{top:43%;right:22%;width:70px}.header-right{gap:5px}#replayTour{font-size:9px;padding:6px}}@media(max-height:670px){.tour-guide{top:15%}.tour-guide h2{font-size:24px}.tour-guide p{font-size:11px;line-height:1.6}.tour-guide .overline{font-size:7px}.tour-guide .launch{padding:9px 14px}}@media(prefers-reduced-motion:reduce){.tour-input .dock:before{animation:none}.guide-spark{animation:none;display:none}.tour-leaving .planet{transition:opacity .15s;transform:none;filter:none}.tour-leaving .tour-guide{transition:opacity .15s}}

/* Transparent guide sphere: only the glass rim and occasional iridescence remain. */
.planet,.tour-active .planet,.tour-ready .planet{background:transparent;border:1px solid #e4e9ff20;box-shadow:inset 1px 1px 3px #eef2ff2b,inset -1px -1px 2px #c8deff0b,0 0 20px #e0e5ff06}
.planet::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 28% 25%,#dfd3ff36,transparent 54%),radial-gradient(circle at 72% 65%,#aee8ef2e,transparent 58%),linear-gradient(135deg,#e9c4e510,transparent 40%,#b2c7ff20);opacity:0;animation:glassIridescence 23s ease-in-out infinite;animation-delay:2s}
@keyframes glassIridescence{0%,35%,75%,100%{opacity:0}47%{opacity:.7}58%{opacity:.24}65%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.planet::after{animation:none;opacity:.08}}

/* Dream sky: broad, slow cloud volumes and a translucent aurora. */
.sky{background:radial-gradient(ellipse at 76% 33%,#668b9a46,transparent 43%),radial-gradient(ellipse at 16% 55%,#8a58b96b,transparent 53%),radial-gradient(ellipse at 55% 87%,#b579a54a,transparent 53%),linear-gradient(160deg,#10152b 0%,#2b2449 45%,#49365c 74%,#233c4c 100%)}
.mist.one{width:150vw;height:95vh;left:-30vw;top:9vh;filter:blur(48px);opacity:.82;background:radial-gradient(ellipse at 29% 47%,#bba0dd70,transparent 32%),radial-gradient(ellipse at 68% 62%,#83d5d866,transparent 30%),radial-gradient(ellipse at 47% 37%,#db9ec766,transparent 27%);animation:deepClouds 66s ease-in-out infinite alternate}
.mist.two{width:155vw;left:-25vw;top:18vh;filter:blur(65px);opacity:.62;background:radial-gradient(ellipse at 70% 42%,#b4dde777,transparent 29%),radial-gradient(ellipse at 22% 63%,#ab83d675,transparent 28%),radial-gradient(ellipse at 51% 66%,#c6a9df55,transparent 28%);animation:highClouds 83s ease-in-out infinite alternate;animation-delay:-37s}
.aurora{position:absolute;left:-25%;top:24%;width:150%;height:42%;border-radius:50%;transform:rotate(-22deg);filter:blur(24px);opacity:.34;background:linear-gradient(180deg,transparent 10%,#b795e612 33%,#91e4db38 46%,#dba7dd35 55%,#bdd2f112 63%,transparent 80%);animation:auroraFlow 74s ease-in-out infinite alternate}
.cloud-bank{position:absolute;left:-30%;bottom:-18%;width:160%;height:75%;filter:blur(42px);background:radial-gradient(ellipse at 10% 60%,#cdc4ed34,transparent 29%),radial-gradient(ellipse at 38% 67%,#9cb8d440,transparent 32%),radial-gradient(ellipse at 76% 60%,#ddc4dc30,transparent 34%);animation:lowClouds 91s ease-in-out infinite alternate}
.near-mist{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.26;background:radial-gradient(ellipse at 26% 64%,#cebee755,transparent 35%),radial-gradient(ellipse at 75% 50%,#b6d8e144,transparent 31%);filter:blur(36px);animation:nearClouds 58s ease-in-out infinite alternate}
.horizon{opacity:.45}.intro p{color:#ded6eb}.overline{color:#dfd7ed}.space-paused .mist,.space-paused .aurora,.space-paused .cloud-bank,.space-paused .near-mist,.space-paused .planet::after{animation-play-state:paused}
@keyframes deepClouds{from{transform:translate(-3%,-3%) rotate(-18deg) scale(1)}to{transform:translate(12%,8%) rotate(-5deg) scale(1.17)}}
@keyframes highClouds{from{transform:translate(9%,-7%) rotate(16deg)}to{transform:translate(-9%,6%) rotate(-3deg) scale(1.12)}}
@keyframes auroraFlow{from{transform:translate(-3%,3%) rotate(-22deg) scaleY(.8);opacity:.25}to{transform:translate(6%,-8%) rotate(-12deg) scaleY(1.35);opacity:.5}}
@keyframes lowClouds{to{transform:translate(9%,-9%) scale(1.15)}}
@keyframes nearClouds{to{transform:translate(-7%,5%) scale(1.12);opacity:.16}}
@media(prefers-reduced-motion:reduce){.mist.one,.mist.two,.aurora,.cloud-bank,.near-mist{animation:none}}@media(max-width:650px){.near-mist{filter:blur(25px)}.mist.one{filter:blur(35px)}.mist.two{filter:blur(40px)}}

#importText{width:100%;background:#ffffff08;border:1px solid var(--line);border-radius:12px;padding:12px;font:12px/1.6 ui-monospace,monospace;resize:vertical}#importDialog>p{font-size:12px;line-height:1.8;color:#ccc5dd}#importStatus{color:#d5f4e5}

.account-link{display:inline-block;text-decoration:none;margin:12px 4px 12px 0}.account-link[hidden]{display:none}#accountDialog>p{font-size:12px;line-height:1.9;overflow-wrap:anywhere}#accountName{color:#d1e9ef}button:disabled,select:disabled{opacity:.45;cursor:default}.header-right{gap:10px}@media(max-width:650px){.header-right{gap:0}#accountButton{font-size:9px;padding:6px}.logo{font-size:22px}#language{max-width:95px}#syncStatus{max-width:48%;text-align:right}}

#authForm{margin:20px 0}#authForm label{display:block;font-size:12px;margin:14px 0 7px}#authForm input{width:100%;padding:12px 14px;border:1px solid var(--line);background:#ffffff09;border-radius:12px}.auth-actions{display:flex;gap:12px;align-items:center;margin:20px 0}#authStatus{font-size:12px;color:#e9d0e0}#recoverDevice{white-space:normal}#accountDialog{max-height:90dvh;overflow:auto}
