/* Карта чакр и справочник «Чакры и камни» */
.ck-main { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 22px; align-items: start; }
.ck-fig { position: sticky; top: 90px; }
.ck-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ck-spine { stroke-width: 3; opacity: .55; stroke-linecap: round; }
.ck-node { cursor: pointer; outline: none; animation: ckIn .6s var(--ease, ease) both; animation-delay: calc(.3s + var(--i) * 110ms); }
.ck-halo { fill: var(--cc); opacity: .22; transform-box: fill-box; transform-origin: center; animation: ckPulse 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -500ms); }
.ck-core { fill: var(--cc); stroke: rgba(255,255,255,.85); stroke-width: 1.2; filter: drop-shadow(0 0 6px var(--cc)); transition: r .25s; }
.ck-num { fill: #1b1630; font: 700 13px Inter, Arial, sans-serif; text-anchor: middle; pointer-events: none; }
.ck-lab { fill: #e9e6f5; font: 500 13px Inter, Arial, sans-serif; paint-order: stroke; stroke: rgba(11,13,31,.85); stroke-width: 3px; }
.ck-node:hover .ck-core, .ck-node:focus-visible .ck-core, .ck-node.sel .ck-core { stroke: #fff; stroke-width: 2.4; }
.ck-node.sel .ck-halo { opacity: .45; }
.ck-node.hot .ck-halo { opacity: .55; animation-duration: 1.6s; }
.ck-node.hot .ck-lab { fill: var(--gold2, #f1d9a1); font-weight: 700; }
@keyframes ckPulse { 50% { transform: scale(1.35); opacity: .08; } }
@keyframes ckIn { from { opacity: 0; transform: translateY(6px); } }
.ck-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 14px; }
.ck-table th, .ck-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.ck-table th:first-child, .ck-table td:first-child { text-align: left; }
.ck-table th { color: var(--muted); font-weight: 500; font-size: .8rem; cursor: help; }
.ck-table tr[data-ck] { cursor: pointer; transition: background .2s; }
.ck-table tr[data-ck]:hover, .ck-table tr.sel { background: rgba(212,175,106,.08); }
.ck-total td { font-weight: 700; color: var(--gold2); border-bottom: 0; }
.ck-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cc); margin-right: 8px; box-shadow: 0 0 8px var(--cc); }
.ck-arc { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  font-weight: 600; color: var(--gold2); }
.ck-arc-l { width: 40px; min-width: 40px; height: 40px; font: 700 1.2rem "Cormorant Garamond", serif; border-color: var(--gold); flex: none; }
.ck-det { border-top: 1px solid var(--line); padding-top: 12px; }
.ck-det h4 { margin: 16px 0 8px; color: var(--gold); font-size: .95rem; }
.ck-det-head { display: flex; gap: 12px; align-items: center; }
.ck-det-head h3, .ck-det-head p { margin: 0; }
.ck-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 14px var(--cc); border: 2px solid rgba(255,255,255,.8); }
.ck-arcrow { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0; }
.ck-arcrow p { margin: 2px 0; }
.ck-stones { margin: 6px 0; padding-left: 18px; }
.ck-stones li { margin: 4px 0; }
.ck-key h3 { margin-top: 0; }
.ck-q { padding-left: 22px; margin: 12px 0; }
.ck-q li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ck-q li > span:first-child { flex: 1 1 260px; }
.ck-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.ck-seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; padding: 6px 12px; cursor: pointer; transition: background .2s, color .2s; }
.ck-seg button + button { border-left: 1px solid var(--line); }
.ck-seg button.on { background: var(--gold); color: #1b1630; font-weight: 600; }
.ck-picks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ck-pick { border: 1px solid var(--cc); border-radius: 14px; padding: 14px; background: rgba(10,12,32,.4); }
.ck-pick p { margin: 4px 0; }
.ck-result.pop, .ck-det.pop { animation: fade .45s var(--ease, ease); }
.center { text-align: center; }
/* справочник */
.ck-lib { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-bottom: 18px; }
.ck-lib-item { border-top: 3px solid var(--cc); }
.ck-lib-head { display: flex; gap: 12px; align-items: center; }
.ck-lib-head h2 { margin: 0; font-size: 1.4rem; }
.ck-lib-head p { margin: 2px 0 0; }
.ck-lib-item h3 { font-size: 1rem; color: var(--gold); margin: 14px 0 4px; }
.ck-cta { text-align: center; border-color: var(--gold); }
@media (max-width: 760px) {
  .ck-main { grid-template-columns: 1fr; }
  .ck-fig { position: static; max-width: 340px; margin: 0 auto; }
  .ck-seg button { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .ck-node, .ck-halo { animation: none; } }
