*{box-sizing:border-box}body{margin:0;background:#0e1422;color:#e9ecf6;font:15px system-ui,Arial}header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#151e31;border-bottom:1px solid #2d3750}header strong{font-size:22px}header span{color:#a99aff}header small,.note{color:#99a8c2}main{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;padding:20px;max-width:1500px;margin:auto}aside,.studio{background:#172137;border:1px solid #2d3953;border-radius:16px;padding:20px}h2{font-size:17px;margin:0 0 18px}label{display:block;margin:15px 0;color:#c5d0e7;font-size:13px}input,textarea,select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #394864;border-radius:9px;background:#0e1729;color:white;font:inherit}textarea{height:130px;resize:vertical}button{background:#7964e9;border:0;border-radius:9px;padding:12px 15px;color:white;font-weight:700;cursor:pointer;margin:5px 5px 5px 0}button:hover{filter:brightness(1.12)}button.secondary{background:#34415c}.top{display:flex;justify-content:space-between}.top span{color:#9de4ce}canvas{display:block;width:100%;aspect-ratio:16/9;background:#9bdcc9;border-radius:12px}.controls{padding:12px 0 20px}.scenes{display:flex;gap:10px;overflow:auto;padding-bottom:10px}.scene{min-width:180px;max-width:220px;text-align:left;background:#263550;border:1px solid #405171;white-space:normal}.scene.active{border:2px solid #a99aff}.scene small{display:block;color:#b6c4dd;margin-top:6px}.note{line-height:1.5;font-size:13px}@media(max-width:850px){main{grid-template-columns:1fr;padding:12px}header{padding:0 14px}header strong{font-size:18px}}

.character-panel{margin:18px 0;padding:14px;border:1px solid #4b4384;border-radius:12px;background:#211f3e}.character-panel h2{color:#c6baff;margin-bottom:8px}input[type=color]{height:44px;padding:4px;cursor:pointer}