/* v18.10.31 · Refine with Prompt + trend admin */
.urf-btn{background:linear-gradient(135deg,#d61f7f,#9d3be0)!important;color:#fff!important;border-color:transparent!important}
.urf-from{margin:4px 0;font-size:12.5px;color:#c4b5fd}
.urf-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.urf-modes label{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;padding:10px 12px;border:1px solid #34407a;border-radius:14px;cursor:pointer;min-height:44px}
.urf-modes label:has(input:checked){border-color:#ffd23f;background:#1b1f4a}
.urf-modes input{width:18px;height:18px;accent-color:#ffd23f;grid-row:span 2}
.urf-modes small{color:#aab2cc;font-size:12px}
.urf-chips{display:flex;gap:6px;flex-wrap:wrap}
.urf-chips button{min-height:38px;padding:0 12px;border-radius:999px;border:1px solid #34407a;background:#151b40;color:#e7eaff;font-weight:700;font-size:13px}
.urf-chips button:hover{border-color:#ffd23f}
.urf .usc-sample video{max-height:36vh}
.utr-list{list-style:none;padding:0;margin:10px 0;display:grid;gap:8px;max-height:520px;overflow:auto}
.utr-list li{border:1px solid rgba(217,220,230,.14);border-radius:12px;padding:10px;font-size:13px;line-height:1.45}
.utr-list label{display:grid;grid-template-columns:auto 1fr;gap:10px;cursor:pointer}
.utr-list input{width:18px;height:18px}
.utr-sig{color:#ffd23f}
.utr-bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}
.utr .uae-chips button[aria-selected=true]{border-color:#ffd23f;color:#ffd23f}
.utr-fmts{display:flex;flex-wrap:wrap;gap:6px;border:1px solid #263061;border-radius:12px;padding:8px 10px;margin:0}.utr-fmts legend{font-size:13px;padding:0 6px}
.utr-fmts label{display:inline-flex!important;gap:6px;align-items:center;min-height:36px;padding:0 10px;border:1px solid #34407a;border-radius:999px;font-size:13px;cursor:pointer}
@media (max-width:640px){.urf-modes{grid-template-columns:1fr}}
.urf-plan{margin:0;padding:10px 12px;border-radius:12px;background:#151b40;border:1px dashed #4b56a0;color:#e7eaff;font-size:13.5px;line-height:1.45}
.urf-opts{border:1px solid #263061;border-radius:14px;padding:4px 12px}.urf-opts summary{min-height:44px;display:flex;align-items:center;gap:6px;font-weight:800;cursor:pointer}
.urf-opts summary small{color:#aab2cc;font-weight:500}.urf-opts[open]{padding-bottom:10px}
/* prompt-first video page (v18.10.31): no manual editing controls */
body.udhen-prompt-first.udhen-single-scene .timeline-wrap,body.udhen-prompt-first.udhen-single-scene #timeline-mode-btn{display:none!important}
body.udhen-prompt-first .timeline-head button[onclick^="moveScene"],body.udhen-prompt-first .timeline-head button[onclick="saveCurrentScene()"]{display:none!important}
.utr-gen{border:1px solid #3a2a6b;border-radius:14px;padding:12px;margin:10px 0;background:#141038}.utr-gen h3{margin:0}
