/* Creator Vault · Live Wire · Era Compass · Patch Radar */

.cv-card.search-hidden,
.glossary-item.search-hidden,
.glossary-def.search-hidden,
.server-card.search-hidden {
  display: none !important;
}

/* ── Creator dossier (click card) ── */
.cv-yt-chip {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #c9a227);
  text-decoration: none;
  opacity: 0.9;
}

.cv-yt-chip:hover,
.cv-yt-chip:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.folio-channel-row {
  margin: 0.75rem 0 1rem;
}

.folio-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #c9a227);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
}

.folio-channel-link:hover,
.folio-channel-link:focus-visible {
  background: rgba(201, 162, 39, 0.12);
  text-decoration: none;
}

.cv-card-clickable {
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-card-clickable:hover,
.cv-card-clickable:focus-visible {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  outline: none;
}

.cv-card-clickable.is-selected {
  border-color: rgba(201, 162, 39, 0.7);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cv-open-hint {
  display: block;
  margin-top: 10px;
  font-family: 'Special Elite', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.55);
}

.cv-detail {
  margin: 20px 0 28px;
  padding: 22px 20px 24px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.08), transparent 70%),
    linear-gradient(165deg, rgba(22, 18, 12, 0.98), rgba(10, 8, 6, 0.99));
}

.cv-detail-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cv-detail-name {
  margin: 0;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(22px, 4vw, 30px);
  color: #ebe2d0;
}

.cv-detail-era {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.65);
}

.cv-detail-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
}

.cv-detail-bio {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(235, 226, 208, 0.92);
  margin: 0 0 1rem;
}

.cv-detail-tags,
.cv-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cv-detail-tag {
  padding: 4px 10px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.75);
}

.cv-detail-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.cv-detail-close {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(235, 226, 208, 0.8);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.cv-detail-video-hint {
  font-size: 12px;
  opacity: 0.55;
  margin: 12px 0 0;
  font-style: italic;
}

.cv-detail .folio-media {
  margin-top: 1.5rem;
}

/* ── Creator Vault ── */
.creator-vault .cv-lead {
  font-family: 'IM Fell English', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 24px;
}

.era-compass {
  margin-bottom: 28px;
  padding: 18px 16px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.era-compass-title {
  margin: 0 0 14px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.55);
  text-align: center;
}

.era-compass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.era-compass-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(201, 162, 39, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.era-compass-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.1);
}

.era-compass-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #d4c4a8;
}

.era-compass-desc {
  font-family: 'IM Fell English', serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-dim);
}

.cv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 18px;
}

.cv-search {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 10px 12px;
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.cv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cv-filter {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 10px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  cursor: pointer;
}

.cv-filter.active,
.cv-filter:hover {
  border-color: rgba(201, 162, 39, 0.5);
  color: var(--accent);
  background: rgba(201, 162, 39, 0.1);
}

.cv-stat {
  font-family: 'Special Elite', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-left: auto;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.cv-card {
  position: relative;
  padding: 14px 12px 12px;
  border: 1px solid rgba(120, 95, 55, 0.35);
  background: linear-gradient(165deg, rgba(28, 24, 18, 0.95), rgba(10, 8, 6, 0.98));
  transition: border-color 0.2s;
}

.cv-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.cv-card.is-featured {
  border-color: rgba(139, 48, 56, 0.45);
  box-shadow: inset 0 0 0 1px rgba(139, 48, 56, 0.15);
}

.cv-card[hidden] {
  display: none !important;
}

.cv-circle-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 1.25rem;
  padding: 10px 12px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(0, 0, 0, 0.25);
}

.cv-circle-toolbar-label {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}

.cv-circle-filter {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  cursor: pointer;
}

.cv-circle-filter.active,
.cv-circle-filter:hover {
  border-color: rgba(201, 162, 39, 0.5);
  color: var(--accent);
}

.cv-associates-preview,
.cv-detail-associates {
  margin-top: 10px;
}

.cv-associates-label,
.cv-detail-associates-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.55);
  margin-bottom: 6px;
}

.cv-associates-chips,
.cv-detail-associates-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cv-detail-circle {
  font-family: 'IM Fell English', serif;
  font-size: 14px;
  color: var(--text-dim);
  margin: 8px 0 0;
  font-style: italic;
}

