.text-layer{position:absolute;inset:0;z-index:2;pointer-events:none}
.poster-text{position:absolute;width:max-content;max-width:90%;max-height:90%;overflow:hidden;margin:0;padding:3px 5px;min-height:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#fff2cd;line-height:1.35;font-family:inherit;font-weight:800;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 2px 3px #000,0 1px 9px #000;pointer-events:auto;touch-action:none;user-select:none;cursor:grab}
.poster-text:active{cursor:grabbing}.poster-text.selected{border-color:#f0ce75;border-style:dashed}.poster-text.empty-text{opacity:.5}
.text-editor{margin-top:16px;padding:16px;border:1px solid #374137;border-radius:13px;background:#1a241c}
.editor-heading{display:flex;gap:10px;align-items:center;justify-content:space-between}.editor-heading h2{font-size:17px;margin:0}.editor-button{border:1px solid #6b785f;border-radius:8px;background:#263123;color:#f3e4b5;padding:9px 12px;min-height:44px;font-size:14px}.editor-button:disabled{opacity:.45;cursor:default}
.text-editor .hint{margin:10px 0 0}.text-editor .label{margin-top:14px;font-size:14px}.text-editor textarea{min-height:76px;font-size:14px}.range-label{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin-top:14px;color:#c5cfbe}.text-editor input[type=range]{padding:0;min-height:40px;accent-color:#d8b55d;border:0;background:transparent}.position-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.delete-text{margin-top:8px;color:#ffc6b8;width:100%}.poster-footer{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:801px){.preview-column{position:relative;top:0}}
