/* dy-s.pics — 竖屏视频流播放器官网 · 移动端优先 */
:root {
  --bg: #0a0a10;
  --bg-2: #111118;
  --bg-3: #18181f;
  --bg-card: #1e1e28;
  --line: rgba(255, 255, 255, 0.06);
  --line-hot: rgba(255, 45, 85, 0.45);
  --text: #f0f0f5;
  --text-soft: #9a9aad;
  --text-dim: #5c5c6e;
  --hot: #ff2d55;
  --hot-deep: #d91a42;
  --cyan: #00f2ea;
  --magenta: #ff0050;
  --gold: #ffb800;
  --grad-hot: linear-gradient(135deg, #ff2d55, #ff0050);
  --grad-glitch: linear-gradient(90deg, var(--cyan), #fff, var(--magenta));
  --header-h: 50px;
  --fixed-h: 0px;
  --max: 1060px;
  --radius: 12px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.82;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

body.has-fixed-dl { padding-top: var(--fixed-h); }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
  radial-gradient(ellipse 60% 40% at 80% 0%, rgba(255, 45, 85, 0.07), transparent),
  radial-gradient(ellipse 50% 30% at 10% 100%, rgba(0, 242, 234, 0.04), transparent);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.vp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(10, 10, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, border-color 0.25s;
}

.vp-header.is-scrolled {
  background: rgba(10, 10, 16, 0.96);
  border-color: var(--line-hot);
}

.vp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 10px;
}

.vp-logo img { height: 28px; width: auto; }

.vp-nav {
  display: none;
  gap: 4px;
}

.vp-nav a {
  color: var(--text-soft);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.vp-nav a:hover,
.vp-nav a.is-on {
  color: var(--text);
  background: rgba(255, 45, 85, 0.12);
}

.vp-btn-dl {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--grad-hot);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.vp-btn-dl:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 45, 85, 0.45);
}

.vp-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.vp-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.vp-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vp-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.vp-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vp-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 195;
  background: rgba(10, 10, 16, 0.97);
  backdrop-filter: blur(20px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.vp-drawer.is-open { transform: translateX(0); }

.vp-drawer a {
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--line);
}

.vp-drawer a:hover { background: rgba(255, 45, 85, 0.1); color: var(--hot); }

/* ===== Fixed download bar ===== */
.vp-fixed-dl {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(10, 10, 16, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-hot);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.28s, opacity 0.28s;
  pointer-events: none;
  padding: 8px 0;
}

.vp-fixed-dl.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.vp-fixed-dl.vp-hidden { display: none !important; }
.vp-ad-zone.vp-hidden { display: none !important; }

/* ===== Ads & fixed download bar (unified) ===== */
#ads,
.vp-ad-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 0;
  background: transparent;
  width: 100%;
  max-width: 336px;
  margin: 0 auto;
}

#ads > div,
.vp-ad-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 25%;
  width: 25%;
  box-sizing: border-box;
  padding: 0 4px;
}

#ads figure,
.vp-ad-row figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#ads img,
.vp-ad-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s, box-shadow 0.18s;
  display: block;
  border: 1px solid var(--line);
}

#ads a,
.vp-ad-row a {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  line-height: 0;
}

#ads img:hover,
.vp-ad-row img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 20px rgba(255, 45, 85, 0.25);
}

#ads figcaption,
#ads .caption,
.vp-ad-row figcaption,
.vp-ad-row .caption {
  width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
  color: var(--text-soft);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-fixed-dl-inner {
  padding: 6px 14px;
  display: flex;
  justify-content: center;
}

.vp-fixed-dl-inner .vp-ad-row {
  max-width: 336px;
}

.vp-fixed-dl-inner .vp-ad-row img {
  width: 54px;
  height: 54px;
}

.vp-fixed-dl-inner .vp-ad-row .caption {
  font-size: 9px;
  margin-top: 3px;
}

/* ===== Ads zone wrapper ===== */
.vp-ad-zone {
  padding: 14px 0 6px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.vp-ad-zone-head {
  text-align: center;
  margin-bottom: 10px;
}

.vp-ad-zone-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.vp-ad-zone-head p {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* SEO text blocks */
.vp-text-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 16px;
}

.vp-text-block h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 600;
}

.vp-text-block p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.85;
}

.vp-text-block p:last-child { margin-bottom: 0; }

.vp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.vp-gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.vp-gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.vp-gallery-item figcaption {
  padding: 10px 12px;
}

.vp-gallery-item figcaption strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}

.vp-gallery-item figcaption span {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  display: block;
}

/* ===== Hero ===== */
.vp-hero {
  padding: calc(var(--header-h) + 20px) 0 32px;
  position: relative;
  overflow: hidden;
}

.vp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.vp-hero-text h1 {
  font-size: clamp(22px, 5.5vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.vp-glitch {
  position: relative;
  display: inline;
  color: #fff;
}

.vp-glitch::before,
.vp-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.vp-glitch::before {
  color: var(--cyan);
  transform: translate(-1.5px, 0);
  clip-path: inset(0 0 55% 0);
}

.vp-glitch::after {
  color: var(--magenta);
  transform: translate(1.5px, 0);
  clip-path: inset(45% 0 0 0);
}

.vp-hero-lead {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 16px;
}

.vp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.vp-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-soft);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.vp-tag.is-hot {
  color: #fff;
  background: var(--hot);
  border-color: var(--hot);
}

.vp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: var(--grad-hot);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.vp-btn-primary:hover {
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255, 45, 85, 0.4);
}

