/* DJI-style software download center */
.dl-page { background: #f5f5f7; color: #1a1a1a; min-height: 100vh; }
.dl-bar {
  background: #111;
  color: #fff;
  height: 48px;
  display: flex;
  align-items: center;
}
.dl-bar-inner {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
}
.dl-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 80px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dl-side { position: sticky; top: 92px; }
.dl-search {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #ececee;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  outline: none;
}
.dl-search::placeholder { color: #9a9a9a; }
.dl-nav { margin-top: 18px; padding-top: 8px; border-top: 1px solid #e6e6e8; }
.dl-nav-label {
  margin: 18px 14px 8px;
  font-size: 12px;
  color: #999;
  letter-spacing: .04em;
}
.dl-nav-btn,
.dl-series-toggle,
.dl-prod {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 20px;
  text-decoration: none;
}
.dl-nav-btn:hover,
.dl-series-toggle:hover,
.dl-prod:hover { background: #ececee; }
.dl-nav-btn.is-active,
.dl-prod.is-active { background: #e4e4e6; font-weight: 600; }
.dl-series { margin: 6px 0; }
.dl-series-toggle { justify-content: space-between; font-size: 14px; color: #222; }
.dl-series-toggle .arrow { color: #888; font-size: 12px; transition: transform .2s; }
.dl-series.is-open .arrow { transform: rotate(180deg); }
.dl-series-list { display: none; padding: 4px 0 8px; }
.dl-series.is-open .dl-series-list { display: block; }
.dl-prod { padding-left: 22px; color: #555; }
.dl-main { min-width: 0; }
.dl-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 4px 22px;
}
.dl-head img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
}
.dl-head h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.dl-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e4e4e6;
  margin-bottom: 18px;
}
.dl-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 12px 0;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  position: relative;
}
.dl-tab.is-active { color: #111; font-weight: 600; }
.dl-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #111;
}
.dl-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.dl-app {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
}
.dl-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #ececee;
  padding: 12px 8px;
  box-sizing: border-box;
}
.dl-app h2 { margin: 0; font-size: 22px; font-weight: 700; }
.dl-app .tag { margin: 4px 0 8px; font-size: 13px; color: #888; }
.dl-app .desc { margin: 0; font-size: 14px; line-height: 1.7; color: #444; }
.dl-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  background: #e8f4ff;
  color: #1a6fb5;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
.dl-os {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #ececec;
  margin-top: 10px;
}
.dl-os button {
  appearance: none;
  border: 0;
  background: none;
  padding: 12px 0;
  font-size: 15px;
  color: #777;
  cursor: pointer;
  position: relative;
}
.dl-os button.is-active { color: #111; font-weight: 600; }
.dl-os button.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #111;
}
.dl-release {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-top: 18px;
}
.dl-release h3 { margin: 0 0 8px; font-size: 16px; }
.dl-release p { margin: 0 0 8px; font-size: 14px; color: #555; line-height: 1.7; }
.dl-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #111;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.dl-btn:hover { background: #333; }
.dl-btn.is-disabled,
.dl-btn[aria-disabled="true"] { background: #cfcfd2; cursor: not-allowed; }
.dl-empty { color: #777; font-size: 14px; line-height: 1.7; padding: 12px 0; }
.dl-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f2;
}
.dl-file:last-child { border-bottom: 0; }
.dl-file .name { font-size: 16px; font-weight: 600; }
.dl-file .meta { font-size: 13px; color: #888; margin-top: 4px; }
.dl-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dl-video { min-width: 0; }
.dl-video-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.dl-video-media img,
.dl-video-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-video-media video { display: none; background: #000; object-fit: contain; }
.dl-video-media.is-playing img,
.dl-video-media.is-playing .play { display: none; }
.dl-video-media.is-playing video { display: block; }
.dl-video-media .play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
}
.dl-video-media .play::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #111;
}
.dl-video h3 { margin: 12px 0 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
@media (max-width: 980px) {
  .dl-shell { grid-template-columns: 1fr; width: min(100% - 32px, 1440px); }
  .dl-side { position: static; }
  .dl-head h1 { font-size: 24px; }
  .dl-videos { grid-template-columns: 1fr; }
  .dl-release { flex-direction: column; }
}
@media (max-width: 640px) {
  .dl-app { grid-template-columns: 1fr; }
}

.dl-videos.is-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-video-meta { margin: 6px 0 0; font-size: 13px; color: #888; }
@media (max-width: 980px) {
  .dl-videos.is-all { grid-template-columns: 1fr; }
}
