#playTools{display:flex;align-items:center;gap:8px;padding:7px 22px;background:#1c1528;border-top:1px solid #c8a8f027;overflow:auto;flex-shrink:0}#playTools .check{margin:0;flex-shrink:0;font-size:11px}#playTools button{font-size:11px;padding:7px 10px;white-space:nowrap}#playTools>span{font-size:10px;color:#9c86b7;margin-left:auto;white-space:nowrap}.voice-intro{border:1px solid #b294db30;border-radius:12px;padding:18px;margin-bottom:24px;background:linear-gradient(120deg,#39244655,transparent)}.voice-intro p{font-size:12px;line-height:1.8;color:#bca8d2;margin-top:0}.voice-intro label:last-child{margin-bottom:0}.line-edit{display:grid;grid-template-columns:1fr 120px;gap:8px;margin:16px 0;padding-bottom:16px;border-bottom:1px solid #c4a7e320}.line-edit>b{font-size:12px;color:#cbb2e8;align-self:center}.line-edit textarea,.line-edit>small{grid-column:1/-1}.line-edit select{font-size:11px;padding:8px}.editor-tools{display:flex;align-items:center;gap:15px;margin-bottom:20px}.editor-tools button{font-size:11px}.editor-tools span{font-size:11px;color:#ad93c8}.editor-actions{position:sticky;bottom:-22px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:18px 0;background:#19151ff5;border-top:1px solid #c4a7e324;margin-top:20px}.editor-actions button{font-size:11px}.editor-actions .check{font-size:11px;margin:0}.sticker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:16px}.sticker-tile{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px;background:linear-gradient(150deg,#38224750,#1c182e);min-width:0}.sticker-tile img{width:100%;height:128px;object-fit:contain}.sticker-tile b{font-weight:400;font-size:14px}.sticker-tile small{font-size:10px;word-break:break-all}.generated-image.sticker{aspect-ratio:1}.generated-image.sticker img{height:100%;object-fit:contain}#phoneDrawer{position:fixed;right:24px;bottom:24px;width:340px;max-width:calc(100vw - 24px);height:min(650px,calc(100dvh - 40px));z-index:60;border:7px solid #32243e;border-radius:34px;background:linear-gradient(155deg,#251b32,#171322 70%);box-shadow:0 20px 80px #000a,0 0 0 1px #c6a3ef50;overflow:hidden;display:flex;flex-direction:column}.phone-top{display:flex;align-items:center;gap:14px;padding:18px 18px 13px;border-bottom:1px solid #b191d128;flex-shrink:0}.phone-top span:first-child{font-size:9px;letter-spacing:2px;color:#bca2d4}.phone-top span:nth-child(2){font-size:8px;letter-spacing:2px;color:#756484}.phone-top button{margin-left:auto;font-size:20px;border:0;padding:0 5px;background:transparent;color:#ddc3f4}#phoneBody{display:flex;flex-direction:column;min-height:0;flex:1}.phone-contact-head{padding:16px 18px 12px}.phone-contact-head select{width:100%;padding:10px;border-color:#aa8bc52a;background:#36244166}.phone-messages{flex:1;overflow-y:auto;padding:8px 18px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:0}.phone-bubble{max-width:94%;padding:12px 14px;border-radius:4px 15px 15px;background:#382848;border:1px solid #b99ada27;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 5px 18px #0002}.phone-sticker{display:block;width:100px;height:100px;object-fit:contain;margin:4px 0}.phone-empty{font-size:12px;color:#9f88b4;align-self:center;line-height:1.8;margin-top:40px;text-align:center}.phone-compose{display:flex;gap:7px;padding:13px;background:#24182e;border-top:1px solid #aa8ac722}.phone-compose input{flex:1;min-width:0;font-size:11px;padding:10px}.phone-compose button{font-size:11px;padding:9px;background:#b799d5;color:#281936;border:0}#storyDraft{font-family:ui-monospace,monospace;font-size:11px}#ttsConfig .hint{line-height:1.9}@media(max-width:720px){#playTools{padding:7px 10px;gap:6px}#playTools>span{display:none}#phoneDrawer{right:12px;bottom:12px;width:340px;height:min(640px,calc(100dvh - 24px))}.studio-tabs{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.studio-tabs button{flex-shrink:0}.section-bar .button-row{gap:5px}.sticker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-actions{bottom:-16px}.topbar nav{width:100%;overflow:auto;justify-content:flex-start!important}.topbar nav button{flex-shrink:0}.line-edit{grid-template-columns:1fr 105px}}

.panel-head{background:#19151f}.raw-editor{margin-bottom:18px}.raw-editor>label{margin:16px 0}
