/* Вихованець «Я в Грі» (22.10.2026): картка на сайті дитини, вікно з кімнатою, магазин, картка в кабінеті батьків. */
.vh-sec { text-align: center; }
.vh-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; width: 100%; max-width: 640px; margin: 8px auto 0; padding: 12px 14px; border-radius: 24px; background: var(--card, #fff); border: 3px solid var(--line, #1B1F3B); box-shadow: 0 6px 0 var(--line, #1B1F3B); color: var(--ink, #1B1F3B); text-align: left; cursor: pointer; font: inherit; position: relative; }
.vh-card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--line, #1B1F3B); }
.vh-card-pic { width: 150px; height: 150px; border-radius: 18px; background: radial-gradient(circle at 50% 70%, #FFE9D6 0 55%, #FFD7B5 56%); display: grid; place-items: center; overflow: hidden; }
.vh-card-pic svg { width: 100%; height: 100%; }
.vh-card-t b { display: block; font: var(--headw, 800) 24px/1.1 var(--head, Unbounded), sans-serif; }
.vh-card-t > span { display: block; font: 700 15px/1.3 "Golos Text", sans-serif; color: var(--ink2, #555B7A); margin: 4px 0 8px; }
.vh-card-go { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 16px; background: var(--a1, #FF3D8B); color: #fff; font: 800 17px "Golos Text", sans-serif; box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-coins { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px; border-radius: 999px; background: #FFF4D0; color: #6B4A00; font: 800 15px "Golos Text", sans-serif; border: 2px solid #E0B34A; }
.vh-coins svg { width: 22px; height: 22px; }
.vh-coins.big { padding: 5px 12px 5px 6px; font-size: 17px; }
.vh-coins.big svg { width: 26px; height: 26px; }

/* вікно */
.vh-win { position: fixed; inset: 0; z-index: 105; background: var(--bg, #FFF6EC); color: var(--ink, #1B1F3B); overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom, 0); }
.vh-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; background: var(--bg, #FFF6EC); border-bottom: 3px solid var(--line, #1B1F3B); }
.vh-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 6px; border-radius: 14px; border: 0; background: var(--card, #fff); color: var(--ink, #1B1F3B); font: 800 15px "Golos Text", sans-serif; cursor: pointer; box-shadow: 0 3px 0 var(--line, #1B1F3B); }
.vh-back svg { width: 22px; height: 22px; }
.vh-title { flex: 1; min-width: 0; line-height: 1.1; }
.vh-title b { display: block; font: var(--headw, 800) 19px var(--head, Unbounded), sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-title small { font: 700 13px "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-debug { margin: 6px 12px 0; padding: 6px 10px; border-radius: 10px; background: #1B1F3B; color: #C8F545; font: 700 12px "Golos Text", sans-serif; text-align: center; }
.vh-scene { position: relative; max-width: 560px; margin: 10px auto 0; padding: 0 10px; }
.vh-room-svg { display: block; width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--line, #1B1F3B); box-shadow: 0 6px 0 var(--line, #1B1F3B); background: #FFE9D6; }
.vh-pet { cursor: pointer; }
.vh-panel { max-width: 560px; margin: 0 auto; padding: 12px 12px 26px; }
.vh-say { text-align: center; font: var(--headw, 800) 20px/1.2 var(--head, Unbounded), sans-serif; margin: 6px 0 10px; }
.vh-hint { text-align: center; font: 700 14px/1.35 "Golos Text", sans-serif; color: var(--ink2, #555B7A); margin: 10px 0; }
.vh-skill { font: 600 14px/1.35 "Golos Text", sans-serif; color: var(--ink, #1B1F3B); background: var(--card, #fff); border: 2px dashed var(--line, #1B1F3B); border-radius: 14px; padding: 8px 12px; margin: 12px 0 0; text-align: left; }
.vh-egg-steps { display: flex; justify-content: center; gap: 10px; margin: 8px 0; }
.vh-egg-steps i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line, #1B1F3B); background: var(--card, #fff); }
.vh-egg-steps i.on { background: #FF3D8B; }

.vh-grow { background: var(--card, #fff); border: 3px solid var(--line, #1B1F3B); border-radius: 18px; padding: 10px 12px; box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-grow-t { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 700 13px "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-grow-t b { font: 800 15px "Golos Text", sans-serif; color: var(--ink, #1B1F3B); }
.vh-grow-bar { position: relative; height: 16px; border-radius: 99px; background: #EFEDF6; margin: 10px 0 6px; overflow: visible; border: 2px solid var(--line, #1B1F3B); }
.vh-grow-bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #5CD67A, #2FB24C); transition: width .6s; }
.vh-grow-mark { position: absolute; top: -5px; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--line, #1B1F3B); opacity: .35; }
.vh-grow-mark.on { opacity: 1; background: #FFC53D; }
.vh-today { margin: 4px 0 0; font: 700 13px "Golos Text", sans-serif; color: #14783A; }

.vh-needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0; }
.vh-need { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vh-need-ring { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E8E5F2 0); display: grid; place-items: center; position: relative; border: 2px solid var(--line, #1B1F3B); }
.vh-need-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card, #fff); }
.vh-need small { font: 800 12px "Golos Text", sans-serif; }
.vh-need.low .vh-need-ring { animation: vhPulse 1.2s ease-in-out infinite; }
@keyframes vhPulse { 50% { transform: scale(1.08); } }
.vh-needs.small .vh-need-ring { width: 40px; height: 40px; }
.vh-needs.small .vh-need-ring::after { inset: 6px; }

.vh-acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vh-acts.two { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.vh-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 66px; padding: 6px 2px; border-radius: 16px; border: 3px solid var(--line, #1B1F3B); background: var(--card, #fff); color: var(--ink, #1B1F3B); font: 800 12px "Golos Text", sans-serif; cursor: pointer; box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-act svg { width: 26px; height: 26px; color: var(--a1, #FF3D8B); }
.vh-acts.two .vh-act { flex-direction: row; min-height: 52px; font-size: 15px; gap: 8px; }
.vh-act.big { width: 100%; min-height: 64px; flex-direction: row; font-size: 18px; gap: 10px; background: var(--a1, #FF3D8B); color: #fff; }
.vh-act.big svg { color: #fff; }
.vh-act:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line, #1B1F3B); }
.vh-act:disabled { opacity: .45; cursor: default; }

/* анімації вихованця */
/* без «дихання» масштабом: живість дають кліпання, нахил голови, вуха і хвіст */
.vh-head { transform-box: fill-box; transform-origin: 50% 90%; animation: vhTilt 7s ease-in-out infinite; }
@keyframes vhTilt { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-4deg); } 94% { transform: rotate(3deg); } }
.vh-ear { transform-box: fill-box; transform-origin: 50% 100%; animation: vhEar 5.5s ease-in-out infinite; }
.vh-ear:nth-of-type(2) { animation-delay: .3s; }
@keyframes vhEar { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-8deg); } 97% { transform: rotate(5deg); } }
.vh-tail { transform-box: fill-box; transform-origin: 0% 100%; animation: vhTail 3.2s ease-in-out infinite; }
@keyframes vhTail { 50% { transform: rotate(6deg); } }
.vh-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: vhFlame .5s ease-in-out infinite alternate; }
@keyframes vhFlame { to { transform: scale(1.15, .85); } }
.vh-spark { transform-box: fill-box; transform-origin: 50% 50%; animation: vhSpark 1.8s ease-in-out infinite; }
@keyframes vhSpark { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
.vh-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: vhBlink 4.2s infinite; }
@keyframes vhBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.vh-wag { transform-box: fill-box; transform-origin: 0% 100%; animation: vhWag .5s ease-in-out infinite alternate; }
@keyframes vhWag { from { transform: rotate(-10deg); } to { transform: rotate(12deg); } }
.vh-wing { transform-box: fill-box; transform-origin: 50% 100%; animation: vhWing 1.6s ease-in-out infinite; }
@keyframes vhWing { 50% { transform: scaleY(.88); } }
.vh-blink-light { animation: vhLight 1.4s ease-in-out infinite; }
@keyframes vhLight { 50% { opacity: .35; } }
.vh-zzz text { animation: vhZ 2.4s ease-in-out infinite; }
.vh-zzz text + text { animation-delay: .8s; }
@keyframes vhZ { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.vh-pet.vh-happy > g, .vh-pet.vh-happy > .vh-body { animation: vhJump .6s ease-out 2; }
.vh-pet.vh-happy .vh-body { animation: vhJump .6s ease-out 2; }
@keyframes vhJump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) scale(1.04, .96); } }
.vh-pet.vh-eat .vh-mouth { transform-box: fill-box; transform-origin: 50% 0; animation: vhChew .25s ease-in-out 4 alternate; }
@keyframes vhChew { to { transform: scale(1.3, 1.8); } }
.vh-pet.wiggle .vh-egg, .vh-egg.wiggle { transform-box: fill-box; transform-origin: 50% 100%; animation: vhWiggle 1.4s ease-in-out infinite; }
.vh-pet.wiggle .vh-egg { animation-duration: .25s; animation-iteration-count: 3; }
@keyframes vhWiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-7deg); } 80% { transform: rotate(7deg); } 90% { transform: rotate(-4deg); } }
.vh-heart { animation: vhUp 1.4s ease-out forwards; }
.vh-food { animation: vhFood 1.1s ease-in forwards; }
@keyframes vhFood { 0% { opacity: 0; transform: translate(195px, 70px) scale(2.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(195px, 175px) scale(1); } }
@keyframes vhUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-60px); } }
.vh-bub { transform-box: fill-box; transform-origin: center; animation: vhBub 1.6s ease-out forwards; opacity: 0; }
@keyframes vhBub { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-50px) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .vh-head, .vh-ear, .vh-tail, .vh-eyes, .vh-wag, .vh-wing, .vh-flame, .vh-spark, .vh-zzz text, .vh-egg.wiggle { animation: none; } }

/* бульбашка-репліка над вихованцем */
.vh-bubble { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); max-width: 70%; padding: 8px 14px; border-radius: 16px; background: #fff; border: 3px solid var(--line, #1B1F3B); font: 800 15px/1.2 "Golos Text", sans-serif; color: #1B1F3B; text-align: center; pointer-events: none; opacity: 0; }
.vh-bubble::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 14px; height: 14px; margin-left: -7px; background: #fff; border-right: 3px solid var(--line, #1B1F3B); border-bottom: 3px solid var(--line, #1B1F3B); transform: rotate(45deg); }
.vh-bubble.show { animation: vhBubble 2.6s ease-out forwards; }
@keyframes vhBubble { 0% { opacity: 0; transform: translate(-50%, 8px) scale(.8); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }

/* ріст: день турботи, силует наступної стадії, серія, завдання дня */
.vh-grow-row { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.vh-grow-row .vh-today { flex: 1; margin: 0; }
.vh-next { flex: none; width: 60px; text-align: center; line-height: 1; }
.vh-next svg { width: 60px; height: 46px; filter: brightness(0) opacity(.55); }
.vh-next small { display: block; font: 800 10px "Golos Text", sans-serif; color: var(--ink2, #555B7A); white-space: nowrap; }
.vh-streak { margin: 8px 0 0; padding-top: 8px; border-top: 2px dashed #E8E5F2; font: 700 13px "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-streak b { font-size: 18px; color: #FF6A3D; }
.vh-quests { margin: 12px 0 0; padding: 10px 12px; border-radius: 18px; background: var(--card, #fff); border: 3px solid var(--line, #1B1F3B); box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-quests h3 { font: var(--headw, 800) 17px var(--head, Unbounded), sans-serif; margin: 0 0 6px; }
.vh-quests .vh-hint { margin: 6px 0 0; text-align: left; font-size: 13px; }
.vh-quest { display: flex; align-items: center; gap: 10px; padding: 6px 0; font: 700 15px "Golos Text", sans-serif; }
.vh-quest i { width: 24px; height: 24px; border-radius: 8px; border: 3px solid var(--line, #1B1F3B); flex: none; display: grid; place-items: center; }
.vh-quest span { flex: 1; }
.vh-quest b { color: #B5791A; font-weight: 800; }
.vh-quest.done { color: var(--ink2, #555B7A); text-decoration: line-through; }
.vh-quest.done i { background: #2FB24C; border-color: #2FB24C; }
.vh-quest.done i::after { content: ""; width: 7px; height: 12px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.vh-acts.three { grid-template-columns: 1fr 1fr 1fr; margin-top: 8px; }
.vh-acts.three .vh-act { flex-direction: row; min-height: 50px; font-size: 13px; gap: 6px; }
.vh-acts.three .vh-act svg { width: 22px; height: 22px; }

/* вибір міні-гри, нагороди */
.vh-games { display: grid; gap: 8px; }
.vh-game { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 3px solid var(--line, #1B1F3B); background: var(--card, #fff); color: var(--ink, #1B1F3B); cursor: pointer; text-align: left; box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-game b { font: 800 17px "Golos Text", sans-serif; }
.vh-game small { font: 600 13px "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.vh-badge { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 16px; border: 2px solid var(--line, #1B1F3B); background: var(--card, #fff); text-align: center; opacity: .45; }
.vh-badge.on { opacity: 1; background: #FFF4D0; border-color: #E0B34A; }
.vh-badge span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #E8E5F2; color: #8A8FA8; }
.vh-badge.on span { background: #FFC53D; color: #1B1F3B; }
.vh-badge span svg { width: 28px; height: 28px; }
.vh-badge b { font: 800 14px/1.15 "Golos Text", sans-serif; }
.vh-badge small { font: 600 12px/1.2 "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-item .vh-room-svg { width: 84px; height: 64px; border: 2px solid var(--line, #1B1F3B); border-radius: 10px; box-shadow: none; }

/* чашки і лапки */
.vh-cups { position: absolute; left: 4%; right: 4%; top: 12%; height: 30%; }
.vh-cup { position: absolute; top: 0; width: 24%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; transition: left .28s ease-in-out; }
.vh-cup svg { position: relative; z-index: 2; width: 100%; height: 100%; transition: transform .25s; }
.vh-cup i { position: absolute; left: 30%; bottom: 8%; width: 40%; height: 40%; z-index: 1; opacity: 0; transition: opacity .2s; }
.vh-cup i svg { width: 100%; height: 100%; }
.vh-cup.up svg:first-child { transform: translateY(-45%); }
.vh-cup.up i { opacity: 1; }
.vh-cup:disabled { cursor: default; }
.vh-paws { position: absolute; left: 14%; right: 14%; top: 13%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vh-paw { aspect-ratio: 1; border-radius: 18px; border: 3px solid var(--line, #1B1F3B); background: #fff; color: var(--c); opacity: .55; cursor: pointer; padding: 10%; transition: opacity .12s, transform .12s; }
.vh-paw svg { width: 100%; height: 100%; }
.vh-paw.lit { opacity: 1; background: var(--c); color: #fff; transform: scale(1.08); }
.vh-paw:disabled { cursor: default; }

/* свято: було -> стало */
.vh-party-pic.two { display: flex; align-items: center; justify-content: center; width: auto; gap: 4px; }
.vh-party-pic.two svg { width: 150px; height: 160px; }
.vh-party-pic.two .was { filter: saturate(.4) opacity(.7); width: 110px; height: 120px; }
.vh-party-pic.two .now { animation: vhGrowIn .8s cubic-bezier(.3, 1.4, .5, 1) both; }
.vh-party-pic.two .arrow { width: 30px; height: 30px; color: #FF6A3D; }
.vh-party-pic.two .arrow svg { width: 100%; height: 100%; }
@keyframes vhGrowIn { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* гра «лови м'ячики» */
.vh-play { position: absolute; inset: 0 10px; border-radius: 22px; }
.vh-play-n { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); min-width: 44px; padding: 4px 12px; border-radius: 99px; background: #1B1F3B; color: #fff; font: 900 20px Unbounded, sans-serif; text-align: center; }
.vh-play-t { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: 800 16px "Golos Text", sans-serif; color: #1B1F3B; text-shadow: 0 1px 0 #fff; }
.vh-ball { position: absolute; width: 64px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer; transition: left .25s, top .25s; animation: vhBall .5s ease-in-out infinite alternate; }
.vh-ball svg { width: 100%; height: 100%; }
@keyframes vhBall { to { transform: translateY(-8px); } }

/* аркуш: годування, магазин, гардероб */
.vh-sheet { position: fixed; inset: 0; z-index: 120; background: rgba(12,11,16,.55); display: flex; align-items: flex-end; justify-content: center; animation: payIn .2s ease-out; }
.vh-sheet-card { position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto; background: var(--bg, #FFF6EC); color: var(--ink, #1B1F3B); border: 3px solid var(--line, #1B1F3B); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
.vh-sheet-card h3 { font: var(--headw, 800) 22px var(--head, Unbounded), sans-serif; margin: 0 40px 10px 0; }
.vh-sheet-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card, #fff); font: 800 26px/1 sans-serif; color: var(--ink, #1B1F3B); cursor: pointer; }
.vh-wallet { display: inline-flex; align-items: center; gap: 6px; font: 800 16px "Golos Text", sans-serif; margin-bottom: 10px; }
.vh-wallet svg { width: 26px; height: 26px; }
.vh-wallet span { color: var(--ink2, #555B7A); font-weight: 700; }
.vh-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.vh-tab { flex: none; min-height: 42px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line, #1B1F3B); background: var(--card, #fff); color: var(--ink, #1B1F3B); font: 800 15px "Golos Text", sans-serif; cursor: pointer; }
.vh-tab.on { background: var(--line, #1B1F3B); color: #fff; }
.vh-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.vh-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: 16px; border: 2px solid var(--line, #1B1F3B); background: var(--card, #fff); color: var(--ink, #1B1F3B); cursor: pointer; text-align: center; box-shadow: 0 3px 0 var(--line, #1B1F3B); }
.vh-item svg { width: 54px; height: 54px; }
.vh-item b { font: 800 14px/1.15 "Golos Text", sans-serif; }
.vh-item small { font: 600 12px/1.2 "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-item.on { background: #E7FBEA; border-color: #2FB24C; }
.vh-item.owned { opacity: .6; cursor: default; }
.vh-item .vh-have { color: #14783A; font-weight: 800; }
.vh-price { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 10px 3px 4px; border-radius: 99px; background: #FFF4D0; font: 800 14px "Golos Text", sans-serif; color: #6B4A00; }
.vh-price svg { width: 20px; height: 20px; }
.vh-price.no { background: #F1EEF8; color: #8A8FA8; }
.vh-preview { width: 160px; height: 170px; margin: 0 auto 10px; border-radius: 20px; background: radial-gradient(circle at 50% 70%, #FFE9D6 0 55%, #FFD7B5 56%); }
.vh-preview svg { width: 100%; height: 100%; }

/* вибір яйця */
.vh-choose { max-width: 720px; margin: 0 auto; padding: 14px 12px 30px; text-align: center; }
.vh-choose h2 { font: var(--headw, 800) 26px var(--head, Unbounded), sans-serif; margin: 6px 0 0; }
.vh-species { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.vh-sp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 8px 12px; border-radius: 18px; border: 3px solid var(--line, #1B1F3B); background: var(--card, #fff); color: var(--ink, #1B1F3B); cursor: pointer; box-shadow: 0 4px 0 var(--line, #1B1F3B); }
.vh-sp.on { background: #FFF4D0; border-color: #FF3D8B; box-shadow: 0 4px 0 #FF3D8B; }
.vh-sp-pic { width: 100%; aspect-ratio: 220 / 175; }
.vh-sp-pic svg { width: 100%; height: 100%; }
.vh-sp b { font: 800 17px "Golos Text", sans-serif; }
.vh-sp small { font: 600 12px/1.25 "Golos Text", sans-serif; color: var(--ink2, #555B7A); }
.vh-sp .vh-sp-skill { color: #5A3BE0; font-weight: 800; font-size: 13px; }
.vh-name-row { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 10px 0 calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--bg, #FFF6EC); }
.vh-name { min-height: 54px; padding: 0 16px; border-radius: 16px; border: 3px solid var(--line, #1B1F3B); font: 700 18px "Golos Text", sans-serif; background: #fff; color: #1B1F3B; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }

/* свято */
.vh-party { position: fixed; inset: 0; z-index: 130; background: rgba(12,11,16,.6); display: flex; align-items: center; justify-content: center; padding: 16px; animation: payIn .3s ease-out; }
.vh-party-card { width: 100%; max-width: 400px; background: var(--bg, #FFF6EC); color: var(--ink, #1B1F3B); border: 4px solid var(--line, #1B1F3B); border-radius: 30px; padding: 18px 16px; text-align: center; }
.vh-party-pic { width: 200px; height: 210px; margin: 0 auto; }
.vh-party-pic svg { width: 100%; height: 100%; }
.vh-party-card h2 { font: var(--headw, 800) 26px/1.1 var(--head, Unbounded), sans-serif; margin: 6px 0; }
.vh-party-card p { font: 700 16px/1.35 "Golos Text", sans-serif; color: var(--ink2, #555B7A); margin: 0 0 14px; }

/* монети летять */
.vh-coinfly { position: fixed; inset: 0; pointer-events: none; z-index: 141; }
.vh-coinfly i { position: absolute; bottom: 30%; width: 34px; height: 34px; animation: vhCoin 1.6s ease-out forwards; opacity: 0; }
.vh-coinfly i svg { width: 100%; height: 100%; }
@keyframes vhCoin { 0% { opacity: 0; transform: translateY(40px) scale(.5); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-50vh) scale(1.1); } }

/* кабінет батьків */
.vh-parent { display: flex; align-items: center; gap: 12px; }
.vh-parent-pic { flex: none; width: 110px; height: 118px; border-radius: 16px; background: radial-gradient(circle at 50% 70%, #FFE9D6 0 55%, #FFD7B5 56%); }
.vh-parent-pic svg { width: 100%; height: 100%; }
.vh-parent-t { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.vh-parent-t b { font: 800 20px "Golos Text", sans-serif; }

@media (max-width: 420px) {
  .vh-card { grid-template-columns: 116px 1fr; }
  .vh-card-pic { width: 116px; height: 116px; }
  .vh-card-t b { font-size: 21px; }
  .vh-need-ring { width: 46px; height: 46px; }
  .vh-act { font-size: 11px; min-height: 62px; }
  .vh-species { grid-template-columns: 1fr 1fr; }
}
