/* =========================================================
   短视频运营主题 · duanshiping
   Dark short-video style for Z-BlogPHP
   ========================================================= */
:root {
  --bg: #07070c;
  --bg-soft: #0b0b12;
  --panel: #11111a;
  --panel-2: #161623;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f6fb;
  --muted: #9aa0b5;
  --dim: #6f7488;
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --violet: #7c5cff;
  --orange: #ff8a3d;
  --green: #20d471;
  --grad: linear-gradient(120deg, #25f4ee 0%, #7c5cff 48%, #fe2c55 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --shadow: 0 28px 70px rgba(0, 0, 0, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.dsp-body {
  margin: 0;
  background:
    radial-gradient(1000px 560px at 88% -12%, rgba(37, 244, 238, .075), transparent 58%),
    radial-gradient(900px 540px at 4% -2%, rgba(254, 44, 85, .075), transparent 56%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
svg { display: block; }

.dsp-container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.dsp-body ::selection { background: rgba(37, 244, 238, .28); color: #fff; }

/* ---------- header ---------- */
.dsp-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 7, 12, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.dsp-header.is-scrolled {
  background: rgba(7, 7, 12, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}
.dsp-header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.dsp-brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.dsp-brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #08080d;
  font-size: 20px; font-weight: 900;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .35);
}
.dsp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.dsp-brand-text b { font-size: 16px; letter-spacing: .02em; }
.dsp-brand-text small {
  margin-top: 3px;
  font-size: 8.5px; letter-spacing: .2em;
  color: var(--dim); font-weight: 700;
}
.dsp-nav { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
.dsp-nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.dsp-nav a:hover, .dsp-nav a.is-active { color: var(--text); }
.dsp-nav a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -9px;
  height: 2px; border-radius: 2px;
  background: var(--grad);
}
.dsp-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dsp-search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 6px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  transition: border-color .2s, background .2s;
}
.dsp-search:focus-within { border-color: rgba(37, 244, 238, .45); background: rgba(255, 255, 255, .06); }
.dsp-search svg { width: 15px; height: 15px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; }
.dsp-search input {
  width: 132px; border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 13px;
}
.dsp-search input::placeholder { color: var(--dim); }
.dsp-search button {
  border: 0; cursor: pointer;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 244, 238, .12);
  color: var(--cyan);
  font-size: 12px; font-weight: 700;
}
.dsp-icon-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.dsp-icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dsp-menu-btn span {
  display: block; width: 16px; height: 2px;
  margin: 3px auto; border-radius: 2px;
  background: currentColor; transition: transform .2s, opacity .2s;
}
.dsp-header.nav-open .dsp-menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.dsp-header.nav-open .dsp-menu-btn span:nth-child(2) { opacity: 0; }
.dsp-header.nav-open .dsp-menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- buttons / common ---------- */
.dsp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.dsp-btn:hover { transform: translateY(-2px); }
.dsp-btn-primary {
  background: var(--grad);
  color: #07070c;
  box-shadow: 0 14px 34px rgba(124, 92, 255, .3);
}
.dsp-btn-primary span { font-size: 17px; line-height: 1; }
.dsp-btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.dsp-btn-ghost:hover { border-color: rgba(37, 244, 238, .45); }
.dsp-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .18em;
  color: var(--cyan);
  text-transform: uppercase;
}
.dsp-eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 244, 238, .14);
}
.dsp-kicker {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: .18em;
  color: var(--dim); text-transform: uppercase;
}
.dsp-section { padding: 46px 0 20px; }
.dsp-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 26px; margin-bottom: 24px;
}
.dsp-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2; letter-spacing: -.01em;
}
.dsp-section-head > p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13.5px; }
.dsp-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(37, 244, 238, .1);
  border: 1px solid rgba(37, 244, 238, .28);
  color: var(--cyan);
  font-size: 11px; font-weight: 700;
}

