:root{--ink:#17211b;--muted:#687169;--paper:#f5f1e8;--line:rgba(23,33,27,.13);--green:#245843;--orange:#db6f3d;--cream:#fffdf8;--shadow:0 20px 55px rgba(35,44,37,.10)}
.image-panel{width:min(760px,100%)}.image-kicker{color:#5e5385}.modal .image-upload{margin:0;min-height:150px;border:1.5px dashed rgba(94,83,133,.38);border-radius:18px;background:rgba(94,83,133,.045);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;cursor:pointer;padding:24px;transition:.2s}.modal .image-upload:hover,.modal .image-upload.dragover{border-color:#5e5385;background:rgba(94,83,133,.09)}.image-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#5e5385;color:#fff;font-size:23px;margin-bottom:2px}.image-upload strong{font-size:13px}.image-upload small,.workflow-note small{color:var(--muted);font-size:10px;line-height:1.5}.image-preview{margin:0;position:relative;border-radius:18px;overflow:hidden;background:#eee9df;min-height:180px;max-height:330px}.image-preview img{display:block;width:100%;height:100%;max-height:330px;object-fit:contain}.image-preview button{position:absolute;right:12px;bottom:12px;border:0;border-radius:999px;padding:8px 12px;background:rgba(23,33,27,.84);color:#fff;font-size:11px;cursor:pointer}.workflow-note{align-self:end;min-height:72px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;gap:3px}.workflow-note span{color:var(--muted);font-size:10px}.workflow-note strong{font-size:12px}.image-submit{background:#5e5385}.image-progress{margin-top:18px;border:1px solid rgba(94,83,133,.2);background:rgba(94,83,133,.05);border-radius:15px;padding:14px;display:flex;align-items:center;gap:12px}.image-progress[hidden]{display:none}.image-progress strong,.image-progress small{display:block}.image-progress strong{font-size:12px}.image-progress small{margin-top:3px;color:var(--muted);font-size:10px}.image-spinner{width:22px;height:22px;border:2px solid rgba(94,83,133,.2);border-top-color:#5e5385;border-radius:50%;animation:image-spin .8s linear infinite;flex:none}@keyframes image-spin{to{transform:rotate(360deg)}}.image-result img{display:block;width:100%;max-height:520px;object-fit:contain;background:#eee9df}.image-result img[hidden]{display:none}.image-result p{margin:0;padding:17px;color:#a34d31;font-size:12px;line-height:1.6}.result-actions{display:flex;align-items:center;gap:12px}.result-actions a{color:var(--green);text-decoration:none}.result-actions a,.result-actions button{font-size:11px;font-weight:750}@media(max-width:720px){.modal .image-upload{min-height:135px;padding:18px}.image-preview{max-height:260px}.image-preview img{max-height:260px}.image-result img{max-height:420px}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;min-height:100vh;overflow-x:hidden}button,input,textarea,select{font:inherit}.ambient{position:fixed;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:-1}.ambient-one{width:420px;height:420px;background:rgba(225,148,99,.17);top:-190px;right:-130px}.ambient-two{width:360px;height:360px;background:rgba(80,139,111,.13);left:-180px;top:45vh}.topbar{height:82px;max-width:1240px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:18px;font-weight:700;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--ink);color:#fff;font-size:13px;letter-spacing:.02em}.system-pill{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:rgba(255,253,248,.55);font-size:12px}.pulse{width:7px;height:7px;border-radius:50%;background:#d2a12f;box-shadow:0 0 0 4px rgba(210,161,47,.12)}.pulse.online{background:#3e8a63;box-shadow:0 0 0 4px rgba(62,138,99,.12)}main{max-width:1168px;margin:auto;padding:0 36px 80px}.hero{padding:92px 0 80px;max-width:850px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:.22em;font-weight:800;color:var(--orange);margin:0 0 18px}.hero h1{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(48px,7vw,84px);line-height:1.08;letter-spacing:-.045em;margin:0;font-weight:500}.hero h1 em{font-weight:400;color:var(--green)}.hero-copy{max-width:620px;margin:28px 0 0;color:var(--muted);font-size:17px;line-height:1.8}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-heading h2{margin:0;font-size:29px;letter-spacing:-.03em}.section-heading .section-kicker{margin-bottom:9px}.app-count{font-size:12px;color:var(--muted);padding-bottom:4px}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.app-card{min-height:292px;padding:28px;border:1px solid var(--line);border-radius:24px;text-decoration:none;text-align:left;color:var(--ink);background:rgba(255,253,248,.68);display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;position:relative;overflow:hidden;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}.app-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(23,33,27,.22)}.app-card:focus-visible{outline:3px solid rgba(36,88,67,.3);outline-offset:3px}.card-top{display:flex;align-items:start;justify-content:space-between}.app-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:var(--ink);color:#fff;font-weight:750;font-size:18px}.status{padding:6px 9px;border-radius:999px;background:#eee8dc;color:#80786b;font-size:10px;font-weight:750;letter-spacing:.06em}.status.ready{background:#dfeee5;color:#326c4f}.status.offline{background:#f2dfd7;color:#a45031}.app-card h3{font-size:26px;margin:30px 0 10px;letter-spacing:-.03em}.app-card p{margin:0;color:var(--muted);line-height:1.7;max-width:420px;font-size:14px}.card-action{margin-top:24px;font-size:13px;font-weight:750;display:flex;align-items:center;gap:8px}.card-action b{font-size:17px}.card-video{background:var(--green);color:#fff;border-color:transparent}.card-video p{color:rgba(255,255,255,.72)}.card-video .app-icon{background:rgba(255,255,255,.13)}.card-video .status{background:rgba(255,255,255,.13);color:#fff}.card-codex .app-icon{font-family:Consolas,monospace;background:#202723}.card-writing .app-icon{background:var(--orange);font-family:Georgia,serif}.card-image .app-icon{background:#5e5385}.card-more{min-height:150px;grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:22px;border-style:dashed;background:transparent}.card-more .plus{width:54px;height:54px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:26px;color:var(--muted)}.card-more h3{font-size:19px;margin:0 0 5px}.history-section{margin-top:84px}.section-heading.compact{margin-bottom:18px}.history-list{border-top:1px solid var(--line)}.history-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px 4px;border-bottom:1px solid var(--line)}.history-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e9e3d8;font-size:12px;font-weight:800}.history-title{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-meta{font-size:11px;color:var(--muted);margin-top:4px}.history-state{font-size:11px;font-weight:700;color:#397455}.history-state.failed{color:#ad5838}.empty-state{color:var(--muted);padding:28px 4px;margin:0;font-size:14px}footer{max-width:1168px;margin:auto;padding:24px 36px 38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#858b85;font-size:10px;letter-spacing:.14em}.modal{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%}.modal::backdrop{background:rgba(17,24,20,.55);backdrop-filter:blur(8px)}.modal[open]{display:grid;place-items:center;padding:24px}.modal-panel{width:min(680px,100%);max-height:calc(100vh - 48px);overflow:auto;background:var(--cream);border-radius:28px;padding:32px;box-shadow:0 28px 80px rgba(9,16,12,.28)}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:25px}.modal-kicker{font-size:10px;font-weight:800;color:var(--orange);letter-spacing:.18em}.modal-head h2{font-size:28px;margin:5px 0 0;letter-spacing:-.035em}.close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:transparent;font-size:24px;line-height:1;color:var(--muted);cursor:pointer}.modal label{font-size:12px;font-weight:750;display:flex;justify-content:space-between;margin:16px 0 8px}.modal textarea,.modal select{width:100%;border:1px solid var(--line);border-radius:14px;background:#f8f5ee;color:var(--ink);padding:14px;outline:none}.modal textarea{resize:vertical;line-height:1.6}.modal textarea:focus,.modal select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(36,88,67,.08)}.field-note{font-size:11px;color:var(--muted);margin:8px 2px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal input[type=range]{width:100%;accent-color:var(--orange)}.submit-btn{border:0;border-radius:14px;padding:15px 17px;width:100%;margin-top:24px;display:flex;justify-content:space-between;align-items:center;color:#fff;background:var(--green);font-weight:750;cursor:pointer}.writing-submit{background:var(--orange)}.submit-btn:disabled{opacity:.55;cursor:wait}.result{margin-top:22px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.result-head{display:flex;justify-content:space-between;align-items:center;background:#eee9df;padding:10px 14px;font-size:11px;font-weight:800}.result-head button{border:0;background:transparent;color:var(--green);font-weight:750;cursor:pointer}.result pre{margin:0;padding:17px;white-space:pre-wrap;word-break:break-word;max-height:360px;overflow:auto;font-family:inherit;font-size:13px;line-height:1.75;background:#fbf9f4}.result.error pre{color:#a34d31}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#17211b;color:#fff;padding:12px 18px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:720px){.topbar{height:70px;padding:0 20px}.system-pill span:last-child{display:none}main{padding:0 18px 60px}.hero{padding:65px 3px 58px}.hero h1{font-size:44px}.hero-copy{font-size:15px;line-height:1.7}.app-grid{grid-template-columns:1fr;gap:14px}.app-card{min-height:250px;padding:23px;border-radius:20px}.card-more{grid-column:auto;min-height:145px}.app-card h3{font-size:23px}.history-section{margin-top:64px}.section-heading h2{font-size:25px}footer{padding:21px 20px 30px;display:block;line-height:2}footer span{display:block}.modal[open]{padding:0;align-items:end}.modal-panel{border-radius:24px 24px 0 0;max-height:92vh;padding:25px 20px 30px}.form-row{grid-template-columns:1fr}.modal-head h2{font-size:25px}}
.modal-panel.image-panel{width:min(760px,100%)}.modal-kicker.image-kicker{color:#5e5385}.modal .image-upload[hidden]{display:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.image-spinner{animation:none}}

.login-dialog{width:min(92vw,420px);padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px rgb(0 0 0 / 30%)}.login-dialog::backdrop{background:rgb(0 0 0 / 55%);backdrop-filter:blur(3px)}.login-panel{display:grid;gap:14px;padding:24px}.login-panel h2,.login-panel p{margin:0}.login-panel input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #d4d4d8;border-radius:10px;font:inherit}#login-error{color:#dc2626}.login-actions{display:flex;justify-content:flex-end;gap:10px}.login-actions button{padding:8px 20px;border-radius:10px;border:1px solid #d4d4d8;background:#fff;cursor:pointer}#login-submit{background:var(--ink);color:#fff;border-color:var(--ink)}
.card-claude .app-icon{background:#6b3fa0}.claude-submit{background:#6b3fa0}.card-claude .status{color:#6b3fa0}
