.tgdl-tool {
  --a: #229ED9;
  --a2: #54B8E8;
  --a3: #A8D8F0;
  --line: rgba(148, 163, 184, 0.18);
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

.tgdl-tool *,
.tgdl-tool *::before,
.tgdl-tool *::after {
  box-sizing: border-box;
}

.tgdl-tool [hidden] {
  display: none !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tgdl-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 180px at 0% -30%, rgba(34, 158, 217, 0.25), transparent 55%),
    radial-gradient(700px 160px at 100% 0%, rgba(15, 20, 25, 0.4), transparent 50%),
    linear-gradient(145deg, rgba(15, 23, 41, 0.96), rgba(11, 22, 34, 0.92));
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.45);
}

.tgdl-hero-content {
  flex: 1 1 auto;
  min-width: 0;
}

.tgdl-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.tgdl-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a);
}

.tgdl-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tgdl-sub {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 40rem;
}

.tgdl-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--a), var(--a2));
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

/* ==========================================================================
   Card Container
   ========================================================================== */
.tgdl-card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 41, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  min-width: 0;
  width: 100%;
}

.tgdl-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.tgdl-head h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1.3;
}

.tgdl-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--a3);
  background: color-mix(in srgb, var(--a) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
}

/* ==========================================================================
   URL Input & Buttons
   ========================================================================== */
.tgdl-url-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.tgdl-url-field {
  position: relative;
  min-width: 0;
  width: 100%;
}

.tgdl-url-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 1;
}

.tgdl-url-input {
  width: 100%;
  padding-left: 2.65rem !important;
  min-height: 52px;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  background: rgba(2, 6, 23, 0.65) !important;
  border: 1px solid var(--line) !important;
  color: #f8fafc !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tgdl-url-input:focus {
  border-color: var(--a) !important;
  box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.25) !important;
  outline: none !important;
}

.tgdl-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
}

.tgdl-paste-btn,
.tgdl-fetch-btn,
.tgdl-clear-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tgdl-paste-btn {
  border: 1px dashed color-mix(in srgb, var(--a) 45%, var(--line));
  background: rgba(15, 23, 41, 0.5);
  color: #cbd5e1;
}

.tgdl-paste-btn:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--a);
  color: #fff;
}

.tgdl-fetch-btn {
  background: linear-gradient(145deg, var(--a2), var(--a)) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.tgdl-fetch-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.45);
}

.tgdl-clear-btn {
  border: 1px solid var(--line);
  background: rgba(30, 41, 59, 0.65);
  color: #94a3b8;
}

.tgdl-clear-btn:hover {
  color: #f8fafc;
  border-color: #cbd5e1;
}

/* ==========================================================================
   Progress & Live HUD
   ========================================================================== */
.tgdl-progress {
  margin-top: 1rem;
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--a) 30%, transparent);
  background: color-mix(in srgb, var(--a) 12%, transparent);
}

.tgdl-progress-head {
  display: flex;
  justify-content: space-between;
  color: #e2e8f0;
  font-size: 0.86rem;
  margin-bottom: 0.5rem;
}

.tgdl-progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 41, 0.85);
  overflow: hidden;
}

.tgdl-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--a2), var(--a), var(--a3));
  transition: width 0.2s ease-out;
}

.tgdl-progress-step {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.tgdl-live-hud {
  margin-top: 0.85rem;
}

.tgdl-live-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.tgdl-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
  animation: tgdl-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.tgdl-live-hud.is-done .tgdl-live-dot {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  animation: none;
}

.tgdl-live-hud.is-error .tgdl-live-dot {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.8);
  animation: none;
}

.tgdl-live-status {
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 700;
  flex: 1;
  min-width: 140px;
}

.tgdl-live-elapsed {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  flex-shrink: 0;
}

.tgdl-live-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 680px) {
  .tgdl-live-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tgdl-live-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0.75rem 0.45rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  min-height: 4.2rem;
}

.tgdl-live-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tgdl-live-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.92rem, 2.3vw, 1.1rem);
  font-weight: 800;
  line-height: 1.15;
  word-break: break-all;
}

