/* Нео - слой поверх страницы. Рисуется кодом (neo-rig.js), здесь только линии и пузырь */
.neo { position: fixed; left: 0; top: 0; z-index: 60; --s: 1; width: calc(80px * var(--s)); height: calc(104px * var(--s)); pointer-events: none; will-change: transform; }
.neo.hidden { display: none; }
.neo-svg { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: auto; cursor: grab; touch-action: none; }
body.neo-drag, body.neo-drag * { -webkit-user-select: none; user-select: none; cursor: grabbing !important; }
.nr-limb, .nr-line { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nr-fill, .nr-hand { fill: var(--surface); stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.nr-eye { fill: var(--ink); }
.nr-glove .nr-hand { stroke-width: 1.8; }
.nr-knuckle { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; }
.nr-shoe { fill: var(--ink); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.nr-shine { fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; }
.nr-dot { fill: var(--accent); stroke: var(--ink); stroke-width: 2; }
.nr-badge { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nr-cheek { fill: var(--accent-2); transition: opacity .3s; }
.nr-shadow { fill: rgba(var(--shadow), .9); transition: opacity .2s; }
.nr-mouth { stroke-width: 2.2; }
.neo-say { position: absolute; left: 0; top: 0; width: max-content; max-width: 250px; background: var(--surface); color: var(--ink); font: 400 17px/1.3 var(--font-h); padding: 11px 15px 12px; border-radius: 18px; box-shadow: 0 16px 40px -18px rgba(var(--shadow), .55), 0 0 0 1.6px var(--ink); opacity: 0; transition: opacity .25s var(--ease-out); pointer-events: none; }
.neo-say.show { opacity: 1; }
@media (max-width: 760px) { .neo-say { max-width: min(250px, 70vw); font-size: 16px; } }

.neo.on-dark .nr-limb, .neo.on-dark .nr-line, .neo.on-dark .nr-fill, .neo.on-dark .nr-hand { stroke: #EAF3F3; }
.neo.on-dark .nr-fill, .neo.on-dark .nr-hand { fill: #183E44; }
.neo.on-dark .nr-eye { fill: #EAF3F3; }
.neo.on-dark .nr-knuckle { stroke: #EAF3F3; }
.neo.on-dark .nr-shoe { fill: #EAF3F3; stroke: #EAF3F3; }
@media (max-width: 760px) { .neo-say { max-width: min(220px, 60vw); font-size: 15px; padding: 9px 12px 10px; } }

.nr-dust { fill: none; stroke: var(--ink-3); stroke-width: 1.4; opacity: 0; }

/* предметы робота (09.11): ранец, пламя, зонтик, санки */
.nr-tank { fill: #E6EAF2; stroke: var(--ink); stroke-width: 2; }
.nr-flame { fill: var(--accent); }
.nr-flame-core { fill: #F7E6FF; }
.nr-umb-top { fill: #F6D9EE; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.nr-umb-rib { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; opacity: .55; }
.nr-umb-stick { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.nr-sled-board { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.nr-speed { fill: none; stroke: var(--accent-2); stroke-width: 2.2; stroke-linecap: round; }

.nr-think { fill: var(--accent-2); stroke: var(--ink); stroke-width: 1.4; transition: opacity .2s; }
.nr-stick { fill: var(--ink); }
.nr-stick-tip { fill: var(--accent); stroke: var(--ink); stroke-width: .8; }
