@import url("/image-converter/styles.css?v=1");
/* YouTube thumbnail downloader */
.yt-links { min-height: 84px; resize: vertical; line-height: 1.5; font-size: 14px; }
.yt-go { margin-top: 10px; }
.note.warn { color: var(--warn); }
.yt-opts { display: grid; gap: 14px; }
.yt-opts .seg { flex-wrap: wrap; }
.yt-opts .seg button { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.yt-opts label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.yt-more { display: grid; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); }
.yt-more .range { max-width: 100%; }
.yt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yt-batch { align-items: end; }
.yt-batch label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; flex: 1 1 220px; }
.yt-results { display: grid; gap: 16px; margin-bottom: 20px; }
.yt-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.yt-card.wait { opacity: .7; }
.yt-media { display: flex; align-items: center; justify-content: center; min-width: 0; background: #08080b; border-radius: 10px; overflow: hidden; }
.yt-prev { display: block; max-width: 100%; height: auto; }
.yt-prev.tall { max-height: 440px; width: auto; }
.yt-ph { width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(90deg, #15161c, #1d1f27, #15161c); }
.yt-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.yt-title { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.yt-title a { color: var(--text); text-decoration: none; }
.yt-title a:hover { color: var(--accent); }
.yt-by { margin: 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.yt-by a { color: var(--muted); }
.yt-sizes .chip { font-size: 12px; padding: 6px 11px; min-height: 36px; }
.yt-out { margin: 0; font-size: 12px; color: var(--muted); min-height: 18px; }
.yt-acts { gap: 8px; }
.yt-acts .btn { min-height: 40px; }
.yt-rights { font-size: 12px; color: var(--muted); text-align: center; margin: 4px 0 18px; }
@media (max-width: 760px) { .yt-card { grid-template-columns: minmax(0, 1fr); padding: 12px; } .yt-prev.tall { max-height: 380px; } }
.chip[aria-pressed="true"], .seg button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: rgba(149, 214, 0, 0.08); }
.yt-optbox > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.yt-optbox > summary::-webkit-details-marker { display: none; }
.yt-optbox > summary::before { content: "▸"; color: var(--accent); }
.yt-optbox[open] > summary::before { content: "▾"; }
.yt-optbox[open] > summary { margin-bottom: 14px; }
.yt-sumlbl { font-weight: 650; font-size: 14px; }
.yt-batch { margin: 0 0 14px; }
