:root{--paper:#fcf7fa;--card:#fffcfe;--ink:#362e40;--muted:#807282;--line:#eadde7;--accent:#a44371;--accent-ink:#fff9fc;--soft:#f4e6ee;--lavender:#e5ddf3;--error:#a1354d;--good:#397a6e;font-family:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-size:16px;line-height:1.6;background:#f0eaf1}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button{border:0;background:none;border-radius:10px;padding:10px 15px;min-height:44px;max-width:100%;line-height:1.4}button:hover{background:var(--soft)}button:focus-visible,a:focus-visible{outline:3px solid #bd80b4;outline-offset:2px}input,textarea,select{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:12px 14px;width:100%;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #bf82a4;outline-offset:1px}textarea{resize:vertical;min-height:100px}h1,h2,h3,p{margin:0}h1{font-size:36px;font-weight:600;line-height:1.45;letter-spacing:.03em}h2{font-size:26px;font-weight:500}h3{font-size:19px;font-weight:500}small,.small{font-size:13px}.muted{color:var(--muted)}.accent{color:var(--accent)}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.grow{flex:1;min-width:0}.stack{display:grid;gap:18px}.button-primary{background:var(--accent);color:var(--accent-ink);padding-inline:22px}.button-primary:hover{background:#8e3861}.button-outline{border:1px solid var(--line);background:var(--card)}.button-subtle{background:var(--soft);color:var(--accent)}.danger{color:var(--error)}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:20px;background:var(--soft);font-size:13px;color:var(--accent);white-space:nowrap}.pill.good{background:#e4f2ed;color:var(--good)}.i{width:20px;height:20px;flex:none;vertical-align:-4px;display:inline-block}button .i{margin-right:5px}.error{padding:12px 16px;border-radius:10px;background:#fce8ec;color:var(--error);overflow-wrap:anywhere}.empty{padding:55px 16px;text-align:center;display:grid;justify-items:center;gap:14px}.empty .i{width:42px;height:42px;color:var(--accent)}.line{height:1px;background:var(--line);margin:12px 0}.tiny-label{font-size:12px;letter-spacing:.16em;color:var(--accent)}
.shell{max-width:1520px;margin:28px auto;background:var(--paper);border:1px solid var(--line);border-radius:24px;overflow:clip;box-shadow:0 16px 80px #62405d0b}.appbar{padding:16px 32px;display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line);background:#f8ecf2}.brand{font-size:23px;display:flex;gap:12px;align-items:center;white-space:nowrap}.brand .i{width:29px;height:29px;color:var(--accent)}.breadcrumb{font-size:14px;color:var(--muted);flex:1}.session{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:7px}.session:before{content:"";width:7px;height:7px;border-radius:50%;background:#b486a4}.body{padding:28px 38px 40px}.workshop-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.workshop-logo{display:flex;gap:13px;align-items:center}.workshop-logo>span{display:grid;place-content:center;width:48px;height:48px;background:var(--soft);border-radius:16px;color:var(--accent)}.workshop-logo .i{width:27px;height:27px}.nav{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:28px;flex-wrap:wrap}.nav button{border-radius:0;padding:12px 22px 16px;color:var(--muted);position:relative}.nav button.active{color:var(--accent);font-weight:500}.nav button.active:after{content:"";position:absolute;height:3px;left:20px;right:20px;bottom:-1px;background:var(--accent);border-radius:4px}.hero{position:relative;min-height:218px;border-radius:18px;background:linear-gradient(110deg,#f1e3ef 0%,#f8edf2 48%,#eee3f2 100%);padding:30px 34px;isolation:isolate;overflow:hidden;margin-bottom:28px}.hero:after{content:"";position:absolute;right:-30px;top:-85px;width:500px;height:440px;background:linear-gradient(90deg,#f7eaf0,transparent 50%),url('/miku-scene.png') 62% 24%/cover;opacity:.64;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 30%)}.hero-copy{max-width:66%;display:grid;gap:14px}.hero p{color:var(--muted);max-width:580px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}.hero-mark{position:absolute;right:32px;bottom:20px;font-size:12px;letter-spacing:.23em;color:#824967}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.search{display:flex;align-items:center;flex:1;min-width:200px;border:1px solid var(--line);border-radius:11px;background:var(--card);padding-left:14px;gap:5px}.search input{border:0;background:none;padding-left:8px;outline:none}.toolbar select{width:auto;max-width:200px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.filters button{padding:8px 18px;border-radius:25px;color:var(--muted);min-height:40px}.filters .active{background:var(--soft);color:var(--accent)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project{border-radius:16px;background:var(--card);border:1px solid var(--line);overflow:hidden;transition:transform .18s,box-shadow .18s}.project:hover{transform:translateY(-3px);box-shadow:0 9px 30px #763c5b0a}.project-open{padding:0;display:block;width:100%;text-align:left;border-radius:0}.project-open:hover{background:none}.project-copy{padding:17px 20px 8px}.project-copy h3{font-size:20px;margin-bottom:5px}.project-copy p{color:var(--muted);font-size:14px;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-meta{padding:8px 20px 16px;display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:13px;color:var(--muted)}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:25px;height:25px;background:var(--soft);color:var(--accent);margin-right:5px}.project-actions{border-top:1px solid var(--line);padding:9px 12px;display:flex;gap:4px;flex-wrap:wrap}.project-actions button{font-size:14px;padding-inline:10px}.poster{--tone:#b15b87;--tone-bg:#f2dce8;height:176px;position:relative;background:linear-gradient(120deg,color-mix(in srgb,var(--tone-bg) 70%,white),var(--tone-bg));padding:20px 22px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;color:var(--tone)}.poster:before{content:"";position:absolute;width:160px;height:160px;border:1px solid currentColor;border-radius:50%;opacity:.14;right:-28px;top:18px;box-shadow:0 0 0 26px #ffffff38,0 0 0 53px #ffffff28}.poster .poster-kicker{font-size:10px;letter-spacing:.2em;position:relative}.poster-title{font-size:29px;letter-spacing:.13em;font-weight:500;position:relative;line-height:1.3;max-width:86%;overflow-wrap:anywhere}.poster-bottom{display:flex;gap:12px;align-items:center;font-size:11px;position:relative}.poster .i{width:22px;height:22px}.poster .poster-version{position:absolute;right:17px;bottom:17px;font-size:11px}.poster .poster-sign{position:absolute;right:18px;top:17px;opacity:.6}.poster[data-cover=mint]{--tone:#4a8276;--tone-bg:#dcece5}.poster[data-cover=peach]{--tone:#a56c55;--tone-bg:#f5e1d4}.poster[data-cover=lilac]{--tone:#806398;--tone-bg:#e7dff2}.poster[data-cover=blue]{--tone:#638da0;--tone-bg:#dceaf0}.poster[data-cover=rose]{--tone:#a5596b;--tone-bg:#f0dce1}.footer-note{padding:27px 0 0;text-align:center;color:var(--muted);font-size:13px}.page-top{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.page-top p{color:var(--muted);margin-top:6px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr);gap:34px}.detail-cover .poster{height:300px;border-radius:15px}.detail-cover .poster-title{font-size:40px}.detail-info{display:grid;align-content:start;gap:18px}.detail-title{display:grid;gap:8px}.detail-title h1{font-size:30px}.detail-description{white-space:pre-line;overflow-wrap:anywhere;color:var(--muted)}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.composition{border-top:1px solid var(--line)}.composition-group{padding:16px 0;border-bottom:1px solid var(--line)}.composition-row{display:flex;gap:16px;justify-content:space-between;padding:7px 0;color:var(--muted);font-size:14px}.composition-row>span{min-width:0;overflow-wrap:anywhere}.composition-row>span:last-child{text-align:right;color:var(--ink)}.history-list{display:grid;gap:8px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.source-note{background:var(--soft);padding:13px 16px;border-radius:10px;font-size:14px;color:var(--muted)}
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}.editor-title{font-size:27px;border:0;background:none;border-radius:0;padding:0 0 12px;border-bottom:1px solid var(--line)}.editor-title:focus{outline:none;border-bottom-color:var(--accent)}.editor-side{display:grid;gap:16px;position:sticky;top:20px}.editor-side .poster{border-radius:14px;height:220px}.swatches{display:flex;gap:9px;flex-wrap:wrap}.swatch{width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;border:3px solid var(--paper);outline:1px solid var(--line)}.swatch.active{outline:2px solid var(--accent)}.workbench{margin-top:16px}.workbench-group{padding:18px 0;border-bottom:1px solid var(--line)}.workbench-group:first-child{padding-top:0}.group-title{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:12px}.group-title h3{display:flex;align-items:center;gap:9px}.group-tools{display:flex;gap:2px;flex-wrap:wrap}.group-tools button{padding:8px 10px;font-size:14px}.group-empty{padding:18px 0;color:var(--muted);font-size:14px}.slot{display:flex;align-items:center;gap:13px;padding:13px 15px;background:var(--card);border:1px solid var(--line);border-radius:10px;margin-top:9px}.slot-copy{flex:1;min-width:0}.slot-copy h4{font-weight:500;font-size:15px;margin:0}.slot-copy p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.slot button{padding:7px;font-size:13px;min-width:38px}.editor-actions{display:flex;gap:9px;flex-wrap:wrap}.status-line{font-size:13px;color:var(--muted);display:flex;gap:7px;align-items:center}.upload-zone{border:1px dashed #c9a4bb;background:#f9f0f6;padding:26px 22px;border-radius:14px;display:grid;gap:12px;justify-items:start}.checklist{display:grid;gap:9px;font-size:14px;color:var(--muted)}.checklist>div{display:flex;gap:8px;align-items:center}.checklist .i{color:var(--good);width:17px;height:17px}
dialog{width:min(790px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:1px solid var(--line);border-radius:19px;box-shadow:0 24px 100px #2f12362b;background:var(--paper);color:var(--ink);overflow:hidden}dialog::backdrop{background:#36253855;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:23px}.dialog-body{padding:24px;overflow:auto;max-height:calc(100vh - 220px);display:grid;gap:18px}.dialog-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.field{display:grid;gap:8px;font-size:14px}.field>span{font-weight:500}.picker-toolbar{display:flex;gap:10px;flex-wrap:wrap}.picker-toolbar>select{flex:1;min-width:170px}.picker-toolbar>input{flex:2;min-width:180px}.picker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pick-card{padding:14px 16px;border:1px solid var(--line);background:var(--card);text-align:left;display:grid;align-content:start;gap:6px;border-radius:10px;min-height:88px}.pick-card:hover,.pick-card.selected{border-color:var(--accent);background:var(--soft)}.pick-card p{font-size:13px;color:var(--muted)}.picker-tabs{display:flex;gap:8px;flex-wrap:wrap}.picker-tabs .active{background:var(--soft);color:var(--accent)}.note{font-size:13px;color:var(--muted);line-height:1.7}.publish-preview{border-radius:12px;overflow:hidden}.publish-preview .poster{height:150px}.error[hidden]{display:none}.confirm-copy{white-space:pre-line}.tag-inputs{display:flex;gap:7px;flex-wrap:wrap}.tag-inputs input{width:auto;flex:1;min-width:130px}.file-name{overflow-wrap:anywhere;max-width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);border:1px solid var(--line);border-radius:13px;background:var(--card);box-shadow:0 7px 40px #48253d20;padding:13px 22px;z-index:10;max-width:calc(100vw - 28px);color:var(--ink);opacity:0;pointer-events:none;transition:.2s;overflow-wrap:anywhere}#toast.visible{opacity:1;transform:translate(-50%,0)}.busy{padding:50px;text-align:center;color:var(--muted)}.inline-progress{height:4px;background:var(--soft);overflow:hidden;border-radius:4px}.inline-progress:before{content:"";display:block;width:40%;height:100%;background:var(--accent);animation:loading 1s infinite}@keyframes loading{from{transform:translateX(-120%)}to{transform:translateX(350%)}}@media(prefers-reduced-motion:reduce){*,*:before{transition:none!important;animation:none!important}}
@media(min-width:1700px){.shell{margin:36px auto}.body{padding:32px 48px 44px}.hero{min-height:245px}.cards{gap:26px}.poster{height:196px}}@media(max-width:1120px){.shell{margin:14px}.body{padding:24px}.appbar{padding:14px 24px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.hero:after{right:-90px}.session{display:none}}@media(max-width:760px){h1{font-size:29px}.hero{padding:24px;min-height:230px}.hero-copy{max-width:80%}.hero:after{opacity:.3;right:-150px}.hero-mark{display:none}.appbar{padding:12px 18px;gap:12px}.breadcrumb{font-size:12px}.body{padding:20px}.workshop-header{align-items:flex-start}.workshop-header .row{justify-content:flex-end}.nav{gap:0}.nav button{padding-inline:15px;flex:1}.detail-layout{grid-template-columns:1fr;gap:24px}.detail-cover .poster{height:220px}.editor-layout{grid-template-columns:1fr}.editor-side{position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.editor-side>.stack{align-content:center}.editor-side .poster{height:210px}.cards{gap:15px}.project-copy,.project-meta{padding-left:16px;padding-right:16px}.poster{height:160px;padding:17px}.poster-title{font-size:24px}.page-top{flex-wrap:wrap}.workshop-logo small{display:none}}
.poster .poster-kicker{max-width:calc(100% - 24px)}.source-note+.editor-layout{margin-top:22px}
@media(max-width:480px){.shell{border-radius:0;margin:0;border-left:0;border-right:0;box-shadow:none}.body{padding:18px 16px 30px}.appbar{padding:11px 16px}.breadcrumb{display:none}.brand{font-size:20px;flex:1}.appbar button{font-size:14px;padding:8px 11px}.workshop-header{gap:10px;margin-bottom:12px}.workshop-logo>span{width:40px;height:40px;border-radius:13px}.workshop-logo h2{font-size:22px}.workshop-header .button-outline{font-size:13px;padding-inline:10px}.nav{margin-bottom:20px}.nav button{font-size:14px;padding:12px 6px}.nav button.active:after{left:8px;right:8px}.hero{padding:23px 20px;margin-bottom:22px}.hero-copy{max-width:100%;gap:13px}.hero h1{font-size:27px;max-width:270px}.hero p{font-size:14px;max-width:250px}.hero:after{right:-150px;width:370px;opacity:.22}.hero-actions button{font-size:14px;padding:10px 12px}.cards{grid-template-columns:1fr;gap:18px}.poster{height:185px}.poster-title{font-size:29px}.filters{gap:3px}.filters button{padding:8px 12px;font-size:14px}.toolbar{gap:8px}.toolbar .search{min-width:100%;}.toolbar select{font-size:14px;max-width:100%}.editor-side{grid-template-columns:1fr}.editor-side .poster{height:185px}.editor-side>.stack{gap:12px}.group-title{align-items:flex-start;flex-wrap:wrap;gap:8px}.group-tools button{font-size:13px}.slot{gap:7px;padding:11px 10px}.slot>.i{display:none}.slot-copy h4{font-size:14px}.slot-copy p{font-size:12px}.slot button{min-width:33px;padding:6px}.editor-actions>button{flex:1;font-size:14px}.detail-title h1{font-size:27px}.detail-actions>button{flex:1;min-width:120px}.composition-row{gap:8px;flex-wrap:wrap}.composition-row>span:last-child{text-align:left}.dialog-header{padding:16px}.dialog-body{padding:18px 16px;max-height:calc(100dvh - 200px)}.dialog-footer{padding:14px 16px}.picker-list{grid-template-columns:1fr}.picker-toolbar>*{min-width:100%!important}.picker-tabs button{font-size:14px;padding:8px 12px}.page-top h2{font-size:24px}.page-top p{font-size:14px}.history-row{align-items:flex-start;flex-wrap:wrap}.row{gap:9px}.upload-zone{padding:20px}.footer-note{font-size:12px}}
