/* Creator v0.5: local assets only; no API or storage changes. */
:root{--muted:#6f657c;--border:#e9e3ef;--canvas:#f7f5fa}body{font-size:15px;background:var(--canvas)}button{transition:background .16s ease,color .16s ease}button:focus-visible,a:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}.shell{background:#fff}header{min-height:80px;padding:14px 30px 8px;border-bottom:0}.brand{width:auto;height:50px;gap:11px;overflow:visible;text-align:left}.brand img{width:39px;height:47px;object-fit:contain}.brand-type{font-size:19px;font-weight:800;letter-spacing:-.6px;color:var(--ink);line-height:1.3}.brand-type small{display:block;font-size:9px;letter-spacing:1.5px;font-weight:700;color:#8a769e;margin-top:5px}.header-actions{gap:8px}.header-actions .icon{width:38px;height:38px;border:1px solid var(--border);background:#fff;border-radius:12px}.account-strip{margin:0 30px 14px;font-size:12px;gap:9px}.status-dot{width:7px;height:7px}.version{font-size:10px;background:#f2ecfb;padding:2px 9px;border-radius:20px;color:#79638f}#notice{font-size:13px;margin:0 24px 10px}#view:not(.chat-mode){background:var(--canvas);padding:32px}#view:not(.chat-mode)>*{max-width:800px}.creator-chat{grid-template-columns:256px minmax(0,1fr);border-top:1px solid var(--border)}.chat-sidebar{padding:22px 16px 16px;background:#f7f5fa;gap:12px}.chat-new{min-height:46px;background:var(--violet);color:white;border:0;border-radius:13px;font-size:14px;box-shadow:0 5px 14px #6d28d915}.chat-sidebar-label{font-size:11px;color:#81718f;margin-top:14px;line-height:1.9}.chat-history-item{padding:12px 11px;gap:9px;margin-bottom:6px;font-size:13px;border-radius:11px;min-height:45px;color:#675775}.chat-history-item:hover:not(:disabled){background:#eee8f6}.chat-history-item.active{background:#e9ddfa;color:#5722a6;font-weight:650;box-shadow:inset 3px 0 #8654d3}.chat-history-empty{font-size:12px;line-height:2;padding:16px 10px}.chat-sidebar>.text{font-size:11px;color:#76628c;min-height:38px}.chat-sidebar>.outline{min-height:45px;font-size:12px;background:#fff;border-radius:12px}.chat-main{background:#fff}.chat-topline{min-height:64px;padding:12px 32px;border-bottom:1px solid #f1edf6;font-size:14px;font-weight:650;color:var(--ink)}.chat-topline>.icon{background:#f6f2fb;border-radius:12px;width:38px;height:38px}.chat-scroll{scrollbar-width:thin;scrollbar-color:#ddd2e8 transparent}.chat-message-column{max-width:860px;padding:38px 40px 18px}.chat-message{margin-bottom:34px}.chat-message-text{font-size:16px;line-height:2.15;letter-spacing:.05px;color:#30253c;overflow-wrap:break-word}.chat-message-meta{font-size:12px;font-weight:650;color:#7f6a94;margin-bottom:12px;gap:9px}.chat-message-meta img{width:28px;height:32px}.chat-message.user{max-width:85%;border-radius:19px 19px 5px 19px;padding:15px 21px;background:#f2ebfc;border:1px solid #e8dcf6}.chat-message.user .chat-message-meta{color:#806494;font-size:11px}.chat-message.user .chat-message-text{font-size:15px;line-height:2}.chat-copy{font-size:11px;padding:7px 9px;background:#faf8fc;min-height:32px;border-radius:8px;color:#79648e}.chat-copy:hover{background:#eee7f7}.chat-welcome{max-width:830px;padding:44px 34px;min-height:100%}.chat-welcome>.mascot{width:104px;height:118px;margin-bottom:20px}.chat-welcome h1{font-size:32px;line-height:1.8;letter-spacing:-.6px;margin-bottom:10px}.chat-welcome p{font-size:15px;line-height:2;max-width:540px;color:#776781}.chat-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:650px;margin:24px 0}.chat-suggestions button{background:#fff;border:1px solid #e4d9ef;padding:20px 16px;border-radius:16px;min-height:85px;font-size:14px;color:#5d4574;line-height:1.9;text-align:left;box-shadow:0 3px 12px #21152f03}.chat-suggestions button:hover{background:#faf6ff;border-color:#bfa4e4;transform:translateY(-2px)}.chat-composer-area{max-width:880px;padding:16px 32px 16px;background:linear-gradient(#ffffffee,#fff 24%)}.chat-composer{border:1px solid #d9c9e9;border-radius:22px;padding:16px 18px 12px;box-shadow:0 8px 32px #3b175d0a}.chat-composer:focus-within{border-color:#9164ca;box-shadow:0 0 0 3px #6d28d90a,0 8px 28px #3b175d08}.chat-composer textarea{font-size:16px;line-height:2;min-height:64px;height:64px;padding:0 3px 12px}.chat-composer textarea::placeholder{color:#9a88a9}.chat-composer-bottom{gap:14px}.chat-composer-bottom>span{font-size:11px;color:#897397;gap:7px}.chat-composer-bottom img{width:24px;height:28px}.chat-send{width:43px;height:43px;border-radius:14px;box-shadow:0 4px 10px #6d28d920}.chat-send svg{width:22px;height:22px}.chat-disclaimer{font-size:10px;line-height:1.9;color:#8d7b9b;margin-top:11px;max-width:690px;margin-left:auto;margin-right:auto}.chat-recovery{font-size:13px;line-height:1.9;padding:14px 16px}.chat-thinking{font-size:14px;max-width:860px;padding:10px 40px;margin-bottom:18px}.card{border-radius:18px;padding:22px;border-color:#e4dbed;box-shadow:0 4px 16px #21152f03}.card p,.copy-box,.scene p{font-size:15px;line-height:2.1}label{font-size:14px}input,select,textarea{font-size:14px;padding:12px 14px;border-radius:12px}.muted{font-size:13px}.form-note{font-size:11px}h1{font-size:27px}h2{font-size:20px}h3{font-size:17px}.card-top{font-size:12px}.tag{font-size:11px}.small{font-size:12px}.text{font-size:12px}.empty{font-size:14px}.empty p{line-height:2}
@media(min-width:1080px){.shell{display:grid;grid-template-columns:94px minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr)}header{grid-column:2;grid-row:1}.account-strip{grid-column:2;grid-row:2}#notice{grid-column:2;grid-row:3}#view{grid-column:2;grid-row:4;min-height:0}nav{grid-column:1;grid-row:1/5;min-height:0;flex-direction:column;justify-content:flex-start;align-items:stretch;border:0;border-right:1px solid var(--border);padding:25px 9px;background:#fbf9fe;gap:13px;overflow-y:auto}nav button{flex:none;min-width:0;min-height:72px;padding:10px 3px;font-size:10px;gap:8px;color:#8b789b;border-radius:15px}nav button.active{background:#eee3fc;color:#6024b6}nav svg{width:22px;height:22px}}
@media(min-width:701px) and (max-width:1079px){.creator-chat{grid-template-columns:224px minmax(0,1fr)}.chat-message-column{padding:28px 25px}.chat-composer-area{padding:12px 22px}.chat-suggestions{grid-template-columns:1fr}.chat-suggestions button{min-height:48px;padding:12px 16px}.chat-welcome h1{font-size:27px}nav{min-height:68px}nav button{font-size:10px}}
@media(max-width:700px){header{padding:10px 16px 5px;min-height:66px}.brand img{width:30px;height:37px}.brand-type{font-size:16px}.brand-type small{font-size:8px;letter-spacing:1px}.header-actions .icon{width:34px;height:34px}.account-strip{margin:2px 16px 10px;font-size:11px}.version{font-size:9px}.creator-chat{grid-template-columns:minmax(0,1fr)}.chat-topline{padding:9px 17px;min-height:53px;font-size:13px}.chat-mobile-history{font-size:12px;margin:5px 17px}.chat-message-column{padding:25px 20px 12px}.chat-message-text{font-size:15px;line-height:2.15}.chat-message.user .chat-message-text{font-size:14px}.chat-message.user{max-width:93%;padding:12px 16px}.chat-message-meta{font-size:11px}.chat-welcome{padding:25px 20px}.chat-welcome>.mascot{width:78px;height:90px;margin-bottom:12px}.chat-welcome h1{font-size:25px}.chat-welcome p{font-size:13px}.chat-suggestions{grid-template-columns:1fr;gap:9px;margin:16px 0}.chat-suggestions button{min-height:48px;padding:10px 15px;font-size:13px}.chat-composer-area{padding:9px 12px 8px}.chat-composer{padding:12px;border-radius:18px}.chat-composer textarea{font-size:15px;min-height:52px;height:52px}.chat-disclaimer{font-size:9px;margin:8px 5px 0}.chat-send{width:39px;height:39px;border-radius:12px}nav{padding:7px 5px max(7px,env(safe-area-inset-bottom));min-height:62px}nav button{font-size:9px;min-height:47px}nav svg{width:20px;height:20px}#view:not(.chat-mode){padding:22px 17px}.card{padding:18px}.chat-thinking{padding-left:20px;font-size:13px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.chat-suggestions button:hover{transform:none}}
