*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #050816 !important;
  background-image: none !important;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: #E2B84B; text-decoration: none; }
a:hover { color: #f0cc6e; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.tvc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(5,8,22,0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
}
.tvc-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.tvc-brand {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.tvc-brand:hover { color: #E2B84B; }

.tvc-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.tvc-nav a {
  color: #e5e7eb;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.tvc-nav a:hover, .tvc-nav a.active { color: #E2B84B; }

.tvc-cta-btn {
  background: transparent;
  border: 1px solid #E2B84B;
  color: #E2B84B !important;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tvc-cta-btn:hover { background: #E2B84B; color: #050816 !important; }

body { padding-top: 64px; }
#tvc-mindmap { margin-top: 0; }

/* ===== MIND MAP PAGE ===== */
#tvc-mindmap {
  width: 100%;
  height: calc(100vh - 64px);
  background: #050816;
  display: block;
  overflow: hidden;
  cursor: grab;
}
#tvc-mindmap:active { cursor: grabbing; }

.node-category circle {
  fill: #E2B84B;
  stroke: rgba(226,184,75,0.4);
  stroke-width: 2;
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(226,184,75,0.4));
}
.node-category text {
  fill: #050816;
  font-family: 'Sora', sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
}
.node-category .cat-label-outer {
  fill: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
}
.node-post circle {
  fill: #8b5cf6;
  stroke: rgba(139,92,246,0.3);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.15s, r 0.15s;
}
.node-post:hover circle { fill: #E2B84B; }
.node-post.dimmed circle { fill: rgba(139,92,246,0.12); }
.link {
  stroke: rgba(255,255,255,0.07);
  stroke-width: 1;
}
.link.highlighted {
  stroke: rgba(226,184,75,0.5);
  stroke-width: 1.5;
}
.link.dimmed { stroke: rgba(255,255,255,0.02); }
.link-cross {
  stroke: rgba(139,92,246,0.25);
  stroke-width: 1;
  stroke-dasharray: 3,3;
}

#tvc-tooltip {
  position: fixed;
  background: rgba(15,22,41,0.96);
  border: 1px solid rgba(226,184,75,0.3);
  border-radius: 6px;
  padding: 10px 14px;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  max-width: 260px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10000;
  line-height: 1.5;
}
.tvc-map-legend {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(15,22,41,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  z-index: 100;
  line-height: 1.7;
}
.tvc-map-legend div { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-line { width: 20px; height: 2px; background: rgba(139,92,246,0.4); flex-shrink: 0; border-top: 2px dashed rgba(139,92,246,0.4); }
.tvc-map-hint {
  position: fixed;
  bottom: 24px;
  right: 24px;
  color: #4b5563;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  z-index: 100;
  text-align: right;
  line-height: 1.8;
}

/* ===== SINGLE POST ===== */
.tvc-main {
  min-height: 80vh;
  padding-bottom: 80px;
}
.tvc-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}
.tvc-article-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 36px;
}
.tvc-post-meta-single {
  font-size: 0.76rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.tvc-post-meta-single a { color: #E2B84B; }
.tvc-article-header h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
.tvc-featured-img {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 24px;
}
.tvc-featured-img img { width: 100%; display: block; border-radius: 10px; }

.tvc-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
}
.tvc-article-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #E2B84B;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(226,184,75,0.2);
}
.tvc-article-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
}
.tvc-article-content h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2B84B;
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tvc-article-content p { margin-bottom: 20px; }
.tvc-article-content ul, .tvc-article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.tvc-article-content li { margin-bottom: 8px; }
.tvc-article-content strong { color: #fff; }
.tvc-article-content em { color: #e5e7eb; }
.tvc-article-content a { color: #E2B84B; border-bottom: 1px solid rgba(226,184,75,0.3); }
.tvc-article-content a:hover { color: #f0cc6e; }
.tvc-article-content blockquote {
  border-left: 3px solid #E2B84B;
  background: rgba(226,184,75,0.06);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #e5e7eb;
}
.tvc-article-content img { border-radius: 8px; margin: 24px 0; }

.tvc-article-cta {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 10px;
  padding: 36px;
  text-align: center;
  margin: 48px 0 32px;
}
.tvc-article-cta h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.tvc-article-cta p { color: #9ca3af; margin-bottom: 24px; font-size: 0.95rem; }
.tvc-btn-gold {
  display: inline-block;
  background: #E2B84B;
  color: #050816 !important;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  border-bottom: none;
}
.tvc-btn-gold:hover { background: #f0cc6e; }

.tvc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.82rem;
  margin-bottom: 48px;
  text-decoration: none;
  border-bottom: none;
}
.tvc-back-link:hover { color: #E2B84B; }

/* ===== FOOTER ===== */
.tvc-footer {
  background: #050816;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 40px;
  text-align: center;
  margin-top: 60px;
}
.tvc-footer-crest { height: 40px; margin: 0 auto 12px; display: block; opacity: 0.7; }
.tvc-footer p { font-size: 0.74rem; color: #4b5563; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .tvc-header-inner { padding: 0 20px; }
  .tvc-nav { display: none; }
  .tvc-container { padding: 0 20px; }
  .tvc-article-header h1 { font-size: 1.8rem; }
}