/* ---------- hero ---------- */
.dsp-hero { position: relative; overflow: hidden; padding: 74px 0 38px; }
.dsp-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 15%, transparent 72%);
}
.dsp-hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 560px; height: 560px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(124, 92, 255, .2), transparent 65%);
  filter: blur(10px);
}
.dsp-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 40px; align-items: center;
}
.dsp-hero-copy h1 {
  margin: 20px 0 20px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.07;
  letter-spacing: -.035em;
  font-weight: 900;
}
.dsp-hero-copy h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dsp-hero-sub {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}
.dsp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dsp-hero-stats {
  display: flex; gap: 34px;
  margin-top: 38px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.dsp-hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.dsp-hero-stats b { font-size: 25px; line-height: 1.1; letter-spacing: -.02em; }
.dsp-hero-stats span { font-size: 11.5px; color: var(--dim); letter-spacing: .04em; }

/* phone mockup */
.dsp-hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.dsp-phone {
  position: relative; z-index: 2;
  width: 286px; transform: rotate(-5deg);
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #262634, #0d0d15);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4) inset;
  animation: dspFloat 7s ease-in-out infinite;
}
@keyframes dspFloat {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}
.dsp-phone-top {
  display: flex; justify-content: center; gap: 16px;
  padding: 9px 0 11px;
  font-size: 11px; color: var(--dim);
}
.dsp-phone-top .on { color: #fff; font-weight: 700; position: relative; }
.dsp-phone-top .on::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  width: 16px; height: 2px; margin-left: -8px; border-radius: 2px;
  background: var(--grad);
}
.dsp-phone-video {
  position: relative; overflow: hidden;
  height: 424px; border-radius: 34px;
  background:
    radial-gradient(340px 240px at 62% 18%, rgba(37, 244, 238, .38), transparent 60%),
    radial-gradient(320px 260px at 18% 78%, rgba(254, 44, 85, .42), transparent 62%),
    linear-gradient(160deg, #191c3a 0%, #24153a 48%, #3a1029 100%);
}
.dsp-video-glow {
  position: absolute; width: 220px; height: 220px;
  left: 30px; top: 100px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); filter: blur(46px);
}
.dsp-video-play {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .4);
}
.dsp-video-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.dsp-video-caption {
  position: absolute; left: 15px; right: 52px; bottom: 52px;
  display: flex; flex-direction: column; gap: 4px;
}
.dsp-video-caption b { font-size: 15px; }
.dsp-video-caption small { font-size: 11px; color: rgba(255, 255, 255, .7); }
.dsp-video-actions {
  position: absolute; right: 11px; bottom: 64px;
  display: flex; flex-direction: column; gap: 15px;
  text-align: center; font-size: 18px;
}
.dsp-video-actions span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dsp-video-actions i { font-style: normal; font-size: 20px; line-height: 1; }
.dsp-video-actions small { font-size: 9px; color: rgba(255, 255, 255, .7); }
.dsp-video-progress { position: absolute; left: 15px; right: 52px; bottom: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.dsp-video-progress i { display: block; width: 58%; height: 100%; background: var(--grad); }
.dsp-phone-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px 7px;
  font-size: 9.5px; color: var(--dim);
}
.dsp-phone-bottom .add {
  width: 32px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--grad); color: #08080d; font-weight: 900; font-size: 14px;
}
.dsp-float-card {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(18, 18, 28, .86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}
.dsp-float-card b { font-size: 17px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dsp-float-card span { font-size: 10px; color: var(--muted); }
.dsp-fc1 { right: 0; top: 66px; animation: dspFloat 6s ease-in-out infinite .6s; }
.dsp-fc2 { left: 0; bottom: 92px; animation: dspFloat 7s ease-in-out infinite 1.1s; }
.dsp-hero-chip {
  position: absolute; z-index: 1;
  padding: 7px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.dsp-chip1 { left: 6px; top: 78px; }
.dsp-chip2 { left: 18px; top: 124px; }
.dsp-chip3 { right: 8px; bottom: 160px; }

/* ---------- platforms ---------- */
.dsp-platform-section { padding-top: 34px; }
.dsp-platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dsp-platform-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 13px;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dsp-platform-card::after {
  content: ""; position: absolute; width: 130px; height: 130px;
  right: -60px; top: -70px; border-radius: 50%;
  background: var(--p-glow, rgba(37, 244, 238, .18));
  filter: blur(26px);
}
.dsp-platform-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 38px rgba(0, 0, 0, .3); }
.dsp-platform-icon {
  position: relative; z-index: 1;
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 18px; font-weight: 900; color: #07070c;
  background: var(--p-grad, linear-gradient(135deg, #25f4ee, #7c5cff));
  box-shadow: 0 10px 24px var(--p-glow, rgba(37, 244, 238, .25));
}
.dsp-platform-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dsp-platform-copy b { font-size: 15px; }
.dsp-platform-copy small { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsp-platform-arrow { margin-left: auto; color: var(--dim); font-size: 15px; transition: color .2s, transform .2s; }
.dsp-platform-card:hover .dsp-platform-arrow { color: var(--cyan); transform: translate(2px, -2px); }
.p-douyin { --p-grad: linear-gradient(135deg, #25f4ee, #fe2c55); --p-glow: rgba(254, 44, 85, .25); }
.p-kuaishou { --p-grad: linear-gradient(135deg, #ffb03a, #ff6b35); --p-glow: rgba(255, 138, 61, .25); }
.p-shipinhao { --p-grad: linear-gradient(135deg, #3ee98a, #0fa95b); --p-glow: rgba(32, 212, 113, .25); }
.p-weibo { --p-grad: linear-gradient(135deg, #ff6a3d, #e6162d); --p-glow: rgba(230, 22, 45, .25); }

/* ---------- feed / cards ---------- */
.dsp-feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 28px; align-items: start; }
.dsp-feed-head { margin-bottom: 20px; }
.dsp-feed-count { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.dsp-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dsp-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.dsp-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 22px 46px rgba(0, 0, 0, .35); }
.dsp-cover {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0c14;
}
.dsp-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dsp-card:hover .dsp-cover img { transform: scale(1.05); }
.dsp-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}
.dsp-cover-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 2px; padding: 18px;
  background:
    radial-gradient(260px 180px at 78% 8%, rgba(37, 244, 238, .28), transparent 60%),
    radial-gradient(240px 200px at 12% 92%, rgba(254, 44, 85, .34), transparent 62%),
    linear-gradient(150deg, #1a1d3d, #2a1535 55%, #3a1029);
}
.dsp-cover-fallback::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
}
.dsp-cover-fallback b { position: relative; font-size: 20px; letter-spacing: .02em; }
.dsp-cover-fallback small { position: relative; font-size: 9px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); font-weight: 700; }
.dsp-card:nth-child(4n+2) .dsp-cover-fallback {
  background:
    radial-gradient(260px 180px at 78% 8%, rgba(255, 138, 61, .3), transparent 60%),
    radial-gradient(240px 200px at 12% 92%, rgba(255, 176, 58, .28), transparent 62%),
    linear-gradient(150deg, #241a2e, #2c1a20 55%, #3a2410);
}
.dsp-card:nth-child(4n+3) .dsp-cover-fallback {
  background:
    radial-gradient(260px 180px at 78% 8%, rgba(32, 212, 113, .28), transparent 60%),
    radial-gradient(240px 200px at 12% 92%, rgba(37, 244, 238, .22), transparent 62%),
    linear-gradient(150deg, #102a27, #12262c 55%, #0d1f22);
}
.dsp-card:nth-child(4n+4) .dsp-cover-fallback {
  background:
    radial-gradient(260px 180px at 78% 8%, rgba(230, 22, 45, .34), transparent 60%),
    radial-gradient(240px 200px at 12% 92%, rgba(255, 106, 61, .26), transparent 62%),
    linear-gradient(150deg, #2b1420, #33161b 55%, #3a1a12);
}
.dsp-cover-play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(7, 7, 12, .46);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.85);
  transition: opacity .22s, transform .22s;
}
.dsp-cover-play svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.dsp-card:hover .dsp-cover-play { opacity: 1; transform: scale(1); }
.dsp-cover-time {
  position: absolute; z-index: 1; right: 10px; bottom: 9px;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, .65);
  font-size: 10px; color: rgba(255, 255, 255, .85);
}
.dsp-top-badge {
  position: absolute; z-index: 1; left: 10px; top: 10px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--grad); color: #07070c;
  font-size: 10px; font-weight: 800;
}
.dsp-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 15px; }
.dsp-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--dim); }
.dsp-card-cat { color: var(--cyan); font-weight: 700; }
.dsp-card h3 { margin: 8px 0 7px; font-size: 15.5px; line-height: 1.45; letter-spacing: -.01em; }
.dsp-card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dsp-card h3 a:hover { color: var(--cyan); }
.dsp-card-intro {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0 0 12px;
  color: var(--muted); font-size: 12.5px; line-height: 1.65;
  flex: 1;
}
.dsp-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 11px; border-top: 1px solid var(--line);
  font-size: 10.5px; color: var(--dim);
}

/* ---------- page hero / empty / pagebar ---------- */
.dsp-page-hero { position: relative; padding: 50px 0 26px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 80% 0%, rgba(124, 92, 255, .12), transparent 60%); }
.dsp-page-hero h1 { margin: 14px 0 10px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; letter-spacing: -.02em; }
.dsp-page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.dsp-page-search { display: flex; gap: 8px; margin-top: 20px; max-width: 460px; }
.dsp-page-search input {
  flex: 1; height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); outline: none;
}
.dsp-page-search button {
  height: 44px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--grad); color: #07070c; font-weight: 800; cursor: pointer;
}
.dsp-empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, .015); }
.dsp-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: rgba(37, 244, 238, .1); color: var(--cyan); font-size: 20px; }
.dsp-empty h3 { margin: 0 0 7px; font-size: 19px; }
.dsp-empty p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.dsp-pagebar { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.dsp-pagebar a, .dsp-pagebar span.page, .dsp-pagebar .now-page {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font-size: 12.5px;
}
.dsp-pagebar a:hover { border-color: rgba(37, 244, 238, .45); color: var(--text); }
.dsp-pagebar .now-page { background: var(--grad); border-color: transparent; color: #07070c; font-weight: 800; }

/* ---------- sidebar ---------- */
.dsp-side { position: sticky; top: 94px; }
.dsp-side-card {
  margin-bottom: 16px; padding: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.dsp-side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dsp-side-head h3, .dsp-side-card > h3 { margin: 0; font-size: 15px; letter-spacing: -.01em; }
.dsp-side-head span { font-size: 9px; letter-spacing: .16em; color: var(--dim); font-weight: 800; }
.dsp-hot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.dsp-hot-list a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dsp-hot-list li:last-child a { border-bottom: 0; }
.dsp-hot-list em {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 7px;
  background: rgba(255, 255, 255, .055); color: var(--dim);
  font-style: normal; font-size: 11px; font-weight: 800;
}
.dsp-hot-list em.is-top { background: var(--grad); color: #07070c; }
.dsp-hot-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dsp-hot-copy b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; font-weight: 600; }
.dsp-hot-copy small { font-size: 10px; color: var(--dim); }
.dsp-hot-list a:hover b { color: var(--cyan); }
.dsp-side-empty { margin: 0; color: var(--dim); font-size: 12px; }
.dsp-side-platforms { display: flex; flex-direction: column; gap: 2px; }
.dsp-side-platforms a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dsp-side-platforms a:last-child { border-bottom: 0; }
.dsp-side-platforms a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.dsp-side-platforms b { font-size: 12.5px; }
.dsp-side-platforms small { font-size: 10px; color: var(--dim); }
.dsp-side-platforms i { margin-left: auto; color: var(--dim); font-style: normal; font-size: 13px; }
.dsp-mini-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 9px;
  font-size: 12px; font-weight: 900; color: #07070c;
  background: var(--p-grad, var(--grad));
}
.dsp-roadmap { display: flex; flex-direction: column; gap: 12px; }
.dsp-step { display: flex; gap: 11px; }
.dsp-step > span {
  flex-shrink: 0; width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(37, 244, 238, .1); color: var(--cyan);
  font-size: 9.5px; font-weight: 800;
}
.dsp-step b { display: block; font-size: 12.5px; }
.dsp-step small { font-size: 10.5px; color: var(--dim); }
.dsp-side-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(220px 160px at 90% 0%, rgba(37, 244, 238, .16), transparent 60%),
    radial-gradient(220px 180px at 0% 100%, rgba(254, 44, 85, .18), transparent 60%),
    var(--panel-2);
}
.dsp-side-cta h3 { margin: 10px 0 8px; font-size: 19px; line-height: 1.35; }
.dsp-side-cta p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.dsp-side-cta-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--cyan); }


