body[data-app="ytdlpgui"] {
  --accent: #ffbd3f;
  --accent-2: #ff5757;
  --accent-rgb: 255, 189, 63;
  --accent-2-rgb: 255, 87, 87;
}

.desktop-hero { gap: 34px; }
.desktop-hero h1 { font-size: clamp(44px, 5.8vw, 68px); }
.source-note { margin-top: 15px; color: var(--faint); font-size: 12px; line-height: 1.65; }
.desktop-visual { min-width: 0; }
.desktop-window { position: relative; z-index: 2; width: min(570px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: #f4f6fa; box-shadow: 0 34px 80px rgba(0,0,0,.5); transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); animation: desktop-float 5.5s ease-in-out infinite; }
@keyframes desktop-float { 50% { transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-8px); } }
.window-bar { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; color: #506078; background: #e7ebf2; font-size: 11px; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff6565; }
.window-bar span:nth-child(2) { background: #ffc557; }
.window-bar span:nth-child(3) { background: #50d790; }
.window-bar b { margin-left: auto; font-weight: 750; }
.window-content { padding: 24px; color: #17233a; }
.window-brand { display: flex; align-items: center; gap: 13px; }
.window-brand img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 22px rgba(19,43,85,.18); }
.window-brand strong, .window-brand small { display: block; }
.window-brand strong { font-size: 16px; }
.window-brand small { margin-top: 4px; color: #75839a; }
.url-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 22px; }
.url-row span, .control-row span { overflow: hidden; padding: 11px 13px; border: 1px solid #d8deea; border-radius: 10px; color: #8994a7; background: #fff; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.url-row b, .mock-actions b { display: grid; place-items: center; padding: 0 14px; border-radius: 10px; color: white; background: #31558f; font-size: 11px; }
.preview-row { display: grid; grid-template-columns: 135px 1fr; gap: 15px; margin-top: 16px; padding: 13px; border: 1px solid #dde3ec; border-radius: 13px; background: #fff; }
.preview-thumb { min-height: 76px; display: grid; place-items: center; border-radius: 8px; color: white; background: linear-gradient(135deg, #31558f, #111b33); font-size: 24px; }
.preview-lines { display: grid; align-content: center; gap: 8px; }
.preview-lines i { height: 7px; border-radius: 999px; background: #e5e9ef; }
.preview-lines i:nth-child(1) { width: 86%; background: #aebbd0; }
.preview-lines i:nth-child(2) { width: 60%; }
.preview-lines i:nth-child(3) { width: 72%; }
.preview-lines i:nth-child(4) { width: 48%; }
.control-row, .mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.progress-line { height: 8px; margin-top: 17px; overflow: hidden; border-radius: 999px; background: #dfe5ee; }
.progress-line i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #31558f, #ffbd3f); }
.mock-actions span { display: grid; place-items: center; min-height: 39px; border: 1px solid #d8deea; border-radius: 10px; color: #596981; background: white; font-size: 11px; }
.desktop-tag { position: absolute; z-index: 3; padding: 9px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; color: #fff4d8; background: rgba(9,22,46,.9); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; backdrop-filter: blur(12px); }
.desktop-tag.tag-one { top: 16%; right: -1%; transform: rotate(4deg); }
.desktop-tag.tag-two { left: -1%; bottom: 17%; transform: rotate(-3deg); }

.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.workflow-grid article { position: relative; overflow: hidden; min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(13,39,72,.78), rgba(7,22,43,.78)); }
.workflow-grid article::after { content: ""; position: absolute; right: -45px; bottom: -65px; width: 140px; aspect-ratio: 1; border: 1px solid rgba(var(--accent-rgb),.14); border-radius: 50%; }
.workflow-grid b { color: var(--accent); font-size: 13px; letter-spacing: .13em; }
.workflow-grid h3 { margin-top: 32px; font-size: 18px; }
.workflow-grid p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.workflow-grid code { color: #ffe0a0; font-family: ui-monospace, "Cascadia Code", monospace; }
.desktop-download { align-items: stretch; }
.hash { margin-top: 20px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(0,0,0,.16); }
.hash span { display: block; margin-bottom: 6px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.hash code { display: block; max-width: 650px; overflow-wrap: anywhere; color: #bac8db; font-size: 11px; line-height: 1.65; }
.desktop-install-helper { display: grid; grid-template-columns: minmax(180px,.52fr) 1fr; align-items: center; gap: 28px; margin-top: 22px; padding: 28px clamp(20px,4vw,46px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(130deg, rgba(255,189,63,.07), rgba(49,85,143,.13)); }
.desktop-install-helper img { justify-self: center; width: min(100%, 260px); max-height: 235px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.38)); }
.desktop-install-helper .kicker { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.desktop-install-helper h3 { margin-top: 8px; font-size: clamp(22px,3vw,32px); }
.desktop-install-helper p { margin-top: 12px; color: var(--muted); line-height: 1.8; }
.desktop-install-helper strong { color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .workflow-grid { grid-template-columns: repeat(2,1fr); }
  .desktop-visual { min-height: 500px; }
}

@media (max-width: 640px) {
  .desktop-hero { padding-top: 42px; }
  .desktop-hero .hero-actions .button { padding-inline: 10px; font-size: 13px; white-space: nowrap; }
  .desktop-visual { min-height: 405px; }
  .desktop-window { transform: none; animation-name: desktop-mobile-float; }
  @keyframes desktop-mobile-float { 50% { transform: translateY(-6px); } }
  .window-content { padding: 16px; }
  .window-brand img { width: 48px; height: 48px; }
  .preview-row { grid-template-columns: 92px 1fr; }
  .preview-thumb { min-height: 64px; }
  .desktop-tag.tag-one { top: 10%; right: 0; }
  .desktop-tag.tag-two { left: 0; bottom: 12%; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: auto; }
  .workflow-grid h3 { margin-top: 18px; }
  .desktop-install-helper { grid-template-columns: 1fr; text-align: center; }
  .desktop-install-helper img { max-height: 210px; }
}

@media (max-width: 380px) {
  .window-bar { height: 38px; }
  .window-content { padding: 12px; }
  .window-brand strong { font-size: 13px; }
  .url-row { grid-template-columns: 1fr; }
  .url-row b { min-height: 36px; }
  .preview-row { grid-template-columns: 1fr; }
  .preview-thumb { display: none; }
  .control-row { grid-template-columns: 1fr; }
}
