/* Legacy — prefix vkc- */
.vkc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vkc-jump a { padding: 8px 16px; border: 1px solid rgba(201, 168, 68, 0.4); border-radius: 999px; font-family: var(--f-ui); font-size: 14.5px; color: var(--gold); transition: background 0.2s; }
.vkc-jump a:hover { background: rgba(201, 168, 68, 0.12); color: var(--gold-hi); }
.vk-mini { display: block; width: 100%; height: 100%; }
.vk-mini-sea { fill: #0c1913; }
.vkc-h3 { margin: 52px 0 18px; }
.vkc-p { margin: -6px 0 18px; }

/* matrix */
.vkc-matrix { max-width: 1000px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-2); }
.vkc-matrix .vk-table th, .vkc-matrix .vk-table td { padding: 9px 12px; }
.vkc-matrix tbody th { font-family: var(--f-ui); font-size: 15px; font-weight: 500; white-space: nowrap; }
.vkc-matrix tbody th a { color: #fff; }
.vkc-matrix tbody th a:hover { color: var(--gold-hi); }
.vkc-matrix tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.vkc-ph a { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: var(--soft); font-size: 11px; letter-spacing: 0.4px; text-transform: none; }
.vkc-ph a:hover { color: #fff; }
.vkc-cell, .vkc-total { text-align: center !important; }
.vkc-mark { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.vkc-total { font-variant-numeric: tabular-nums; color: var(--muted); }
.vkc-became .vk-card h3 { font-size: 20px; }
.vkc-became .vk-card h3 a { color: #fff; }
.vkc-became .vk-card h3 a:hover { color: var(--gold-hi); }
.vkc-where { font-size: 13.5px !important; color: var(--muted); }
.vkc-where b { color: var(--soft); font-weight: 600; }
.vkc-realms { margin-top: 12px; }
.vkc-realms a.vk-badge:hover { border-color: var(--gold); color: var(--gold-hi); }

/* country picker */
.vkc-pick { margin-bottom: 18px; }
.vkc-hint { padding: 28px 0 6px; color: var(--muted); }
.js .vkc-panel { display: none; }
.js .vkc-panel.is-on { display: block; animation: vk-swap 0.4s ease; }
.vkc-panel { margin-top: 30px; padding: 26px 28px; border: 1px solid rgba(201, 168, 68, 0.35); border-radius: 6px; background: linear-gradient(160deg, #173023, #0c1913 75%); }
.vkc-ptitle { font-size: clamp(26px, 3vw, 36px); }
.vkc-sister { margin-top: 12px; }
.vkc-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.vkc-pbox h4 { margin-bottom: 10px; font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); }
.vkc-list li + li { margin-top: 10px; }
.vkc-list a { font-size: 15px; font-weight: 500; }
.vkc-list small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.vkc-none { font-size: 14px; color: var(--muted); }
.vkc-events { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.vkc-evlist { columns: 2 340px; column-gap: 28px; }
.vkc-evlist li { break-inside: avoid; padding: 5px 0; }
.vkc-evlist a { font-size: 14.5px; color: var(--soft); }
.vkc-evlist a b { color: var(--gold); font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
.vkc-evlist a:hover { color: #fff; }

/* words */
.vkc-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.vkc-word { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-2); transition: border-color 0.2s, transform 0.2s; }
.vkc-word:hover { border-color: rgba(201, 168, 68, 0.5); transform: translateY(-2px); }
.vkc-word[hidden] { display: none; }
.vkc-word b { font-family: var(--f-heading); font-size: 22px; color: #fff; }
.vkc-word em { font-style: italic; color: var(--gold); font-size: 15px; }
.vkc-word span { font-size: 13.5px; color: var(--muted); }
.vkc-empty { padding: 22px 0; color: var(--muted); }
.vkc-el { font-family: var(--f-heading); font-size: 30px; font-weight: 700; color: var(--gold); }
.vkc-ex { margin-top: 12px; }
.vkc-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vkc-day { display: flex; flex-direction: column; gap: 3px; text-align: center; padding: 18px 12px; }
.vkc-day b { font-family: var(--f-heading); font-size: 22px; color: #fff; }
.vkc-day em { color: var(--gold); font-size: 14.5px; }

/* places */
.vkc-placewrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: start; }
.vkc-map { aspect-ratio: 16 / 10; border: 1px solid var(--border); border-radius: 5px; overflow: hidden; background: #0c1913; }
.vkc-minimap circle { transition: opacity 0.25s; }
.vkc-minimap circle.vkc-dot-hi { stroke: #fff; stroke-width: 3; }
.vkc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.vkc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.vkc-sel select { padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 4px; background: var(--surface); color: #fff; font-size: 14.5px; }
.vkc-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vkc-site { padding: 18px 20px; border: 1px solid var(--border); border-top: 3px solid var(--c); border-radius: 5px; background: var(--surface-2); transition: border-color 0.25s, background 0.25s; }
.vkc-site[hidden] { display: none; }
.vkc-site:hover, .vkc-site.is-flash { background: #173023; border-color: var(--c); }
.vkc-site h3 { font-size: 18px; }
.vkc-site-meta { margin-top: 3px; font-size: 13px; color: var(--muted); }
.vkc-unesco { color: var(--gold); font-weight: 600; }
.vkc-site > p:not(.vkc-site-meta):not(.vkc-site-links) { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.vkc-site-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 13.5px; }
.vkc-site-links a { font-weight: 600; }

/* topics */
.vkc-topics { max-width: 900px; }
.vkc-kf { margin: 22px 0 8px; font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); }
.vkc-facts { display: grid; gap: 7px; max-width: 760px; }
.vkc-facts li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.vkc-facts li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.vkc-debate { max-width: 760px; margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--v-debated); background: rgba(183, 154, 223, 0.08); border-radius: 0 4px 4px 0; }
.vkc-debate span { font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--v-debated); }
.vkc-debate p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--soft); }

@media (max-width: 1100px) {
  .vkc-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vkc-placewrap { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .vkc-panel { padding: 20px 16px; }
  .vkc-pgrid { grid-template-columns: 1fr; }
  .vkc-sites { grid-template-columns: 1fr; }
  .vkc-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vkc-words { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .vkc-word, .vkc-word:hover { transition: none; transform: none; } .js .vkc-panel.is-on { animation: none; } }
