/* ===== Desenfocador de rostros =====
   Diseño solo de esta herramienta. Se carga después de /assets/style.css. */
.rf { padding: 40px 16px 80px; }
.rf h1 { font-size: clamp(28px, 5vw, 40px); margin: 16px 0 8px; letter-spacing: -.02em; }
.rf .lead { max-width: 780px; }
.rf-tool { max-width: 900px; }
.rf-drop { aspect-ratio: auto; min-height: 170px; }
.rf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.rf-head b { word-break: break-all; }
.rf-stage { position: relative; background: #000; border-radius: 12px; overflow: hidden; display: grid; place-items: center; min-height: 200px; }
.rf-view { display: block; max-width: 100%; max-height: 480px; width: auto; height: auto; }
.rf-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .55); font-weight: 600; text-align: center; padding: 16px; }
.rf-loading[hidden] { display: none; }
.rf-play { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.rf-play .btn { width: auto; flex-shrink: 0; }
.rf-play input[type=range] { flex: 1; min-width: 0; accent-color: var(--brand); }
.rf-play .hint { margin: 0; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.rf-found { margin: 8px 0 0; }
.rf-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 16px 0 8px; }
.rf-controls label { display: grid; gap: 6px; margin: 0; font-size: 14px; }
.rf-controls select { padding: 9px 10px; font-size: 14px; }
.rf-controls input[type=range] { width: 100%; accent-color: var(--brand); }
.rf-controls .rf-small { grid-column: 1 / -1; display: flex; font-weight: 400; font-size: 15px; }
.rf-warn { margin: 6px 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(180, 83, 9, .08); border: 1px solid rgba(180, 83, 9, .25); font-size: 14px; color: var(--text-2); }
#export:disabled, #play:disabled { opacity: .5; cursor: not-allowed; }
.rf-done { margin-top: 14px; display: grid; gap: 8px; }
.rf-done .hint { margin: 0; }
.rf-done a { color: var(--brand-2); font-weight: 600; }
#file-msg .nudge { margin-top: 12px; }
@media (max-width: 700px) { .rf-controls { grid-template-columns: minmax(0, 1fr); } }
