:root {
  --bg: #090d16;
  --bg-card: #111827;
  --bg-input: #0b111e;
  --border: #1f2937;
  --border-highlight: #374151;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #f97316;
  --pink: #ec4899;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

code {
  font-family: "JetBrains Mono", Consolas, monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.86em;
  color: #6ee7b7;
}

.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-1 { top: -120px; left: -80px; background: var(--emerald); }
.bg-glow-2 { bottom: -140px; right: -80px; background: var(--blue); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 22, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--emerald), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.brand-logo svg { width: 22px; height: 22px; }

.brand-title {
  font-weight: 700;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-cf {
  font-size: 0.72rem;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
}

.brand-sub {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.main-grid {
  padding-top: 22px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.card-hero {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(13, 19, 33, 0.98));
  border-color: #26354d;
}

.hero-header h1 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.89rem;
  margin-bottom: 16px;
}

.url-bar-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.url-input-group {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 2px solid #2e4369;
  border-radius: 12px;
  padding: 4px 10px;
}
.url-input-group:focus-within {
  border-color: var(--emerald);
}

.url-icon {
  font-size: 1.1rem;
  margin-right: 8px;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.96rem;
  padding: 10px 4px;
  outline: none;
}

.btn-inline {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-highlight);
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.81rem;
  margin-left: 4px;
  white-space: nowrap;
  transition: all 0.15s;
}
.btn-inline:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.15);
}
.btn-inline-blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.45);
  color: #93c5fd;
}
.btn-inline-emerald {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.select-format-main {
  background: var(--bg-input);
  border: 2px solid #2e4369;
  color: var(--text);
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  min-height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
  transition: transform 0.15s, filter 0.15s;
  white-space: nowrap;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.28);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
  border-radius: 9px;
}

.batch-textarea-wrap {
  background: #0d1322;
  border: 1px solid #2e4369;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.batch-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: monospace;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.batch-textarea-actions {
  display: flex;
  justify-content: flex-end;
}

.sample-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.81rem;
}
.sample-label { color: var(--text-muted); }

.chip-link {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.79rem;
  transition: all 0.15s;
}
.chip-link:hover { background: rgba(59, 130, 246, 0.26); }
.chip-channel {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.chip-shorts {
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.4);
  color: #f9a8d4;
}
.chip-podcast {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.45);
  color: #ddd6fe;
}

/* Preview Card */
.preview-card {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
  background: rgba(9, 13, 22, 0.72);
  border: 1px solid #26354d;
  border-radius: 12px;
  padding: 16px;
  align-items: start;
}

.preview-thumb-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.platform-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(239, 68, 68, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.res-overlay-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.preview-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  font-weight: 700;
  margin-bottom: 4px;
}
.preview-title {
  font-size: 1.02rem;
  margin-bottom: 6px;
  line-height: 1.4;
}
.preview-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Filename & Creator Prefix Toggle Bar */
.filename-bar {
  background: #0d1322;
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 11px;
  padding: 11px 14px;
  margin-bottom: 12px;
}

.prefix-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.switch-control input {
  display: none;
}

.switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #334155;
  border-radius: 999px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.switch-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.switch-control input:checked + .switch-slider {
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}

.switch-control input:checked + .switch-slider::after {
  transform: translateX(20px);
}

.switch-text {
  font-size: 0.85rem;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.switch-state-badge {
  font-size: 0.73rem;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-weight: 700;
}
.switch-state-badge.off {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
  color: #94a3b8;
}

.creator-fields-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mini-input {
  background: var(--bg-input);
  border: 1px solid #2e4369;
  color: #6ee7b7;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  width: 145px;
  font-weight: 600;
  outline: none;
}
.mini-input:focus {
  border-color: var(--emerald);
}

.filename-label {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}
.filename-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filename-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid #2e4369;
  color: #f8fafc;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
}

.quick-dl-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.btn-quick-fmt {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 9px 8px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-quick-fmt:hover {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}
.btn-quick-uhd {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.15));
  color: #ddd6fe;
}
.btn-quick-uhd:hover {
  border-color: #a78bfa;
  background: rgba(139, 92, 246, 0.32);
  color: #fff;
}
.btn-quick-audio:hover {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
}

