.download-source-pane { display: grid; gap: 12px; min-width: 0; } .download-source-pane > * { min-width: 0; } .download-link-form { display: grid; gap: 6px; } .download-link-form label, .download-destination-label label { font-size: 13px; font-weight: 600; color: var(--text-secondary); } .download-link-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; } .download-link-controls input, .download-destination-fields :is(select,input) { min-width: 0; width: 100%; } .download-destination { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; min-width: 0; } .download-destination-label { display: flex; align-items: center; gap: 1px; } .download-destination-fields { display: flex; min-width: 0; gap: 6px; } .download-destination-fields > :is(select, input) { flex: 1 1 0; } .download-playlist-help { position: relative; display: inline-flex; } .download-help-button { display: grid; place-items: center; width: 28px; height: 30px; border: 0; background: none; border-radius: 5px; color: var(--text-secondary); cursor: help; } .download-help-button:hover { color: var(--text-primary); background: var(--bg-hover); } .download-playlist-help [role=tooltip] { position: absolute; inset-block-end: calc(100% + 3px); inset-inline-start: -42px; width: min(240px, 65vw); z-index: 4; padding: 8px 10px; background: var(--bg-active); color: var(--text-primary); border: 1px solid var(--border-color); box-shadow: 0 4px 15px #0006; border-radius: 6px; font-size: 12px; line-height: 1.45; } .download-preview-title, .download-selection-actions, .download-pick-actions { display: flex; align-items: center; gap: 8px; } .download-preview-title { min-width: 0; justify-content: space-between; } .download-preview-title h4 { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--text-primary); font-size: 14px; line-height: 1.35; } .download-preview-title > span { flex: none; color: var(--text-secondary); font-size: 12px; font-variant-numeric: tabular-nums; } .download-video-preview, .download-local-selection, .download-source-detail { display: grid; gap: 10px; min-width: 0; } .download-choose-videos { justify-self: start; } .download-video-picker { min-width: 0; border: 1px solid var(--border-color); border-radius: 7px; } .download-video-all, .download-video-row { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 35px; padding: 5px 8px; cursor: pointer; font-size: 13px; } .download-video-all { background: var(--bg-elevated); font-weight: 600; } .download-video-row:hover { background: var(--bg-hover); } .download-video-all input, .download-video-row input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); } .download-video-list { max-height: min(42dvh, 350px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; } .download-video-row > :last-child { overflow-wrap: anywhere; } .download-video-index { color: var(--text-secondary); font-size: 12px; font-variant-numeric: tabular-nums; } .download-selection-actions { justify-content: end; flex-wrap: wrap; } .download-local-drop { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; min-height: 76px; padding: 12px; border: 1px dashed var(--bg-active); border-radius: 8px; background: var(--bg-primary); transition: border-color 140ms, background 140ms; } .download-local-drop.dragging { border-color: var(--accent); background: #1db95410; } .download-local-lead { display: flex; align-items: center; gap: 10px; min-width: 0; } .download-local-lead > svg { width: 21px; height: 21px; color: var(--text-secondary); } .download-source-pane svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; } .download-local-lead strong, .download-local-lead small { display: block; } .download-local-lead strong { font-size: 14px; } .download-local-lead small { margin-top: 2px; color: var(--text-secondary); font-size: 12px; line-height: 1.4; } .download-local-lead .download-local-mobile { display: none; } .download-source-progress { display: grid; gap: 4px; color: var(--text-secondary); font-size: 12px; } .download-source-progress div { display: flex; justify-content: space-between; gap: 8px; } .download-source-progress progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 3px; background: var(--bg-active); color: var(--accent); accent-color: var(--accent); } .download-source-progress progress::-webkit-progress-bar { background: var(--bg-active); border-radius: 3px; } .download-source-progress progress::-webkit-progress-value { background: var(--accent); border-radius: 3px; } .download-source-progress progress::-moz-progress-bar { background: var(--accent); border-radius: 3px; } .download-source-error { margin: 0; overflow-wrap: anywhere; color: #eba8a8; font-size: 12px; } @media (max-width: 600px) { .download-link-controls { gap: 5px; } .download-destination { align-items: start; gap: 6px; } .download-destination-label { min-height: 38px; } .download-destination-fields { flex-direction: column; } .download-destination-fields > :is(select,input) { flex: auto; } .download-video-all, .download-video-row { min-height: 40px; } .download-local-lead .download-local-desktop { display: none; } .download-local-lead .download-local-mobile { display: block; } } @media (prefers-reduced-motion: reduce) { .download-local-drop { transition: none; } .download-playlist-help [role=tooltip], #download-video-picker, #torrent-file-picker { transition-duration: 0s !important; } }