/* roadmap strip under feed */
.dsp-roadmap-strip {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 180px at 92% 0%, rgba(37, 244, 238, .1), transparent 60%),
    radial-gradient(300px 200px at 0% 100%, rgba(124, 92, 255, .12), transparent 60%),
    var(--panel);
}
.dsp-roadmap-strip-head h3 { margin: 7px 0 4px; font-size: 20px; letter-spacing: -.01em; }
.dsp-roadmap-strip-head p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.dsp-roadmap-strip-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dsp-roadmap-strip-steps > div {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}
.dsp-roadmap-strip-steps span {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-bottom: 8px;
  border-radius: 7px;
  background: rgba(37, 244, 238, .1);
  color: var(--cyan); font-size: 9.5px; font-weight: 800;
}
.dsp-roadmap-strip-steps b { display: block; font-size: 12.5px; }
.dsp-roadmap-strip-steps small { display: block; margin-top: 2px; color: var(--dim); font-size: 10.5px; line-height: 1.5; }
@media (max-width: 680px) {
  .dsp-roadmap-strip { padding: 18px; }
  .dsp-roadmap-strip-steps { grid-template-columns: 1fr 1fr; }
}

/* ---------- article ---------- */
.dsp-article-page { padding: 34px 0 60px; }
.dsp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 30px; align-items: start; }
.dsp-article-main { min-width: 0; }
.dsp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 11.5px; color: var(--dim); }
.dsp-breadcrumb a:hover { color: var(--cyan); }
.dsp-article-head h1 { margin: 13px 0 16px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; letter-spacing: -.025em; }
.dsp-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; color: var(--dim); font-size: 11.5px; }
.dsp-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(37, 244, 238, .1); border: 1px solid rgba(37, 244, 238, .25);
}
.dsp-avatar svg { width: 15px; height: 15px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.dsp-article-cover { margin: 22px 0 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.dsp-article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.dsp-content {
  margin-top: 24px;
  color: #d6d8e4;
  font-size: 16px;
  line-height: 1.95;
  word-break: break-word;
}
.dsp-content > *:first-child { margin-top: 0; }
.dsp-content p { margin: 0 0 1.15em; }
.dsp-content h2, .dsp-content h3, .dsp-content h4 { color: #fff; line-height: 1.4; letter-spacing: -.01em; }
.dsp-content h2 {
  position: relative;
  margin: 1.9em 0 .8em;
  padding-left: 14px;
  font-size: 24px;
}
.dsp-content h2::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 4px; height: 1.05em; border-radius: 4px;
  background: var(--grad);
}
.dsp-content h3 { margin: 1.5em 0 .6em; font-size: 19px; }
.dsp-content a { color: var(--cyan); border-bottom: 1px solid rgba(37, 244, 238, .3); }
.dsp-content a:hover { border-bottom-color: var(--cyan); }
.dsp-content img { max-width: 100%; height: auto; margin: 18px auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.dsp-content blockquote {
  margin: 22px 0; padding: 16px 18px;
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: rgba(124, 92, 255, .08);
  color: #c9cbe0;
}
.dsp-content ul, .dsp-content ol { padding-left: 1.4em; margin: 0 0 1.15em; }
.dsp-content li { margin: .4em 0; }
.dsp-content code { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .08); color: #ffd8e2; font-size: .9em; }
.dsp-content pre { padding: 16px; border-radius: 12px; background: #0b0b12; border: 1px solid var(--line); overflow: auto; }
.dsp-content pre code { padding: 0; background: transparent; color: #dfe2f2; }
.dsp-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.dsp-content th, .dsp-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.dsp-content th { background: rgba(255, 255, 255, .04); color: #fff; }
.dsp-content hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.dsp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 6px; }
.dsp-tags > span { font-size: 11px; color: var(--dim); margin-right: 3px; }
.dsp-tags a {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
  color: var(--muted); font-size: 11.5px;
}
.dsp-tags a:hover { color: var(--cyan); border-color: rgba(37, 244, 238, .35); }
.dsp-adjacent:empty { display: none; }
.dsp-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.dsp-adjacent-item { padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: flex; flex-direction: column; gap: 4px; }
.dsp-adjacent-item small { font-size: 10px; color: var(--dim); }
.dsp-adjacent-item b { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dsp-adjacent-item:hover { border-color: var(--line-strong); }
.dsp-adjacent-item.next { text-align: right; }

/* comments */
.dsp-comments { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.dsp-comments .msg { list-style: none; margin: 0 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.dsp-comments .msg .msg { margin: 12px 0 0; background: rgba(255, 255, 255, .025); }
.dsp-comments .msgname { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.dsp-comments .msgname .avatar { width: 30px; height: 30px; border-radius: 50%; }
.dsp-comments .commentname a { color: var(--text); font-weight: 600; }
.dsp-comments .msgarticle { margin: 9px 0 0; color: #d6d8e4; font-size: 14px; line-height: 1.8; }
.dsp-comments .msgarticle a { color: var(--cyan); }
.dsp-comments .msghead { border: 0; background: transparent; padding: 0; margin-bottom: 10px; }
.dsp-comments .tbname { font-size: 15px; font-weight: 700; }
.dsp-comments .posttop { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.dsp-comments .post { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.dsp-comments input.text, .dsp-comments textarea.text {
  width: 100%; margin: 5px 0 10px; padding: 10px 13px;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25); color: var(--text); outline: none;
}
.dsp-comments input.text:focus, .dsp-comments textarea.text:focus { border-color: rgba(37, 244, 238, .4); }
.dsp-comments label { font-size: 11px; color: var(--dim); }
.dsp-comments .button, .dsp-comments input[type="submit"] {
  height: 40px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--grad); color: #07070c; font-weight: 800; cursor: pointer;
}
.dsp-comments .postbottom { font-size: 11px; color: var(--dim); }
.dsp-comments .commentpagebar { margin: 12px 0; }

/* ---------- 404 ---------- */
.dsp-404 { padding: 70px 0 80px; text-align: center; }
.dsp-404-code {
  font-size: clamp(90px, 18vw, 180px);
  line-height: 1; font-weight: 900; letter-spacing: -.06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dsp-404 h1 { margin: 8px 0 10px; font-size: 28px; }
.dsp-404 p { max-width: 520px; margin: 0 auto 24px; color: var(--muted); font-size: 14px; }
.dsp-404-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.dsp-404-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; font-size: 12px; color: var(--dim); }
.dsp-404-links a:hover { color: var(--cyan); }

/* ---------- footer ---------- */
.dsp-footer { margin-top: 50px; padding: 46px 0 22px; background: #050509; border-top: 1px solid var(--line); }
.dsp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.35fr; gap: 36px; }
.dsp-footer-brand p { max-width: 360px; margin: 14px 0 16px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.dsp-footer-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.dsp-footer-chips a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.dsp-footer-chips a:hover { color: var(--cyan); border-color: rgba(37, 244, 238, .3); }
.dsp-footer-col { display: flex; flex-direction: column; gap: 9px; }
.dsp-footer-col h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; color: #fff; }
.dsp-footer-col a { color: var(--muted); font-size: 12px; }
.dsp-footer-col a:hover { color: var(--cyan); }
.dsp-footer-note p { margin: 0; color: var(--dim); font-size: 11.5px; line-height: 1.7; }
.dsp-footer-badge { align-self: flex-start; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(37, 244, 238, .08); color: var(--cyan); font-size: 10px; }
.dsp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.dsp-footer-bottom p { margin: 0; }
.dsp-powered a { color: var(--dim); }

/* ---------- back to top ---------- */
.dsp-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(17, 17, 26, .9); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s;
}
.dsp-to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.dsp-to-top svg { width: 17px; height: 17px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dsp-to-top:hover { border-color: rgba(37, 244, 238, .45); }

/* reveal */
.dsp-js .dsp-card, .dsp-js .dsp-platform-card, .dsp-js .dsp-side-card {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, border-color .22s, box-shadow .22s;
}
.dsp-js .dsp-card.is-in, .dsp-js .dsp-platform-card.is-in, .dsp-js .dsp-side-card.is-in {
  opacity: 1; transform: translateY(0);
}
.dsp-js .dsp-card:hover { transform: translateY(-4px); }
.dsp-js .dsp-platform-card:hover { transform: translateY(-4px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dsp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsp-feed-layout, .dsp-article-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .dsp-hero-visual { min-height: 480px; }
  .dsp-phone { width: 262px; }
  .dsp-phone-video { height: 392px; }
  .dsp-fc1 { right: -4px; }
  .dsp-fc2 { left: -6px; }
}

@media (max-width: 980px) {
  .dsp-nav { display: none; }
  .dsp-icon-btn { display: inline-flex; }
  .dsp-header.nav-open .dsp-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 16px; right: 16px; top: 74px;
    padding: 8px; border-radius: 16px;
    background: rgba(15, 15, 24, .98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .dsp-header.nav-open .dsp-nav a { padding: 11px 12px; border-radius: 10px; }
  .dsp-header.nav-open .dsp-nav a:hover { background: rgba(255, 255, 255, .05); }
  .dsp-nav a.is-active::after { display: none; }
  .dsp-search { display: none; }
  .dsp-header.search-open .dsp-search {
    display: flex; position: absolute; left: 16px; right: 16px; top: 74px;
    height: 48px; padding: 0 7px 0 14px;
    background: rgba(15, 15, 24, .98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .dsp-header.search-open .dsp-search input { flex: 1; width: auto; }
  .dsp-hero { padding-top: 48px; }
  .dsp-hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .dsp-hero-copy { text-align: left; }
  .dsp-hero-visual { min-height: 520px; margin-top: 10px; }
  .dsp-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsp-feed-layout, .dsp-article-layout { grid-template-columns: 1fr; }
  .dsp-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .dsp-article-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .dsp-footer-grid { grid-template-columns: 1fr 1fr; }
  .dsp-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .dsp-section-head > p { max-width: 100%; }
}

@media (max-width: 680px) {
  .dsp-container { width: calc(100% - 32px); }
  .dsp-header-inner { height: 66px; gap: 12px; }
  .dsp-brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .dsp-brand-text b { font-size: 14px; }
  .dsp-brand-text small { font-size: 7px; }
  .dsp-header.nav-open .dsp-nav, .dsp-header.search-open .dsp-search { top: 66px; }
  .dsp-hero { padding: 38px 0 24px; }
  .dsp-hero-copy h1 { font-size: 34px; }
  .dsp-hero-sub { font-size: 14px; }
  .dsp-hero-stats { gap: 22px; margin-top: 28px; }
  .dsp-hero-stats b { font-size: 20px; }
  .dsp-hero-visual { min-height: 470px; transform: scale(.92); transform-origin: top center; }
  .dsp-phone { width: 246px; }
  .dsp-phone-video { height: 364px; }
  .dsp-fc1, .dsp-fc2 { display: none; }
  .dsp-platform-grid { grid-template-columns: 1fr; }
  .dsp-card-grid { grid-template-columns: 1fr; }
  .dsp-card h3 { font-size: 15px; }
  .dsp-side, .dsp-article-side { grid-template-columns: 1fr; }
  .dsp-article-head h1 { font-size: 27px; }
  .dsp-adjacent { grid-template-columns: 1fr; }
  .dsp-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .dsp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .dsp-to-top { right: 14px; bottom: 14px; }
  .dsp-content { font-size: 15px; }
  .dsp-content h2 { font-size: 21px; }
  .dsp-page-hero { padding: 34px 0 22px; }
}
