:root{--primary:#ffc93c;--primary-hover:#f2b928;--primary-press:#dfa516;--on-primary:#1f2937;--secondary:#075985;--secondary-hover:#0c4a6e;--bg:#f6f8fb;--surface:#fff;--surface-alt:#f1f5f9;--text:#1f2937;--muted:#4b5563;--border:#cbd5e1;--border-strong:#64748b;--focus:#1d4ed8;--selected:#e0f2fe;--success:#166534;--success-bg:#dcfce7;--warning:#854d0e;--warning-bg:#fef3c7;--danger:#9f1239;--danger-bg:#fff1f2;--orange:#f97316;--radius:16px;--radius-card:20px;--shadow:0 2px 8px #0f172a14;--shadow-pop:0 4px 16px #0f172a1f;--shadow-modal:0 12px 32px #0f172a29;--ease:cubic-bezier(.34, 1.25, .64, 1);--font:system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;--mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:16px}body.band-L1{--bg:#fffaf0;--radius:20px;--radius-card:24px;font-size:18px;line-height:1.7}body.band-L3{--bg:#f3f4f6;--radius:12px;--radius-card:12px;--shadow:none;font-size:15px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:var(--font);min-height:100vh;line-height:1.6}a{color:var(--secondary);text-decoration:none}a:hover{text-decoration:underline}h1{margin:0 0 12px;font-size:32px;line-height:1.25}h2{margin:0 0 12px;font-size:24px}h3{margin:0 0 8px;font-size:18px}p{margin:0 0 12px}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.container{max-width:1120px;margin:0 auto;padding:0 24px}.page{padding:32px 0 64px}.muted{color:var(--muted)}.small{font-size:.875em}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.between{justify-content:space-between}.grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;display:grid}.grid-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;display:grid}.stack>*+*{margin-top:12px}.center{text-align:center}.spacer{flex:1}.header{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;position:sticky;top:0}.header .container{align-items:center;gap:20px;height:64px;display:flex}.brand{color:var(--text);align-items:center;gap:8px;font-size:20px;font-weight:800;display:flex}.brand:hover{text-decoration:none}.nav{flex:1;gap:4px;display:flex}.nav a{color:var(--text);border-radius:999px;padding:8px 14px;font-weight:600}.nav a:hover{background:var(--surface-alt);text-decoration:none}.nav a.active{background:var(--selected);color:var(--secondary)}.me{align-items:center;gap:8px;font-weight:600;display:flex}@media (max-width:720px){.header .container{gap:8px}.nav a{padding:6px 8px;font-size:14px}.brand span,.me .nick{display:none}}.btn{min-height:48px;font:inherit;cursor:pointer;transition:transform .12s var(--ease), background .15s;background:var(--secondary);color:#fff;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-weight:700;display:inline-flex;text-decoration:none!important}.btn:hover{background:var(--secondary-hover)}.btn:active{transform:scale(.96)}.btn:disabled{color:#64748b;cursor:not-allowed;background:#e5e7eb;border-color:#e5e7eb}.btn.primary{background:var(--primary);color:var(--on-primary);border-color:var(--on-primary)}.btn.primary:hover{background:var(--primary-hover)}.btn.ghost{color:var(--text);border-color:var(--border);background:0 0}.btn.ghost:hover{background:var(--surface-alt)}.btn.danger{background:var(--danger-bg);color:var(--danger);border-color:#fecdd3}.btn.sm{min-height:36px;padding:0 14px;font-size:14px}.btn.lg{min-height:60px;padding:0 32px;font-size:18px}body.band-L1 .btn{min-height:56px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow);padding:20px}.card.hover{transition:transform .2s var(--ease), box-shadow .2s}.card.hover:hover{box-shadow:var(--shadow-pop);text-decoration:none;transform:translateY(-3px)}a.card{color:var(--text);display:block}.input,textarea.input,select.input{border:1px solid var(--border-strong);border-radius:var(--radius);width:100%;min-height:48px;font:inherit;color:var(--text);background:#fff;padding:10px 14px}textarea.input{resize:vertical;min-height:96px}label.field{font-weight:600;display:block}label.field>.input{margin-top:6px}.badge{background:var(--surface-alt);color:var(--muted);border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:13px;font-weight:600;display:inline-flex}.badge.yellow{color:#7a5600;background:#fff4cc}.badge.blue{background:var(--selected);color:var(--secondary)}.badge.green{background:var(--success-bg);color:var(--success)}.badge.red{background:var(--danger-bg);color:var(--danger)}.notice{border-radius:var(--radius);background:var(--warning-bg);color:var(--warning);padding:12px 16px}.notice.ok{background:var(--success-bg);color:var(--success)}.notice.err{background:var(--danger-bg);color:var(--danger)}.tabs{background:var(--surface-alt);border-radius:999px;gap:4px;padding:4px;display:inline-flex}.tabs button{font:inherit;cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:999px;padding:8px 18px;font-weight:700}.tabs button.on{color:var(--text);box-shadow:var(--shadow);background:#fff}.choice{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.choice button{border:2px solid var(--border);border-radius:var(--radius);font:inherit;cursor:pointer;text-align:center;background:#fff;padding:14px 10px}.choice button.on{border-color:var(--secondary);background:var(--selected)}.choice .emo{font-size:30px;display:block}table.tbl{border-collapse:collapse;width:100%}table.tbl th,table.tbl td{text-align:left;border-bottom:1px solid var(--surface-alt);vertical-align:middle;padding:10px 8px}table.tbl th{color:var(--muted);font-size:14px}.hero{grid-template-columns:1.4fr 1fr;align-items:center;gap:32px;padding:56px 0 40px;display:grid}.hero h1{font-size:44px}.hero .lead{color:var(--muted);font-size:19px}@media (max-width:800px){.hero{text-align:center;grid-template-columns:1fr}.hero h1{font-size:34px}.hero .row{justify-content:center}}.section{padding:32px 0}.type-card .emo{font-size:44px}.step-num{background:var(--primary);border:1px solid var(--on-primary);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-weight:800;display:inline-flex}.work-card{padding:0;overflow:hidden}.work-thumb{background:linear-gradient(135deg,#fff4cc,#e0f2fe);justify-content:center;align-items:center;height:150px;font-size:64px;display:flex;position:relative;overflow:hidden}.work-thumb iframe{transform-origin:0 0;pointer-events:none;background:#fff;border:0;width:400%;height:400%;position:absolute;inset:0;transform:scale(.25)}.work-body{padding:14px 16px}.work-title{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.ws{grid-template-columns:38% 1fr;height:calc(100vh - 64px);display:grid}body.band-L1 .ws{grid-template-columns:42% 1fr}body.band-L3 .ws{grid-template-columns:34% 1fr}.ws-chat{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;min-height:0;display:flex}.ws-top{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 14px;display:flex}.ws-title{min-width:0;color:var(--text);background:0 0;border:1px solid #0000;border-radius:8px;flex:1;padding:4px 6px;font-family:inherit;font-size:18px;font-weight:800}.ws-title:hover,.ws-title:focus{border-color:var(--border)}.ws-delete{flex-shrink:0}.work-delete{box-shadow:0 2px 6px #0000001f}.msgs{flex-direction:column;flex:1;gap:14px;padding:16px;display:flex;overflow-y:auto}.msg{align-items:flex-start;gap:10px;display:flex}.msg.user{flex-direction:row-reverse}.bubble{white-space:pre-wrap;word-break:break-word;border-radius:18px;max-width:85%;padding:10px 14px}.msg.assistant .bubble{background:#fff8e1;border:1px solid #fde68a;border-top-left-radius:4px}.msg.user .bubble{background:var(--secondary);color:#fff;border-top-right-radius:4px}.msg .ava{flex:none;font-size:26px;line-height:1}.bubble .vtag{margin-top:6px;font-size:12px;display:inline-block}.working{color:var(--muted);align-items:center;gap:10px;font-size:14px;display:flex}.quick{flex-wrap:wrap;gap:6px;padding:8px 14px 0;display:flex}.quick button{border:1px solid var(--border);background:var(--surface-alt);font:inherit;cursor:pointer;border-radius:999px;padding:6px 12px;font-size:14px}.quick button:hover{background:var(--selected);border-color:var(--secondary)}.composer{gap:8px;padding:12px 14px 14px;display:flex}.composer textarea{resize:none;flex:1;min-height:52px;max-height:160px}.ws-main{background:var(--surface-alt);flex-direction:column;min-height:0;display:flex}.ws-bar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 14px;display:flex}.stage{flex:1;justify-content:center;align-items:stretch;min-height:0;padding:14px;display:flex}.stage iframe{width:100%;height:100%;box-shadow:var(--shadow-pop);background:#fff;border:0;border-radius:14px}.stage.phone iframe{width:390px;max-width:100%}.code{color:#e2e8f0;font-family:var(--mono);white-space:pre;background:#0f172a;flex:1;margin:0;padding:16px;font-size:13px;line-height:1.5;overflow:auto}.empty-stage{text-align:center;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;padding:24px;display:flex}.errbar{margin:0 14px 10px}@media (max-width:860px){.ws{grid-template-rows:55vh auto;height:auto;grid-template-columns:1fr!important}.ws-chat{border-right:0;border-bottom:1px solid var(--border)}.stage{min-height:70vh}}.modal-bg{z-index:50;background:#0f172a66;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{width:100%;max-width:520px;box-shadow:var(--shadow-modal);max-height:92vh;animation:pop .25s var(--ease);background:#fff;border-radius:24px;padding:24px;overflow:auto}@keyframes pop{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.player{box-shadow:var(--shadow-pop);background:#fff;border-radius:20px;height:72vh;min-height:420px;overflow:hidden}.player iframe{border:0;width:100%;height:100%}.duck-bob{animation:1.2s ease-in-out infinite bob}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.duck-wiggle{transform-origin:50% 80%;animation:.6s ease-in-out infinite wiggle}@keyframes wiggle{0%,to{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}@media (prefers-reduced-motion:reduce){.duck-bob,.duck-wiggle,.modal{animation:none}}.footer{border-top:1px solid var(--border);color:var(--muted);padding:24px 0;font-size:14px}
html[data-theme] body{--icon-stroke:1.6;--icon-fill:#f4bf24;--icon-shadow:none;--primary:#f4bf24;--primary-hover:#e5af16;--primary-press:#c79912;--on-primary:#30332b;--secondary:#526034;--secondary-hover:#414d27;--bg:#faf9f4;--surface:#fffefa;--surface-alt:#fff6d5;--text:#30332b;--muted:#636757;--border:#deded2;--border-strong:#989b85;--focus:#785408;--selected:#f8ebaf;--radius:14px;--radius-card:16px;--shadow:0 6px 24px #30332b06;--shadow-pop:0 12px 28px #30332b12;--shadow-modal:0 24px 80px #30332b26;--heading-font:var(--font);--header-height:76px}html[data-theme=A] body{--icon-stroke:1.8;--icon-fill:#e8b66a;--icon-shadow:drop-shadow(0 1px 1px #72533318);--primary:#ffd45b;--primary-hover:#f6c541;--on-primary:#53402c;--secondary:#725333;--secondary-hover:#604225;--bg:#fff9e9;--surface:#fffdf5;--surface-alt:#f9efd5;--text:#53402c;--muted:#75624c;--border:#e8d8b8;--border-strong:#a38965;--focus:#825723;--selected:#ffe9a7;--radius:20px;--radius-card:28px;--shadow:0 7px 22px #85623609;--shadow-pop:0 14px 30px #85623616;--heading-font:"STSong", "SimSun", "Noto Serif CJK SC", serif}html[data-theme=B] body{--icon-stroke:2.2;--icon-fill:#ffcf32;--icon-shadow:drop-shadow(1px 1px 0 #342c2428);--primary:#ffcf32;--primary-hover:#f8bf16;--on-primary:#342c24;--secondary:#54416c;--secondary-hover:#433257;--bg:#fff6cf;--surface:#fffdf3;--surface-alt:#e6dcf4;--text:#342c24;--muted:#655645;--border:#342c24;--border-strong:#342c24;--focus:#634084;--selected:#d7ead8;--radius:12px;--radius-card:18px;--shadow:4px 4px 0 #342c24;--shadow-pop:6px 6px 0 #342c24}.ui-icon{vertical-align:-.2em;filter:var(--icon-shadow);flex:none;display:inline-block}.ui-icon .icon-line{stroke-width:var(--icon-stroke)}.ui-icon .icon-fill{fill:var(--icon-fill);opacity:.28}.ui-icon.is-active .icon-fill{opacity:1}.illustration{object-fit:contain;vertical-align:middle;flex:none;display:inline-block}.inline-identity{align-items:center;gap:6px;display:inline-flex}.duck-rating{vertical-align:middle;align-items:center;gap:2px;display:inline-flex}.avatar-choice{min-width:44px;min-height:44px;padding:6px}.work-title{align-items:center;gap:8px;display:flex}.work-stats{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}html[data-theme] .type-card .emo{align-items:center;height:88px;display:flex}html[data-theme] .choice .emo{font-size:inherit}html[data-theme] h1,html[data-theme] h2{font-family:var(--heading-font);letter-spacing:-.035em}html[data-theme] h1{font-weight:850}html[data-theme] .card{min-width:0}html[data-theme] .btn.sm{min-height:44px}html[data-theme] .nav a{align-items:center;min-height:44px;display:inline-flex}html[data-theme] .tabs button,html[data-theme] .quick button{min-height:44px}html[data-theme] .input,html[data-theme] .choice button,html[data-theme] .tabs button.on,html[data-theme] .modal{background:var(--surface)}html[data-theme] .choice button.on{background:var(--selected)}html[data-theme] .composer textarea{border:1px solid var(--border-strong);border-radius:var(--radius);font:inherit;color:var(--text);background:var(--surface);min-width:0;padding:12px}html[data-theme] .page>.container>h1{margin-top:12px}html[data-theme] .footer{text-align:center;margin-top:40px}.header-actions{align-items:center;gap:12px;display:flex}html[data-theme] .header .container{height:var(--header-height);max-width:1280px}html[data-theme] .header{background:var(--surface)}html[data-theme] .brand{gap:10px}html[data-theme] .brand img{width:44px;height:44px}html[data-theme] .container{max-width:1200px}html[data-theme] .page{padding-top:40px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.eyebrow{color:var(--secondary);letter-spacing:.08em;margin-bottom:12px;font-size:13px;font-weight:750;display:block}.theme-trigger{white-space:nowrap}.theme-trigger-dot{background:var(--primary);border:1px solid var(--text);width:14px;height:14px;box-shadow:3px 0 0 var(--selected);border-radius:50%}.theme-trigger-name{display:none}html[data-theme] .hero{background:var(--surface-alt);border:1px solid var(--border);border-radius:24px;grid-template-columns:1.1fr 1fr;gap:30px;min-height:420px;padding:36px;overflow:hidden}html[data-theme] .hero h1{margin:10px 0 18px;font-size:clamp(32px,3.8vw,48px);line-height:1.35}html[data-theme] .hero .lead{font-size:17px;line-height:1.9}html[data-theme] .hero .btn.lg{min-height:54px;padding:0 22px;font-size:16px}.theme-hero-art{min-width:0}.theme-hero-art img{aspect-ratio:4/3;object-fit:cover;border-radius:24px;width:100%;height:auto;display:block}html[data-theme] .hero .theme-hero-art{position:relative}html[data-theme] .creation-categories .grid-3{grid-template-columns:repeat(4,minmax(0,1fr))}html[data-theme] .type-card{padding:24px}html[data-theme] .type-card:nth-child(2){background:#edf2e3}html[data-theme] .type-card:nth-child(3){background:#f3e7db}html[data-theme] .type-card:nth-child(4){background:#eee9f5}html[data-theme] .type-card p{font-size:14px}html[data-theme] .creation-steps .card{padding:24px}html[data-theme] .step-num{width:44px;height:44px;margin-bottom:14px}html[data-theme] .work-thumb{background:linear-gradient(135deg, var(--primary), var(--selected));height:180px}html[data-theme] .work-body{padding:20px}.home-themes{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);margin:28px 0 12px;padding:24px}.home-themes .eyebrow{margin-bottom:6px}.home-themes h2{font-size:22px}.theme-options{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0;margin:16px 0 0;padding:0;display:grid}.theme-choice{color:#53402c;cursor:pointer;background:#fffdf4;border:2px solid #e2ddcc;border-radius:20px;flex-direction:column;transition:transform .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden}.theme-choice:hover{transform:translateY(-3px)}.theme-choice:has(:checked){border-color:var(--focus);box-shadow:0 0 0 3px var(--selected)}.theme-choice:has(:focus-visible){outline:3px solid var(--focus);outline-offset:4px}.theme-choice input{opacity:0;width:20px;height:20px;position:absolute;top:16px;right:16px}.theme-choice-image{display:block;position:relative}.theme-choice-image img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto;display:block}.theme-choice-code{background:#fffdf4;border:1px solid #d7caaa;border-radius:10px;justify-content:center;align-items:center;width:32px;height:32px;font-weight:800;display:flex;position:absolute;top:12px;left:12px}.theme-choice-body{flex-direction:column;gap:10px;padding:16px;display:flex}.theme-choice-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.theme-choice-title strong{font-size:17px}.theme-choice-status{color:#645231;white-space:nowrap;background:#fff1ba;border-radius:999px;padding:3px 8px;font-size:12px}.theme-choice-description{color:#6c604d;font-size:14px;line-height:1.7}.theme-swatches{gap:6px;display:flex}.theme-swatches i{border:1px solid #53402c25;border-radius:50%;width:18px;height:18px}.theme-choice-A .theme-choice-title strong{font-family:STSong,SimSun,serif}.theme-choice-B{border-color:#342c24;border-radius:14px;box-shadow:3px 3px #342c24}.theme-choice-B .theme-choice-code{background:#ffcf32;border:2px solid #342c24;border-radius:4px}.theme-choice-C{background:#faf9f4;border-radius:16px}.compact .theme-choice{flex-direction:row;align-items:stretch}.compact .theme-choice-image{flex-shrink:0;width:32%}.compact .theme-choice-image img{aspect-ratio:auto;height:100%;min-height:130px}.compact .theme-choice-code{width:24px;height:24px;font-size:12px;top:8px;left:8px}.compact .theme-choice-body{flex:1;gap:7px;min-width:0;padding:14px}.compact .theme-choice-title{flex-wrap:wrap;gap:4px}.compact .theme-choice-title strong{font-size:15px}.compact .theme-choice-description{font-size:13px}.theme-dialog{border:1px solid var(--border);border-radius:var(--radius-card);width:min(1060px,100% - 40px);max-height:calc(100dvh - 40px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-modal);margin:auto;padding:28px;overflow-y:auto}.theme-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#30261880}.theme-dialog-heading{align-items:flex-start}.theme-dialog-heading h2{margin-bottom:6px}.theme-dialog-heading .eyebrow{margin-bottom:8px}.theme-dialog-footer{gap:16px;margin-top:24px}.theme-dialog-footer p{margin:0}.app-shell{min-height:100vh}html[data-theme] .ws{height:calc(100dvh - var(--header-height));grid-template-columns:minmax(300px,32%) minmax(0,1fr);gap:16px;padding:20px}html[data-theme] .ws-chat,html[data-theme] .ws-main{border:1px solid var(--border);border-radius:var(--radius-card);min-width:0;overflow:hidden}html[data-theme] .ws-top{padding:12px}html[data-theme] .ws-bar{padding:10px 14px}html[data-theme] .ws-bar>.row{min-width:0;max-width:100%}html[data-theme] .ws-bar select.input{flex:1;min-width:0;max-width:100%}html[data-theme] .ws-title{font-size:16px}html[data-theme] .msg.assistant .bubble{background:var(--surface-alt);border-color:var(--border)}html[data-theme] .quick button{padding:6px 10px}html[data-theme] .stage{padding:18px}html[data-theme] .bubble{font-size:14px}.ws-tools,.ws-mobile-switch{display:none}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,460px);align-items:center;gap:72px;display:grid}.auth-story{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-card);padding:32px}.auth-story h2{margin-bottom:18px;font-size:36px;line-height:1.4}.auth-story .theme-hero-art{margin-top:24px}.auth-form{min-width:0}.auth-form h1{font-size:28px}.class-students-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:16px}.table-scroll{width:100%;overflow-x:auto}.table-scroll .tbl{min-width:570px}html[data-theme=A] .header{border-bottom:1px dashed var(--border-strong)}html[data-theme=A] .hero{background:0 0;border:0;padding:44px 34px;overflow:visible}html[data-theme=A] .hero-copy{position:relative}html[data-theme=A] .hero-copy:before{content:"属于你的创作故事";color:#67402c;background:#f2d2bd;border-radius:50% 15%/30% 70%;margin-bottom:18px;padding:5px 16px;font-size:13px;display:inline-block;transform:rotate(-3deg)}html[data-theme=A] .hero .eyebrow{display:none}html[data-theme=A] .hero h1{font-size:clamp(32px,4vw,50px)}html[data-theme=A] .hero .theme-hero-art img{border:8px solid var(--surface);border-radius:44% 44% 26% 26%/23% 23% 26% 26%;box-shadow:0 16px 30px #85623612}html[data-theme=A] .home-themes{border-style:dashed}html[data-theme=A] .type-card{border-radius:32px 24px 34px 20px}html[data-theme=A] .type-card:nth-child(odd){border-radius:24px 38px 22px 34px}html[data-theme=A] .work-card{border-left:7px solid #d1a257;border-radius:7px 24px 24px 7px}html[data-theme=A] .work-thumb{border-bottom:1px dashed var(--border-strong);height:200px}html[data-theme=A] .creation-steps .step-num{border-radius:15px 19px 15px 18px}html[data-theme=A] .section>h2:before{content:"";background:var(--primary);vertical-align:-2px;border-radius:4px;width:9px;height:22px;margin-right:12px;display:inline-block}html[data-theme=A] .ws{grid-template-columns:minmax(300px,38%) minmax(0,1fr)}html[data-theme=A] .ws-chat{background:#fffcf1}html[data-theme=A] .ws-top{border-bottom-style:dashed}html[data-theme=A] .ws-main{background:#efe8d7}html[data-theme=A] .msg.user .bubble{color:var(--text);border:1px solid var(--border);background:#e7dec8}html[data-theme=A] .auth-story{border-style:dashed;border-radius:36px}html[data-theme=B] body{background-image:radial-gradient(#b88c2930 1px,#0000 1px);background-size:24px 24px}html[data-theme=B] .header{border-bottom:2px solid var(--border)}html[data-theme=B] .btn,html[data-theme=B] .card,html[data-theme=B] .input,html[data-theme=B] .choice button{border-width:2px}html[data-theme=B] .btn{box-shadow:3px 3px 0 var(--text);border-radius:12px}html[data-theme=B] .btn:active{box-shadow:1px 1px 0 var(--text);transform:translate(2px,2px)}html[data-theme=B] .btn:disabled{box-shadow:none}html[data-theme=B] .hero{border:2px solid var(--border);box-shadow:6px 6px 0 var(--text);background:#ffdf6c;border-radius:22px}html[data-theme=B] .hero .eyebrow{color:var(--text);border:2px solid var(--text);box-shadow:3px 3px 0 var(--text);background:#fffdf3;border-radius:6px;padding:6px 16px;display:inline-block;transform:rotate(-3deg)}html[data-theme=B] .hero .theme-hero-art{padding:10px;transform:rotate(2deg)}html[data-theme=B] .hero .theme-hero-art img{border:2px solid var(--text);box-shadow:5px 5px 0 var(--text);border-radius:20px}html[data-theme=B] .home-themes{border:2px solid var(--border);box-shadow:var(--shadow)}html[data-theme=B] .type-card:first-child{transform:rotate(-1deg)}html[data-theme=B] .type-card:nth-child(3){transform:rotate(1deg)}html[data-theme=B] .type-card .emo{background:var(--primary);border:2px solid var(--text);width:64px;height:64px;box-shadow:3px 3px 0 var(--text);border-radius:16px;justify-content:center;align-items:center;margin-bottom:18px;font-size:36px;display:flex}html[data-theme=B] .work-card{border-radius:18px}html[data-theme=B] .work-body{border-top:2px solid var(--text)}html[data-theme=B] .work-title{font-weight:850}html[data-theme=B] .ws{grid-template-columns:60px minmax(300px,34%) minmax(0,1fr);gap:16px;padding:16px}html[data-theme=B] .ws-tools{border:2px solid var(--text);background:var(--primary);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;align-items:center;gap:16px;min-height:0;padding:16px 6px;display:flex}.ws-tools button,.ws-tools a{border:2px solid var(--text);background:var(--surface);width:44px;height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:0;font-weight:800;display:flex}html[data-theme=B] .ws-chat,html[data-theme=B] .ws-main{border:2px solid var(--text);box-shadow:var(--shadow)}html[data-theme=B] .ws-top,html[data-theme=B] .ws-bar{border-bottom:2px solid var(--text)}html[data-theme=B] .ws-main{background:#d7ead8}html[data-theme=B] .quick button{border:2px solid var(--text);background:#fff6cf;border-radius:8px}html[data-theme=B] .msg.assistant .bubble{border:2px solid var(--text);background:#fff0b0;border-radius:8px 18px 18px}html[data-theme=B] .msg.user .bubble{border:2px solid var(--text);color:var(--text);background:#e6dcf4;border-radius:18px 8px 18px 18px}html[data-theme=B] .composer textarea{border:2px solid var(--text)}html[data-theme=B] .auth-story{border:2px solid var(--text);box-shadow:var(--shadow);background:#d7ead8}html[data-theme=B] .theme-dialog{border:2px solid var(--text)}html[data-theme=C] .btn{border-radius:12px}html[data-theme=C] .app-interior{padding-left:212px}html[data-theme=C] .app-interior .header{border-right:1px solid var(--border);border-bottom:0;width:212px;height:100dvh;position:fixed;top:0;left:0;overflow-y:auto}html[data-theme=C] .app-interior .header .container{flex-direction:column;align-items:stretch;gap:32px;height:100%;padding:24px 16px;display:flex}html[data-theme=C] .app-interior .brand{padding:0 8px}html[data-theme=C] .app-interior .nav{flex-direction:column;justify-content:flex-start;gap:8px}html[data-theme=C] .app-interior .nav a{border-radius:12px;padding:12px 16px}html[data-theme=C] .app-interior .header-actions{flex-direction:column;align-items:stretch;gap:16px}html[data-theme=C] .app-interior .header-actions>.me{flex-wrap:wrap}html[data-theme=C] .app-interior .header-actions>.me>a{width:100%}html[data-theme=C] .app-interior .ws{height:100dvh;padding:24px}html[data-theme=C] .app-interior>.page{padding-top:32px}html[data-theme=C] .app-interior .theme-trigger-name{display:none}html[data-theme=C] .creation-steps .card{box-shadow:none;border-color:var(--border);background:0 0}html[data-theme=C] .auth-story{background:#fff6d5}@media (min-width:1250px){.theme-trigger-name{display:inline}}@media (max-width:1100px){.theme-options.compact{gap:12px}.compact .theme-choice{flex-direction:column}.compact .theme-choice-image{width:100%}.compact .theme-choice-image img{height:130px}.compact .theme-choice-title strong{font-size:16px}.compact .theme-choice-body{padding:16px}html[data-theme] .hero{grid-template-columns:1.1fr 1fr;padding:28px}html[data-theme] .creation-categories .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-layout{gap:32px}.auth-story h2{font-size:30px}html[data-theme=C] .app-interior{padding-left:184px}html[data-theme=C] .app-interior .header{width:184px}html[data-theme=C] .app-interior .ws{padding:16px}html[data-theme=B] .ws{grid-template-columns:54px minmax(280px,38%) minmax(0,1fr);gap:12px;padding:12px}}@media (max-width:900px){html[data-theme] body{--header-height:124px}html[data-theme] .header .container{height:auto;min-height:var(--header-height);flex-wrap:wrap;gap:8px;padding:12px 20px}html[data-theme] .header .brand{order:1}html[data-theme] .header-actions{order:2;gap:8px;margin-left:auto}html[data-theme] .header .nav{flex:auto;order:3;gap:8px;width:100%}html[data-theme] .header .nav a{flex:1;justify-content:center;padding:8px}html[data-theme=C] .app-interior{padding-left:0}html[data-theme=C] .app-interior .header{border-right:0;border-bottom:1px solid var(--border);width:100%;height:auto;position:sticky}html[data-theme=C] .app-interior .header .container{flex-direction:row;gap:8px;height:auto;padding:12px 20px}html[data-theme=C] .app-interior .nav{flex-direction:row;gap:8px}html[data-theme=C] .app-interior .nav a{padding:8px}html[data-theme=C] .app-interior .header-actions{flex-direction:row;align-items:center;gap:8px}html[data-theme=C] .app-interior .header-actions>.me{flex-wrap:nowrap}html[data-theme=C] .app-interior .header-actions>.me>a{width:auto}html[data-theme] .ws,html[data-theme=C] .app-interior .ws{height:calc(100dvh - var(--header-height));grid-template-rows:44px minmax(0,1fr);gap:12px;min-height:480px;padding:12px;grid-template-columns:1fr!important}.ws-mobile-switch{align-items:center;gap:10px;display:flex}.ws-mobile-switch .btn{flex:1;min-height:44px;font-size:14px}html[data-theme=B] .ws-tools,.ws[data-mobile-panel=chat] .ws-main,.ws[data-mobile-panel=canvas] .ws-chat{display:none}html[data-theme] .ws-chat{border-bottom:1px solid var(--border)}html[data-theme] .ws-main,html[data-theme] .stage{min-height:0}.auth-layout{grid-template-columns:1fr;max-width:540px!important}.auth-story{display:none}}@media (max-width:760px){html[data-theme] .container{padding-left:18px;padding-right:18px}html[data-theme] .page{padding-top:22px}html[data-theme] .hero,html[data-theme=A] .hero{text-align:left;grid-template-columns:1fr;gap:24px;padding:24px 20px}html[data-theme] .hero h1{font-size:32px}html[data-theme] .hero .lead{font-size:15px}html[data-theme] .hero .lead br{display:none}html[data-theme] .hero .row{justify-content:flex-start}html[data-theme] .hero .row .btn{white-space:nowrap;flex:1;padding:0 14px;font-size:14px}html[data-theme] .hero .theme-hero-art{width:100%;max-width:440px;margin:auto}html[data-theme=B] .hero .theme-hero-art{padding:0;transform:none}.home-themes{padding:20px}.theme-options,.theme-options.compact{grid-template-columns:1fr;gap:16px}.theme-choice,.compact .theme-choice{flex-direction:row}.theme-choice-image,.compact .theme-choice-image{flex-shrink:0;width:34%}.theme-choice-image img,.compact .theme-choice-image img{aspect-ratio:auto;height:100%;min-height:145px}.theme-choice-body,.compact .theme-choice-body{min-width:0;padding:14px}.theme-choice-title{flex-wrap:wrap}.theme-choice-title strong{font-size:16px}.theme-dialog{width:calc(100% - 28px);max-height:calc(100dvh - 28px);padding:22px 18px}.theme-dialog-heading h2{font-size:22px}.theme-dialog-heading .eyebrow{font-size:12px}.theme-dialog-footer{flex-direction:column;align-items:stretch}.theme-dialog-footer .btn{width:100%}html[data-theme] .section{padding:24px 0}html[data-theme] .creation-categories .grid-3,html[data-theme] .grid-3,.class-students-layout{grid-template-columns:1fr}html[data-theme] .type-card{grid-template-columns:56px 1fr;column-gap:16px;display:grid}html[data-theme] .type-card .emo{grid-row:span 2;font-size:38px}html[data-theme] .type-card p{margin-bottom:0}html[data-theme=B] .type-card{transform:none!important}html[data-theme=B] .type-card .emo{width:50px;height:50px;margin-bottom:0;font-size:28px}.auth-form .card{padding:20px}html[data-theme] .ws-bar{gap:8px;padding:10px}html[data-theme] .ws-bar .tabs{width:100%;display:flex}html[data-theme] .ws-bar .tabs button{flex:1;padding:8px 10px;font-size:14px}html[data-theme] .quick{gap:6px;padding:8px 10px 0}html[data-theme] .quick button{min-height:44px;font-size:13px}html[data-theme] .composer{padding:10px}html[data-theme] .composer .btn{padding:0 16px}html[data-theme] .stage{padding:10px}html[data-theme] .msgs{padding:12px}html[data-theme] .header .brand span{font-size:18px;display:inline}html[data-theme] .header .brand img{width:36px;height:36px}html[data-theme] .header .container,html[data-theme=C] .app-interior .header .container{padding:10px 14px}html[data-theme] .header-actions .btn{gap:6px;padding:0 10px;font-size:13px}html[data-theme] .header-actions .me .nick,html[data-theme] .header-actions .me .badge{display:none}html[data-theme] .header .nav{gap:4px}html[data-theme] .header .nav a{padding:8px 4px;font-size:14px}html[data-theme] .player{min-height:360px}}@media (max-width:390px){html[data-theme] .header .brand span,.theme-trigger-dot{display:none}html[data-theme] .hero .row{flex-direction:column;align-items:stretch}html[data-theme] .hero .row .btn{flex:none}}@media (prefers-reduced-motion:reduce){html[data-theme] *,html[data-theme] :before,html[data-theme] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