.cv-featured {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: 'Special Elite', monospace;
  font-size: 6px;
  letter-spacing: 0.16em;
  color: rgba(201, 162, 39, 0.7);
}

.cv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.cv-name {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #e8dcc8;
}

.cv-era {
  flex-shrink: 0;
  font-family: 'Special Elite', monospace;
  font-size: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.5);
  padding: 2px 5px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.cv-note {
  margin: 0 0 10px;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}

.cv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.cv-tag {
  font-family: 'Special Elite', monospace;
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(140, 130, 110, 0.85);
}

.cv-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cv-link,
.cv-folio {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.cv-folio:hover,
.cv-link:hover {
  background: rgba(201, 162, 39, 0.12);
}

/* ── Live Wire ── */
.live-wire .lw-lead {
  font-family: 'IM Fell English', serif;
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 22px;
}

.live-wire-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: 20px;
  align-items: start;
}

.lw-feed-panel {
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(0, 0, 0, 0.28);
  padding: 16px;
  min-height: 280px;
}

.lw-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}

.lw-feed-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(201, 162, 39, 0.6);
}

.lw-status {
  font-family: 'Special Elite', monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.lw-status.is-error {
  color: rgba(180, 80, 70, 0.9);
}

.lw-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.lw-item {
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(201, 162, 39, 0.12);
}

.lw-source {
  display: inline-block;
  margin-bottom: 6px;
  font-family: 'Special Elite', monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 140, 160, 0.85);
}

.lw-title {
  margin: 0 0 6px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  line-height: 1.4;
}

.lw-title a {
  color: #e0d4bc;
  text-decoration: none;
}

.lw-title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.lw-summary {
  margin: 0 0 6px;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}

.lw-date {
  font-family: 'Special Elite', monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.lw-refresh {
  margin-top: 14px;
  width: 100%;
  padding: 8px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: var(--accent);
  cursor: pointer;
}

.lw-empty {
  font-family: 'IM Fell English', serif;
  font-size: 14px;
  color: var(--text-dim);
}

.patch-radar {
  padding: 16px;
  border: 1px solid rgba(74, 140, 160, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

.patch-radar-title {
  margin: 0 0 10px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(74, 140, 160, 0.75);
}

.patch-radar-lead {
  margin: 0 0 14px;
  font-family: 'IM Fell English', serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}

.patch-radar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.patch-radar-links a {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding-bottom: 4px;
}

.patch-radar-links a:hover {
  border-bottom-color: rgba(201, 162, 39, 0.55);
}

@media (max-width: 900px) {
  .live-wire-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
  .cv-stat {
    width: 100%;
    margin-left: 0;
  }
}

/* ── Culture annex blocks ── */
.culture-annex .culture-lead {
  font-family: 'IM Fell English', serif;
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 28px;
}

.culture-block {
  margin-bottom: 32px;
  padding: 18px 16px;
  border: 1px solid rgba(201, 162, 39, 0.14);
  background: rgba(0, 0, 0, 0.22);
}

.culture-block-title {
  margin: 0 0 8px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.6);
}

.culture-block-lead {
  margin: 0 0 16px;
  font-family: 'IM Fell English', serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}

.mc-history-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.mc-history-item {
  padding: 12px;
  border-left: 3px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.3);
}

.mc-history-year {
  display: block;
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 4px;
}

.mc-history-title {
  margin: 0 0 6px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #e0d4bc;
}

.mc-history-text {
  margin: 0;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.server-card {
  padding: 12px;
  border: 1px solid rgba(74, 140, 160, 0.2);
  background: rgba(0, 0, 0, 0.28);
}

.server-name {
  margin: 0 0 6px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #d4e8ec;
}

.server-era,
.server-type {
  display: inline-block;
  margin-right: 8px;
  font-family: 'Special Elite', monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 140, 160, 0.8);
}

.server-note {
  margin: 8px 0 0;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dim);
}

.glossary-search {
  width: 100%;
  max-width: 360px;
  margin-bottom: 10px;
  padding: 10px 12px;
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.glossary-stat {
  display: block;
  margin-bottom: 12px;
  font-family: 'Special Elite', monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.glossary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  max-height: 400px;
  overflow-y: auto;
  margin: 0;
}

.glossary-item[hidden],
.glossary-def[hidden] {
  display: none;
}

.glossary-item {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: var(--accent);
  margin: 0;
}

.glossary-def {
  margin: 0;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}
