:root{color-scheme:light;--font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;--latin: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;--bg: #fafafa;--surface: #fff;--soft: #f0f0f3;--hover: #e8e8ed;--text: #24242b;--muted: #656571;--placeholder: #898995;--input-line: #d8d8df;--line: #e8e8ed;--accent: #6554d0;--accent-hover: #5745bc;--ink-accent: #5948be;--accent-soft: #ece9fc;--focus: #8a7be0;--green: #31715c;--green-soft: #e1f1e9;--danger: #b7424d;--inverse: #303038;--on-inverse: #fff;--radius: 8px;--art-glow: #e6e0fc;--art-grid: #e1dced;--art-edge: #c5bfd8;--art-paper: #fcfbff;--art-shadow: #e7e3f2;--art-accent: #7963d9;--art-fill: #efebfc;--dot: #c5bfd2;--stage: #e4e4e6}:root[data-theme=dark]{color-scheme:dark;--bg: #141417;--surface: #1b1b20;--soft: #28282f;--hover: #33333d;--text: #eeeef2;--muted: #aaaab7;--placeholder: #8c8c9a;--input-line: #41414d;--line: #303037;--accent: #705ed8;--accent-hover: #7e6be5;--ink-accent: #c9bdff;--accent-soft: #353047;--focus: #a899ff;--green: #a1d9bb;--green-soft: #263c33;--danger: #ff9a9f;--inverse: #eeeef2;--on-inverse: #222228;--art-glow: #30263f;--art-grid: #42394f;--art-edge: #61556e;--art-paper: #29262f;--art-shadow: #292330;--art-accent: #aa91f4;--art-fill: #393047;--dot: #52495c;--stage: #29292c}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%}body{background:var(--bg);color:var(--text);font:400 15px/1.55 var(--font);-webkit-font-smoothing:antialiased;word-break:keep-all}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.48;cursor:default}button,input,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:active:enabled{transform:translateY(1px)}button[hidden],[hidden]{display:none!important}.icon{display:inline-flex;width:18px;height:18px;flex:none;align-items:center;justify-content:center}.icon svg{display:block;width:100%;height:100%;stroke-width:1.7}h1,h2,h3,p{margin:0}button,.brand,.badge,.seg,.url-input,.saved,.error,footer,.section-heading,.project-title,.head-left,.head-right,.preview-toolbar,.preview-stats,.side-title,.comment-head,.comment-head strong,.target-label,.pop-actions{display:flex;align-items:center}.primary,.secondary{justify-content:center;gap:7px;min-height:38px;padding:8px 15px;border-radius:var(--radius);font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}.primary{background:var(--accent);color:#fff;box-shadow:inset 0 1px #ffffff27,0 1px 2px #24164e15}.primary:hover:enabled{background:var(--accent-hover)}.secondary{background:var(--soft);color:var(--text)}.secondary:hover:enabled,.icon-btn:hover:enabled,.home-link:hover{background:var(--hover)}.icon-btn{justify-content:center;width:32px;height:32px;flex:none;border-radius:7px;color:var(--muted)}.icon-btn[aria-pressed=true]{background:var(--accent-soft);color:var(--ink-accent)}.topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3.2vw,64px);background:var(--surface);box-shadow:0 1px 0 var(--line);position:relative;z-index:2}.brand{gap:10px;font:650 25px/1 var(--latin);letter-spacing:-1.6px}.brand img{width:31px;height:31px}.seg{display:inline-flex;gap:3px;padding:3px;border-radius:9px;background:var(--soft)}.seg button{justify-content:center;gap:7px;color:var(--muted);border-radius:6px;min-width:32px;height:29px;padding:0 8px;font-size:13px}.seg button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #12121b20}.seg button:hover:enabled{color:var(--text)}.theme .icon,.views .icon{width:16px;height:16px}.home-shell{min-height:100svh;display:flex;flex-direction:column}.home{flex:1}.first{display:grid;place-items:center;padding:clamp(40px,7vh,88px) 24px}.first .launch{width:min(100%,760px);margin-bottom:min(5vh,45px)}.art{isolation:isolate;position:relative;display:grid;place-items:center;height:clamp(200px,26vh,295px);width:100%;overflow:hidden;background:radial-gradient(ellipse 47% 55% at 52% 54%,var(--art-glow),transparent 97%)}.art:before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--dot) .9px,transparent 1px);background-size:15px 15px;-webkit-mask-image:radial-gradient(ellipse 48% 68% at 50% 51%,black 18%,transparent 97%);mask-image:radial-gradient(ellipse 48% 68% at 50% 51%,black 18%,transparent 97%)}.art-orbit{width:290px;height:180px;border:1px solid var(--art-grid);border-radius:50%;position:absolute;transform:rotate(-17deg)}.art-window{position:relative;width:212px;height:139px;transform:perspective(550px) rotateX(11deg) rotateY(-14deg) rotate(-7deg);border:1px solid var(--art-edge);border-radius:12px;background:var(--art-paper);box-shadow:4px 9px 0 -3px var(--art-shadow),5px 10px 0 -3px var(--art-edge),4px 22px 32px -16px #4031935a;overflow:visible}.art-bar{height:25px;border-bottom:1px solid var(--art-grid);display:flex;align-items:center;gap:4px;padding:0 11px}.art-bar i{width:4px;height:4px;background:var(--art-edge);border-radius:50%}.art-bar b{height:4px;width:38px;background:var(--art-grid);border-radius:2px;margin-left:auto}.art-body{display:flex;height:calc(100% - 25px)}.art-nav{width:44px;border-right:1px solid var(--art-grid);padding:15px 8px;display:flex;flex-direction:column;gap:8px}.art-nav i,.art-nav b,.art-line,.art-sel span{display:block;background:var(--art-grid);height:4px;border-radius:2px}.art-nav b{background:var(--art-edge);width:50%;height:6px}.art-nav i:last-child{width:65%}.art-paper{flex:1;padding:17px 13px}.art-line{height:6px;width:64%;background:var(--art-edge)}.art-line.short{width:40%;height:4px;margin-top:7px;background:var(--art-grid)}.art-sel{position:relative;border:1.5px solid var(--art-accent);background:var(--art-fill);height:34px;width:112px;margin-top:13px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:0 9px}.art-sel span{width:68%;background:var(--art-accent);opacity:.55;height:3px}.art-sel span:last-child{width:42%;opacity:.32}.art-sel s{position:absolute;width:5px;height:5px;background:var(--art-paper);outline:1px solid var(--art-accent)}.art-sel s:nth-child(1){left:-3px;top:-3px}.art-sel s:nth-child(2){right:-3px;top:-3px}.art-sel s:nth-child(3){left:-3px;bottom:-3px}.art-sel s:nth-child(4){right:-3px;bottom:-3px}.art-comment{position:absolute;left:calc(50% + 74px);top:calc(50% - 42px);width:35px;height:32px;display:grid;place-items:center;border-radius:10px 10px 10px 3px;color:#fff;background:linear-gradient(155deg,#a79af8,#6554d1);box-shadow:0 4px 9px #49358c30;transform:rotate(4deg)}.art-comment .icon{width:18px}.art-cursor{position:absolute;left:calc(50% + 49px);top:calc(50% + 31px);transform:rotate(1deg);color:var(--art-accent)}.art-cursor .icon{width:29px;height:29px}.art-cursor svg{fill:var(--art-accent);stroke:var(--art-paper);stroke-width:1.5}.launch-content h1{font-size:clamp(32px,3vw,46px);line-height:1.22;letter-spacing:-.058em;font-weight:700}.launch-content>p{font-size:16px;margin-top:10px;letter-spacing:-.018em;color:var(--muted)}.first .launch-content{text-align:center}.launch form{display:flex;gap:8px;max-width:620px;margin-top:27px}.first form{margin-inline:auto}.url-input{min-width:0;flex:1;gap:12px;border-radius:10px;border:1px solid var(--input-line);background:var(--surface);padding:0 15px;color:var(--muted);box-shadow:0 2px 5px #15152404}.url-input:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--accent-soft)}.url-input input{border:0;background:transparent;outline:none;width:100%;min-width:0;padding:13px 0;color:var(--text);font:15px var(--latin);height:49px}.url-input input:focus-visible{outline:none}.url-input input::placeholder{color:var(--placeholder)}.launch form>.primary{padding-inline:23px;font-size:15px}.form-feedback:not(:empty){margin-top:12px}.first .form-feedback{max-width:620px;margin-inline:auto}.error{gap:6px;color:var(--danger);font-size:13px}.home-shell footer{justify-content:center;gap:7px;font-size:12px;color:var(--muted);padding:18px 16px 24px}.home-shell footer .icon{width:14px;height:14px}.has-sites{width:min(100%,1800px);margin:0 auto;padding:clamp(38px,5vw,80px) clamp(20px,4.8vw,90px)}.has-sites .launch-content h1{font-size:37px}.library{margin-top:clamp(46px,5vw,88px)}.section-heading{justify-content:space-between;margin-bottom:20px}.section-heading h2,.side-title h2{font-size:20px;font-weight:700;letter-spacing:-.045em}.section-heading h2 span,.side-title h2 span{color:var(--muted);font:500 13px var(--latin);margin-left:4px}.projects{display:grid;gap:16px}.grid-mode{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}.grid-mode .project{max-width:400px}.project{min-width:0;background:var(--surface);border-radius:13px;overflow:hidden;box-shadow:0 1px 5px #15151d0d,0 0 0 1px var(--line)}.project-main{width:100%;padding:0;display:block;text-align:left}.project-main:hover .project-title{color:var(--ink-accent)}.thumb{aspect-ratio:4/3;position:relative;background:var(--soft);display:grid;place-items:center;overflow:hidden}.thumb>img{width:100%;height:100%;object-fit:contain;object-position:center top}.thumb>.icon{width:32px;height:32px;color:var(--placeholder)}.thumb-state{position:absolute;left:12px;bottom:12px}.badge{display:inline-flex;width:max-content;gap:5px;white-space:nowrap;border-radius:6px;font:600 11px/1.4 var(--font);padding:4px 7px;background:var(--accent-soft);color:var(--ink-accent)}.badge i{width:7px;height:7px;border-radius:50%;border:1.5px solid currentColor}.complete{background:var(--green-soft);color:var(--green)}.complete i{background:currentColor}.project-info{min-width:0;padding:15px 17px}.project-title{justify-content:space-between;gap:8px}.project-title h3{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.035em}.project-title .icon{width:15px;color:var(--muted)}.domain,.last-page,.project-info time{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.project-progress{margin-top:13px;font-size:13px}.project-progress i{color:var(--placeholder);font-style:normal;margin:0 3px}.project-info time{display:block;margin-top:6px}.project-actions{padding:0 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.project-actions:empty{display:none}.history{display:flex;gap:5px;flex-wrap:wrap}.history button{padding:0}.next{font-size:12px;min-height:30px;padding:4px 9px}.next .icon{width:14px}.list-mode{gap:8px}.list-mode .project{display:flex;align-items:center}.list-mode .project-main{display:flex;align-items:center;flex:1;min-width:0}.list-mode .thumb{width:125px;flex:none}.list-mode .thumb-state{left:5px;bottom:5px}.list-mode .project-info{flex:1}.list-mode .project-progress,.list-mode .project-info time{margin-top:2px}.list-mode .project-actions{padding:10px 16px}.list-mode .project-title{justify-content:flex-start}@media(min-width:1050px){.list-mode .project-info{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(130px,.75fr) minmax(120px,1fr) minmax(170px,auto);column-gap:24px;align-items:center}.list-mode .project-title{grid-column:1;grid-row:1}.list-mode .domain{grid-column:1;grid-row:2}.list-mode .project-progress,.list-mode .last-page,.list-mode .project-info time{grid-row:1/3;margin:0}.list-mode .project-progress{grid-column:2}.list-mode .last-page{grid-column:3}.list-mode .project-info time{grid-column:4;text-align:right}}#toast{position:fixed;z-index:30;left:50%;bottom:26px;transform:translate(-50%,8px);opacity:0;transition:opacity .15s,transform .15s;background:var(--inverse);color:var(--on-inverse);padding:10px 16px;border-radius:9px;box-shadow:0 6px 30px #0002;font-size:13px;pointer-events:none;max-width:calc(100% - 24px);width:max-content}#toast.show{opacity:1;transform:translate(-50%)}@media(max-width:640px){.topbar{min-height:58px;padding-inline:16px}.brand{font-size:23px}.brand img{width:28px;height:28px}.first{padding:28px 20px}.first .launch{margin-bottom:6vh}.first .art{height:200px}.launch-content>p{font-size:14px}.launch form{gap:6px;margin-top:22px}.launch form>.primary{padding-inline:14px;font-size:14px}.url-input{padding:0 10px;gap:7px}.url-input input{height:44px;font-size:13px}.has-sites{padding:36px 18px}.list-mode .thumb{width:74px}.list-mode .project{flex-wrap:wrap}.list-mode .project-actions{width:100%;padding-left:14px}.list-mode .badge{font-size:10px}.list-mode .project-info{padding:10px}.section-heading h2{font-size:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.editor-shell{height:100dvh;min-height:340px;display:flex;flex-direction:column;overflow:hidden}.editor-head{min-height:62px;padding:0 22px;gap:12px}.head-left,.head-right{gap:12px;min-width:0}.head-right{flex:none}.home-link{padding:5px 6px;border-radius:7px;margin-left:-6px}.editor-head .brand{font-size:22px;gap:8px}.editor-head .brand img{width:27px;height:27px}.head-slash{color:var(--placeholder);font-size:19px;font-weight:300}#site-label{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}#round-label{display:flex}.editor-head .primary[aria-pressed=true]{box-shadow:0 0 0 3px var(--focus)}.editor-main{--sidebar-width: clamp(240px, 18vw, 328px);display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0;position:relative}.sidebar{min-width:0;display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--line)}.side-title{padding:19px 18px 17px;justify-content:space-between}.side-title h2{font-size:17px}.side-title h2 span{font-size:12px}.note-scroll{flex:1;overflow:auto;min-height:0;padding:2px 8px}.notes-empty{display:flex;align-items:center;flex-direction:column;gap:4px;text-align:center;padding:64px 12px 20px;color:var(--muted)}.notes-empty>.icon{width:26px;height:26px;color:var(--placeholder);margin-bottom:8px}.notes-empty p{font-size:14px;color:var(--text);font-weight:600}.notes-empty small{font-size:12px}.note-row{display:flex;align-items:flex-start;gap:2px;border-radius:8px}.note-row:hover,.note-row.is-focused{background:var(--soft)}.note-link{flex:1;min-width:0;gap:9px;align-items:flex-start;padding:12px 2px 12px 8px;text-align:left;border-radius:8px}.note-num{font:600 11px/21px var(--latin);min-width:21px;text-align:center;border-radius:7px;color:var(--ink-accent);background:var(--accent-soft)}.note-details{min-width:0}.note-details strong{font-size:13px;line-height:1.55;font-weight:500;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}.note-details small{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.note-details .icon{width:12px;height:12px}.delete-note{margin:7px 3px 0 0;width:27px;height:27px}.delete-note .icon{width:14px;height:14px}.delete-note:hover{color:var(--danger)}.side-bottom{padding:14px 15px 16px;margin-top:auto;display:grid;gap:9px}.saved{min-height:15px;color:var(--muted);justify-content:center;font-size:11px}.wide{width:100%}.preview-panel{grid-column:2;display:flex;flex-direction:column;min-width:0;min-height:0}.preview-toolbar,.preview-foot{background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px}.devices button{font-size:12px;padding:5px 10px}.devices .icon,.preview-stats .icon{width:15px;height:15px}.preview-stats{gap:10px;color:var(--muted);font:12px var(--latin);white-space:nowrap}.stage{position:relative;min-height:0;flex:1;display:grid;place-items:center;background:var(--stage);overflow:hidden}.viewport{position:relative;background:#fff;overflow:hidden;box-shadow:0 2px 18px #1616221b,0 0 0 1px var(--line);border-radius:3px}.viewport iframe{display:block;border:0;transform-origin:top left;background:#fff;color-scheme:light}.preview-foot{font-size:11px;min-height:34px;color:var(--muted);padding-block:7px}.preview-foot>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shortcut{flex:none}.shortcut kbd{font:11px var(--latin);background:var(--soft);border-radius:3px;padding:2px 4px}.connection{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;background:var(--bg);padding:20px}.connection strong{font-size:18px;letter-spacing:-.035em}.connection p{font-size:13px;color:var(--muted);max-width:360px}.connection>div:last-child{display:flex;gap:8px;margin-top:5px}.connection-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--ink-accent);background:var(--accent-soft)}.spinner{width:21px;height:21px;border-radius:100%;border:2px solid var(--input-line);border-top-color:var(--ink-accent);animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.comment-layer{position:fixed;inset:0;z-index:10}.comment-pop{position:absolute;width:min(340px,calc(100vw - 16px));padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 50px #17132033,0 1px 8px #17132014}.comment-head{justify-content:space-between}.comment-head strong{gap:7px;font-size:15px}.comment-head strong .icon{color:var(--ink-accent)}.target-label{color:var(--muted);font-size:11px;gap:5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:6px 0 8px}.target-label .icon{width:12px;height:12px;vertical-align:-2px;margin-right:4px}.comment-pop textarea{width:100%;min-height:88px;max-height:30vh;resize:vertical;border-radius:7px;border:1px solid var(--input-line);background:var(--bg);padding:10px;font-size:14px}.pop-actions{justify-content:flex-end;gap:7px;margin-top:8px}.pop-actions button{min-height:32px;font-size:12px}.side-title #mobile-notes{display:none}@media(max-width:1000px){.editor-main{--sidebar-width: 226px}.editor-head{padding-inline:14px}.head-left,.head-right{gap:7px}.editor-head .secondary,.editor-head .primary{font-size:12px;padding:7px 10px}.editor-head #site-label{max-width:170px}.preview-toolbar{padding:9px}.preview-stats{gap:3px}}@media(max-width:700px){.editor-head{min-height:55px;gap:4px;padding:0 8px}.editor-head .brand span,.editor-head .head-slash,.editor-head #site-label{display:none}.editor-head .head-right{gap:5px}.editor-head .theme button{min-width:24px;padding:0 3px}.editor-head #save{width:32px;height:32px;padding:5px;min-height:32px}.editor-head #save span:not(.icon){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.head-left{gap:4px}.editor-head .primary{min-height:32px}.editor-head .brand img{width:25px;height:25px}.editor-main{--sidebar-width: 48px}.sidebar .side-title{padding:10px 5px;justify-content:center}.sidebar .side-title h2,.sidebar .note-scroll,.sidebar .saved{display:none}.sidebar .side-title #mobile-notes{display:flex}.sidebar #mobile-notes .icon{transform:rotate(-90deg)}.sidebar .side-bottom{padding:8px 4px}.sidebar:not(.expanded) #submit{padding:6px;min-width:32px}.sidebar:not(.expanded) #submit span:not(.icon){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sidebar.expanded{position:absolute;inset:0 auto 0 0;width:min(280px,80vw);z-index:3;box-shadow:10px 0 22px #14141b18}.sidebar.expanded .note-scroll,.sidebar.expanded h2{display:block}.sidebar.expanded .saved{display:flex}.sidebar.expanded .side-title{justify-content:space-between;padding:10px 14px}.sidebar.expanded #mobile-notes .icon{transform:rotate(90deg)}.devices button{padding:3px 6px;gap:4px;font-size:11px;min-width:25px}.devices .icon{width:13px;height:13px}.preview-toolbar{gap:4px;padding:7px 5px}.preview-stats{font-size:10px}.preview-stats .icon-btn{width:24px}.preview-foot{padding-inline:7px}.preview-foot .shortcut{display:none}}@media(max-width:380px){.devices button span:not(.icon){position:absolute;clip-path:inset(50%);width:1px;height:1px}.editor-head .badge{font-size:10px}}@media(max-width:700px){body:has(.editor-shell) #toast{bottom:auto;top:116px}}.thumbnail-source{position:fixed;left:-3000px;top:0;width:1200px;height:900px;border:0;pointer-events:none}
