/* Heart Compass: роза-радар у глибокій сливовій панелі, світла форма керування праворуч. Палітра сайту (tokens.css). */
.hc-hero { text-align: center; padding: 28px 20px 8px; max-width: 800px; margin: 0 auto; }
.hc-hero h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin-bottom: 10px; }
.hc-hero .ai-pill { display: inline-block; margin-top: 4px; padding: 4px 14px; border-radius: 999px; background: var(--color-purple-light); color: var(--color-purple); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hc-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 8px; }

.hc { display: grid; gap: 22px; }
@media (min-width: 980px) { .hc { grid-template-columns: 440px 1fr; align-items: start; } .hc-stage { position: sticky; top: 120px; } .hc-result { grid-column: 1 / -1; } }

.hc-stage { background: radial-gradient(circle at 50% 38%, #5a2380 0%, #3d1c5b 55%, #2a1042 100%); border-radius: var(--radius-xl); padding: 18px 14px 20px; color: #fff; box-shadow: var(--shadow-romantic); }
.hc-rose { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; touch-action: pan-y; user-select: none; }
.hc-ring { fill: none; stroke: rgba(244, 229, 161, .22); stroke-width: 1; }
.hc-ring-outer { stroke: rgba(244, 229, 161, .5); }
.hc-axis { stroke: rgba(244, 229, 161, .22); stroke-width: 1; stroke-dasharray: 3 4; }
.hc-label { fill: var(--color-gold-light); font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.hc-shape { stroke-width: 2.4; stroke-linejoin: round; transition: d .25s ease; }
.hc-you { fill: rgba(212, 140, 232, .42); stroke: #f0b6ff; }
.hc-them { fill: rgba(228, 150, 130, .30); stroke: #f4c0a8; stroke-dasharray: 6 4; }
.hc-handle { stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .2s; }
.hc-h-you { fill: #e07ae8; }
.hc-h-them { fill: #f0a890; }
.hc-rose[data-active="you"] .hc-h-you, .hc-rose[data-active="them"] .hc-h-them { opacity: 1; cursor: grab; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.hc-rose[data-active="you"] .hc-h-them, .hc-rose[data-active="them"] .hc-h-you { opacity: .5; pointer-events: none; }
.hc-gapring { fill: none; stroke: var(--color-gold); stroke-width: 2; animation: hc-pulse 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hc-pulse { 0%, 100% { stroke-opacity: .9; r: 11px; } 50% { stroke-opacity: .25; r: 17px; } }
.hc-heart { fill: var(--color-gold); filter: drop-shadow(0 0 6px rgba(212,175,55,.8)); }

.hc-legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.hc-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: 500 .82rem var(--font-body); cursor: pointer; transition: background .2s, border-color .2s; }
.hc-tab.on { background: rgba(255,255,255,.16); border-color: var(--color-gold-light); }
.hc-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.hc-tab-you .hc-dot { background: #e07ae8; }
.hc-tab-them .hc-dot { background: #f0a890; }
.hc-hint { color: rgba(255,255,255,.78) !important; font-size: .8rem; text-align: center; margin: 12px 8px 0 !important; line-height: 1.5 !important; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hc-stat { background: rgba(255,255,255,.09); border-radius: var(--radius-md); padding: 10px 12px; text-align: center; }
.hc-stat b { display: block; font-size: 1.35rem; color: var(--color-gold-light); font-weight: 600; }
.hc-stat span { font-size: .74rem; color: rgba(255,255,255,.8); }

.hc-panel { background: var(--color-white); border-radius: var(--radius-xl); padding: 24px 20px 26px; box-shadow: var(--shadow-romantic); min-width: 0; }
@media (min-width: 640px) { .hc-panel { padding: 30px 32px; } }
.hc-sec { margin-bottom: 26px; }
.hc-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-body) !important; font-size: 1.05rem !important; font-weight: 600; color: var(--color-text); margin: 0 0 8px; }
.hc-n { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--color-purple), var(--color-magenta)); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.hc-sub { font-size: .88rem; margin-bottom: 12px !important; color: var(--color-text-light); }
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--color-border); background: var(--color-white); color: var(--color-text); font: 500 .85rem var(--font-body); cursor: pointer; transition: all .2s; }
.hc-chip:hover { border-color: var(--color-magenta); }
.hc-chip.on { background: var(--color-purple); border-color: var(--color-purple); color: #fff; }

.hc-rows { display: grid; gap: 14px; }
.hc-row { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 14px; background: rgba(250,245,252,.6); }
.hc-rowhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.hc-rowhead strong { color: var(--color-purple-dark); }
.hc-rowhead span { font-size: .78rem; color: var(--color-text-muted); }
.hc-line { display: grid; grid-template-columns: 112px 1fr 24px; align-items: center; gap: 10px; margin: 6px 0 0; }
@media (max-width: 420px) { .hc-line { grid-template-columns: 84px 1fr 22px; gap: 8px; } }
.hc-who { font-size: .76rem; font-weight: 500; color: var(--color-text-light); line-height: 1.25; }
.hc-val { font-size: .85rem; font-weight: 600; color: var(--color-text); text-align: right; }
.hc-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --p: 44%; --c: #c05ac8; }
.hc-line-them input[type=range] { --c: #e08a6c; }
.hc-row input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c) var(--p), #eadcf0 var(--p)); }
.hc-row input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c) var(--p), #eadcf0 var(--p)); }
.hc-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(61,28,91,.4); }
.hc-row input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(61,28,91,.4); }

.hc-note { width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); font: 400 .95rem var(--font-body); color: var(--color-text); resize: vertical; min-height: 84px; }
.hc-note:focus { outline: none; border-color: var(--color-purple); box-shadow: 0 0 0 3px rgba(107,44,145,.15); }
.hc-count { font-size: .75rem; color: var(--color-text-muted); text-align: right; margin-top: 4px; }

.hc-voices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.hc-voice { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: var(--radius-lg); border: 1.5px solid var(--color-border); background: var(--color-white); cursor: pointer; text-align: left; transition: all .2s; font-family: var(--font-body); }
.hc-voice img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hc-vtx { display: flex; flex-direction: column; min-width: 0; }
.hc-vtx b { color: var(--color-text); font-size: .95rem; }
.hc-vtx em { font-style: normal; font-size: .74rem; color: var(--color-text-light); line-height: 1.3; }
.hc-voice:hover { border-color: var(--color-magenta); }
.hc-voice.on { border-color: var(--color-purple); background: var(--color-purple-light); box-shadow: 0 0 0 2px rgba(107,44,145,.18); }

.hc-gowrap { text-align: center; }
.hc-go { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px 24px; }
.hc-go:disabled { opacity: .7; cursor: wait; transform: none; }
.hc-fine { font-size: .76rem !important; color: var(--color-text-muted) !important; margin: 10px 0 0 !important; line-height: 1.5 !important; }

/* Результат */
.hc-result { background: var(--color-white); border-radius: var(--radius-xl); padding: 24px 20px; box-shadow: var(--shadow-romantic); border-top: 4px solid var(--color-magenta); scroll-margin-top: 90px; }
@media (min-width: 640px) { .hc-result { padding: 32px 40px; } }
.hc-rhead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hc-rhead img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-gold); }
.hc-rwho b { display: block; color: var(--color-text); }
.hc-rwho span { font-size: .84rem; color: var(--color-text-light); }
.hc-theme { font-size: clamp(1.9rem, 4.5vw, 2.6rem) !important; margin-bottom: 14px !important; color: var(--color-purple) !important; }
.hc-body { display: grid; gap: 12px; }
.hc-card { padding: 14px 18px; border-radius: var(--radius-md); background: rgba(250,245,252,.8); border-left: 4px solid var(--color-purple); }
.hc-card-gap { border-left-color: var(--color-rosegold); background: rgba(183,110,121,.08); }
.hc-card-ask { border-left-color: var(--color-gold); background: rgba(212,175,55,.09); }
.hc-card-step { border-left-color: var(--color-magenta); }
.hc-card strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-purple); margin-bottom: 4px; }
.hc-card p { margin: 0 !important; color: var(--color-text) !important; line-height: 1.7 !important; }
.hc-wait { color: var(--color-text-light); font-style: italic; }
.hc-error { text-align: center; padding: 10px 0; }
.hc-error p { margin-bottom: 14px; }
.hc-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.hc-foot .hc-fine { flex: 1 1 100%; margin: 0 0 6px !important; }

.hc-seo { max-width: 860px; margin: 40px auto 0; padding: 0 20px 56px; }
.hc-seo h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 28px 0 10px; }
.hc-seo ul { padding-left: 20px; color: var(--color-text-light); line-height: 1.8; }
.hc-seo details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0 16px; margin-bottom: 10px; }
.hc-seo summary { cursor: pointer; padding: 14px 0; font-weight: 500; color: var(--color-text); }
@media (prefers-reduced-motion: reduce) { .hc-gapring { animation: none; } .hc-shape { transition: none; } }
