/* =========================================================
   VIDEO DETAIL PAGE — 91SM · CYBER DESIRE
   ========================================================= */
.vd-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 80px) 48px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
  align-items: start;
}
.vd-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  grid-column: 1;
}
.vd-side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  grid-column: 2;
}
.vd-related,
.vd-comments {
  grid-column: 1 / -1;
}
/* ----- PLAYER ----- */
.vd-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07050d;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
}
.vd-player::before,
.vd-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.vd-player::before {
  background: linear-gradient(155deg, #0f0a1c 0%, #181029 50%, #07050d 100%);
}
.vd-player::after {
  background:
    radial-gradient(45% 70% at 30% 35%, rgba(157,78,221,0.18), transparent 65%),
    radial-gradient(40% 60% at 80% 75%, rgba(255,46,126,0.14), transparent 65%),
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(245,240,255,0.025) 38px 39px);
}
.vd-player .scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,5,13,0.5) 0%, transparent 25%, transparent 70%, rgba(7,5,13,0.95) 100%);
  pointer-events: none;
}
.vd-player-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vd-quality {
  display: flex;
  gap: 6px;
}
.vd-q-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(7, 5, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 240, 255, 0.12);
}
.vd-more-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 5, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 240, 255, 0.12);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.vd-more-btn:hover { background: rgba(255, 46, 126, 0.4); }
.vd-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vd-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(7, 5, 13, 0.4);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(255,46,126,0.3);
}
.vd-play-btn:hover {
  transform: scale(1.05);
  background: rgba(255, 46, 126, 0.25);
  box-shadow: 0 0 48px rgba(255,46,126,0.4);
}
.vd-play-btn svg { transform: translateX(2px); }
.vd-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 12px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vd-progress-track {
  height: 4px;
  background: rgba(45, 31, 71, 0.8);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.vd-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255,46,126,0.4);
}
.vd-controls-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vd-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.vd-ctrl-btn:hover { background: rgba(255, 46, 126, 0.18); color: var(--accent-2); }
.vd-timer {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.vd-timer .sep { color: var(--text-3); margin: 0 4px; }
.vd-timer .total { color: var(--text-2); }
.vd-spacer { flex: 1; }
.vd-speed {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.04em;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid rgba(245, 240, 255, 0.16);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.vd-speed:hover { border-color: var(--accent); background: rgba(255, 46, 126, 0.1); }
.vd-glow-line {
  margin-top: -1px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 46, 126, 0.55) 30%, rgba(255, 46, 126, 0.55) 70%, transparent 100%);
  filter: blur(3px);
  opacity: 0.7;
}
/* ----- Title row (title + actions, single row) ----- */
.vd-title-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vd-title-row .vd-title {
  font-family: 'Space Grotesk', var(--sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.vd-actions-inline {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.vd-action-c {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.vd-action-c:hover { border-color: var(--border-2); }
.vd-action-c .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.vd-action-c svg { color: var(--text-2); transition: color .15s, fill .15s; }
.vd-action-c:hover svg { color: var(--text); }
/* BUG #33106: 激活态不再整体染粉 —— 胶囊/边框/计数保持默认，仅图标变色(见 cyber-overrides.css) */
/* ----- Compact metadata single line ----- */
.vd-meta-line {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.vd-meta-line .sep { color: var(--text-3); margin: 0 6px; }
/* ----- Tags row (with inline synopsis toggle) ----- */
.vd-tags-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.vd-tags-row .vd-tag {
  background: var(--bg-3);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Space Grotesk', var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.vd-tags-row .vd-tag:hover { background: var(--bg-4); }
.vd-tags-row .vd-tag.is-primary {
  background: var(--bg-3);
  border-color: var(--accent);
  color: var(--text);
}
.vd-synopsis-toggle {
  margin-left: 6px;
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: inherit;
}
.vd-synopsis-toggle:hover { color: var(--text); }
.vd-synopsis-toggle .arr { transition: transform .25s; }
.vd-synopsis-toggle.is-open .arr { transform: rotate(180deg); }
.vd-synopsis-inline {
  display: none;
  margin-top: 12px;
  max-width: 720px;
}
.vd-synopsis-inline.is-open { display: block; }
.vd-synopsis-inline .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.vd-synopsis-inline p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}
/* ----- Compact author strip (no card, divider only) ----- */
.vd-author-compact {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vd-author-compact .left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.vd-author-compact .left:hover { opacity: 0.82; }
.vd-author-compact .left:hover .name { color: var(--accent); }
.vd-author-compact .follow.is-followed {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text-2);
}
.vd-author-compact .follow.is-followed:hover {
  border-color: #ff5f7a;
  color: #ff5f7a;
  background: transparent;
  filter: none;
}
.vd-author-compact .vd-avatar { width: 36px; height: 36px; }
.vd-author-compact .info { display: flex; flex-direction: column; gap: 2px; }
.vd-author-compact .name {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.vd-author-compact .stats {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.vd-author-compact .stats .sep { margin: 0 4px; }
/* BUG #33109/#33113: 对齐 UI —— 未关注为实底主题粉 + 白字(web 小胶囊 / H5 全宽同款) */
.vd-author-compact .follow {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .15s, color .15s, filter .15s;
}
.vd-author-compact .follow:hover { filter: brightness(1.12); }
/* ----- Related section gets smaller top margin now ----- */
/* ----- Tag chips ----- */
.vd-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vd-tag {
  display: inline-flex;
  align-items: center;
  background: var(--bg-3);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Space Grotesk', var(--sans);
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.vd-tag:hover { background: var(--bg-4); }
.vd-tag.is-primary {
  background: var(--bg-4);
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* ----- Description block ----- */
.vd-desc {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}
.vd-section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.vd-desc-body {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-height: 56px;
  overflow: hidden;
  transition: max-height .25s ease;
}
.vd-desc.is-open .vd-desc-body { max-height: 400px; }
.vd-desc-toggle {
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vd-desc-toggle:hover { color: var(--text); }
.vd-desc-toggle .arr { transition: transform .25s; }
.vd-desc.is-open .vd-desc-toggle .arr { transform: rotate(180deg); }
/* ----- Author strip ----- */
.vd-author-strip {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vd-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1f1838 0%, #181029 60%, #0f0a1c 100%);
}
.vd-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 55% at 35% 35%, rgba(157, 78, 221, 0.55), transparent 70%),
    radial-gradient(35% 50% at 75% 75%, rgba(255, 46, 126, 0.35), transparent 70%);
}
.vd-avatar.av-2 { background: linear-gradient(135deg, #7b2fbe 0%, #1f1838 50%, #0f0a1c 100%); }
.vd-avatar.av-3 { background: linear-gradient(135deg, #181029 0%, #7b2fbe 50%, #0f0a1c 100%); }
.vd-avatar.av-4 { background: linear-gradient(155deg, #0f0a1c 0%, #1f1838 60%, #181029 100%); }
.vd-avatar.av-5 { background: radial-gradient(80% 100% at 30% 30%, #9d4edd 0%, #1f1838 50%, #0f0a1c 95%); }
.vd-avatar.av-6 { background: linear-gradient(125deg, #1f1838 0%, #181029 60%, #07050d 100%); }
.vd-author-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.vd-author-name {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.vd-author-stats {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.vd-author-stats .sep { margin: 0 4px; color: var(--text-3); }
.vd-follow-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.vd-follow-btn:hover { background: rgba(255, 46, 126, 0.12); color: var(--text); border-color: var(--accent); }
/* ----- Compressed vcard for video-detail page (overrides themes.css base) ----- */
/* hover effects — mirror .video-card from themes.css */
.vcard { cursor: pointer; min-width: 0; display: flex; flex-direction: column; }
.vcard:hover .thumb { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--card-glow); }
.vcard:hover .thumb-overlay { opacity: 1; }
.vcard:hover .thumb-pattern { transform: scale(1.05); opacity: 1.2; }
.vcard:hover .thumb-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vcard:hover .vcard-title { color: var(--accent); }
.vd-related-grid .vcard .vcard-body,
.vd-side-col .vcard .vcard-body {
  padding: 12px;
  gap: 0;
}
.vd-related-grid .vcard .vcard-title,
.vd-side-col .vcard .vcard-title {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
  min-height: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vd-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.vd-section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.vd-section-title {
  margin-top: 6px;
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}
.vd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* ----- Anchor nav ----- */
.vd-anchor-nav {
  grid-column: 1 / -1;
  position: sticky;
  top: 56px; /* below topnav */
  z-index: 50;
  display: flex;
  align-items: flex-end;
  gap: 0;
  background: var(--bg, #07050d);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  margin-bottom: 28px;
}
.vd-anav-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 28px 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--text-3, #7a6f90);
  transition: color 0.18s, border-color 0.18s;
  margin-bottom: -1px;
}
.vd-anav-tab:hover { color: var(--text-2, #b8aed0); }
.vd-anav-tab.active {
  color: var(--text-1, #f0eaf8);
  border-bottom-color: var(--accent, #ff2e7e);
}
.vd-anav-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2, #ff2e7e);
  opacity: 0.7;
  line-height: 1;
}
.vd-anav-tab.active .vd-anav-eyebrow { opacity: 1; }
.vd-anav-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.vd-related { margin-top: 0; grid-column: 1 / -1; }
.vd-comments { grid-column: 1 / -1; }
.vd-address  { grid-column: 1 / -1; }
/* ----- Comments section ----- */
.vd-comments { margin-top: 64px; }
.vd-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.vd-comments-head h2 {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin: 0;
}
.vd-sort {
  font-size: 14px;
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vd-sort:hover { color: var(--text); }
.vd-composer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color .18s;
}
.vd-composer:focus-within { border-color: var(--accent-subtle); }
.vd-composer .vd-avatar { width: 36px; height: 36px; flex-shrink: 0; }
.vd-composer-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0;
  height: auto;
  max-height: 120px;
}
.vd-composer-input::-moz-placeholder {
  color: var(--text-3);
  font-style: normal;
}
.vd-composer-input::placeholder {
  color: var(--text-3);
  font-style: normal;
}
.vd-composer-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  align-self: center;
  transition: opacity .15s, box-shadow .15s;
}
.vd-composer-btn:hover:not(:disabled) { box-shadow: 0 0 14px rgba(255, 46, 126, 0.4); }
.vd-composer-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.vd-comment-list { margin-top: 8px; }
.vd-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.vd-comment .vd-avatar { width: 36px; height: 36px; }
.vd-c-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.vd-c-head {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.vd-c-name {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.vd-c-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}
.vd-c-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.vd-c-actions {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-3);
}
.vd-c-actions span { display: inline-flex; align-items: center; gap: 4px; }
.vd-loadmore {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0;
}
.vd-loadmore:hover { color: var(--text); }
/* ----- Right column (continuous card stack, no sidebar chrome) ----- */
.vd-sidebar {
  display: contents;
}
#side-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vd-side-head { margin-bottom: 8px; }
.vd-side-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.vd-side-title {
  margin-top: 4px;
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.vd-side-card {
  display: flex;
  gap: 12px;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  border: 1px solid transparent;
  text-decoration: none;
}
.vd-side-card:hover {
  background: var(--bg-card);
  border-color: var(--border);
}
.vd-side-thumb {
  width: 160px;
  height: 90px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vd-side-thumb::before,
.vd-side-thumb::after { content:""; position:absolute; inset:0; z-index:0; }
.vd-side-card:hover .vd-side-thumb { filter: brightness(1.1); }
.vd-side-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 2px 6px;
  background: rgba(7, 5, 13, 0.85);
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.vd-side-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.vd-side-title-2 {
  font-family: 'Space Grotesk', var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vd-side-tag {
  align-self: flex-start;
  font-size: 11px;
  color: var(--text);
  background: var(--bg-3);
  padding: 3px 8px;
  border-radius: 999px;
}
.vd-side-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.vd-side-link {
  display: block;
  margin-top: 8px;
  padding: 16px 0;
  text-align: center;
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 14px;
  cursor: pointer;
}
.vd-side-link:hover { color: var(--text); }
/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
/* --- 1024px: reduce sidebar, tighten layout --- */
@media (max-width: 1024px) {
  .vd-shell {
    grid-template-columns: 3fr 1fr;
    padding: 16px 16px 40px;
  }
  .vd-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .vd-title-row .vd-title {
    font-size: 20px;
  }
  .vd-section-title {
    font-size: 20px;
  }
  .vd-comments-head h2 {
    font-size: 20px;
  }
}
/* --- 768px: single column, sidebar below --- */
@media (max-width: 768px) {
  .vd-shell {
    grid-template-columns: 1fr;
    padding: 12px 12px 32px;
    gap: 24px;
  }
  .vd-left,
  .vd-side-col,
  .vd-related,
  .vd-comments {
    grid-column: 1;
  }
  /* 用 #side-list（ID）才能盖过基础的 display:flex；minmax(0,1fr)+min-width:0 防止卡片把列轨道顶宽撑爆屏幕 */
  #side-list {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #side-list > *,
  .vd-related-grid > * { min-width: 0; }
  .vd-related { order: 3; }
  .vd-comments { order: 4; }
  .vd-address { order: 5; }  /* 地址保持在评论之后，与 PC 顺序一致 */
  .vd-player {
    border-radius: 8px;
  }
  .vd-play-btn {
    width: 64px;
    height: 64px;
  }
  .vd-play-btn svg {
    width: 22px;
    height: 22px;
  }
  .vd-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vd-title-row .vd-title {
    font-size: 18px;
    white-space: normal;
  }
  .vd-actions-inline {
    width: 100%;
  }
  .vd-action-c {
    flex: 1;
    justify-content: center;
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
  .vd-meta-line {
    font-size: 11px;
  }
  .vd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vd-section-title {
    font-size: 18px;
  }
  .vd-comments {
    margin-top: 40px;
  }
  .vd-comments-head h2 {
    font-size: 18px;
  }
  .vd-composer {
    padding: 12px 14px;
    gap: 10px;
  }
  .vd-controls {
    padding: 8px 12px 10px;
  }
  .vd-controls-row {
    gap: 8px;
  }
}
/* --- 480px: compact mobile --- */
@media (max-width: 480px) {
  .vd-shell {
    padding-top: 8px;
    padding-bottom: 24px;
    gap: 16px;
  }
  .vd-player {
    border-radius: 6px;
  }
  .vd-player-top {
    top: 8px;
    left: 8px;
    right: 8px;
  }
  .vd-play-btn {
    width: 56px;
    height: 56px;
  }
  .vd-play-btn svg {
    width: 20px;
    height: 20px;
  }
  .vd-controls {
    padding: 6px 8px 8px;
    gap: 6px;
  }
  .vd-controls-row {
    gap: 4px;
  }
  .vd-ctrl-btn {
    width: 28px;
    height: 28px;
  }
  .vd-timer {
    font-size: 10px;
  }
  .vd-speed {
    font-size: 10px;
    padding: 4px 8px;
  }
  .vd-title-row .vd-title {
    font-size: 16px;
  }
  .vd-meta-line {
    font-size: 10px;
  }
  .vd-tags-row .vd-tag {
    padding: 4px 10px;
    font-size: 11px;
  }
  .vd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vd-section-title {
    font-size: 16px;
  }
  .vd-comments-head h2 {
    font-size: 16px;
  }
  .vd-comment {
    gap: 8px;
    padding: 12px 0;
  }
  .vd-c-text {
    font-size: 13px;
  }
  .vd-composer {
    padding: 10px 12px;
  }
  .vd-author-compact {
    flex-wrap: wrap;
    gap: 12px;
  }
  .vd-author-compact .follow {
    width: 100%;
    justify-content: center;
  }
}
/* ----- 最新地址 section ----- */
.vd-address {
  margin-top: 64px;
  padding: 32px 36px;
  background: var(--surface, #0e0b18);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}
.vd-address-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}
.vd-addr-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vd-addr-label {
  font-size: 13px;
  color: var(--text-3, #7a6f90);
  margin: 0;
}
.vd-addr-link {
  color: var(--accent, #ff2e7e);
  font-size: 14px;
  text-decoration: none;
  word-break: break-all;
}
.vd-addr-link:hover { text-decoration: underline; }
.vd-addr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.vd-addr-tip {
  font-size: 13px;
  color: var(--text-2, #b8aed0);
}
.vd-addr-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
}
.vd-addr-action {
  display: inline-block;
  color: var(--accent, #ff2e7e);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.vd-addr-action:hover { text-decoration: underline; }
.vd-addr-plain {
  font-size: 14px;
  color: var(--text-2, #b8aed0);
  margin: 0;
}
