:root {
  --zvc-bg: #0b0f1a;
  --zvc-panel: #121826;
  --zvc-accent: #4f8cff;
  --zvc-text: #e6e9f2;
  --zvc-muted: #9aa3b2;
  --zvc-border: #1f2a3a;
  --zvc-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

.zvc-wrap {
  font-family: var(--zvc-font);
  color: var(--zvc-text);
  background: var(--zvc-bg);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  padding: 24px;
  min-height: 70vh;
}

.zvc-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zvc-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.zvc-title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
}
.zvc-category {
  background: rgba(79,140,255,0.15);
  color: var(--zvc-accent);
  border: 1px solid rgba(79,140,255,0.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.zvc-video {
  background: var(--zvc-panel);
  border: 1px solid var(--zvc-border);
  border-radius: 14px;
  padding: 16px;
}
.zvc-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.zvc-video-placeholder {
  display: grid;
  place-items: center;
  height: 320px;
  color: var(--zvc-muted);
  border: 1px dashed var(--zvc-border);
  border-radius: 10px;
}
.zvc-description {
  margin-top: 12px;
  color: var(--zvc-muted);
  line-height: 1.6;
}

.zvc-comments {
  background: var(--zvc-panel);
  border: 1px solid var(--zvc-border);
  border-radius: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100vh - 48px);
  position: sticky;
  top: 24px;
}
.zvc-comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--zvc-border);
}
.zvc-comments-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.zvc-signin-btn {
  background: var(--zvc-accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}
.zvc-signin-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.zvc-comments-list {
  overflow-y: auto;
  padding: 12px;
}
.zvc-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.zvc-item:hover {
  background: rgba(255,255,255,0.03);
}
.zvc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f8cff, #7b5cff);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}
.zvc-body { display: flex; flex-direction: column; gap: 4px; }
.zvc-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--zvc-muted);
}
.zvc-author { color: var(--zvc-text); font-weight: 600; }
.zvc-text { color: var(--zvc-text); }

.zvc-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--zvc-border);
}
#zvcInput {
  background: #0e1422;
  border: 1px solid var(--zvc-border);
  border-radius: 10px;
  color: var(--zvc-text);
  padding: 10px 12px;
}
#zvcSubmit {
  background: var(--zvc-accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.zvc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.zvc-modal.zvc-open { display: flex; }
.zvc-modal-dialog {
  width: 420px;
  max-width: 92vw;
  background: var(--zvc-panel);
  border: 1px solid var(--zvc-border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.zvc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--zvc-border);
}
.zvc-close {
  background: transparent;
  border: none;
  color: var(--zvc-muted);
  font-size: 22px;
  cursor: pointer;
}
.zvc-modal-body {
  padding: 16px;
}
.zvc-note {
  margin-top: 10px;
  color: var(--zvc-muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .zvc-wrap {
    grid-template-columns: 1fr;
  }
  .zvc-comments {
    position: relative;
    height: auto;
  }
}
