/* ===== Extractor de fotos de videos =====
   Diseño solo de esta herramienta. Se carga después de /assets/style.css. */
.fx { padding: 40px 16px 80px; }
.fx h1 { font-size: clamp(28px, 5vw, 40px); margin: 16px 0 8px; letter-spacing: -.02em; }
.fx .lead { max-width: 780px; }
.fx-tool { max-width: 960px; }
.fx-drop { aspect-ratio: auto; min-height: 170px; }
.fx-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.fx-head b { word-break: break-all; }
.fx video { width: 100%; max-height: 420px; background: #000; border-radius: 12px; display: block; }
.fx-moment { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }
.fx-moment .btn { width: auto; }
.fx-moment .hint { margin: 0; }
#results { margin-top: 18px; }
.fx-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-bar h3 { margin: 0; font-size: 18px; }
.fx-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-actions .btn { width: auto; }
.fx-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
.fx-fmt { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; }
.fx-fmt select { padding: 7px 9px; font-size: 14px; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 10px; }
.fx-card { position: relative; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); cursor: pointer; }
.fx-card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(98, 70, 234, .2); }
.fx-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.fx-card.tall img { aspect-ratio: 9 / 16; max-height: 300px; }
.fx-check { position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .35);
            display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; }
.fx-card.sel .fx-check { background: var(--brand); }
.fx-tag { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(5, 150, 105, .9); padding: 2px 7px; border-radius: 99px; }
.fx-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 10px; font-size: 13px; }
.fx-meta span { color: var(--muted); font-variant-numeric: tabular-nums; }
.fx-dl { font: inherit; font-size: 13px; font-weight: 700; color: var(--brand-2); background: none; border: 0; cursor: pointer; padding: 2px 4px; }
.fx-more { width: auto; margin-top: 12px; }
.fx-done { display: grid; gap: 6px; margin-top: 14px; }
.fx-done .hint { margin: 0; }
.fx-done a { color: var(--brand-2); font-weight: 600; }
#file-msg a { color: inherit; }