.progress-panel {
  background: #0d1322;
  border: 1px solid #25334d;
  border-radius: 10px;
  padding: 12px 14px;
}
.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 0.84rem;
}
.progress-status-text { color: #e2e8f0; }
.progress-percent {
  font-weight: 700;
  color: #34d399;
  font-family: monospace;
  white-space: nowrap;
}
.progress-bar-bg {
  width: 100%;
  height: 9px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--blue));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.final-dl-action { margin-top: 10px; }
.btn-final-save {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
}

.hidden { display: none !important; }

/* Channel User Tab Switcher Bar */
.channel-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 11px;
  padding: 12px 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.channel-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.channel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.channel-handle-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f8fafc;
}
.channel-id-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.channel-tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-ch-tab {
  background: #0d1322;
  border: 1px solid #2e4369;
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-ch-tab:hover {
  border-color: var(--emerald);
  color: #fff;
}
.btn-ch-tab.active {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-color: var(--emerald);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Card Header & Tables */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.card-header h2 { font-size: 1.06rem; margin-bottom: 3px; }
.section-sub { font-size: 0.82rem; color: var(--text-muted); }

.playlist-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.batch-status-banner {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #bfdbfe;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

.table-responsive { overflow-x: auto; }
.playlist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.playlist-table th, .playlist-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.playlist-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
}
.playlist-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.pl-thumb {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #000;
  cursor: pointer;
}
.pl-title {
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 3px;
  line-height: 1.35;
  cursor: pointer;
}
.pl-title:hover { color: #34d399; }
.pl-save-preview {
  font-size: 0.76rem;
  color: #6ee7b7;
  font-family: "JetBrains Mono", Consolas, monospace;
  margin-bottom: 2px;
}
.pl-url {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: monospace;
}

.tab-type-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}
.pill-videos {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.pill-shorts {
  background: rgba(236, 72, 153, 0.16);
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, 0.4);
}
.pill-podcasts {
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
  border: 1px solid rgba(139, 92, 246, 0.45);
}

.res-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.res-badge-uhd {
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #ddd6fe;
}
.res-badge-fhd {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.btn-row {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-row:hover { background: rgba(16, 185, 129, 0.3); }
.btn-row-uhd {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: #ddd6fe;
}
.btn-row-uhd:hover { background: rgba(139, 92, 246, 0.35); }
.btn-row-mp3 {
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.45);
  color: #fdba74;
}

/* Ultra-HD Verdict & API Panel */
.uhd-verdict-box {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.14), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.uhd-verdict-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ddd6fe;
  margin-bottom: 4px;
}
.uhd-verdict-desc {
  font-size: 0.83rem;
  color: #cbd5e1;
}

.detected-streams-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stream-spec-chip {
  background: #0d1322;
  border: 1px solid #2e4369;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #e2e8f0;
}
.stream-spec-chip.chip-uhd {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.16);
  color: #ede9fe;
  font-weight: 600;
}

.api-url-box {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.77rem;
  background: #070b13;
  border: 1px solid #1e293b;
  padding: 6px 9px;
  border-radius: 6px;
  color: #93c5fd;
  word-break: break-all;
}

.tag-doc {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}

.local-fix-controls-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.control-item label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #cbd5e1;
}
.select-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
}

.terminal-box {
  background: #060911;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
}
.terminal-bar {
  background: #0f172a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
  flex-wrap: wrap;
  gap: 8px;
}
.terminal-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}
.terminal-btns { display: flex; gap: 8px; }
.btn-copy-code {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
}
.btn-bat-fix {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.terminal-code {
  padding: 14px;
  color: #4ade80;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.83rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer a { color: #6ee7b7; text-decoration: none; }

@media (max-width: 980px) {
  .preview-card { grid-template-columns: 1fr; }
  .quick-dl-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .local-fix-controls-3 { grid-template-columns: 1fr; }
}