.tgdl-live-val.is-pct { color: #22d3ee; }
.tgdl-live-val.is-speed { color: #34d399; }
.tgdl-live-val.is-eta { color: #fb923c; }
.tgdl-live-val.is-size { color: #e2e8f0; }

@keyframes tgdl-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.tgdl-status {
  margin: 0.75rem 0 0;
  min-height: 1.2rem;
  font-size: 0.86rem;
  color: #94a3b8;
  word-break: break-word;
}

.tgdl-status.is-error { color: #fca5a5; }
.tgdl-status.is-ok { color: #86efac; }

/* ==========================================================================
   Result Grid & Preview
   ========================================================================== */
.tgdl-result-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.tgdl-preview-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  width: 100%;
}

.tgdl-preview,
.tgdl-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tgdl-preview-wrap .tgdl-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tgdl-preview-wrap .tgdl-preview {
  position: relative;
  z-index: 2;
  background: transparent;
}

.tgdl-preview-wrap.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.08) 48%, transparent 66%);
  background-size: 200% 100%;
  animation: tgdl-shimmer 1.2s ease-in-out infinite;
}

.tgdl-preview-wrap.is-playing .tgdl-cover {
  display: none !important;
}

.tgdl-preview-wrap::before {
  content: 'VIDEO';
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 4;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(34, 158, 217, 0.92);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.tgdl-preview-wrap.is-playing::before,
.tgdl-preview-wrap.is-loading::before {
  opacity: 1;
}

@keyframes tgdl-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.tgdl-result-grid h3 {
  margin: 0 0 0.45rem;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tgdl-meta {
  margin: 0 0 0.35rem;
  color: #94a3b8;
  font-size: 0.86rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tgdl-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.tgdl-mini {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

.tgdl-mini:hover {
  border-color: color-mix(in srgb, var(--a) 50%, transparent);
  color: #fff;
  background: rgba(34, 158, 217, 0.15);
}

/* ==========================================================================
   Format Option Cards
   ========================================================================== */
.tgdl-formats {
  display: grid;
  gap: 0.6rem;
  width: 100%;
}

.tgdl-format {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.45);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
}

.tgdl-format:hover {
  border-color: color-mix(in srgb, var(--a) 40%, var(--line));
  background: rgba(15, 23, 41, 0.8);
}

.tgdl-format.is-active {
  border-color: color-mix(in srgb, var(--a) 60%, transparent);
  background: color-mix(in srgb, var(--a) 18%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 30%, transparent);
}

.tgdl-format-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--a) 18%, transparent);
  color: var(--a3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.tgdl-pick,
.tsf-pick {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  width: 100%;
}

.tgdl-format strong,
.tsf-pick-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgdl-format span,
.tsf-pick-meta {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgdl-format-dl,
.tsf-dl {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--a2), var(--a));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s, filter 0.15s;
}

.tgdl-format-dl:hover,
.tsf-dl:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.tgdl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  align-items: stretch;
  width: 100%;
}

.tgdl-actions .btn {
  min-height: 48px;
  width: 100%;
  font-size: 0.96rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--a2), var(--a));
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.tgdl-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   Profile / Bulk Album Download
   ========================================================================== */
.tgdl-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.tgdl-profile-actions,
.tgdl-profile-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tgdl-profile-toolbar {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.35);
  box-sizing: border-box;
}

.tgdl-check-all {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
}

.tgdl-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.tgdl-profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 41, 0.75);
  cursor: pointer;
  min-width: 0;
  box-sizing: border-box;
}

.tgdl-profile-card.is-checked {
  border-color: color-mix(in srgb, var(--a) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 35%, transparent);
}

.tgdl-profile-card input {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
}

.tgdl-profile-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #020617 center / cover no-repeat;
  width: 100%;
}

.tgdl-profile-meta strong {
  display: block;
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tgdl-profile-meta em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.tgdl-profile-one {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--a2), var(--a));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Media Queries
   ========================================================================== */

/* Tablet & Mobile (< 900px) */
@media (max-width: 900px) {
  .tgdl-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .tgdl-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
  }

  .tgdl-profile-actions,
  .tgdl-profile-toolbar {
    width: 100%;
  }

  .tgdl-profile-actions .btn,
  .tgdl-profile-toolbar .btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* Medium Tablets & Large Phones (< 768px) */
@media (max-width: 768px) {
  .tgdl-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
  }

  .tgdl-hero-content {
    width: 100%;
  }

  .tgdl-hero-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.6rem;
  }

  .tgdl-badge {
    align-self: flex-start;
  }

  .tgdl-result-grid {
    grid-template-columns: 1fr !important;
    gap: 0.95rem;
  }

  .tgdl-preview-wrap {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
  }
}

/* Mobile Screens (< 640px) */
@media (max-width: 640px) {
  .tgdl-tool {
    gap: 0.85rem;
  }

  .tgdl-card {
    padding: 0.95rem 0.9rem;
    border-radius: 14px;
  }

  .tgdl-hero {
    padding: 1rem 0.95rem;
    border-radius: 15px;
  }

  /* Prevent iOS input zoom-in */
  .tgdl-url-input {
    font-size: 16px !important;
    min-height: 50px;
    padding-left: 2.5rem !important;
  }

  .tgdl-url-icon {
    left: 0.85rem;
  }

  /* Format option card goes into 2-row clean stack */
  .tgdl-format {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.8rem !important;
    border-radius: 12px !important;
  }

  .tgdl-format-badge {
    grid-column: 1;
    grid-row: 1;
  }

  .tgdl-pick,
  .tsf-pick {
    grid-column: 2;
    grid-row: 1;
  }

  .tgdl-format-dl,
  .tsf-dl {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    margin-top: 0.25rem !important;
    font-size: 0.85rem !important;
  }

  .tgdl-actions-inline {
    gap: 0.4rem;
    width: 100%;
  }

  .tgdl-actions-inline .tgdl-mini {
    flex: 1 1 calc(50% - 0.4rem);
    min-height: 38px;
    padding: 0.45rem 0.6rem;
    text-align: center;
  }

  .tgdl-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
  }

  .tgdl-profile-actions .tgdl-mini {
    min-height: 38px;
    padding: 0.45rem 0.5rem;
    text-align: center;
  }

  .tgdl-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem;
  }

  .tgdl-profile-toolbar {
    padding: 0.65rem;
  }
}

/* Small Phones (< 440px) */
@media (max-width: 440px) {
  .tgdl-title {
    font-size: 1.18rem;
  }

  .tgdl-sub {
    font-size: 0.84rem;
  }

  .tgdl-action-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .tgdl-paste-btn,
  .tgdl-fetch-btn,
  .tgdl-clear-btn {
    min-height: 46px;
    font-size: 0.86rem;
    padding: 0.6rem 0.75rem;
  }

  .tgdl-live-metrics {
    gap: 0.4rem;
  }

  .tgdl-live-metric {
    min-height: 3.8rem;
    padding: 0.55rem 0.35rem;
  }

  .tgdl-live-val {
    font-size: 0.95rem;
  }

  .tgdl-preview-wrap {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}