.vp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  color: var(--text);
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-3);
  transition: border-color 0.2s;
}

.vp-btn-ghost:hover {
  border-color: var(--hot);
  color: var(--hot);
}

.vp-phone {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
}

.vp-phone-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #2a2a35;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 0 30px rgba(255, 45, 85, 0.05);
}

.vp-phone-frame img { width: 100%; }

.vp-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #2a2a35;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.vp-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.vp-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 45, 85, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.5);
}

.vp-play-btn svg { margin-left: 3px; }

.vp-progress {
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.vp-progress-bar {
  height: 100%;
  width: 38%;
  background: var(--grad-hot);
  border-radius: 2px;
  animation: vp-progress 4s ease-in-out infinite;
}

@keyframes vp-progress {
  0%, 100% { width: 25%; }
  50% { width: 72%; }
}

/* ===== Category chips ===== */
.vp-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vp-chips::-webkit-scrollbar { display: none; }

.vp-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-soft);
  background: var(--bg-3);
  border-radius: 18px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s;
}

.vp-chip.is-active {
  color: #fff;
  background: var(--hot);
  border-color: var(--hot);
}

/* ===== Sections ===== */
.vp-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.vp-section-head {
  margin-bottom: 20px;
}

.vp-section-head h2 {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  margin-bottom: 6px;
}

.vp-section-head h2 em {
  font-style: normal;
  color: var(--hot);
}

.vp-section-head p {
  font-size: 13px;
  color: var(--text-soft);
}

.vp-prose {
  font-size: 14px;
  color: var(--text-soft);
}

.vp-prose p { margin-bottom: 14px; }

.vp-prose h3 {
  font-size: 16px;
  color: var(--text);
  margin: 22px 0 10px;
  font-weight: 600;
}

.vp-prose ul, .vp-prose ol {
  margin: 0 0 14px 18px;
}

.vp-prose li { margin-bottom: 6px; }

.vp-prose a { color: var(--cyan); }

/* 3:7 text:image layout */
.vp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.vp-split-text { order: 2; }
.vp-split-img { order: 1; }

.vp-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  max-width: 220px;
  margin: 0 auto;
}

.vp-shot figcaption {
  padding: 8px 10px;
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-card);
  text-align: center;
}

/* Feature grid */
.vp-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vp-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.vp-feat-card:hover {
  border-color: var(--line-hot);
  transform: translateY(-2px);
}

.vp-feat-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.vp-feat-card p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.65;
}

.vp-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 45, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Thumb strip */
.vp-thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vp-thumb {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.vp-thumb img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }

.vp-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  font-size: 9px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* FAQ */
.vp-faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.vp-faq summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vp-faq summary::-webkit-details-marker { display: none; }

.vp-faq summary::after {
  content: "+";
  color: var(--hot);
  font-size: 18px;
  font-weight: 400;
}

.vp-faq details[open] summary::after { content: "−"; }

.vp-faq details p {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-soft);
}

/* CTA band */
.vp-cta {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line-hot);
  border-radius: var(--radius);
  margin: 20px 0;
}

.vp-cta h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.vp-cta p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

/* Footer */
.vp-footer {
  padding: 28px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.vp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.vp-footer h3 {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
}

.vp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.vp-footer-links a {
  font-size: 12px;
  color: var(--text-soft);
}

.vp-footer-copy {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Mobile bottom nav */
.vp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  display: flex;
  background: rgba(14, 14, 20, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 4px 0 env(safe-area-inset-bottom, 4px);
}

.vp-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  font-size: 10px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.vp-bottom-nav a.is-on { color: var(--hot); }

.vp-bottom-nav svg { width: 20px; height: 20px; }

/* Sub pages */
.vp-page-hero {
  padding: calc(var(--header-h) + 24px) 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.vp-page-hero h1 {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
}

.vp-page-hero p {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
}

.vp-legal {
  padding: 28px 0 100px;
}

.vp-legal h2 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--text);
}

.vp-legal h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  color: var(--text);
}

.vp-legal p, .vp-legal li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.vp-legal ul, .vp-legal ol { margin-left: 20px; }

.vp-breadcrumb {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.vp-breadcrumb a { color: var(--text-soft); }

/* Error pages */
.vp-error {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 100px;
}

.vp-error-code {
  font-size: clamp(60px, 18vw, 100px);
  font-weight: 900;
  background: var(--grad-glitch);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.vp-error h1 {
  font-size: 20px;
  margin: 12px 0 8px;
}

.vp-error p {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 400px;
  margin-bottom: 20px;
}

/* Desktop */
@media (min-width: 768px) {
  .vp-nav { display: flex; }
  .vp-btn-dl { display: inline-flex; }
  .vp-menu-btn { display: none; }
  .vp-drawer { display: none; }
  .vp-bottom-nav { display: none; }
  .vp-footer { padding-bottom: 32px; }
  .vp-legal { padding-bottom: 40px; }

  .vp-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .vp-split {
    grid-template-columns: 7fr 3fr;
    gap: 28px;
  }

  .vp-split-text { order: 1; }
  .vp-split-img { order: 2; }

  .vp-shot { max-width: 100%; }

  .vp-feat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .vp-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #ads,
  .vp-ad-row { max-width: 360px; }

  #ads img,
  .vp-ad-row img { width: 65px; height: 65px; }

  .vp-fixed-dl-inner .vp-ad-row { max-width: 360px; }
  .vp-fixed-dl-inner .vp-ad-row img { width: 58px; height: 58px; }

  .vp-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .vp-thumb-strip { grid-template-columns: repeat(4, 1fr); }
}
