/* reel-overlay-editor.css -- JOB 306: the "Add text and music" editor (reel-overlay-editor.js). Version 2026-10-20-r1 (first version). */
.ro { max-width: 720px; margin: 0 auto; color: #16323f; }
.ro h2 { margin: 0 0 8px; } .ro h3 { margin: 14px 0 6px; }
.ro-stage { position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; margin: 0 auto; background: #000; border-radius: 10px; overflow: hidden; touch-action: none; }
.ro-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ro-layer { position: absolute; inset: 0; pointer-events: none; }
.ro-t { position: absolute; transform: translate(-50%, -50%); white-space: pre; text-align: center; line-height: 1.15; pointer-events: auto; cursor: grab; user-select: none; }
.ro-t.ro-sel { outline: 1px dashed rgba(255, 255, 255, 0.8); }
.ro-hint { color: #55707d; font-size: 0.85rem; text-align: center; }
.ro-item { border: 1px solid #cfe0e8; border-radius: 8px; padding: 8px; margin: 8px 0; background: #fff; }
.ro-item.ro-on { border-color: #0f7a76; }
.ro-item textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
.ro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px 10px; margin-top: 6px; }
.ro-grid label, .ro label { display: block; font-size: 0.85rem; }
.ro-grid input, .ro-grid select, .ro select { width: 100%; box-sizing: border-box; min-height: 36px; }
.ro-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0; }
.ro-btn { background: #0f7a76; color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 600; min-height: 42px; }
.ro-btn.ghost { background: #fff; color: #0f7a76; border: 1px solid #0f7a76; }
.ro audio { width: 100%; margin-top: 6px; }
.ro-msg.ro-err { color: #b3261e; } .ro-msg.ro-ok { color: #1f5f3d; }
