/* «Три переходи» v2 «мовою сот» (21.10.2026). Розмітка — partials/landing/_three_clicks.html,
 * рушій — js/three2.js. Без рамки й без затемнення: canvas лежить просто в модалці.
 * Позиції підписів виходів задає рушій через --x / --y (setProperty, CSP-safe).
 */

.hex-theme .tc2 { margin: 0.25rem 0 1rem; }

.hex-theme .tc2-scene {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;   /* 16/9 — зверху й знизу зайва порожнеча (скрін 21.10) */
}
.hex-theme .tc2-scene.is-ready { display: block; }
@media (max-width: 575.98px) {
    .hex-theme .tc2-scene { aspect-ratio: 16 / 11; }
}
.hex-theme .tc2-scene canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hex-theme .tc2-exit {
    position: absolute;
    left: var(--x, 0);
    top: var(--y, 0);
    max-width: 8rem;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.25;
    pointer-events: none;
}
.hex-theme .tc2-exit-yours   { color: var(--v0-fg); font-weight: 600; }
.hex-theme .tc2-exit-neutral { color: var(--v0-muted); }

.hex-theme .tc2-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--v0-muted);
}
.hex-theme .tc2-key {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.45rem;
    border-radius: 50%;
    vertical-align: -1px;
}
.hex-theme .tc2-key-human { background: var(--v0-primary); box-shadow: 0 0 8px rgba(var(--v0-glow), 0.8); }
.hex-theme .tc2-key-bot   { background: var(--v0-honey); box-shadow: 0 0 8px rgba(var(--v0-honey-rgb), 0.8); }
/* «Перехід» — маленька сота, як у сцені. */
.hex-theme .tc2-key-life {
    width: 12px;
    border-radius: 0;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: var(--v0-primary);
}
