[hidden]{display:none!important}header{height:auto;min-height:88px;gap:20px;padding-top:16px;padding-bottom:16px}.head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.head-actions button{font-size:12px;padding:11px 13px}#openMaker{background:#ffe179;border-color:#efd16e}#openCreative{background:#efe5ff}.child-welcome{background:#eee1ff;border:1px solid #d9c1f4;border-radius:15px;padding:17px;margin-bottom:22px}.child-welcome>span{font-size:8px;letter-spacing:.12em;font-weight:bold;color:#8a5cb8}.child-welcome h2{font-size:24px;margin:10px 0 8px;overflow-wrap:anywhere}.child-welcome p{font-size:11px;color:#826797;margin:0}.creative-active{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#eee2ff;padding:12px 18px;border-radius:12px;margin:0 0 12px;font-size:12px}.creative-active span{font-weight:bold;margin-right:auto}.creative-active button{font-size:11px;padding:9px 12px}.workspace:has(#creativeActive:not([hidden])) #viewport{height:calc(100dvh - 330px)}#maker,#creativeBook{width:min(950px,calc(100% - 35px));max-height:92dvh;padding:30px;border:0;border-radius:24px;color:#30234b;background:#fffdf8}#creativeRestoreConfirm{max-width:500px;padding:30px;border:0;border-radius:20px}#creativeRestoreConfirm h2{font-size:22px}#creativeRestoreConfirm p{font-size:13px;line-height:1.7}.maker-head{display:flex;justify-content:space-between;align-items:start;gap:25px}.maker-head p{font-size:9px;font-weight:bold;letter-spacing:.14em;color:#8b66ac;margin:0 0 12px}.maker-head h2{font-size:32px;letter-spacing:-1px}.maker-head>button{border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.maker-intro{max-width:750px;font-size:13px;line-height:1.8;color:#8a7897;margin:12px 0 24px}#sceneForm fieldset{border:0;margin:0 0 20px;padding:0}#sceneForm legend,#sceneForm>label{font-size:13px;font-weight:bold;margin-bottom:13px;display:block}#castChoices{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}#castChoices label{position:relative;display:flex;align-items:center;flex-direction:column;cursor:pointer;border:1px solid #e2d5ed;border-radius:13px;padding:10px;background:white;font-size:12px;font-weight:bold}#castChoices label:has(input:checked){background:#eee1ff;border:2px solid #986ada;padding:9px}#castChoices input{position:absolute;top:8px;left:8px;accent-color:#7650db}#castChoices img{height:104px;object-fit:contain;max-width:100%;mix-blend-mode:multiply;margin-bottom:8px}#scenePrompt{width:100%;font:inherit;font-size:15px;border:1px solid #d8c6e7;border-radius:12px;padding:15px;line-height:1.6;resize:vertical;min-height:98px;background:white;color:#30234b}.idea-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.idea-chips button{font-size:10px;font-weight:normal;padding:7px 11px;border-radius:20px;background:#f3ebfc}.maker-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.maker-options label{font-size:12px;font-weight:bold}.maker-options select{display:block;width:100%;margin-top:9px;padding:12px;border:1px solid #d8c6e7;background:white;border-radius:10px;font:inherit;font-size:12px;color:#30234b}.maker-note{font-size:11px;line-height:1.8;color:#917ca0;margin-top:19px}.maker-actions{display:flex;justify-content:space-between;gap:20px;margin-top:22px}.maker-actions .primary{min-width:190px}#makerStatus,#creativeBookStatus{font-size:12px;line-height:1.7;color:#7b419e;min-height:18px}.creative-book-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.creative-book-actions button{font-size:11px;padding:11px 14px}#creativeGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:20px}.creative-card{display:flex;flex-direction:column;gap:9px;padding:12px;text-align:left;background:#f5eefa}.creative-card img{width:100%;aspect-ratio:1103/1426;object-fit:contain;background:white;border-radius:5px}.creative-card strong{font-size:12px;line-height:1.4}.creative-card small{font-size:10px;font-weight:normal;color:#8a729d}#creativeBookStatus a{text-decoration:underline;color:#7542d2}dialog::backdrop{background:#30234388;backdrop-filter:blur(5px)}@media(max-width:1050px){header{align-items:flex-start}.brand{font-size:15px}.head-actions{max-width:600px}.head-actions button{padding:9px 10px;font-size:11px}#creativeGrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){header{padding:16px 18px;flex-direction:column;gap:15px}.head-actions{width:100%;justify-content:flex-start}.head-actions button{flex:1;white-space:nowrap}#maker,#creativeBook{padding:22px 18px}.maker-head h2{font-size:26px}.maker-intro{font-size:12px}.maker-options{gap:12px}#castChoices{grid-template-columns:repeat(3,1fr);gap:9px}#castChoices img{height:90px}.maker-actions .primary{min-width:0;flex:1}.maker-actions button{font-size:12px}#creativeGrid{grid-template-columns:repeat(2,1fr)}.creative-active{margin-top:15px;font-size:11px}.workspace:has(#creativeActive:not([hidden])) #viewport{height:65dvh}#scenePrompt{font-size:14px}.creative-book-actions button{font-size:10px;flex:1;min-width:135px}.child-welcome{margin-bottom:15px}}
