:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#e9f0f6;background:#0b1020;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 85% -10%,#183659 0,transparent 35%),#0b1020}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #3b6470;border-radius:9px;background:#173442;color:#d9f8f2;padding:9px 13px;font-weight:650;transition:background .2s,border-color .2s,box-shadow .2s}button:hover:not(:disabled){background:#205263;border-color:#72ddcf;box-shadow:0 0 18px #5bd7c626}button:disabled{opacity:.5;cursor:wait}.light{background:#172639;color:#a8e8dd}.danger{background:#442a35;border-color:#75414b;color:#ffc7c5}.eyebrow{color:#75ddce;font-size:11px;letter-spacing:.17em;font-weight:800;margin:0 0 10px}.brand-mark{width:38px;height:38px;flex:none;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#78e5d4,#77a8e9);color:#092b35;font-size:23px;box-shadow:0 0 22px #5bd7c64a}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.gate{min-height:100vh;display:grid;place-items:center;padding:30px;position:relative;overflow:hidden;background:radial-gradient(circle at 18% 28%,#20586966,transparent 34%),radial-gradient(circle at 85% 80%,#3d2c6c88,transparent 38%),#0b1020}.gate-card{position:relative;z-index:2;width:min(100%,440px);padding:38px;background:#121e30ed;border:1px solid #45687988;border-radius:24px;box-shadow:0 28px 90px #0008,0 0 35px #64d6c71a}.gate-card .brand-mark{width:48px;height:48px;margin-bottom:25px}.gate-card h1{font-size:35px;letter-spacing:-.045em;margin:0 0 10px}.gate-card>p:not(.eyebrow){color:#a4b8ca;line-height:1.6;font-size:14px}.gate-card>button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;padding:14px 18px;margin-top:28px;background:#77dfd1;color:#092527;font-weight:800}.gate-card small{display:block;color:#718ba2;margin-top:18px}.google-g{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#4285f4;font-weight:900}.gate-art{position:absolute;inset:0;pointer-events:none}.gate-art:before,.gate-art:after{content:"";position:absolute;left:50%;top:50%;width:650px;height:650px;border:1px solid #71e8d522;border-radius:50%;transform:translate(-50%,-50%)}.gate-art:after{width:900px;height:900px;border-color:#7d9eec18}.art-node{position:absolute;padding:10px 15px;border:1px solid #69d9ca77;border-radius:10px;background:#1d3c4b99;color:#98f2df;box-shadow:0 0 24px #60dec633;font-size:12px;font-weight:700;animation:node-float 5s ease-in-out infinite}.node-one{top:18%;left:18%}.node-two{bottom:17%;right:17%;animation-delay:1.5s}.node-three{top:26%;right:23%;animation-delay:2.6s}@keyframes node-float{50%{transform:translateY(-8px)}}.actions{display:flex;gap:8px;flex-wrap:wrap}.topbar{height:76px;padding:0 40px;border-bottom:1px solid #263249;display:flex;align-items:center;justify-content:space-between;background:#0d1524f2;position:fixed;top:0;left:0;right:0;z-index:20;box-shadow:0 4px 20px #0003}.brand,.account{display:flex;align-items:center;gap:13px}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small{font-size:12px;color:#94a4bd}.account{font-size:12px;color:#9fb8c9}.account time{white-space:nowrap}.preview-banner{position:relative;margin-top:76px;padding:9px 40px;background:#453827;color:#f6d2a5;font-size:12px;border-bottom:1px solid #6c5233}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);max-width:1600px;min-height:calc(100vh - 132px);margin:76px auto 56px;border-left:1px solid #27364b;border-right:1px solid #27364b}.preview-banner+.workspace{margin-top:0}.sidebar{background:#101a2a;border-right:1px solid #2b3b51;padding:25px 16px;display:flex;flex-direction:column;gap:17px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.sidebar h2{font-size:16px;margin:0}.sidebar-head button{font-size:24px;width:36px;height:36px;padding:0;line-height:1;background:#6cdbcb;color:#0b2830}.sidebar input{width:100%;background:#0b1423;border:1px solid #34445b;border-radius:9px;color:#edf4fa;padding:12px 13px;outline:none}.sidebar input:focus,.editor input:focus,.editor textarea:focus{border-color:#72d8c9;box-shadow:0 0 0 3px #72d8c924}.tab-list{display:flex;flex-direction:column;gap:5px}.note-tab{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;border-color:transparent;color:#bdcad7;font-size:13px;font-weight:550;border-radius:9px;padding:12px 13px}.note-tab:hover,.note-tab.active{background:#1a3044}.note-tab.active{box-shadow:inset 3px 0 #6cdbcb}.tab-icon{color:#7ce3d4}.sidebar-foot{margin:auto 8px 0;font-size:11px;color:#7c90a6}.paper{background:#111c2d;min-width:0;padding:32px clamp(25px,4vw,72px) 95px}.paper-top,.paper-actions{display:flex;align-items:center;gap:9px}.paper-top{justify-content:space-between}.breadcrumbs{font-size:12px;color:#8195ab}.breadcrumbs span{margin:0 7px;color:#57718b}.breadcrumbs strong{color:#7ce4d4}.paper-actions button{font-size:12px}.note-updated{font-size:12px;color:#8ea2b5;margin-top:55px}.paper h1{font-size:clamp(35px,3.5vw,52px);letter-spacing:-.04em;line-height:1.1;margin:10px 0 30px}.paper-empty{height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7f97ac;text-align:center}.empty-mark{font-size:60px;color:#65cebf}.paper-empty h2{color:#e4eff3;margin:10px 0 0}.paper-empty p{margin-top:5px}.markdown-body{max-width:900px;font-size:15px;line-height:1.75;overflow-wrap:anywhere;color:#dce8ed}.markdown-body h1,.markdown-body h2,.markdown-body h3{line-height:1.3;letter-spacing:-.02em;margin-top:1.4em}.markdown-body h1{font-size:30px}.markdown-body h2{font-size:23px;border-bottom:1px solid #34485c;padding-bottom:6px}.markdown-body h3{font-size:18px}.markdown-body a{color:#83e7d8}.markdown-body blockquote{border-left:3px solid #6cdbcb;margin-left:0;padding:4px 16px;background:#17293a;color:#a7c4c6}.markdown-body code{background:#23374a;color:#cdefff;padding:2px 5px;border-radius:4px;font-size:.9em}.markdown-body pre{background:#0d1420;overflow:auto;padding:17px;border:1px solid #2e4055;border-radius:10px}.markdown-body pre code{background:none;color:inherit;padding:0}.markdown-body table{border-collapse:collapse;display:block;overflow:auto;max-width:100%;margin:22px 0}.markdown-body th,.markdown-body td{border:1px solid #375064;padding:8px 13px}.markdown-body th{background:#203449}.markdown-body hr{border:0;border-top:1px solid #486479;margin:30px 0}.markdown-body img{max-width:100%}.editor{max-width:1200px}.editor>label:not(.sr-only){display:block;font-weight:700;font-size:13px;margin-bottom:8px}.editor>input{width:100%;padding:12px;border:1px solid #34445b;border-radius:9px;outline:none;margin-bottom:17px;background:#0d1726;color:#f1faf9}.editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:#17283a;border:1px solid #34465a;border-radius:10px 10px 0 0;padding:7px}.editor-toolbar>span{color:#7f9eb2;font-size:10px;letter-spacing:.12em;font-weight:800;margin:0 auto 0 7px}.editor-toolbar button{border-color:transparent;background:transparent;color:#c6e7e6;padding:5px 9px;min-width:30px;font-size:12px}.editor-toolbar button:hover{background:#28505a}.color-label{display:flex;align-items:center;gap:3px;color:#d8ecef;font-size:13px;font-weight:800;padding:0 8px}.color-label input{width:26px;height:23px;border:0;padding:0;background:transparent;cursor:pointer}.emoji-palette{display:flex;gap:4px;flex-wrap:wrap;background:#1d3245;padding:8px;border:1px solid #365368}.emoji-palette button{background:transparent;border:0;font-size:20px;padding:3px 6px}.editor-split{display:grid;grid-template-columns:1fr 1fr;border:1px solid #34465a;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;min-height:450px}.editor-split>div{min-width:0}.editor textarea{display:block;width:100%;height:100%;min-height:450px;resize:vertical;padding:18px;border:0;outline:none;background:#0c1726;color:#dcecf0;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.live-preview{border-left:1px solid #34465a;background:#132132;padding:0 20px 22px;overflow:auto;max-height:650px}.preview-label{font-size:10px;color:#7298a6;letter-spacing:.14em;font-weight:800;margin:16px 0 20px}.live-preview .markdown-body{font-size:13px}.format-hint{color:#8ea5b7;font-size:12px;line-height:1.5}.format-hint code{color:#87e2d7}.editor-actions{display:flex;align-items:center;gap:9px;margin-top:15px}.editor-actions span{font-size:12px;color:#f1b79a}.review{max-width:1450px;margin:92px auto -76px;background:#142237;padding:25px;border-radius:18px;border:1px solid #2e445a}.review-head{display:flex;align-items:center;justify-content:space-between}.review h2{margin:0 0 18px}.review-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #2c3e52;gap:12px}.review-row small{display:block;color:#8fa5b8;margin-top:4px}.site-footer{height:56px;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#0d1524f2;border-top:1px solid #263249;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 40px;color:#92a9ba;font-size:11px;box-shadow:0 -4px 20px #0003;overflow:hidden}.site-footer:before{content:"";position:absolute;top:0;left:0;width:38%;height:2px;background:linear-gradient(90deg,transparent,#66ddce 48%,#8eb5ff 70%,transparent);animation:footer-shimmer 7s linear infinite}.footer-ownership,.footer-developer{position:relative;z-index:1;flex:none}.footer-ownership{display:flex;align-items:center;gap:10px}.footer-icon{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(145deg,#79e8d4,#629de8);color:#0b2032;font-size:17px}.footer-developer strong{color:#d7f5ef}.story-track{height:44px;flex:1;max-width:360px;min-width:110px;overflow:hidden}.story-scene{display:block;width:100%;height:44px}.pen-character{transform-box:fill-box;transform-origin:center;animation:pen-write 5s ease-in-out infinite}.paper-sheet{transform-box:fill-box;transform-origin:center;animation:paper-nod 5s ease-in-out infinite}.pen-arm{transform-box:fill-box;transform-origin:left;animation:arm-write .35s ease-in-out infinite alternate}.ink-stroke{stroke-dasharray:30;stroke-dashoffset:30;animation:ink-appear 5s linear infinite}.story-spark{transform-box:fill-box;transform-origin:center;animation:story-spark 5s ease-in-out infinite}@keyframes pen-write{0%,12%,100%{transform:translate(-25px,0) rotate(-7deg)}35%{transform:translate(72px,-3px) rotate(6deg)}55%,72%{transform:translate(87px,2px) rotate(-9deg)}84%{transform:translate(25px,-4px) rotate(3deg)}}@keyframes paper-nod{0%,55%,100%{transform:rotate(0)}67%{transform:rotate(4deg)}}@keyframes ink-appear{0%,49%{stroke-dashoffset:30}68%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:30}}@keyframes story-spark{0%,65%,90%,100%{opacity:0;transform:scale(.3)}72%,83%{opacity:1;transform:scale(1.2) rotate(20deg)}}@keyframes footer-shimmer{from{transform:translateX(-110%)}to{transform:translateX(280%)}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #2b3b51;padding:18px}.tab-list{flex-direction:row;overflow:auto}.note-tab{min-width:max-content}.sidebar-foot{display:none}.paper{min-height:65vh}.editor-split{grid-template-columns:1fr}.live-preview{border-left:0;border-top:1px solid #34465a}.account span{display:none}}@media(max-width:650px){.topbar{height:70px;padding:0 13px}.brand strong{font-size:12px}.brand small{display:none}.brand-mark{width:30px;height:30px;font-size:18px}.account{gap:6px}.account time{font-size:10px;max-width:85px;white-space:normal}.account button{font-size:11px;padding:6px}.workspace{margin-top:70px;grid-template-columns:1fr}.preview-banner{margin-top:70px;padding:8px 14px}.paper{padding:20px 16px 70px}.paper-top{align-items:start;gap:10px}.paper-actions{flex-wrap:wrap;justify-content:flex-end}.breadcrumbs{line-height:1.8}.note-updated{margin-top:35px}.site-footer{padding:0 12px;font-size:9px;gap:7px}.footer-developer{max-width:100px;text-align:right;line-height:1.2}.story-track{min-width:70px}.story-scene{height:36px}.gate-card{padding:29px}.art-node{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}
